Performing a full upgrade from SFCFS versions on HP-UX 11i v2 to SFCFS 5.1 SP1

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:

  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 Base-VxFS-50, Base-VxVM-50 and Base-VxTools-50 bundles while using update-ux (1M) .

  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 SFCFS 5.1 SP1.

    # ./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. Reboot all the nodes.

    # /usr/sbin/shutdown -r now
  20. Check for hastatus - summ.

  21. 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
    
  22. Set the clusterwide attribute "UseFence" to use SCSI3. Add the following line to the /etc/VRTSvcs/conf/config/main.cf file:

    UseFence=SCSI3
  23. Start the VCS engine on each system:

    # hastart