Sun Cluster 3.0 System Administration Guide

7.2.2 How to Apply a Rebooting Patch (Cluster and Firmware)

With this procedure, you must first shut down the cluster and boot each node to single-user mode before applying the patch.

  1. Before applying the patch, check the Sun Cluster product web page for any special pre- or post-installation instructions.

  2. Become superuser on a node in the cluster.

  3. Shut down the cluster.


    # 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.

  4. Boot each node into single-user mode.

    On the console of each node, run the following command.


    ok boot -s
    
  5. Apply the software or firmware patch.

    On one node at a time, run the following command.


    # patchadd 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.


  6. Verify that the patch has been installed successfully on each node.


    # showrev -p | grep patch-id
    
  7. After applying the patch to all nodes, reboot the nodes into the cluster.

    On each node, run the following command.


    # reboot
    
  8. Verify that the patch works, and that the nodes and cluster are operating normally.

7.2.2.1 Example--Applying a Rebooting Patch (Cluster)

The following example shows the application of a rebooting Sun Cluster patch to a cluster.


# scshutdown -g 0 -y
...
ok boot -s
...
# patchadd 10-34567
(Apply patch to other cluster nodes)
...
# showrev -p | grep 10-34567
# reboot

7.2.2.2 Where to Go From Here

If you need to back out a patch, see "7.2.4 How to Remove a Sun Cluster Patch".