![]() |
![]() |
| ||||||||||||||||||||||||
Example--Applying a Rebooting Patch (Node)The following example shows the application of a rebooting Sun Cluster patch to a node.
Boot the node in non-cluster, single-user mode.
Where to Go From HereIf you need to back out a patch, see How to Remove a Sun Cluster Patch.
|
# scshutdown -y -g grace-period "message" |
| -y | Specifies to answer yes to the confirmation prompt. |
| -g grace-period | Specifies, in seconds, the amount of time to wait before shutting down. Default grace period is 60 seconds. |
| message | Specifies the warning message to broadcast. Use quotes if message contains multiple words. |
Boot each node into non-cluster, single-user mode.
On the console of each node, run the following command.
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 software or firmware patch.
On one node at a time, run the following command.
# 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.
Verify that the patch has been installed successfully on each node.# showrev -p | grep patch-id
After applying the patch to all nodes, reboot the nodes into the cluster.
On each node, run the following command.
# reboot |
Verify that the patch works, and that the nodes and cluster are operating normally.
The following example shows the application of a rebooting Sun Cluster patch to a cluster.
# scshutdown -g0 -y ... |
Boot the cluster 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 |
... # patchadd -M /tmp/patches 234567-05 (Apply patch to other cluster nodes) ... # showrev -p | grep 234567-05 # reboot |
Previous Contents Index Next ![]() |