Symantec logo
Configuring CVM to reflect the new node

You can modify the VCS configuration by editing /etc/VRTSvcs/conf/config/main.cf directly, using the VCS Cluster Manager, or using the command-line, as illustrated in the following example. Refer to the Veritas Cluster Server User's Guide for details on configuring VCS.

 To configure CVM using the command-line

  1. On one of the existing nodes, check the groups dependent on the CVM service group:

    # hagrp -dep cvm

    Parent Child Relationship

    oradb1_grp cvm online local firm

    oradb2_grp cvm online local firm

  2. Enable write access to the VCS configuration:

    # haconf -makerw

  3. Add the new node to the cluster:

    # hasys -add saturn

  4. If the ClusterService service group is configured, add the new node to its system list and specify a failover priority.

    For example, add a node saturn with failover priority "2":

    # hagrp -modify ClusterService SystemList -add saturn 2

  5. If the ClusterService service group is configured, add the new node to its AutoStartList:

    # hagrp -modify ClusterService AutoStartList galaxy nebula saturn

  6. Add the new node to the cvm service group system list and specify a failover priority.

    For example, add a node saturn with failover priority "2":

    # hagrp -modify cvm SystemList -add saturn 2

  7. Add the new node to the cvm service group AutoStartList:

    # hagrp -modify cvm AutoStartList galaxy nebula saturn

  8. Perform step 6 and step 7 for any other service group that you want to configure on the new node.
  9. Add the new node and node ID to the cvm_cluster resource:

    # hares -modify cvm_clus CVMNodeId -add saturn 2

    Refer to the /etc/llthosts changes that you made.

    See Configuring LLT, GAB, VCSMM, ODM, and VXFEN drivers

  10. If the IP resource is not part of the cvm service group, skip to the next step. If the IP is part of the cvm service group, add the new node to the IP resource:

    # hares -modify listener_ip Address 10.182.2.130 -sys saturn

  11. If the listener name is the default name, skip this step. Otherwise, add the local listener name to the Netlsnr resource:

    # hares -modify LISTENER Listener listener_saturn -sys saturn

    You must similarly add the new node information for other VCS resources in case any additional resources exist.

  12. Save the new configuration to disk:

    # haconf -dump -makero

  13. On each of the existing nodes, enable the nodes to recognize the new node:

    # /opt/VRTS/bin/vxclustadm -m vcs -t gab reinit