47Upgrading the product
Upgrading from 4.1 to 5.0
12 Change the configuration files by running the following commands on one
of the upgraded nodes. For example, system01.
# /opt/VRTS/bin/hastart
# /opt/VRTS/bin/haconf -makerw
# hagrp -unfreeze cvm -persistent
# hagrp -unfreeze service_group -persistent
# /opt/VRTS/bin/hares -delete qlogckd
# /opt/VRTS/bin/haconf -dump -makero
# /opt/VRTS/bin/hastop -all -force
where service_group is the command that displays the service groups by
hagrp -dep cvm.
13 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.
a Remove VRTSweb:
Process VRTSweb (
PathName = "/opt/VRTSvcs/bin/haweb"
Arguments = "10.129.96.64 8181"
)
b Replace it with:
VRTSWebApp VCSweb (
Critical =0
AppName = vcs
InstallDir = "/opt/VRTSweb/VERITAS"
TimeForOnline = 5
)
c 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
d 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
14 Verify the syntax of the /etc/VRTSvcs/conf/config/main.cf file by running
the following commands on system01:
# cd /etc/VRTSvcs/conf/config
# /opt/VRTS/bin/hacf -verify .
15 Start VCS on all the upgraded nodes. Run the following command on
system01 and system02.
# /opt/VRTS/bin/hastart