Freeze service group operations (phased or full)
Freeze service group operations and stop VCS on the cluster.
To freeze service group operations
-
On any node, make a copy of the current
main.cf
configuration file. For example:
# cp /etc/VRTSvcs/conf/config/main.cf
\
/etc/VRTSvcs/conf/main.save
-
Choose one node from the cluster to execute step 3 through step 6.
-
If performing a phased upgrade, stop VCS on selected nodes:
# PATH=$PATH:/opt/VRTS/bin
# export PATH
# haconf -makerw
# hasys -freeze -persistent
node_name
# haconf -dump -makero
# hastop -local
If performing a full upgrade, stop VCS on all nodes:
# PATH=$PATH:/opt/VRTS/bin
# export PATH
# hastop -all
-
On the node you selected in step 2 and if you have configured the VCS Cluster Manager (Web Console), complete step a through step d to modify the
/etc/VRTSvcs/conf/config/main.cf
configuration file.
-
Remove VRTSweb:
Process VRTSweb (
PathName = "/opt/VRTSvcs/bin/haweb"
Arguments = "10.129.96.64 8181"
)
-
Replace it with:
VRTSWebApp VCSweb (
Critical =0
AppName = vcs
InstallDir = "/opt/VRTSweb/VERITAS"
TimeForOnline = 5
)
-
Add the NIC resource in the ClusterService group. For example, where the name of the NIC resource is named csgnic and the public NIC device is hme0, add:
NIC csgnic (
Device = hme0
)
-
Add new dependencies for the new resources in the ClusterService group. For example, using the names of the VRTSWebApp, NotifierMngr, IP, and NIC resources, enter lines that resemble:
VCSweb
requires webip
ntfr requires csgnic
webip
requires csgnic
-
On the node you selected in step 2, verify the syntax of the
/etc/VRTSvcs/conf/config/main.cf
configuration file:
# cd /etc/VRTSvcs/conf/config
# hacf -verify .
-
On the node you selected in step 2, start VCS:
# hastart
-
On the remaining nodes in the cluster, start VCS:
# hastart