Use these steps to perform a full upgrade from SFCFS 4.x or 5.x on HP-UX 11i v2 to SFCFS 5.1 SP1:
To upgrade from SFCFS versions on HP-UX 11i v2:
Log in as superuser to one of the nodes, system01 for example, in the cluster.
Create a backup of the existing cluster configuration. Back up the main.cf and types.cf on all cluster nodes:
# cp /etc/VRTSvcs/conf/config/main.cf \ /etc/VRTSvcs/conf/config/main.cf.save # cp /etc/VRTSvcs/conf/config/types.cf \ /etc/VRTSvcs/conf/config/types.cf.save
If you created local VxFS mount points on VxVM volumes, added them to the /etc/fstab
file, and comment out the mount point entries in the /etc/fstab
file.
Stop all applications that use VxFS or VxVM disk groups, whether local or CFS.
If the applications are under VCS control:
# hagrp -offline grp_name -any
Take offline all VCS groups that contain CFSMount and CVMVolDg.
# hagrp -offline group -sys system01 # hagrp -offline group -sys system02
Unmount all the VxFS file system which is not under VCS control.
# umount /mount_point
Make sure that no processes are running which make use of mounted shared file system or shared volumes.
# fuser -cu mount-point
To view the current state of the service groups:
# hagrp -state
# hagrp -offline servicegroup -sys node_name
Freeze the VCS service groups. Run the following commands:
# haconf -makerw # hagrp -freeze servicegroup -persistent # haconf -dump -makero
# hastop -all -force
If the cluster-wide attribute "UseFence" is set to SCSI3, then reset the value to NONE in the /etc/VRTSvcs/conf/config/main.cf
file.
On each node, edit the /etc/vxfenmode
file to configure I/O fencing in disabled mode.
# cat /etc/vxfenmode vxfen_mode=disabled
On each node, change LLT_START=0 in the file /etc/rc.config.d/lltconf.
On each node, remove the following device files:
# rm -f /dev/llt # rm -f /dev/gab* # rm -f /dev/vxfen
Upgrade the operating system from HP-UX 11iv2 to HP-UX 11iv3.
To upgrade from Veritas 5.0 releases on 11i v2, select the Base-VxFS-50, Base-VxVM-50 and Base-VxTools-50 bundles while using update-ux (1M) .
If any patches to the HP-UX 11i v3 are required, install all the prerequisite patches on all nodes before upgrading the Veritas products.
# ./installer
From the installation menu, choose the G option for install and enter the number for VERITAS Storage Foundation Cluster File System.
Uncomment the VxFS mount point entries in the /etc/fstab
file.
# /usr/sbin/shutdown -r now
Post Upgrade Tasks: Enable fencing.
# hastop -all # cp /etc/vxfen.d/vxfenmode_scsi3_dmp /etc/vxfenmode # /sbin/init.d/vxfen stop # /sbin/init.d/vxfen start
Set the clusterwide attribute "UseFence" to use SCSI3. Add the following line to the /etc/VRTSvcs/conf/config/main.cf
file:
UseFence=SCSI3
Start the VCS engine on each system:
# hastart