Symantec logo
Editing VCS configuration files on existing nodes

After running uninstallsfrac script, modify the configuration files on the existing nodes to remove references to the removed nodes.

Editing /etc/llthosts

On each of the existing nodes, use vi or another editor to edit /etc/llthosts.

 To remove references to the removed nodes in /etc/llthosts

Editing /etc/gabtab

You must update the /etc/gabtab file to reflect the change in number of cluster nodes.

 To update /etc/gabtab with the number of nodes in the cluster

Modifying the VCS configuration to remove the node

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.

Complete the procedure on one of the existing nodes.

 To modify the VCS configuration to remove the node

  1. As superuser, enable write access to the configuration:

    # haconf -makerw

  2. Remove the node from the AutoStartList of the cvm service group by specifying the remaining nodes in the desired order:

    # hagrp -modify cvm AutoStartList galaxy nebula

  3. Remove the node from the SystemList of the cvm service group:

    # hagrp -modify cvm SystemList -delete saturn

  4. If you have the other service groups (such as the database service group or the ClusterService group) that have the removed node in their configuration, perform step 2 and step 3 for each of them.
  5. Delete the node from the CVMCluster resource by removing it from the CVMNodeId attribute key list:

    # hares -modify cvm_clus CVMNodeId -delete saturn

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

    # hasys -delete saturn

  7. Save the new configuration to disk:

    # haconf -dump -makero