Performing a full upgrade from SFCFSHA versions on HP-UX 11i v2 to SFCFSHA 6.0.1

Use these steps to perform a full upgrade from SFCFSHA 4.x or 5.x on HP-UX 11i v2 to SFCFSHA 6.0.1:

To upgrade from SFCFSHA versions on HP-UX 11i v2:

  1. Log in as superuser to one of the nodes, system01 for example, in the cluster.
  2. 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
  3. 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.
  4. 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

    If the applications are not under VCS control:

    Use native application commands to stop the application.

  5. Take offline all VCS groups that contain CFSMount and CVMVolDg.
    # hagrp -offline group -sys system01
    # hagrp -offline group -sys system02
  6. Unmount all the VxFS file system which is not under VCS control.
    # umount /mount_point
  7. Make sure that no processes are running which make use of mounted shared file system or shared volumes.
    # fuser -cu mount-point
  8. Stop all VCS service groups.

    To view the current state of the service groups:

    # hagrp -state

    To stop each group:

    # hagrp -offline servicegroup -sys node_name
  9. Freeze the VCS service groups. Run the following commands:
    # haconf -makerw
    # hagrp -freeze servicegroup -persistent
    # haconf -dump -makero
  10. Stop VCS on all nodes:
    # hastop -all -force
  11. 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.
  12. On each node, edit the /etc/vxfenmode file to configure I/O fencing in disabled mode.
    # cat /etc/vxfenmode 
    vxfen_mode=disabled
  13. On each node, change LLT_START=0 in the file /etc/rc.config.d/lltconf.
  14. On each node, remove the following device files:
    # rm -f /dev/llt
    # rm -f /dev/gab*
    # rm -f /dev/vxfen
  15. Upgrade the operating system from HP-UX 11iv2 to HP-UX 11iv3.

    To upgrade from Veritas 5.0 releases on 11i v2, select the related bundles for the target operating system version while using update-ux (1M).

    • Base-VxVM-50, Base-VxTools-50, Base-VxFS-50 for 11.31.1103.

    • Base-VxFS-501, Base-VxTools-501, Base-VxVM-501 for 11.31.1109 or 11.31.1203.

  16. If any patches to the HP-UX 11i v3 are required, install all the prerequisite patches on all nodes before upgrading the Veritas products.
  17. Install SFCFSHA 6.0.1.
    # ./installer

    From the installation menu, choose the G option for install and enter the number for VERITAS Storage Foundation Cluster File System.

  18. Uncomment the VxFS mount point entries in the /etc/fstab file.
  19. Set the LLT_START attribute to 1 in the /etc/rc.config.d/lltconf file:
    LLT_START=1
  20. Reboot all the nodes.
    # /usr/sbin/shutdown -r now
  21. Check the status of the cluster.
    # hastatus -sum
  22. 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
    
  23. Set the clusterwide attribute "UseFence" to use SCSI3. Add the following line to the /etc/VRTSvcs/conf/config/main.cf file:
    UseFence=SCSI3
  24. Start the VCS engine on each system:
    # hastart