Document navigation

Add General Storage Nodes

Use the wizard to configure node roles, access credentials, and networks, and install the corresponding storage services.

Before you begin

  • Distributed storage has been deployed or taken over, and the required feature licenses are valid. The available storage-type tabs depend on the licensed features.
  • You have prepared the server addresses, SSH credentials, and management and storage network addresses.
  • The servers must meet the hardware and software requirements of the storage type and have network connectivity to the storage management service.

Procedure

  1. In the navigation pane of ZSphere, choose Storage Service > Storage Nodes, and click the General Storage Nodes tab.
  2. Click Add Server.
  3. In the Basic Configuration stage, complete the following configuration or checks, and continue through the wizard.
    Option Description
    Server IP Address Enter a server IP address or an IP range. You can add multiple servers in a batch.
    Type Select one of the following server types:
    • Storage server:
      • Provides disks and other resources for storage pools. Disks on a storage server can be used as data disks.
      • A storage server supports 5 roles: management, monitoring, block storage gateway, object storage gateway, and file storage gateway.
    • Storage gateway server:
      • Hosts interface clients. Only gateways can be managed; disks on this server cannot be managed.
      • A storage gateway server supports only the block storage gateway role.
    Role Configure server roles. The following 5 roles are supported:
    • Management:
      • Collects and manages cluster runtime status. A management node provides distributed storage cluster management through the GUI, APIs, and other interfaces.
      • For high availability, we recommend deploying at least 2 nodes with the management role.
    • Monitoring:
      • Monitors data in the storage cluster and maintains the overall cluster state, including metadata such as data mappings and cluster authentication.
      • For high availability, deploy an odd number of monitoring nodes (3+2*N, N >= 0). Typically, 3 monitoring nodes are deployed.
    • Block storage gateway:
      • Provides block interface access between servers and the storage cluster.
      • This role is selected by default for storage servers.
      • This role is selected by default and is the only available role for storage gateway servers.
    • Object storage gateway:
      • Provides object interface access between servers and the storage cluster.
      • Select this role to use object storage.
      • A server with the object storage gateway role can run an object gateway to provide S3 access and gateway services.
    • File storage gateway:
      • Select this role to use file storage.
      • A server with the file storage gateway role can be used in a file gateway group to provide file access protocols such as SMB and NFS.
    Note:
    • When adding servers for the first time, the management, monitoring, and block storage gateway roles are selected by default. You can deselect the block storage gateway role, but not the management or monitoring role.
    • When adding subsequent servers, you can add storage servers without any role.
    • Typically, a cluster contains at least 3 storage servers, each with the management, monitoring, and block storage gateway roles.
  4. In the Environment Configuration stage, complete the following configuration or checks, and continue through the wizard.
    Option Description
    SSH Username Enter the server SSH username. Default: root
    SSH Password Enter the server SSH password. The password is used only to configure password-free login and is not stored.
    Port Enter the server port number. Default: 22
    Server Name (Optional) Specify the server name.

    Naming rules: 1-63 characters, including lowercase English letters, digits, and the following 2 special characters: periods (.) and hyphens (-). The name cannot start or end with a hyphen. We recommend not starting the name with a digit.

    Note:
    • If you do not specify a server name, configure the server name-to-IP mapping in /etc/hosts beforehand. After the server is added, the name configured in /etc/hosts is used.
    • If you specify a server name, the new name is written to /etc/hosts and replaces the original server name-to-IP mapping.
    • When adding servers in a batch, if you specify a server name, the last octet of each server IP address (0-254) is appended to the name to distinguish the servers.
    Time Sync Service Choose whether to enable time synchronization.

    When enabled, the time server keeps the newly added servers synchronized with the other servers in the cluster.

    Password-Free Login Choose whether to automatically configure password-free login by using the specified SSH username and password.
  5. In the Network Configuration stage, complete the following configuration or checks, and continue through the wizard.
    Option Description
    Admin IP Specify the management network IP address for managing and configuring the storage cluster. The default is the server IP address.
    Public IP Specify the public network IP address of the storage cluster for communication between block storage gateways and storage pools.
    Cluster IP Specify the internal network IP address of the storage cluster for data disk monitoring and replica synchronization between cluster servers.
    Note:
    You do not need to configure Cluster IP when adding a storage gateway server.
  6. In the Information Confirmation stage, complete the following configuration or checks, and continue through the wizard.

    Review the servers to be added. You can return to the corresponding step to modify their configuration.

  7. In the Installation and Deployment stage, complete the following configuration or checks, and continue through the wizard.
    View the server installation progress. If you leave the page during installation, installation continues in the background. You can reopen the operation log to check the progress.
    Note:
    • You cannot leave this page when adding servers for the first time.
    • We recommend not refreshing the browser when adding servers for the first time.

What to do next

In the node list, verify the new nodes' status and roles. If installation fails, check the task details and resolve the cause before retrying. Adding nodes does not automatically create data disks or expand storage pools.