Sun Cluster Data Services Planning and Administration Guide for Solaris OS

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.

ProcedureHow to Downgrade a Resource to an Older Version of Its 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 Sun Cluster Manager or the Resource Group option of the clsetup(1CL) command to perform this task.

  1. On a cluster member, become superuser or assume a 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 -gresource-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 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 -gresource-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