Adding nodes to file storage
You can add more nodes for high availability and scalability of your file storage.
Prerequisites
- The file storage cluster is created, as described in Creating the file storage cluster.
To add nodes to the file storage
Admin panel
- Go to the Storage services > File storage > Nodes screen.
- Click Add node.
-
Select one or more nodes to add to the file storage cluster and specify a virtual IP address for each node. Note these requirements for virtual IPs:
- It must be unique and not already allocated.
- It must reside in the same subnet as the node's IP address.
- It must be reachable by SMB clients.
- Click Add.
The nodes will be added to your file storage cluster.
Command-line interface
Use the following command:
vinfra service file-storage node add <node>:<address> [<node>:<address> ...]
<node>:<address>- Node ID or hostname and IP address with netmask, separated by a colon
For example, to add the node node002 to the file storage cluster, run:
# vinfra service file-storage node add node002:10.10.10.102
The added node will appear in the vinfra service file-storage node list output:
# vinfra service file-storage node list +--------------------------------------+------------------------+-----------------+---------+ | node_id | host | address | status | +--------------------------------------+------------------------+-----------------+---------+ | 923926da-a879-5f56-1b24-1462917ed335 | node001.vstoragedomain | 10.10.10.101/32 | running | | ef24c47c-620d-8726-2677-ed94d853de2e | node002.vstoragedomain | 10.10.10.102/32 | running | +--------------------------------------+------------------------+-----------------+---------+