-
Determine the CVM master node:
# vxdctl -c mode
-
Make a backup copy of the
main.cf
file.
# cd /etc/VRTSvcs/conf/config
# cp main.cf main.cf.2node
-
Use the commands to reconfigure the CVM group. On the CVM master node, execute:
# haconf -makerw
# hasys -add saturn
# hagrp -modify cvm SystemList -add saturn 2
# hagrp -modify cvm AutoStartList -add saturn
# hares -modify ora_priv Device -add qfe0 0 -sys saturn
# hares -modify ora_priv Device -add qfe1 1 -sys saturn
-
Verify the syntax of main.cf file:
# hacf -verify .
-
Stop the VCS engine on all systems, leaving the resources available.
# hastop -all -force
-
Copy the new version of the
main.cf
to each system in the cluster including the newly added system.
# rcp (or scp) main.cf nebula:/etc/VRTSvcs/conf/config
# rcp (or scp) main.cf saturn:/etc/VRTSvcs/conf/config
In the example, galaxy is the system where main.cf
is edited; it does not need a copy.
-
Start VCS on the CVM master.
# hastart
-
Verify the CVM group has come online.
# hastatus -sum
-
To enable the existing cluster to recognize the new node, execute on the current node:
# /etc/vx/bin/vxclustadm -m vcs -t gab reinit
# /etc/vx/bin/vxclustadm nidmap
-
Repeat steps 7 through 9 on each system in the existing cluster.
-
Start CVM on the newly added node.
-
Determine the node ID:
# cat /etc/llthost
-
Verify this host ID is seen by the GAB module.
# gabconfig -a
-
Start the VCS engine.
-
Verify the CVM group has come online on the newly added node.
# hastatus -sum