Full upgrade
Following procedure assumes a 4 node cluster system01, system02, system03, system04 where all nodes are simultaneously upgraded from 3.5 to 5.0.
-
Log in as superuser.
-
Insert the appropriate software disc into your system's DVD drive.
-
Determine the block device file for the DVD drive:
# ioscan -fnC disk
Make a note of the device file as it applies to your system.
-
Create a directory in which to mount the software disc and mount the disc using the appropriate drive name. For example:
# mkdir -p /dvdrom
# /usr/sbin/mount -F cdfs /dev/dsk/c3t2d0 /dvdrom
-
Change to the top-level directory on the disc:
# cd /dvdrom
-
Offline all SFCFS resources on all nodes by running the following commands on one of the cluster nodes.
# hagrp -offline
service_group -sys
system01
# hagrp -offline
service_group -sys
system02
# hagrp -offline
service_group -sys
system03
# hagrp -offline
service_group -sys
system04
where service_group is the command that displays the service groups by hagrp -dep cvm
.
-
Remove the VRTScavf and VRTSglm 3.5 packages from these nodes and run the following command on all the systems.
# hastop -local
# swremove VRTScavf VRTSglm
-
Uninstall VCS 3.5 from all the nodes. Run the following commands from one of the nodes.
See the Veritas Cluster Server Installation Guide.
# cd /opt/VRTSvcs/install
# ./uninstallvcs
Note
Ignore any errors from the uninstallvcs
script and proceed with the uninstall of VCS.
-
Upgrade the operating system from HP-UX 11i Version 1 to HP-UX 11i Version 2 on all the nodes.
See the HP-UX Operating System documentation.
-
Install all the prerequisite patches on all the nodes. See section Required HP-UX patches.
-
Install SFCFS 5.0 and reboot all the nodes.
See Installing the product.
Note
Do not configure SFCFS after reboot.
-
Start
vxfen
on all the nodes. vxfen
can be started either in disable or enable mode. For starting vxfen
in disabled mode, run the following commands:
# cat vxfen_mode=disabled > /etc/vxfenmode
# /sbin/init.d/vxfen start
See the Veritas Cluster Server Installation Guide for information regarding starting vxfen
in enabled mode.
-
Change the configuration files by running the following commands from one of the nodes.
# /opt/VRTS/bin/hastart
# /opt/VRTS/bin/haconf -makerw
# /opt/VRTS/bin/hatype -add CVMVxconfigd
# /opt/VRTS/bin/hatype -modify CVMVxconfigd Operations \
OnOnly
# /opt/VRTS/bin/hares -add cvm_vxconfigd CVMVxconfigd cvm
# /opt/VRTS/bin/hares -modify cvm_vxconfigd Enabled 1
# /opt/VRTS/bin/hares -delete qlogckd
# /opt/VRTS/bin/haconf -dump -makero
# /opt/VRTS/bin/hastop -all -force
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
-
Verify the syntax of the
/etc/VRTSvcs/conf/config/main.cf
file by running the following command on system01:
# cd /etc/VRTSvcs/conf/config
# /opt/VRTS/bin/hacf -verify .
-
Run the following command on all the nodes to start VCS.
# /opt/VRTS/bin/hastart
# echo 3.5 > /opt/VRTS/install/.SFCFS.upgrade
-
Configure SFCFS on system01 and system02. See Configuring the Components.
Note
VCS configuration files are not changed during this configuration.
-
Upgrade file systems to proper disk layout version as mentioned in Upgrading the disk layout versions.
-
Verify that all the file systems are working properly and data is intact.
See cfsmount
(1M).