If you want to add a new node to a multi-node cluster, first prepare the new system hardware. Physically connect the new node to the cluster using private networks and attach to any shared storage. Then install the required OS software. Install all the prerequisite patches.
To add a node to a cluster
Determine the block device file for the DVD drive:
# ioscan -fnC disk
Run the following commands to start Portable File System (PFS):
# nohup pfs_mountd & # nohup pfsd &
Create a directory in which to mount the software disc and mount the disc using the appropriate drive name. For example:
# mkdir -p /dvdrom # /usr/sbin/mount -F cdfs /dev/dsk/c3t2d0 /dvdrom
Add /opt/VRTS/bin to your PATH and /opt/VRTS/man to your MANPATH environment variables.
Change to the SFCFS directory.
# cd sfcfs
Run the installsfcfs script with -installonly option to install all the required SFCFS packages on the new node.
# ./installsfcfs -installonly
Enter y to install SFCFS on these systems.
Do you want to install SFCFS on these systems? [y,n,q] (y)
Enter the system name of the new node to install SFCFS.
Enter the system names separted by spaces on which to install SFCFS: system03
Enter a license key for the new node.
Enter a SFCFS license key for system03:[?] XXXX-XXXX-XXXX-XXXX-XXXX-X
Enter y or n for another license key. You are prompted to press Return to continue.
Do you want to enter another license key for system03? [y,n,q,?] (n)
Enter 1 or 2 to be installed on all systems.
Select the packages to be installed on all systems? [1-2,q,?] (2)
Press [Return] to continue:
Create the /etc/llttab file the same as it looks on another node in the cluster.
Change the set-node line to the name of the new node, set the set-cluster line to the cluster ID, and specify that the LAN ports for the public and private networks are configured the same as on the other cluster nodes:
set-node system03 set-cluster 100
link lan1 /dev/lan:1 - ether - - link lan2 /dev/lan:2 - ether - -
Copy /etc/llthosts from one other node of the cluster and add a new line to it with the name of this node.
Edit the /etc/llthosts file and add the new node to the file. For example:
0 system01 1 system02 2 system03
Copy the /etc/llthosts
file from one of the existing systems over to the new system. The /etc/llthosts
file must be identical on all nodes in the cluster.
Create an /etc/gabtab
file and add the following command to the file:
/sbin/gabconfig -c -nN
Where N is the number of nodes in the cluster. For a three node cluster, N would equal 3.
There is no need to reboot the other nodes, just update the /etc/gabtab file on the other nodes in the cluster. Edit the /etc/gabtab
file on each of the existing systems, changing the content to match the file on the new system.
Start VxVM on the system that has been added.
# vxinstall
After starting VxVM, proceed to Configuring Storage Foundation Cluster File System and Cluster Volume Manager agents on the new node.