Upgrading to Sun Cluster 3.1 10/03 Software (Nonrolling)
Perform the following tasks to perform a nonrolling upgrade from Sun Cluster 3.x software to Sun Cluster 3.1 10/03 software. In a nonrolling upgrade, you shut down the entire cluster before you upgrade the cluster nodes. This procedure also enables you to upgrade the cluster from Solaris 8 software to Solaris 9 software.
Note - To perform a rolling upgrade to Sun Cluster 3.1 10/03 software, instead perform the procedures in Upgrading to Sun Cluster 3.1 10/03 Software (Rolling).
Table 3-1 Task Map: Upgrading to Sun Cluster 3.1 10/03 Software (Nonrolling)
Task | Instructions |
|---|---|
1. Read the upgrade requirements and restrictions. | |
2. Take the cluster out of production, disable resources, and back up shared data and system disks. | |
3. Upgrade the Solaris software, if necessary, to a supported Solaris update release. Optionally, upgrade VERITAS Volume Manager (VxVM). | How to Upgrade the Solaris Operating Environment (Nonrolling) |
4. Upgrade to Sun Cluster 3.1 10/03 framework and data-service software. If necessary, upgrade applications. If you upgraded VxVM, upgrade disk groups. | How to Upgrade to Sun Cluster 3.1 10/03 Software (Nonrolling) |
5. (Optional) Upgrade the Sun Cluster module to Sun Management Center, if needed. | How to Upgrade Sun Cluster-Module Software for Sun Management Center (Nonrolling) |
6. Reregister resource types, enable resources, and bring resource groups online. | How to Finish Upgrading to Sun Cluster 3.1 10/03 Software (Nonrolling) |
How to Prepare the Cluster for Upgrade (Nonrolling)
Before you upgrade the software, perform the following steps to take the cluster out of production:
Ensure that the configuration meets requirements for upgrade.
Have available the CD-ROMs, documentation, and patches for all software products you are upgrading.
Solaris 8 or Solaris 9 operating environment
Sun Cluster 3.1 10/03 framework
Sun Cluster 3.1 10/03 data services (agents)
Applications that are managed by Sun Cluster 3.1 10/03 data-service agents
VERITAS Volume Manager
See "Patches and Required Firmware Levels" in Sun Cluster 3.1 Release Notes for the location of patches and installation instructions.
(Optional) Install Sun Cluster 3.1 10/03 documentation.
Install the documentation packages on your preferred location, such as an administrative console or a documentation server. See the index.html file at the top level of the Sun Cluster 3.1 10/03 CD-ROM to access installation instructions.
Are you upgrading from Sun Cluster 3.0 software?
If no, proceed to Step 5.
If yes, have available your list of test IP addresses, one for each public network adapter in the cluster.
A test IP address is required for each public network adapter in the cluster, regardless of whether the adapter is the active adapter or the backup adapter in the group. The test IP addresses will be used to reconfigure the adapters to use IP Network Multipathing.
Note - Each test IP address must be on the same subnet as the existing IP address that is used by the public network adapter.
To list the public network adapters on a node, run the following command:
% pnmstat
See the IP Network Multipathing Administration Guide (Solaris 8) or System Administration Guide: IP Services (Solaris 9) for more information about test IP addresses for IP Network Multipathing.
Notify users that cluster services will be unavailable during upgrade.
Ensure that the cluster is functioning normally.
To view the current status of the cluster, run the following command from any node:
% scstat
See the scstat(1M) man page for more information.
Search the /var/adm/messages log on the same node for unresolved error messages or warning messages.
Check volume-manager status.
Become superuser on a node of the cluster.
Switch each resource group offline.
# scswitch -F -g resource-group
-F Switches a resource group offline
-g resource-group Specifies the name of the resource group to take offline
Disable all resources in the cluster.
The disabling of resources before upgrade prevents the cluster from bringing the resources online automatically if a node is mistakenly rebooted into cluster mode.
Note - If you are upgrading from a Sun Cluster 3.1 release, you can use the scsetup(1M) utility instead of the command line. From the Main Menu, choose Resource Groups, then choose Enable/Disable Resources.
From any node, list all enabled resources in the cluster.
# scrgadm -pv | grep "Res enabled"
Identify those resources that depend on other resources.
You must disable dependent resources first before you disable the resources that they depend on.
Disable each enabled resource in the cluster.
scswitch -n -j resource
-n Disables
-j resource Specifies the resource
See the scswitch(1M) man page for more information.
Move each resource group to the unmanaged state.
# scswitch -u -g resource-group
-u Moves the specified resource group to the unmanaged state
-g resource-group Specifies the name of the resource group to move into the unmanaged state
Verify that all resources on all nodes are disabled and that all resource groups are in the unmanaged state.
# scstat -g
Stop all databases that are running on each node of the cluster.
Ensure that all shared data is backed up.
From one node, shut down the cluster.
# scshutdown ok
See the scshutdown(1M) man page for more information.
Boot each node into noncluster mode.
ok boot -x
Ensure that each system disk is backed up.
Determine whether to upgrade the Solaris operating environment.
If Sun Cluster 3.1 10/03 software does not support the release of the Solaris environment that you currently run on your cluster, you must upgrade the Solaris software to a supported release. Go to How to Upgrade the Solaris Operating Environment (Nonrolling).
If your cluster configuration already runs on a release of the Solaris environment that supports Sun Cluster 3.1 10/03 software, further Solaris software upgrade is optional.
To upgrade Sun Cluster software, go to How to Upgrade to Sun Cluster 3.1 10/03 Software (Nonrolling).
To upgrade Solaris software, go to How to Upgrade the Solaris Operating Environment (Nonrolling).
See "Supported Products" in Sun Cluster 3.1 10/03 Release Notes for more information.



