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 under which you can downgrade a resource to an older version of the resource type are more restrictive than when you upgrade to a newer version of the resource type. You must first unmanage the resource group. In addition, you can only downgrade a resource to an upgrade-enabled version of the resource type. You can identify upgrade-enabled versions by using the scrgadm -p command. In the output, upgrade-enabled versions contain the suffix :version.

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

You can downgrade a resource to an older version of its resource type. The conditions under which you can downgrade a resource to an older version of the resource type are more restrictive than when you upgrade to a newer version of the resource type. You must first unmanage the resource group. In addition, you can only downgrade a resource to an upgrade-enabled version of the resource type. You can identify upgrade-enabled versions by using the scrgadm -p command. In the output, upgrade-enabled versions contain the suffix :version.

  1. Switch the resource group that contains the resource you want to downgrade offline.


    scswitch -F -g resource_group
    
  2. Disable the resource that you want to downgrade and all resources in the resource group.


    scswitch -n -j resource_to_downgrade
    scswitch -n -j resource1
    scswitch -n -j resource2
    scswitch -n -j resource3
    ...


    Note –

    Disable resources in order of dependency, starting with the most dependent (application resources) and ending with the least dependent (network address resources).


  3. Unmanage the resource group.


    scswitch -u -g resource_group
    
  4. Is the old version of the resource type to which you want to downgrade still registered in the cluster?

    • If yes, go to the next step.

    • If no, reregister the old version that you want.


      scrgadm -a -t resource_type_name
      

  5. Downgrade the resource by specifying the old version that you want for Type_version.


    scrgadm -c -j resource_to_downgrade -y Type_version=old_version
    

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

  6. Bring the resource group that contains the resource that you downgraded to a managed state, enable all the resources, and switch the group online.


    scswitch -Z -g resource_group