Symantec logo
Editing VCS configuration files on existing nodes

After running uninstallsfrac, modify the configuration files on the existing remaining nodes to remove references to the deleted node(s).

Edit /etc/llthosts

On the each of the existing nodes, using vi or another editor, edit the file /etc/llthosts, removing lines corresponding to the removed nodes. For example, if saturn is the node being removed from the cluster, remove the line "3 saturn" from the file:

1 galaxy

2 nebula

3 saturn

The file should now resemble:

1 galaxy

2 nebula

Edit /etc/gabtab

In the file /etc/gabtab, change the command contained in the file to reflect the number of systems after the node is removed:

/sbin/gabconfig -c -nN

where N is the number of nodes remaining. For example, with two nodes remaining, the file resembles:

/sbin/gabconfig -c -n2

Modify the VCS configuration to remove a system

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

At this point in the process, all Oracle binaries have been removed from the system to be deleted. The instance has been removed from the database, that is, the thread disabled, and the spfile<SID>.ora edited by Oracle to remove any references to this instance. The next step is to remove all references in the to the deleted node(s).

As root user execute the following on the CVM master node only.

 To modify the CVM group in the file

  1. To determine the CVM master node execute:

    # vxdctl -c mode

  2. Make a backup copy of the file.

    # cd /etc/VRTSvcs/conf/config

    # cp

  3. Use the following commands to reconfigure the CVM group. Execute:

    # haconf -makerw

    # hagrp -modify cvm SystemList -delete saturn

    # hares -modify cvm_clus CVMNodeId -delete saturn

    # hasys -delete saturn

    # haconf -dump -makero

    Example of file: see Sample for Removing an Oracle 10g Node.

  4. Verify the syntax of file:

    # hacf -verify .

    The file now should not contain entries for system saturn.

  5. Stop the VCS engine on all systems, leaving the resources available.

    # hastop -all -force

  6. Copy the new version of the to each system in the cluster.

    # rcp (or scp) galaxy:/etc/VRTSvcs/conf/config

    # rcp (or scp) nebula:/etc/VRTSvcs/conf/config

  7. Start the VCS engine on the current system.

    # hastart

  8. Verify the CVM group has come online.

    # hastatus -sum

  9. Repeat commands step 7 through step 8 on each system in the existing cluster.