Add node

Expand available capacity and performance by adding new nodes to a cluster.

Start the node addition by running the cioctl join-token command. This generates a command string for adding a new node. Example:

root@t1:~# cioctl join-token
    cioctl node add 192.168.3.122 909ab2a6afad21f26369c00a8ba7307e-1f13164a

Copy and run the command string on the new node to be added:

root@t5:~# cioctl node add 192.168.3.122 909ab2a6afad21f26369c00a8ba7307e-1f13164a
Adding this node to cluster as a storage node
<13>May 29 14:43:55 cluster: Copy auto-multiNode-t1.cfg to all nodes (NODE_NUMS:4)
<13>May 29 14:43:57 cluster: Initialize target
<13>May 29 14:44:21 cluster: Initialize initiator
<13>May 29 14:44:26 cluster: Node initialization
<13>May 29 14:44:29 node: Clear drives
<13>May 29 14:44:30 node: Load module
<13>May 29 14:44:30 node: Add node backup relationship
<13>May 29 14:44:36 node: Check drives
Adding disk /dev/sdb SSD to storage pool
Adding disk /dev/sdc SSD to storage pool
Adding disk /dev/sdd SSD to storage pool
Adding disk /dev/sde SSD to storage pool
Adding disk /dev/sdr SSD to storage pool
Adding disk /dev/sds SSD to storage pool
Adding disk /dev/sdt SSD to storage pool
Adding disk /dev/sdu SSD to storage pool
Adding disk /dev/sdv SSD to storage pool
Adding disk /dev/sdw SSD to storage pool
Adding disk /dev/sdx SSD to storage pool
Adding disk /dev/sdy SSD to storage pool
Adding disk /dev/sdz SSD to storage pool
Adding disk /dev/sdaa SSD to storage pool
Adding disk /dev/sdab SSD to storage pool
Adding disk /dev/sdac SSD to storage pool
<13>May 29 14:45:04 node: Collect drive IOPS and BW: Total IOPS:22900  Total BW:1833.7MB/s
<13>May 29 14:45:04 node: Initializing metadata
<13>May 29 14:45:09 cluster: Starting cio daemon
<13>May 29 14:45:09 cluster: Starting API

Run the cio node ls command to see the new node (t5).

root@t1:~# cio node ls
NODENAME             IP                NODE_ID    ROLE       STATUS
t1                   192.168.3.122     01ba0e2c   sds        normal
t2                   192.168.3.130     c9506d19   backup1    normal
t4                   192.168.3.103     d582da4f   backup2    normal
t5                   192.168.3.117     f0c11322   standard   normal
t3                   192.168.3.84      ab80be13   standard   normal

The creation of new join tokens is disabled when there are on-going node operations, e.g. cordon, uncordon or node removal from cluster.

Wait for the node operation to complete, then run the cioctl join-token command again.

Last Updated: 9/26/2019, 1:18:46 AM