Creating a DPC Node Using a New Node

This section describes how to create a DPC compute node.

Procedure

  1. Choose Resources > Access > DPC.
  2. Click Create DPC and select New Node.

    The Create DPC page is displayed.

    If no DPC node has been created in the system, clicking Create DPC directly enters the Create DPC page.

  3. Click Batch Import Node or Manually Add Node to add nodes.

    • The total number of nodes imported in batches and manually added nodes cannot exceed 512. The total number of DPC nodes in the system cannot exceed 6000.
    • Batch Import Node
      1. Click Batch Import Node.
      2. Click Download the template to download the template locally. Fill the information in the template, click and select the template, and then click Upload. The nodes are imported to the system in a batch.
      3. Select the newly imported nodes and click Authenticate.

        On the Authentication page, select an installation mode for the nodes. Possible options are Regular installation and Pre-installation. If you select Regular installation, set Username, Password, and Password of root for authentication.

        Select Pre-installation when the DPC software has been pre-installed for compute nodes during the file service installation.

    • Manually Add Node
      1. Click Manually Add Node.

        The Add Node page is displayed on the right.

      2. Set parameters for a node. Table 1 describes related parameters.
        Table 1 Node parameters

        Parameter

        Description

        Node Type

        The value can be New node or Management node.

        • New node: suitable for scenarios where all nodes with the DPC compute role are added. In this mode, you need to enter the management IP address and authentication information of the nodes.
        • Management node: suitable for scenarios where management nodes with the DPC compute role are added. This mode is recommended for management nodes. In this mode, you can directly select the management IP address of a management node without entering authentication information.

        Management IP Address

        Management IP address of the node.

        NOTE:
        • The management network IP address cannot use the same subnet as the storage, control, service, or replication network.
        • When the management network is isolated, the management IP address must be able to communicate with the internal management network.

        Cabinet

        Cabinet where the node resides.

        [Value range]

        • The value contains 1 to 256 characters.
        • The value can contain only letters, digits, underscores (_), and hyphens (-).
        • The value cannot start or end with a space.

        Node Name

        Name of the node.

        [Value range]

        • The name contains 1 to 64 characters.
        • The name can contain only letters, digits, hyphens (-), underscores (_), and periods (.), and must start and end with a letter or digit. A period (.) cannot be adjacent to a period (.), hyphen (-), or underscore (_).

        Chassis

        Chassis where the node resides.

        Slot

        Serial number of the slot where the node resides.

        Node Role

        Role of the node. DPC compute is automatically selected.

        Configure Firewall

        Whether to automatically configure the firewall for the node. This function is enabled by default. If the firewall is disabled, manually enable it. For details, see the Communication Matrix to ensure that all ports of compute nodes are configured with correct firewall rules.

        NOTE:

        This parameter is available only when Installation Mode is set to Regular installation.

        If firewall has been enabled on the node, enable Configure Firewall when adding the node.

        Installation Mode

        Installation mode of the node. Possible options are Regular installation and Pre-installation. If you select Regular installation, set Username, Password, and Password of root for authentication.

        NOTE:

        Select Pre-installation when the DPC software has been pre-installed for compute nodes during the file service installation.

        Username

        User name used for logging in to the DPC node.

        NOTE:

        This parameter needs to be specified only when Installation Mode is set to Regular installation.

        Password

        Password used for logging in to the DPC node.

        NOTE:

        This parameter needs to be specified only when Installation Mode is set to Regular installation.

        Password of root

        Password of user root of the DPC node.

        NOTE:
        • If you log in to the DPC node not as user root, you need to enter the password of user root.
        • This parameter needs to be specified only when Installation Mode is set to Regular installation.
      3. Click OK to add the node to the list.
        • You can click More on the right of a node and select Modify or Delete to manage it.
        • You can also select a newly added node and click Authenticate to authenticate the node again.
        • You can also select a newly added node that contains the Storage role and click Set iBMC Password to configure the user name and password for authenticating the iBMC server.

  4. Click Submit to configure the nodes and install the network management components.

    • If the configuration fails or the network management components fail to be installed, click Restore Factory Settings to clear the data.
    • After the operation is successful, you can click More on the right of a node and select Log Details to view its operation logs.

  5. Click Next.
  6. Configure the storage network.

    1. The Configure Storage Network page varies depending on the selected transmission protocol. Configure the storage network as prompted. Table 2 describes related parameters.
      • The values of Transmission Protocol, Network Flow Classification, and Multiple IP Addresses must be the same as those of the front-end storage network configured during cluster initialization.
      • The system allocates only the IP addresses that have been configured in the specified IP address range to nodes. The IP addresses of all nodes must be configured in advance.
      Table 2 Storage network parameters

      Parameter

      Description

      Shared IP Address on DPC Compute Node

      This parameter is mandatory when Transmission Protocol is set to RoCE and Multiple IP Addresses is set to Yes.

      When a DPC compute node has only one front-end storage IP address and you select Yes, the control IP address must be the same as the front-end storage IP address.

      NOTE:
      • This parameter is used only when Huawei Cloud Stack Online is connected.
      • This parameter can be configured only when a DPC compute node is added for the first time. For adding DPC compute nodes subsequently, the value of this parameter will be the same as that configured for the first time and cannot be changed.
    2. Click Add Control IP Address Range to configure control IP addresses.
      Table 3 describes related parameters.
      Table 3 Control IP address configuration

      Parameter

      Description

      IP Address Range

      IP address range of the control network.

      NOTE:
      • The control and management networks cannot use the same subnet. The control, front-, and back-end storage networks can use the same (recommended) or different subnets. When using the same subnet, they must use different IP address ranges.
      • A control network gateway needs to be configured in either of the following scenarios:
        • The control network crosses subnets.
        • The control network does not cross subnets currently but needs to cross subnets due to subsequent capacity expansion.

      Subnet Mask/Prefix

      Subnet mask or prefix of the control network.

      NOTE:

      When IP addresses of the storage network are IPv4 addresses, enter the subnet mask.

      When IP addresses of the storage network are IPv6 addresses, enter the prefix.

      Gateway

      In cross-network segment scenarios, enter the gateway of the actually used control IP addresses.

      NOTE:

      If Shared IP Address on DPC Compute Node is set to Yes, you do not need to configure the gateway.

      • You can click Add Control IP Address Range to configure multiple control IP address ranges. In addition, cross-network segment configuration is supported.
      • IP address ranges must contain the IP addresses of all nodes in a cluster.
      • The control network needs to be configured only in the RoCE multi-IP scenario.
    3. Click Add Storage IP Address Range to configure storage IP addresses.
      Table 4 describes related parameters.
      Table 4 Storage IP address configuration

      Parameter

      Description

      IP Address Range

      IP address range of the storage network.

      NOTE:
      • The start IP address and end IP address of each IP address range must be in the same network segment.
      • In the multi-IP scenario, the storage network can use the same subnet as the control network, but cannot use the same subnet as the internal management, external management, service, and replication networks. The IP address range of the storage network cannot use the same subnet as the IP addresses of other ports on the nodes.
      • In non-multi-IP scenarios, the storage network cannot use the same subnet as the internal management, external management, service, and replication networks. The IP address range of the storage network cannot use the same subnet as the IP addresses of other ports on the nodes.

      IPv4 and IPv6 addresses are supported.

      Subnet Mask/Prefix

      Subnet mask or prefix of the storage network.

      NOTE:

      When IP addresses of the storage network are IPv4 addresses, enter the subnet mask.

      When IP addresses of the storage network are IPv6 addresses, enter the prefix.

      You can click Add Storage IP Address Range to configure multiple storage IP address ranges. A maximum of 300 storage IP address ranges can be configured.

      IP address ranges must contain the IP addresses of all nodes in a cluster.

    4. If storage IP addresses and control IP addresses are on different network segments, you need to configure static routes.

      Click Configure Port and Route to go to the route configuration page. For details, see Managing Port and Route Configurations.

      For details about how to query static route information, see Managing Port and Route Configurations.

      For details about how to delete a static route, see Managing Port and Route Configurations.

    5. Click Preview.

      The system displays the storage IP address of each node and refreshes the table.

      • After modifying the network configurations, if you do not click Preview, you can click Reset to restore to the previous previewed network information.
      • You can click More on the right of a node and select Manage Bond Port to manage bond ports of the node.
      • You can click More on the right of a node and select Remove Node to remove the node.
    6. Click Submit.
    7. Configure a policy-based route for the front-end storage network.

      Click Configure Port and Route to go to the route configuration page. For details, see Managing Port and Route Configurations.

      For details about how to query policy-based route information, see Managing Port and Route Configurations.

      For details about how to delete a policy-based route, see Managing Port and Route Configurations.

    8. After the storage network is configured successfully, click Next.

  7. Install nodes.

    1. (Optional) If the installation fails, you can click Restore Factory Settings to reconfigure the nodes.
    2. Click Install.
    3. Click Finish.