Create the LLT and GAB configuration files on the new node and update the files on the existing nodes.
To configure LLT when adding a node to the cluster
The file /etc/llttab on an existing node can serve as a guide.
The following example describes a system where node sys2 is the new node on cluster ID number 2:
set-node sys2 set-cluster 2 link eth1 eth-00:04:23:AC:12:C4 - ether - - link eth2 eth-00:04:23:AC:12:C5 - ether - -
Copy the following file from one of the nodes in the existing cluster to the new node:
/etc/sysconfig/llt
For RHEL 7, SLES 12, and supported RHEL distributions:
# systemctl start llt
For earlier versions of RHEL, SLES, and supported RHEL distributions:
# /etc/init.d/llt start
In a setup that uses LLT over UDP, new nodes automatically join the existing cluster if the new nodes and all the existing nodes in the cluster are not separated by a router. However, if you use LLT over UDP6 link with IPv6 address and if the new node and the existing nodes are separated by a router, then do the following:
To configure GAB when adding a node to the cluster
Create the file /etc/gabtab on the new system.
If the /etc/gabtab file on the existing nodes resembles:
/sbin/gabconfig -c
The file on the new node should be the same. Veritas recommends that you use the -c -nN option, where N is the total number of cluster nodes.
If the /etc/gabtab file on the existing nodes resembles:
/sbin/gabconfig -c -n2
The file on all nodes, including the new node, should change to reflect the change in the number of cluster nodes. For example, the new file on each node should resemble:
/sbin/gabconfig -c -n3
The -n flag indicates to VCS the number of nodes that must be ready to form a cluster before VCS starts.
Copy the following file from one of the nodes in the existing cluster to the new node:
/etc/sysconfig/gab
For RHEL 7, SLES 12, and supported RHEL distributions:
# systemctl start gab
For earlier versions of RHEL, SLES, and supported RHEL distributions:
# /etc/init.d/gab start
To verify GAB
# /sbin/gabconfig -a
The output should indicate that port a membership shows all nodes including the new node. The output should resemble:
GAB Port Memberships ==================================== Port a gen a3640003 membership 012
# /sbin/gabconfig -a GAB Port Memberships ==================================== Port a gen a3640003 membership 012 Port h gen fd570002 membership 01 Port h gen fd570002 visible ; 2