Adding nodes to object storage
You can add more S3 nodes for high availability and scalability of your object storage.
Prerequisites
- The S3 cluster is created, as described in Creating the S3 cluster.
To add nodes to the S3 cluster
Admin panel
- Go to the Storage services > S3 > Nodes screen.
- Click Add node.
- Select nodes to join the S3 cluster, and then click Add.
The nodes will be added to your object storage.
Command-line interface
Use the following command:
vinfra service s3 node add --nodes <nodes>
--nodes <nodes>
- A comma-separated list of node hostnames or IDs
For example, to add the node with the ID 2f3f6091-0d44-45aa-94e3-ebc2b65c0eeb
to the S3 storage, run:
# vinfra service s3 node add --nodes 2f3f6091-0d44-45aa-94e3-ebc2b65c0eeb
The added node will appear in the vinfra service s3 node list
output:
# vinfra service s3 node list +--------------------------------------+------------------+-------------------+ | id | total_s3gw_count | active_s3gw_count | +--------------------------------------+------------------+-------------------+ | 056c61ce-50a2-4e0d-d298-e98282fe1de7 | 4 | 4 | | 75cd5bd8-dc61-6e50-6bbb-4f12092ca39e | 4 | 4 | | 2f3f6091-0d44-45aa-94e3-ebc2b65c0eeb | 4 | 4 | +--------------------------------------+------------------+-------------------+