Go to main content

Planning and Administering Data Services for Oracle® Solaris Cluster 4.4

Exit Print View

Updated: November 2019
 
 

Downgrading a Resource Type

You can downgrade a resource to an older version of its resource type. The conditions for downgrading a resource to an older version of the resource type are more restrictive than the conditions for upgrading to a newer version of the resource type. The resource group that contains the resource must be unmanaged.

How to Downgrade a Resource to an Older Version of Its Resource Type

The instructions that follow explain how to use the clresource 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 Oracle Solaris Cluster Manager or the Resource Group option of the clsetup command to perform this task. See clsetup(8CL) for more information.

  1. On a cluster member, assume the root role that provides solaris.cluster.modify and solaris.cluster.admin RBAC authorizations.
  2. Switch offline the resource group that contains the resource that you are downgrading.
    clresourcegroup offline resource-group
  3. Disable all resources in the resource group that contains the resource that you are downgrading.
    clresource disable -g resource-group +
  4. Unmanage the resource group that contains the resource that you are downgrading.
    clresourcegroup unmanage resource-group
  5. If necessary, reregister the old version of the resource type to which you are downgrading.

    Perform this step only if the version to which you are downgrading is no longer registered. If the version to which you are downgrading is still registered, omit this step.

    clresourcetype register resource-type-name
  6. For the resource that you are downgrading, set the Type_version property to the old version to which you are downgrading.

    If necessary, edit other properties of the same resource to appropriate values in the same command.

    clresource set -p Type_version=old-version resource-todowngrade
  7. Enable all the resources that you disabled in Step 3.
    # clresource enable -g resource-group +
  8. Bring to a managed state the resource group that contains the resource that you downgraded.
    # clresourcegroup manage resource-group
  9. Bring online the resource group that contains the resource that you downgraded.
    # clresourcegroup online resource-group