Symantec logo

Phased upgrade

Following procedure assumes a 4 node cluster system01, system02, system03, system04 where system01 and system02 are initially upgraded and rest of the cluster is brought up later.

 To upgrade from 3.5 to 5.0

  1. Log in as superuser.
  2. Select one or more nodes to upgrade, say system01 and system02.
  3. Insert the appropriate software disc into your system's DVD drive.
  4. 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.

  5. 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

  1. Change to the top-level directory on the disc:

    # cd /dvdrom

  2. Offline all SFCFS resources on nodes selected in step 2 by running the following commands on one of the cluster nodes.

    # hagrp -offline service_group -sys system01

    # hagrp -offline service_group -sys system02

where service_group is the command that displays the service groups by hagrp -dep cvm.

  1. Remove the VRTScavf and VRTSglm 3.5 packages from these nodes and run the following commands on system01 and system02.

    # hastop -local

    # swremove VRTScavf VRTSglm

  1. Uninstall VCS 3.5 from system01 and system02. 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. Also run the following command from rest of the nodes in the cluster on which uninstallation is not performed using ./uninstallvcs:

    # hastart


  2. Upgrade the operating system from HP-UX 11i Version 1 to HP-UX 11i Version 2 on system01 and system02.

    See the HP-UX Operating System documentation.

  3. Install all the prerequisite patches on system01 and system02. See Required HP-UX patches.
  4. Install SFCFS 5.0 on system01 and system02 and reboot these nodes.

    See Installing the product.


      Note   Do not configure SFCFS after reboot.


  5. Shutdown VCS on remaining non-upgraded nodes.
    1. Run the following commands from one of the non-upgraded nodes.

      # haconf -makerw

# hagrp -unfreeze cvm -persistent

# hagrp -unfreeze service_group -persistent

# haconf -dump -makero

where service_group is the command that displays the service groups by hagrp -dep cvm.

  1. Run the following commands on all the non-upgraded nodes.

# hastop -local

  1. Start vxfen on system01 and system02. vxfen can be started either in disable or enable mode. For starting vxfen in disabled mode, run the following commands

    # echo 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.

  1. Change the configuration files by running the following commands on one of the upgraded nodes, say system01.

    # /opt/VRTS/bin/hastart

    # /opt/VRTS/bin/haconf -makerw

# hagrp -unfreeze cvm -persistent

# hagrp -unfreeze service_group -persistent

# /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.

  1. Remove VRTSweb:

    Process VRTSweb (

    PathName = "/opt/VRTSvcs/bin/haweb"

    Arguments = "10.129.96.64 8181"

    )

  2. Replace it with:

    VRTSWebApp VCSweb (

    Critical =0

    AppName = vcs

    InstallDir = "/opt/VRTSweb/VERITAS"

    TimeForOnline = 5

    )

  3. 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

  4. 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

  1. 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 .

  2. Start VCS on all the upgraded nodes. Run the following command on system01 and system02.

    # /opt/VRTS/bin/hastart

    # echo 3.5 > /opt/VRTS/install/.SFCFS.upgrade

  3. Configure SFCFS on system01 and system02. See Configuring the Components.

      Note   VCS configuration files are not changed during this configuration.


  4. Upgrade file systems to proper disk layout version as mentioned in Upgrading the disk layout versions.
  5. Verify that all the file systems are working properly and data is intact.

    See cfsmount(1M).

  6. Run step 8 through step 12, step 14, step 17, step 18 and step 20 on rest of the nodes to be upgraded.