Sun Cluster Data Services Planning and Administration Guide for Solaris OS

ProcedureHow to Install and Register an Upgrade of a Resource Type

The instructions that follow explain how to use the clresource(1CL) command to perform this task. However, you are not restricted to using the clresource command for this task. Instead of the clresource command, you can use SunPlex Manager or the Resource Group option of the clsetup(1CL) command to perform this task.

Before You Begin

Consult the documentation for the resource type to determine what you must do before installing the upgrade package on a node. One action from the following list will be required:

If you must reboot the node in noncluster mode, prevent a loss of service by performing a rolling upgrade. In a rolling upgrade, you install the package on each node individually while leaving the remaining nodes running in cluster mode.

  1. On a cluster member, become superuser or assume a role that provides solaris.cluster.modify RBAC authorization.

  2. Install the package for the resource type upgrade on all cluster nodes where instances of the resource type are to be brought online.

  3. Register the new version of the resource type.

    To ensure that the correct version of the resource type is registered, you must specify the following information:

    • The resource type name

    • The resource type registration (RTR) file that defines the resource type

    # clresourcetype register -f path-to-new-rtr-file resource-type-name

    The format of the resource type name is as follows:


    For an explanation of this format, see Format of Resource Type Names.

  4. Display the newly registered resource type.

    # clresourcetype show resource-type-name
  5. If necessary, set the Installed_nodes property to the nodes where the package for the resource type upgrade is installed.

    You must perform this step if the package for the resource type upgrade is not installed on all cluster nodes.

    The nodelist property of all resource groups that contain instances of the resource type must be a subset of the Installed_nodes property of the resource type.

    # clresourcetype set -n installed-node-list resource-type
    -n installed-node-list

    Specifies the names of nodes on which this resource type is installed.