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 show
output:
# vinfra service s3 show +----------------+--------------------------------------------+ | Field | Value | +----------------+--------------------------------------------+ | failure_domain | 1 | | id | 0100000000000002 | | name | cluster1 | | nodes | - id: ca334b1d-20a1-1241-96a5-eb9acadb8ecd | | | - id: ab36b523-91dc-e78d-53a7-88baed44541e | | | - id: 2f3f6091-0d44-45aa-94e3-ebc2b65c0eeb | | np | | | nusers | 0 | | protocol | scheme: https | | redundancy | m: 1 | | | n: 2 | | | type: raid6 | | s3gw_domain | dns.example.com | | tier | 0 | +----------------+--------------------------------------------+