To use the Oracle Solaris Cluster resource as a dependency for an application resource, set up appropriate dependencies as shown in the following example.
Example 10 Setting Up Application Resource Group DependenciesAs an example, when the Oracle External Proxy resource is within a scalable resource group and the application resource is within a failover resource group, you can do the following:
# clrg set -p RG_Affinities=++oep-rg app-rg # clrs set -p resource_dependencies_offline_restart=oep-rs{any_node} app-rs
As an example, when the Oracle External Proxy resource and the application resource are within the same failover resource group, you can do the following:
# clrs set -p resource_dependencies_offline_restart=oep-rs app-rs
As an example, when the Oracle External Proxy resource and the application resource are in separate failover resource groups, you can do the following:
# clrg set -p RG_Affinities=++oep-rg app-rg # clrs set -p resource_dependencies_offline_restart=oep-rs app-rs