Finishing the phased upgrade

You now have to reboot the nodes in the second subcluster.

To finish the upgrade

  1. Verify that the cluster UUID is the same on the nodes in the second subcluster and the first subcluster. Run the following command to display the cluster UUID:

    # /opt/VRTSvcs/bin/uuidconfig.pl [-rsh] 
    -clus -display node1 [node2 ...]

    If the cluster UUID differs, manually copy the cluster UUID from a node in the first subcluster to the nodes in the second subcluster. For example:

    # /opt/VRTSvcs/bin/uuidconfig.pl [-rsh] -clus 
    -copy -from_sys node01 -to_sys node03 node04
  2. Perform this step on node03 and node04 if the cluster uses I/O Fencing. Use an editor of your choice and revert the following to an enabled state before you reboot the second subcluster's nodes:

    • In the /etc/vxfenmode file, change the value of the vxfen_mode variable from disabled to scsi3. You want the line in the vxfenmode file to resemble:

      vxfen_mode=scsi3
  3. Reboot the node03 and node04 in the second subcluster.

    # /usr/sbin/shutdown -y -i6 -g0

    The nodes in the second subcluster join the nodes in the first subcluster.

  4. Check to see if Storage Foundation and its components are up.

    # gabconfig -a
    GAB Port Memberships
    ===============================================================
    Port a gen   nxxxnn membership 0123
    Port b gen   nxxxnn membership 0123
    Port h gen   nxxxnn membership 0123
  5. Run an hastatus -sum command to determine the status of the nodes, service groups, and cluster.

    # hastatus -sum
    
    -- SYSTEM STATE
    -- System          State           Frozen
    
    A  node01          RUNNING         0
    A  node02          RUNNING         0
    A  node03          RUNNING         0
    A  node04          RUNNING         0
    
    -- GROUP STATE
    -- Group    System    Probed   AutoDisabled   State
    
    B  VxSS     node01    Y        N              ONLINE
    B  VxSS     node02    Y        N              ONLINE
    B  VxSS     node03    Y        N              ONLINE
    B  VxSS     node04    Y        N              ONLINE
    B  sg1      node01    Y        N              ONLINE
    B  sg1      node02    Y        N              ONLINE
    B  sg1      node03    Y        N              ONLINE
    B  sg1      node04    Y        N              ONLINE
    B  sg2      node01    Y        N              ONLINE
    B  sg2      node02    Y        N              ONLINE
    B  sg2      node03    Y        N              ONLINE
    B  sg2      node04    Y        N              ONLINE
    B  sg3      node01    Y        N              ONLINE
    B  sg3      node02    Y        N              OFFLINE
    B  sg3      node03    Y        N              OFFLINE
    B  sg3      node04    Y        N              OFFLINE
    B  sg4      node01    Y        N              OFFLINE
    B  sg4      node02    Y        N              ONLINE
    B  sg4      node03    Y        N              OFFLINE
    B  sg4      node04    Y        N              OFFLINE
  6. After the upgrade is complete, mount the VxFS file systems and start the VxVM volumes (for each disk group) that VCS does not manage.

In this example, you have performed a phased upgrade of Storage Foundation. The service groups were down when you took them offline on node03 and node04, to the time Storage Foundation brought them online on node01 or node02.