Symantec logo
Configuring CVM on Existing Cluster

You can modify the VCS configuration using two methods. You can use the VCS GUI (Cluster Manager) or you can use the command line, as illustrated in the following example. Please refer to the Veritas Cluster Server User's Guide for details about how to configure VCS.

 To configure CVM

  1. Log in as root on one of the existing cluster nodes.
  2. 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

  3. Make the VCS configuration writable:

    # haconf -makerw

  4. Add the new system to the cluster:

    # hasys -add saturn

  5. If the ClusterService service group is configured, add the new system to its system list and specify a failover priority of 2:

    # hagrp -modify ClusterService SystemList -add saturn 2

  6. If the ClusterService service group is configured, add the new system to the service group's AutoStartList:

    # hagrp -modify ClusterService AutoStartList galaxy nebula saturn

  7. Add the new system to the cvm service group's system list and specify a failover priority of 2:

    # hagrp -modify cvm SystemList -add saturn 2

  8. Add the new system to the cvm service group's AutoStartList:

    # hagrp -modify cvm AutoStartList galaxy nebula saturn

  9. Add the new system and its node ID (refer to the /etc/llthosts changes in Configuring LLT, GAB, VCSMM, and VXFEN drivers) to the cvm_clus resource:

    # hares -modify cvm_clus CVMNodeId -add saturn 2

  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 system's virtual IP address to the IP resource:

    # hares -modify listener_ip Address 10.182.2.130 -sys saturn

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

    # hares -modify LISTENER Listener listener_saturn -sys saturn

  12. Save the new configuration to disk:

    # haconf -dump -makero

  13. On each of the existing nodes, run the following command to enable them to recognize the new node:

    # /etc/vx/bin/vxclustadm -m vcs -t gab reinit

  14. On one of the existing nodes, run the following command to ensure the new node is recognized:

    # /etc/vx/bin/vxclustadm nidmap

    Name CVM Nid CM Nid State

    galaxy 0 0 Joined: Slave

    nebula 1 1 Joined: Master

    saturn 2 2 Out of Cluster