Skip Navigation Links | |
Exit Print View | |
Oracle Solaris Cluster Upgrade Guide Oracle Solaris Cluster 4.0 |
1. Preparing to Upgrade Oracle Solaris Cluster Software
2. Upgrading Zones Managed by HA for Oracle Solaris Zones
3. Performing a Standard Upgrade
Performing a Standard Upgrade of a Cluster
How to Upgrade Quorum Server Software
4. Performing a Rolling Upgrade
The following table lists the tasks to upgrade from Oracle Solaris Cluster 4.0 to a 4.0 SRU. Performing these tasks also upgrades the Oracle Solaris OS to the latest compatible version.
Table 3-1 Task Map: Performing a Standard Upgrade for Oracle Solaris Cluster 4.0 Software
|
If the cluster uses a quorum server, upgrade the Quorum Server software on the quorum server before you upgrade the cluster.
Note - If more than one cluster uses the quorum server, perform on each cluster the steps to remove the quorum server and later the steps to add back the quorum server.
Perform all steps as superuser on the cluster and on the quorum server.
See Adding a Quorum Device in Oracle Solaris Cluster System Administration Guide.
If you add another quorum server as a temporary quorum device, the quorum server can run the same software version as the quorum server that you are upgrading, or it can run the 4.0 version of Quorum Server software.
phys-schost# clquorum remove quorumserver
quorumserver# clquorumserver show +
If the output shows any cluster is still served by the quorum server, unconfigure the quorum server from that cluster. Then repeat this step to confirm that the quorum server is no longer configured with any cluster.
Note - If you have unconfigured the quorum server from a cluster but the clquorumserver show command still reports that the quorum server is serving that cluster, the command might be reporting stale configuration information. See Cleaning Up Stale Quorum Server Cluster Information in Oracle Solaris Cluster System Administration Guide.
quorumserver# clquorumserver stop +
quorumserver# pkg uninstall ha-cluster/*
By default, this directory is file is /var/scqsd.
Follow the steps in How to Install and Configure Oracle Solaris Cluster Quorum Server Software in Oracle Solaris Cluster Software Installation Guide for installing the Quorum Server software.
Follow the steps in How to Configure Quorum Devices in Oracle Solaris Cluster Software Installation Guide.
phys-schost# clquorum remove tempquorum
Perform this procedure to remove the cluster from production before you perform a standard upgrade. Performing a standard upgrade also upgrades the Oracle Solaris OS to the latest compatible version. Perform all steps from the global zone only.
Before You Begin
Perform the following tasks:
Ensure that the configuration meets the requirements for upgrade. See Upgrade Requirements and Software Support Guidelines.
Have available the installation media, documentation, and software updates for all software products that you are upgrading, including the following software:
Oracle Solaris OS
Oracle Solaris Cluster
Applications that are managed by Oracle Solaris Cluster data services
Any other third-party applications to upgrade
For instructions on updating single or multiple packages, see Chapter 11, Updating Your Software, in Oracle Solaris Cluster System Administration Guide.
If you use role-based access control (RBAC) instead of superuser to access the cluster nodes, ensure that you can assume an RBAC role that provides authorization for all Oracle Solaris Cluster commands. This series of upgrade procedures requires the following Oracle Solaris Cluster RBAC authorizations if the user is not superuser:
solaris.cluster.modify
solaris.cluster.admin
solaris.cluster.read
See Role-Based Access Control (Overview) in Oracle Solaris Administration: Security Services for more information about using RBAC roles. See the Oracle Solaris Cluster man pages for the RBAC authorization that each Oracle Solaris Cluster subcommand requires.
phys-schost% cluster status
See the cluster(1CL) man page for more information.
Take offline all resource groups in the cluster, including those that are in non-global zones. Then disable all resources, to prevent the cluster from bringing the resources online automatically if a node is mistakenly rebooted into cluster mode.
phys-schost# clsetup
The Main Menu is displayed.
The Resource Group Menu is displayed.
Type q to back out of each submenu or press Ctrl-C.
phys-schost# clresource offline resource-group
phys-schost# clresource show -p Enabled === Resources === Resource: resource Enabled{nodename1}: True Enabled{nodename2}: True …
phys-schost# clresource show -p resource_dependencies === Resources === Resource: node Resource_dependencies: node …
You must disable dependent resources first before you disable the resources that they depend on.
phys-schost# clresource disable resource
See the clresource(1CL) man page for more information.
phys-schost# clresource show -p Enabled === Resources === Resource: resource Enabled{nodename1}: False Enabled{nodename2}: False …
phys-schost# clresourcegroup unmanage resource-group
phys-schost# cluster status -t resource,resourcegroup
See Configuring Dual-String Mediators in Oracle Solaris Cluster Software Installation Guide for more information about mediators.
phys-schost# medstat -s setname
Specifies the disk set name.
If the value in the Status field is Bad, repair the affected mediator host. Follow the procedure How to Check For and Fix Bad Mediator Data in Oracle Solaris Cluster Software Installation Guide.
Save this information for when you restore the mediators during the procedure How to Finish the Upgrade.
phys-schost# cldevicegroup switch -n node devicegroup
phys-schost# metaset -s setname -d -m mediator-host-list
Specifies the disk set name.
Deletes from the disk set.
Specifies the name of the node to remove as a mediator host for the disk set.
See the mediator(7D) man page for further information about mediator-specific options to the metaset command.
Next Steps
Upgrade the cluster and OS software. Go to How to Perform a Standard Upgrade.
A standard upgrade upgrades a cluster to a new release, including installed data service software, and upgrades the Oracles Solaris OS to the latest compatible version. You do not need to place the cluster in noncluster mode before performing this upgrade because the upgrade always occurs in the new boot environment and the existing boot environment remains unchanged. You can specify a name for the new boot environment or you can use the auto-generated name.
Depending on the content in the repositories, you might have to unset the undesired publishers or freeze the undesired incorporations if you do not want to upgrade the cluster software and the OS all at once. For instructions, see Chapter 5, Configuring Installed Images, in Adding and Updating Oracle Solaris 11 Software Packages or the pkg(1) man page.
Anytime you upgrade the Oracle Solaris Cluster software, you should also upgrade the data services and Geographic Edition software.
Note - If you want to install an SRU by updating a single or multiple package, see How to Update a Specific Package in Oracle Solaris Cluster System Administration Guide. An SRU can be installed with either the pkg commands or the scinstall -u command.
# pkg unset-publisher ha-cluster # pkg set-publisher -g FMRI for cluster ha-cluster
# scinstall - u update [-b bename]
You can choose to specify a name for the new boot environment with the -b bename option.
If you are upgrading a failover zone, follow the instructions in How to Upgrade Failover Zones.
Next Steps