![]() |
|||
![]() |
![]() ![]() |
![]() |
![]() ![]() |
![]() |
![]() ![]() |
![]() |
| |||||
Chapter 7Patching Software on the ClusterWhen you are patching the software on the cluster, consult the patch README and your hardware documentation for any information about patch dependencies or special installation instructions. You can add a patch to the cluster during initial cluster installation with the nhinstall tool by adding the the patch details to the addon.conf file. For further information, see the addon.conf(4) and nhinstall(1M) man pages. For information about how to manually add a patch to the Foundation Services and Solaris packages, see the following sections: Introduction to Patching Software on a ClusterSome Foundation Services packages are shared packages and some are not shared. A patch for a shared package is installed on the master node only. A patch for a nonshared package is installed on all peer nodes for which the patch is relevant. Before you install a patch, consider the following:
Information about the patches is held in the patch database. The information is node-specific for patches that are applied to nonshared packages. The database describes the file system where the patch contents are installed. To view the patches that are currently installed on a node, use the patchadd -p command. For further information, see the patchadd(1M) man page. Choosing a Procedure to Patch Software on a ClusterThe following packages can be patched. The path to the patch database for each package and a pointer to how to install the patch are also provided.
Overwriting Modified Foundation Services FilesThe following patches overwrite Foundation Services files:
If you install one of these patches, you must reinstall the Foundation Services. Patching a Nonshared Package on Both Master-Eligible NodesThis section describes how to patch a nonshared package on the master-eligible nodes. You must install the patch on both master-eligible nodes.
|
# patchadd patchid |
If you have not copied the patch to /var/spool/patch, specify the location of the patch by using the -M option of the patchadd command:
# patchadd -M patch-directory patchid |
Verify that the patch has been installed:
# patchadd -p |
A list of all patches on the node is displayed on the screen.
# patchadd -p | grep patchid |
The patch for which you specified the patchid is displayed, if this patch is installed.
Verify that the node is configured correctly:
# nhadm check |
For more verification procedures, see Chapter 3, Determining Cluster Validity.
Log in to the second master-eligible node as superuser.
![]() ![]() |