Initializing the Configuration

This chapter describes how to quickly complete the initial configuration of a system.

Procedure

  1. Install a management node.

    1. Add a management node.
      1. Click Add Management Node.

        The Add Management Node page is displayed on the right.

      2. Set the information about the management node. Table 1 describes related parameters.
        Table 1 Management node parameters

        Parameter

        Description

        IP Address

        Indicates the management network IP address of a management node.

        SN

        Indicates the SN of a management node.

        Cabinet

        Indicates the cabinet where a management node resides.

        Username

        Indicates the user name for logging in to the authentication server.

        Password

        Indicates the user password.

        Password of root

        When the user is a non-root user, enter the password of user root.

        You can click More to modify or delete a management node.

      3. Click OK.
    2. Configure the management node.
      1. Click Configure Management Network.

        The Configure Management Network page is displayed on the right.

      2. Set the information about the management node. Table 2 describes related parameters.
        Table 2 Management network parameters

        Parameter

        Description

        Management IP Address

        Indicates the floating management IP address of a management node.

        NOTE:
        • After logging in to DeviceManager using this IP address, you can access the active and standby FSM nodes at the same time.
        • The type (IPv4 or IPv6) of the floating management IP address must be the same as that configured on the server.

        Port

        Indicates the network port used by the management network.

        Subnet Mask

        Indicates the subnet mask of the management network. This parameter cannot be modified. It is automatically generated after a port is selected.

        NOTE:

        This parameter is available when the management IP address is set to an IPv4 address.

        Gateway

        Indicates the gateway of the management network. This parameter cannot be modified. It is automatically generated after a port is selected.

        Management IP Address

        Indicates the external IP address of the management node. This parameter cannot be modified. It is automatically generated after a port is selected.

        Node Name

        Indicates the name of the management node.

        Username

        Indicates the user name for logging in to DeviceManager.

        Password

        Indicates the password of the user name.

        Confirm Password

        Confirms the password for logging in to DeviceManager.

      3. (Optional) Enable the Management Network Isolation function.
        Configure the internal management network. Table 3 describes related parameters.
        Table 3 Internal management network parameters

        Parameter

        Description

        Node Mgmt Floating IP

        Indicates the internal management floating IP address of a management node.

        Port

        Indicates the port of the internal management network.

        Subnet Mask

        Indicates the subnet mask of the internal management network. This parameter cannot be modified. It is automatically generated after a port is selected.

        NOTE:

        When Node Mgmt Floating IP is set to an IPv4 address, the system automatically generates a subnet mask.

        Gateway

        Indicates the gateway of the internal management network. This parameter cannot be modified. It is automatically generated after a port is selected.

        Management IP Address

        Indicates the internal IP address of the management node. This parameter cannot be modified. It is automatically generated after a port is selected.

        NOTE:

        The IP addresses of the external management network and internal management network must be on different network segments.

      4. Click OK.
    3. Upload an installation package.
      1. In the Basic Service Package area, click , select the desired basic service package, click Open, and click Upload.
      2. (Optional) To install the object service, in the Object Service Package area, you can click , select the desired object service package, click Open, and click Upload
      3. Wait until the upload is successful, and then click Install.
    4. Wait until the installation is successful, and then click Next.

  2. Add storage nodes.

    • Batch Import Node
      1. Click Batch Import Node.
      2. In the Please choose files area, click . Select the desired file, click Open, and click Upload.

        You can click Download the template, enter parameters of the nodes to be added in the downloaded template, and upload the template.

      3. Select the desired nodes, click Authenticate, enter the user name and password, and click OK.
      4. Click OK.
      5. Click Submit.

        The Submit button is available only when at least three nodes are added.

      6. After the nodes are configured successfully, click Next.
    • Manually Add Node
      1. Click Manually Add Node.

        The Add Node page is displayed on the right.

      2. Configure the basic and authentication information for the node. Table 4 describes related parameters.
        Table 4 Basic and authentication parameters of a node

        Parameter

        Description

        Management IP Address

        Indicates the management network IP address of the storage node.

        Cabinet

        Indicates the cabinet where the node resides.

        Node Name

        Indicates the name of the node.

        Chassis

        Indicates the chassis where the node resides.

        Slot

        Indicates the number of the slot where the node resides.

        Server Model

        Indicates the physical model of the server.

        Username

        Indicates the user name for logging in to the authentication server.

        Password

        Indicates the user password.

        Password of root

        When the user is a non-root user, enter the password of user root.

      3. Click OK.
      4. Add other storage nodes in sequence and click Submit.

        The Submit button is available only when at least three nodes are added.

      5. After the nodes are configured successfully, click Next.

  3. Configure storage networks.

    By default, DeviceManager configures the storage network as the front- and back-end storage networks are converged. You can also modify the configuration file to deploy the front- and back-end storage networks separately.

    • Front- and back-end shared network
      1. Configure the front- and back-end shared network. Table 5 describes related parameters.
        Table 5 Front- and back-end shared network parameters

        Parameter

        Description

        Use Configured Storage IP Addresses Only

        If you select Yes, the system only allocates configured storage IP addresses in the specified IP address range to the nodes.

        Transmission Protocol

        Indicates the transmission protocol used by the network. Possible options are TCP, IB, and RoCE.

        Bond Mode

        Indicates the bond mode of the storage network.

        • bond1: active/standby mode
        • bond4: dynamic link aggregation mode
          NOTE:
          • When Transmission Protocol is set to TCP, bond1 and bond4 are supported. You are advised to select bond4.
          • When Transmission Protocol is set to IB, only bond1 is supported. In this case, bond1 supports the load balancing function.
          • When Transmission Protocol is set to RoCE, bond1 and bond4 are supported. You are advised to select bond4.

        IP Address Range

        Indicates the IP address segment of the storage network.

        NOTE:
        • If you do not select Use Configured Storage IP Addresses Only, the IP addresses in the specified IP address segment cannot be in the same network segment as those of other ports on the node.
        • In the event of using an IPv4 address:
          • A 32-bit IPv4 address is divided into four 8-bit fields that are expressed in dotted decimal notation.
          • Each field of the IPv4 address must be an integer.
          • The value of the leftmost field ranges from 1 to 223 (excluding 127).
          • The values of the other fields range from 0 to 255.
          • An IPv4 address cannot be set to a special address such as a broadcast address.
          • Example: 192.168.1.100
        • In the event of using an IPv6 address:
          • A 128-bit IPv6 address is divided into eight 16-bit fields. Each 16-bit field consists of four colon-separated hexadecimal numbers.
          • In each 16-bit field, leading zeros can be omitted for simplicity. However, at least one digit must be reserved in each field.
          • To achieve further simplicity, you can use a double colon (::) in place of a series of zeros. A double colon can be used only once in an IPv6 address. It can also represent the neighboring consecutive zeros at the beginning or end of an IPv6 address.
          • An IPv6 address cannot be set to a special one, such as a network address, loopback address, or multicast address.
          • Example: fc00::1234

        Mask/Prefix

        When an IPv4 address is used, this parameter indicates the subnet mask of the storage IP address and identifies the subnet to which the IP address belongs. When an IPv6 address is used, this parameter indicates the prefix length of the IPv6 address.

        Port

        Indicates the port used by an IP address.

        Click to go to the Manage Bond Ports page. You can configure a port as required. For details, see Managing Bond Ports.

      2. Click Preview. The system automatically reads the IP addresses configured on the server.
      3. Click Submit.
      4. After the storage network is configured successfully, click Next.
    • Front- and back-end separated networks
      1. Configure the front-end storage network. Table 6 describes related parameters.
        Table 6 Front-end network parameters

        Parameter

        Description

        Use Configured Storage IP Addresses Only

        If you select Yes, the system only allocates configured storage IP addresses in the specified IP address range to the nodes.

        Transmission Protocol

        Indicates the transmission protocol used by the front-end network. Possible options are TCP, IB, and RoCE.

        Bond Mode

        Indicates the bond mode of the front-end network.

        • bond1: active/standby mode
        • bond4: dynamic link aggregation mode
          NOTE:
          • When Transmission Protocol is set to TCP, bond1 and bond4 are supported. You are advised to select bond4.
          • When Transmission Protocol is set to IB, only bond1 is supported. In this case, bond1 supports the load balancing function.
          • When Transmission Protocol is set to RoCE, bond1 and bond4 are supported. You are advised to select bond4.

        IP Address Range

        Indicates the IP address segment of the storage network.

        NOTE:
        • If you do not select Use Configured Storage IP Addresses Only, the IP addresses in the specified IP address segment cannot be in the same network segment as those of other ports on the node.
        • In the event of using an IPv4 address:
          • A 32-bit IPv4 address is divided into four 8-bit fields that are expressed in dotted decimal notation.
          • Each field of the IPv4 address must be an integer.
          • The value of the leftmost field ranges from 1 to 223 (excluding 127).
          • The values of the other fields range from 0 to 255.
          • An IPv4 address cannot be set to a special address such as a broadcast address.
          • Example: 192.168.1.100
        • In the event of using an IPv6 address:
          • A 128-bit IPv6 address is divided into eight 16-bit fields. Each 16-bit field consists of four colon-separated hexadecimal numbers.
          • In each 16-bit field, leading zeros can be omitted for simplicity. However, at least one digit must be reserved in each field.
          • To achieve further simplicity, you can use a double colon (::) in place of a series of zeros. A double colon can be used only once in an IPv6 address. It can also represent the neighboring consecutive zeros at the beginning or end of an IPv6 address.
          • An IPv6 address cannot be set to a special one, such as a network address, loopback address, or multicast address.
          • Example: fc00::1234

        Mask/Prefix

        When an IPv4 address is used, this parameter indicates the subnet mask of the storage IP address and identifies the subnet to which the IP address belongs. When an IPv6 address is used, this parameter indicates the prefix length of the IPv6 address.

        Port

        Indicates the port used by an IP address.

        Click to go to the Manage Bond Ports page. You can configure a port as required. For details, see Managing Bond Ports.

      2. Configure the back-end storage network. Table 7 describes related parameters.
        Table 7 Back-end network parameters

        Parameter

        Description

        Use Configured Storage IP Addresses Only

        If you select Yes, the system only allocates configured storage IP addresses in the specified IP address range to the nodes.

        Transmission Protocol

        Indicates the transmission protocol used by the back-end network. Possible options are TCP, IB, and RoCE.

        Bond Mode

        Indicates the bond mode of the back-end network.

        • bond1: active/standby mode
        • bond4: dynamic link aggregation mode
          NOTE:
          • When Transmission Protocol is set to TCP, bond1 and bond4 are supported. You are advised to select bond4.
          • When Transmission Protocol is set to IB, only bond1 is supported. In this case, bond1 supports the load balancing function.
          • When Transmission Protocol is set to RoCE, bond1 and bond4 are supported. You are advised to select bond4.

        IP Address Range

        Indicates the IP address segment of the storage network.

        NOTE:
        • If you do not select Use Configured Storage IP Addresses Only, the IP addresses in the specified IP address segment cannot be in the same network segment as those of other ports on the node.
        • In the event of using an IPv4 address:
          • A 32-bit IPv4 address is divided into four 8-bit fields that are expressed in dotted decimal notation.
          • Each field of the IPv4 address must be an integer.
          • The value of the leftmost field ranges from 1 to 223 (excluding 127).
          • The values of the other fields range from 0 to 255.
          • An IPv4 address cannot be set to a special address such as a broadcast address.
          • Example: 192.168.1.100
        • In the event of using an IPv6 address:
          • A 128-bit IPv6 address is divided into eight 16-bit fields. Each 16-bit field consists of four colon-separated hexadecimal numbers.
          • In each 16-bit field, leading zeros can be omitted for simplicity. However, at least one digit must be reserved in each field.
          • To achieve further simplicity, you can use a double colon (::) in place of a series of zeros. A double colon can be used only once in an IPv6 address. It can also represent the neighboring consecutive zeros at the beginning or end of an IPv6 address.
          • An IPv6 address cannot be set to a special one, such as a network address, loopback address, or multicast address.
          • Example: fc00::1234

        Mask/Prefix

        When an IPv4 address is used, this parameter indicates the subnet mask of the storage IP address and identifies the subnet to which the IP address belongs. When an IPv6 address is used, this parameter indicates the prefix length of the IPv6 address.

        Port

        Indicates the port used by an IP address.

        Click to go to the Manage Bond Ports page. You can configure a port as required. For details, see Managing Bond Ports.

      3. Click Preview. The system automatically reads the IP addresses configured on the server.
      4. Click Submit.
      5. After the storage network is configured successfully, click Next.

  4. Install storage nodes.

    1. (Optional) If the installation fails, you can click Restore Factory Setting to reconfigure the nodes.
    2. Click Install.
    3. After the storage node is successfully installed, click Next.

  5. Create a replication control cluster.

    1. Set the name of the replication control cluster.
      • A replication control cluster name contains 1 to 64 characters.
      • A replication control cluster name contains only letters, digits, underscores (_), and hyphens (-).
    2. In Metadata Storage Location, select the location to store the metadata.
      • If you select Physical disk, specify Disk Type and Disk Selection Mode.

        Disk Selection Mode can be:

        • Specify Slot: Manually enter a slot number. The value ranges from 0 to 35.
        • Manually Select: Manually select disks for each node.
      • If you select System disk partition, the system stores metadata in partitions /opt/zk_disk and /opt/ccdb_disk2 of system disks.
    3. Select the nodes to create the replication control cluster.
      • If Metadata Storage Location is set to Physical disk, select the nodes and disks for creating the replication control cluster from Available Nodes.
      • If Metadata Storage Location is set to System disk partition, select the nodes for creating the replication control cluster from Available Nodes.
    4. Click Create.
    5. Wait until the creation is successful, and then click Finish.