Oracle® Solaris Cluster Data Service for Oracle External Proxy Guide

Exit Print View

Updated: July 2014, E52343-01
 
 

Setting up Dependencies on Oracle External Proxy Resources

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 1-8  Setting Up Application Resource Group Dependencies

As 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