sun.com | docs.sun.com | How To Buy | My Sun | Worldwide Sites |  |

| Previous Contents Index Next
3. - ## Patching a Dataless Node This section describes how to install a patch on a dataless node. You must install the patch on each dataless node. ### To Patch a Dataless Node Log in to a dataless node as superuser. Perform Step 2 through Step 7 of To Patch a Nonshared Package on Both Master-Eligible Nodes. Repeat Step 1 through Step 2 for each dataless node in the cluster. ## Patching a Diskless Node Solaris packages for diskless nodes are installed on the master node, in the `/usr` directory or the `root` directory. Before proceeding, determine whether the package you want to patch is installed in the `/usr` directory or the `root` directory. For information about how to apply a patch to a package installed in the `/usr` directory, see Patching the `/usr` Directory for a Diskless Node. For information about how to apply a patch to a package installed in the `root` directory, see Patching the `root` Directory for Diskless Nodes. ### Patching the `/usr` Directory for a Diskless Node This section describes how to apply a patch to a package installed in the `/usr` directory for diskless nodes. The `/usr` directory is common to the diskless nodes in a cluster. #### To Patch the `/usr` Directory for Diskless Nodes Log in to the master node as superuser. The master node must be running the Foundation Services when you install a patch for diskless nodes. Perform Step 2 through Step 4 of To Patch a Nonshared Package on Both Master-Eligible Nodes. Apply the patch. If you have copied the patch to `/var/spool/patch`, install the patch as follows:
         # patchadd -S target-OS patchid
   - Possible values for target-OS are `Solaris_9` or `Solaris_8`. If you have not copied the patch to `/var/spool/patch`, specify the location of the patch (patch-directory) by using the `-M` option of the `patchadd` command:
         # patchadd -M patch-directory -S target-OS patchid
4. Verify that the patch has been installed:
       # patchadd -p target-OS
5. where target-OS is the Solaris operating system. For example, `Solaris_9` or `Solaris_8`. A list of all patches on the node is displayed on the screen. Verify that the node is configured correctly:
       # nhadm check
3. - For more verification procedures, see Chapter 3, Determining Cluster Validity. ### Patching the `root` Directory for Diskless Nodes This section describes how to apply a patch to a package installed in the `root` directory for diskless nodes. #### To Patch the `root` File System for Diskless Nodes Log in to the master node as superuser. The master node must be running the Foundation Services when you install a patch for diskless nodes. Perform Step 2 through Step 4 of To Patch a Nonshared Package on Both Master-Eligible Nodes. Apply the patch for a diskless node: If you have copied the patch to `/var/spool/patch`, install the patch as follows:
         # patchadd -R /export/root/diskless-node-name patchid
   - If you have not copied the patch to `/var/spool/patch`, specify the location of the patch using the `-M` option of the `patchadd` command:
         # patchadd -M patch-directory -R /export/root/diskless-node-name \
         patchid
4. Reboot the diskless node:
       # init 6
5. Verify that the patch has been installed:
       # patchadd -p -R /export/root/diskless-name
6. A list of all patches on the node is displayed on the screen. Verify that the node is configured correctly:
       # nhadm check
3. For more verification procedures, see Chapter 3, Determining Cluster Validity. Repeat Step 3 through Step 6 for each diskless node with an `/export/root/`diskless-name`` directory on the master node. ## Patching a Shared Package This section describes how to install a patch on a shared Foundation Services package. ### To Patch a Shared Package on a Cluster Log in to the master node as superuser. The master node must be running the Foundation Services when you install a shared package. Perform Step 2 through Step 4 of To Patch a Nonshared Package on Both Master-Eligible Nodes. If your cluster was installed by the `nhinstall` tool, create the `INST_RELEASE` file used by the `patchadd` command:
       # nhadm confshare
4. - For information about `nhadm confshare`, see the `nhadm`(1M)man page. Apply the patch. If you have copied the patch to `/var/spool/patch`, install the patch as follows:
         # patchadd -R /SUNWcgha/local/export/services 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 -R /SUNWcgha/local/export/services patchid
5. Verify that the patch has been installed:
       # patchadd -p -R /SUNWcgha/local/export/services
   A list of all patches on the node is displayed on the screen. You can also search for a specific patch as follows:
       # patchadd -p -R /SUNWcgha/local/export/services | grep patchid
7. If you stopped the cluster to install the patch, restart the cluster. For information, see To Restart a Cluster. Verify that the node is configured correctly:
       # nhadm check
For more verification procedures, see Chapter 3, Determining Cluster Validity.
Previous Contents Index Next

Copyright 1994-2004 Sun Microsystems