Modify the configuration files on the remaining nodes of the cluster to remove references to the deleted nodes.
Tasks for modifying the cluster configuration files:
Edit the /etc/llthosts file
Edit the /etc/gabtab file
Modify the VCS configuration to remove the node
For an example main.cf:
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 cluster configuration using the command line interface (CLI)
/etc/VRTSvcs/conf/config/main.cf
file.# cd /etc/VRTSvcs/conf/config
# cp main.cf main.cf.3node.bak
# haconf -makerw
# hagrp -modify cvm AutoStartList sys1 sys2
# hagrp -modify cvm SystemList -delete sys5
If the system is part of the SystemList of a parent group, it must be deleted from the parent group first.
# hares -modify cvm_clus CVMNodeId -delete sys5
# hares -modify CFSMount NodeList -delete sys5
# hagrp -modify appgrp SystemList -delete sys5
# hasys -delete sys5
# haconf -dump -makero
# grep -i sys5 /etc/VRTSvcs/conf/config/main.cf
If the node is not removed, use the VCS commands as described in this procedure to remove the node.
More Information
Sample configuration file for removing a node from the cluster