Sun Cluster Software Installation Guide for Solaris OS

ProcedureHow to Finish a Nonrolling Upgrade to Sun Cluster 3.1 8/05 Software

Perform this procedure to finish Sun Cluster upgrade. First, reregister all resource types that received a new version from the upgrade. Second, modify eligible resources to use the new version of the resource type that the resource uses. Third, re-enable resources. Finally, bring resource groups back online.

Before You Begin

Ensure that all steps in How to Verify a Nonrolling Upgrade of Sun Cluster 3.1 8/05 Software are completed.

  1. If you upgraded any data services that are not supplied on the product media, register the new resource types for those data services.

    Follow the documentation that accompanies the data services.

  2. If you upgraded Sun Cluster HA for SAP liveCache from the version for Sun Cluster 3.0 to the version for Sun Cluster 3.1, modify the /opt/SUNWsclc/livecache/bin/lccluster configuration file.

    1. Become superuser on a node that will host the liveCache resource.

    2. Copy the new /opt/SUNWsclc/livecache/bin/lccluster file to the /sapdb/LC_NAME/db/sap/ directory.

      Overwrite the lccluster file that already exists from the previous configuration of the data service.

    3. Configure this /sapdb/LC_NAME/db/sap/lccluster file as documented in How to Register and Configure Sun Cluster HA for SAP liveCache in Sun Cluster Data Service for SAP liveCache Guide for Solaris OS.

  3. If your configuration uses dual-string mediators for Solstice DiskSuite or Solaris Volume Manager software, restore the mediator configurations.

    1. Determine which node has ownership of a disk set to which you will add the mediator hosts.

      # metaset -s setname
      -s setname

      Specifies the disk set name

    2. If no node has ownership, take ownership of the disk set.

      # scswitch -z -D setname -h node

      Changes mastery

      -D setname

      Specifies the name of the disk set

      -h node

      Specifies the name of the node to become primary of the disk set

    3. Re-create the mediators.

      # metaset -s setname -a -m mediator-host-list

      Adds to the disk set

      -m mediator-host-list

      Specifies the names of the nodes to add as mediator hosts for the disk set

    4. Repeat these steps for each disk set in the cluster that uses mediators.

  4. SPARC: If you upgraded VxVM, upgrade all disk groups.

    1. Bring online and take ownership of a disk group to upgrade.

      # scswitch -z -D setname -h thisnode
    2. Run the following command to upgrade a disk group to the highest version supported by the VxVM release you installed.

      # vxdg upgrade dgname

      See your VxVM administration documentation for more information about upgrading disk groups.

    3. Repeat for each remaining VxVM disk group in the cluster.

  5. Migrate resources to new resource type versions.

    Note –

    If you upgrade to the Sun Cluster HA for NFS data service for the Solaris 10 OS, you must migrate to the new resource type version. See Upgrading the SUNW.nfs Resource Type in Sun Cluster Data Service for NFS Guide for Solaris OS for more information.

    For all other data services, this step is optional.

    See Upgrading a Resource Type in Sun Cluster Data Services Planning and Administration Guide for Solaris OS, which contains procedures which use the command line. Alternatively, you can perform the same tasks by using the Resource Group menu of the scsetup utility. The process involves performing the following tasks:

    • Registration of the new resource type

    • Migration of the eligible resource to the new version of its resource type

    • Modification of the extension properties of the resource type as specified in the manual for the related data service

  6. From any node, start the scsetup(1M) utility.

    # scsetup
  7. Re-enable all disabled resources.

    1. From the Resource Group Menu, choose the menu item, Enable/Disable a resource.

    2. Choose a resource to enable and follow the prompts.

    3. Repeat Step b for each disabled resource.

    4. When all resources are re-enabled, type q to return to the Resource Group Menu.

  8. Bring each resource group back online.

    1. From the Resource Group Menu, choose the menu item, Online/Offline or Switchover a resource group.

    2. Follow the prompts to put each resource group into the managed state and then bring the resource group online.

  9. When all resource groups are back online, exit the scsetup utility.

    Type q to back out of each submenu, or press Ctrl-C.

Next Steps

If you have a SPARC based system and use Sun Management Center to monitor the cluster, go to SPARC: How to Upgrade Sun Cluster Module Software for Sun Management Center.

Otherwise, the cluster upgrade is complete.

See Also

To upgrade future versions of resource types, see Upgrading a Resource Type in Sun Cluster Data Services Planning and Administration Guide for Solaris OS.