Sun Microsystems
Products & Services
 
Support & Training
 
 

Previous Previous     Contents     Index     Next Next

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.

ProcedureTo Patch a Dataless Node

  1. Log in to a dataless node as superuser.

  2. Perform Step 2 through Step 7 of To Patch a Nonshared Package on Both Master-Eligible Nodes.

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

ProcedureTo Patch the /usr Directory for Diskless Nodes

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

  2. Perform Step 2 through Step 4 of To Patch a Nonshared Package on Both Master-Eligible Nodes.

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

    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.

  5. Verify that the node is configured correctly:

    # nhadm check

    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.

ProcedureTo Patch the root File System for Diskless Nodes

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

  2. Perform Step 2 through Step 4 of To Patch a Nonshared Package on Both Master-Eligible Nodes.

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

    A list of all patches on the node is displayed on the screen.

  6. Verify that the node is configured correctly:

    # nhadm check

    For more verification procedures, see Chapter 3, Determining Cluster Validity.

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

ProcedureTo Patch a Shared Package on a Cluster

  1. Log in to the master node as superuser.

    The master node must be running the Foundation Services when you install a shared package.

  2. Perform Step 2 through Step 4 of To Patch a Nonshared Package on Both Master-Eligible Nodes.

  3. If your cluster was installed by the nhinstall tool, create the INST_RELEASE file used by the patchadd command:

    # nhadm confshare

    For information about nhadm confshare, see the nhadm(1M)man page.

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

  6. If you stopped the cluster to install the patch, restart the cluster.

    For information, see To Restart a Cluster.

  7. Verify that the node is configured correctly:

    # nhadm check

    For more verification procedures, see Chapter 3, Determining Cluster Validity.

Previous Previous     Contents     Index     Next Next