Skip Navigation Links | |
Exit Print View | |
Oracle Solaris Cluster Upgrade Guide Oracle Solaris Cluster 4.1 |
1. Preparing to Upgrade Oracle Solaris Cluster Software
2. Upgrading Zones Managed by Oracle Solaris Cluster Software
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 to Oracle Solaris Cluster 4.1 software or to a 4.1 SRU. By default, all Oracle Solaris packages are automatically upgraded.
Table 3-1 Task Map: Performing a Standard Upgrade for Oracle Solaris Cluster 4.1 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 the root role 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.1 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 /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 the root role 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 the root role:
solaris.cluster.modify
solaris.cluster.admin
solaris.cluster.read
See Role-Based Access Control (Overview) in Oracle Solaris 11.1 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.
# clresourcegroup offline -Z zonecluster resource-group # clresource disable -Z zonecluster resource # clresourcegroup unmanage -Z zonecluster resource-group
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# clresourcegroup 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
Next Steps
Upgrade the cluster and OS software. Go to How to Upgrade the Software (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.
If you do not want to upgrade all of your software to the latest available version, you can prevent certain components from being upgraded. You can do this by freezing individual packages or incorporations, or by disabling the appropriate publisher. For instructions, see Chapter 5, Configuring Installed Images, in Adding and Updating Oracle Solaris 11.1 Software Packages or the pkg(1) man page.
Any time you upgrade the Oracle Solaris Cluster software, by default you also upgrade the data services and Geographic Edition software.
Note - If you want to install any individual Oracle Solaris Cluster SRUs, instead see How to Update a Specific Package in Oracle Solaris Cluster System Administration Guide.
Oracle Solaris 11.2 software requires Oracle Solaris Cluster 4.1 SRU 8.
Before You Begin
If you have failover zones of brand type solaris configured on the cluster, you must perform additional steps. Follow the instructions in How to Upgrade a Failover Zone before you begin this procedure. If you have a solaris10 brand zone in a zone cluster, follow the instructions in Upgrading a solaris10 Brand Zone in a Zone Cluster.
# pkg set-publisher -G '*' -g URL_for_ha-cluster_publisher ha-cluster
# pkg publisher PUBLISHER TYPE STATUS URI solaris origin online solaris-repository
For information about setting the solaris publisher, see Adding and Updating Oracle Solaris 11.1 Software Packages.
If you are upgrading a failover zone, follow the instructions in How to Upgrade a Failover Zone.
# scinstall -u update [-b bename]
You can choose to specify a name for the new boot environment with the -b bename option.
Note - The cluster nodes must be installed with at least 4.0 SRU 2.
phys-schost# scinstall
The scinstall Main Menu is displayed.
*** Main Menu *** Please select from one of the following (*) options: 1) Create a new cluster or add a cluster node * 2) Upgrade this cluster node * 3) Print release information for this cluster node * ?) Help with menu options * q) Quit Option: 2
The Upgrade Menu is displayed.
Upgrade processing is finished when the system displays the message Completed Oracle Solaris Cluster framework upgrade and prompts you to press Enter to continue.
Add the -x option to the boot command to boot into noncluster mode.
Next Steps