Adding nodes to the NFS cluster
You can add more NFS nodes for high availability and scalability of your file storage.
Prerequisites
- The NFS cluster is created, as described in Creating the NFS cluster.
To add nodes to the NFS cluster
Admin panel
- Go to the Storage services > NFS > Nodes screen.
- Select one or more nodes in the Available nodes section, and then click Join NFS cluster.
The nodes will be added to your file storage.
Command-line interface
Use the following command:
vinfra service nfs node add --nodes <nodes>[:<ip_address>]
--nodes <nodes>[:<ip_address>]
- A comma-separated list of node hostnames or IDs, and optionally their IP addresses
For example, to add the node node002
to the NFS cluster, run:
# vinfra service nfs node add --nodes node002
The added node will appear in the vinfra service nfs node list
output:
# vinfra service nfs node list +--------------------------------------+------------------------+-------------+ | id | ip_address | has_configd | +--------------------------------------+------------------------+-------------+ | 923926da-a879-5f56-1b24-1462917ed335 | node001.vstoragedomain | True | | ef24c47c-620d-8726-2677-ed94d853de2e | node002.vstoragedomain | True | +--------------------------------------+------------------------+-------------+