![]() |
![]() |
| |||||||||||||||||||||||||||||||||
Chapter 8Patching Sun Cluster Software and FirmwareThis chapter provides the procedures for adding and removing patches for a Sun Cluster configuration. This is a list of the procedures in this chapter. Patching Sun Cluster OverviewDue to the nature of a cluster, all cluster member nodes must be at the same patch level for proper cluster operation. When patching a node with a Sun Cluster patch, you might need to temporarily remove a node from cluster membership or stop the entire cluster before installing the patch. This section describes these steps. Before applying a Sun Cluster patch, check the Sun Cluster web page for any special instructions; for the current URL, see the Sun Cluster Release Notes for Solaris OS or contact Enterprise Services. If there aren't any special instructions, check the patch's README file. Note - For Sun Cluster patches, always defer to the patch's README file for instructions that supersede procedures in this chapter. Patch installation on all cluster nodes falls into one of the following scenarios:
Note - Underlying cluster protocols do not change due to a patch. You use the patchadd command to apply a patch to the cluster, and patchrm to remove a patch (when possible). Sun Cluster Patch TipsUse the following tips to help you administer Sun Cluster patches more efficiently:
Patching Sun ClusterTable 8-1 Task Map: Patching the Cluster
|
# scrgadm -pv # scstat |
Switch all resource groups, resources, and device groups from the node
being patched to other cluster members.# scswitch -S -h node[,...]
| -S | Evacuates all device groups and resource groups from the specified node. |
| -h node[,...] | Specifies the node from which you are switching the resource groups and device groups. |
Shut down the node.# shutdown -g0 [-y] [-i0]
Boot the node in non-cluster, single-user mode. SPARC: ok boot -sx
x86:
<<< Current Boot Parameters >>>
Boot path: /pci@0,0/pci8086,2545@3/pci8086,1460@1d/pci8086,341a@7,1/
sd@0,0:a
Boot args:
Type b [file-name] [boot-flags] <ENTER> to boot with options
or i <ENTER> to enter boot interpreter
or <ENTER> to boot with defaults
<<< timeout in 5 seconds >>>
Select (b)oot or (i)nterpreter: b -sx |
Apply the patch.# patchadd -M patch-dir patch-id
| patch-dir | Specifies the directory location of the patch. |
| patch-id | Specifies the patch number of a given patch. |
Note - Always defer to the instructions in the patch directory that supersede procedures in this chapter.
Reboot the node into the cluster.# reboot
Verify that the patch has been installed successfully.# showrev -p | grep patch-id
Verify that the patch works, and that the node and cluster are operating normally.
Repeat Step 2 through Step 10 for all remaining cluster nodes.
Switch resource groups, resources, and device groups as needed.
After rebooting all the nodes, the last node rebooted will not have the resource groups and device groups online.
# scswitch -z -D device-group[,...]-h node[,...] # scswitch -z -g resource-group[,...]-h nod[,...]e |
| -z | Specifies the change in mastery of a resource group or device group. |
| -h node[,...] | Specifies the nodes to which you are switching the resource groups and device groups. |
| -D | Switches the specified device groups to the nodes identified by the -h option. |
| -g | Switches the specified resource groups to the nodes identified by the -h option. If -h is not specified, the resource groups are taken offline. |
Previous Contents Index Next ![]() |