Oracle® Solaris Cluster Data Services Developer's Guide

Exit Print View

Updated: July 2014, E39646-01
 
 

Information About When to Upgrade Resources

Explain to the cluster administrator when he or she can upgrade resources to a new version of the resource type.

    The conditions under which the cluster administrator can upgrade the resource type depend on the tunability of the #$upgrade_from directive for each version of the resource in the RTR file, as follows:

  • Any time (ANYTIME)

  • Only when the resource is unmonitored (WHEN_UNMONITORED)

  • Only when the resource is offline (WHEN_OFFLINE)

  • Only when the resource is disabled (WHEN_DISABLED)

  • Only when the resource group is unmanaged (WHEN_UNMANAGED)

Example 4-2  How #$upgrade_from Defines When a Cluster Administrator Can Upgrade

This example shows how the tunability of the #$upgrade_from directive affects the conditions under which the cluster administrator can upgrade a resource to a new version of a resource type.

#$upgrade_from   "1.1"   WHEN_OFFLINE
#$upgrade_from   "1.2"   WHEN_OFFLINE
#$upgrade_from   "1.3"   WHEN_OFFLINE
#$upgrade_from   "2.0"   WHEN_UNMONITORED
#$upgrade_from   "2.1"   ANYTIME
#$upgrade_from   ""      WHEN_UNMANAGED
Version
When the Cluster Administrator Can Upgrade a Resource
1.1, 1.2, or 1.3
Only when the resource is offline
2.0
Only when the resource is unmonitored
2.1
Any time
All other versions
Only when the resource group is unmanaged