Modifying the main.cf file (phased or full)
Save a copy of the main.cf
file and modify the configuration information in the main.cf
file.
To modify the main.cf file
-
On any node, make a copy of the current
main.cf
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 9.
-
On the node you selected in step 2, check if there are any resources dependent on
qlogckd
:
# /opt/VRTS/bin/hares -dep qlogckd
On each node that is being upgraded, offline any resources dependent on qlogckd
(typically vxfsckd
). You must specify the -sys
option with the system names in the cluster. For example:
# /opt/VRTS/bin/hares -offline
resource -sys
system01
-
On the node you selected in step 2, offline the
qlogckd
resources. You must specify the -sys
option with the system names in the cluster. For example:
# /opt/VRTS/bin/hares -offline qlogckd -sys
system01
# /opt/VRTS/bin/hares -offline qlogckd -sys
system02
# /opt/VRTS/bin/hares -offline qlogckd -sys
system03
# /opt/VRTS/bin/hares -offline qlogckd -sys
system04
-
On the node you selected in step 2, stop VCS on all nodes:
# /opt/VRTS/bin/hastop -all -force
-
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
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, remove
qlogckd
from the /etc/VRTSvcs/conf/config/main.cf
file. For example:
CFSQlogckd qlogckd (
Critical = 0
)
Note
Make sure you remove all dependencies on qlogckd
from the main.cf
file.
-
On the node you selected in step 2, verify the syntax of the
/etc/VRTSvcs/conf/config/main.cf
file:
# cd /etc/VRTSvcs/conf/config
# /opt/VRTS/bin/hacf -verify .
-
On the node you selected in step 2, start VCS:
# /opt/VRTS/bin/hastart
-
On the remaining nodes in the cluster, start VCS:
# /opt/VRTS/bin/hastart