Symantec logo
Stopping VCS and modifying the configuration

Stopping VCS takes all service groups on the system offline and allows reconfiguration.

  1. Log in as root user on the cluster system you are removing.
  2. Stop VCS on the node:

    # hastop -local

Modifying the VCS configuration to remove system

You can modify the VCS configuration using one of three possible methods. You can edit /etc/VRTSvcs/conf/config/main.cf (the VCS configuration file) directly, 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.

On one of the existing nodes, as root user, run the following commands:

  1. Make the configuration writable:

    # haconf -makerw

  2. Remove the system from the AutoStartList attribute of the ClusterService group by specifying the remaining nodes in the desired order:

    # hagrp -modify ClusterService AutoStartList galaxy nebula

  3. If you have the ClusterService service group configured, remove the system (for example, saturn) from the system list:

    # hagrp -modify ClusterService SystemList -delete saturn

  4. Remove the system from the AutoStartList of the Oracle service group oradb1_grp by specifying the remaining nodes in the desired order:

    # hagrp -modify oradb1_grp AutoStartList galaxy nebula

  5. Remove the system from the SystemList attribute of the oradb1_grp service group:

    # hagrp -modify oradb1_grp SystemList -delete saturn

  6. If you have other Oracle service groups with Oracle resources that have the node to be removed in their configuration, perform step 2 and step 3 for each of them.
  7. Delete the system from the CVMCluster resource in the CVM group by removing it from the CVMNodeId attribute keylist:

    # hares -modify cvm_clus CVMNodeId -delete saturn

  8. Delete the system from the CVM group AutoStartList attribute by specifying only the remaining nodes in the desired order:

    # hagrp -modify cvm AutoStartList galaxy nebula

  9. Delete the system from the CVM service group SystemList attribute:

    # hagrp -modify cvm SystemList -delete saturn

  10. After deleting the node to be removed from all service groups in the configuration, delete the removed node from the cluster system list:

    # hasys -delete saturn

  11. Save the new configuration to disk:

    # haconf -dump -makero

Running vxclustadm to reconfigure CVM membership

On each node that remains in the cluster, run the following command to enable GAB to recognize the new membership:

# vxclustadm -m vcs -t gab reinit