Modify the configuration files on the remaining nodes of the cluster to remove references to the deleted nodes.
The process involves:
Editing the /etc/llthosts file
Editing the /etc/gabtab file
Modifying 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 VCS configuration using the 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 galaxy nebula
# hagrp -modify cvm SystemList -delete saturn
# hares -modify cvm_clus CVMNodeId -delete saturn
# hares -modify CFSMount NodeList -delete saturn
# hagrp -modify appgrp SystemList -delete saturn
# hasys -delete saturn
# haconf -dump -makero
# grep -i saturn /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