Veritas Storage Foundation 5.1 SP1 Cluster File System Installation Guide (5900-1510, April 2011)

Editing the /etc/gabtab file
Modify the following command in the /etc/gabtab file to reflect the number of
systems after the node is removed:
/sbin/gabconfig -c -nN
where N is the number of remaining nodes in the cluster.
For example, with two nodes remaining, the file resembles:
/sbin/gabconfig -c -n2
Modifying the VCS configuration to remove the node
Modify the VCS configuration file main.cf to remove all references to the deleted
node.
Use one of the following methods to modify the configuration:
Edit the /etc/VRTSvcs/conf/config/main.cf file
This method requires application down time.
Use the command line interface
This method allows the applications to remain online on all remaining nodes.
The following procedure uses the command line interface and modifies the sample
VCS configuration to remove references to the deleted node. Run the steps in the
procedure from one of the existing nodes in the cluster. The procedure allows you
to change the VCS configuration while applications remain online on the remaining
nodes.
To modify the VCS configuration using the CLI
1
Back up the /etc/VRTSvcs/conf/config/main.cf file.
# cd /etc/VRTSvcs/conf/config
# cp main.cf main.cf.3node.bak
2
Change the cluster configuration to read-write mode:
# haconf -makerw
3
Remove the node from the AutoStartList attribute of the service group by
specifying the remaining nodes in the desired order:
# hagrp -modify cvm AutoStartList galaxy nebula
Removing a node from Storage Foundation Cluster File System clusters
Modifying the VCS configuration files on existing nodes
300