Adding nodes to the S3 cluster

You can add more S3 nodes for high availability and scalability of your object storage.

Prerequisites

To add nodes to the S3 cluster

Admin panel

  1. Go to the Storage services > S3 > Nodes screen.
  2. Select one or more nodes in the Available nodes section, and then click Join S3 cluster.

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 cluster, 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                                          |
+----------------+--------------------------------------------+