Adding a node to a cluster

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.

Note:

For a cluster to work correctly, all nodes must have the same time. If you are not running the Network Time Protocol (NTP) daemon, make sure the time on all the nodes comprising your cluster is synchronized.

To add a node to a cluster

  1. Log into the new node as superuser.

  2. After inserting the software disc, type the following command:

    # mount -o ro /dev/cdrom /mnt/cdrom
  3. Add /opt/VRTS/bin to your PATH and /opt/VRTS/man to your MANPATH environment variables.

  4. Change to the SFCFS directory.

    # cd sfcfs
  5. Run the installsfcfs script with -installonly option to install all the required SFCFS packages on the new node.

    # ./installsfcfs -installonly
  6. Enter y to install SFCFS on these systems.

    Do you want to install SFCFS on these systems? [y,n,q] (y)
  7. Enter the system name of the new node to install SFCFS.

    Enter the system names separted by spaces on which to install 
    SFCFS: system03
  8. Enter a license key for the new node.

    Enter a SFCFS license key for system03:[?] 
    XXXX-XXXX-XXXX-XXXX-XXXX-X
  9. 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)
  10. Enter 1 or 2 to be installed on all systems.

    Select the rpms to be installed on all systems? 
    [1-2,q,?] (2)
  11. Press Return to continue.

    Press [Return] to continue:

    Do not reboot the machine now.

  12. 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 eth1 eth-[MACID for eth1] - ether --
      link eth2 eth-[MACID for eth2] - 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.

  13. 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.

  14. 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.

  15. Start VxVM on the system that has been added.

    # vxinstall
  16. After starting VxVM, proceed to Configuring Storage Foundation Cluster File System and Cluster Volume Manager agents on the new node.