Sun Cluster 3.1 10/03 System Administration Guide

How to Apply a Non-Rebooting Sun Cluster Patch

Apply the patch to one node in the cluster at a time. When applying a non-rebooting patch, you do not need to first shut down the node receiving the patch.

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

  2. If this is a data service patch, switch over the affected data service(s) from the node that you will be patching to a backup node, before applying the patch.


    # scswitch -z -g resource-group[,...] -h node[,...]
    
  3. Apply the patch on a single node.

    If you switched a data service in Step 2, perform the patch installation on the node from which you switched the data service.


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

  4. Verify that the patch has been installed successfully.


    # showrev -p | grep patch-id
    

  5. Verify that the patch works, and that the node and cluster are operating normally.

    If you switched a data service to a backup node in Step 2, you can now switch it back to the original primary node.

  6. Repeat Step 3 through Step 5 for the remaining cluster nodes.

Example—Applying a Non-Rebooting Sun Cluster Patch


# patchadd -M /tmp/patches 234567-05
...
# showrev -p | grep 234567-05

Where to Go From Here

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