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 4.1 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

  1. Install all the prerequisite patches on system01 and system02. See Required HP-UX patches.

    If this step is being performed in any phase other than the first phase of the upgrade, the llthosts need to be replace to prevent vxfen from starting after reboot by running the following commands.

    1. Move /etc/llthosts to /etc/llthosts.bak on all the nodes to be upgraded.

      # mv /etc/llthosts /etc/llthosts.bak

    2. Install all the prerequisite patches and reboot the machines.
    3. Move /etc/llthosts to /etc/llthosts.bak on all the nodes to be upgraded.

      # mv /etc/llthosts.bak /etc/llthosts

  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. Install SFCFS 5.0 on system01 and system02 and reboot these nodes.

    See Installing the product.


      Note   Do not configure SFCFS after reboot.


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

# vxfenconfig -U

  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.

  2. Change the configuration files by running the following commands on one of the upgraded nodes. For example, system01.

    # /opt/VRTS/bin/hastart

    # /opt/VRTS/bin/haconf -makerw

# hagrp -unfreeze cvm -persistent

# hagrp -unfreeze service_group -persistent

# /opt/VRTS/bin/hares -delete qlogckd

# /opt/VRTS/bin/haconf -dump -makero

# /opt/VRTS/bin/hastop -all -force

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

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

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

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

    # /opt/VRTS/bin/hastart

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

      Note   VCS configuration files are not changed during this configuration.


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

    See cfsmount(1M).

  7. Run step 7, step 9, and step 16 on rest of the nodes to be upgraded.