A block consisting of 3 nodes can be setup to ensure that the correct nodes are identified and configured when the setup is run.
Before You Begin
Identify the Node Serial Number associated with the nodes in the block.
Login to one of the nodes using the following default credentials:
Note: This password can be changed during setup.
Navigate to the following folder:
Create a block from one of the nodes using the following command:
./cvavahi.py set_blkid <block id> <node1 serial number> <node2 serial number> <node3 serial number>
<block id>is an unique, unused name for the block.
<node1 serial number> <node2 serial number> <node3 serial number>are the serial numbers associated with the nodes.
./cvavahi.py set_blkid My_New_Block XXXX123456 XXXX123457 XXXX123458
This command should create the block. (No messages will be displayed if the block is successfully created.)
You can verify whether the block is created using the following command:
# cat /etc/avahi/services/cvlt.service | grep blkid
You will see an output similar to the following:
If you see the following message when you create a block:
Could not locate avahi node with serial number XXXX123456 please make sure cvlt avahi service is exported from this node.
Restart the avahi service on all the nodes using the following command:
systemctl restart avahi-daemon.service
Verify the output of this command and ensure that the services are successfully started.