Tuesday, May 28, 2013

Define Transparent Application Failover(TAF) Policy with service


Services simplify the deployment of TAF. You can define a TAF policy for a service, and all connections using this service will automatically have TAF enabled. This does not require any client-side changes. The TAF setting on a service overrides any TAF setting in the client connection definition.

To define a TAF policy for a service, use SRVCTL as in the following example, where the service name is RAC_S and the database name is RAC:

$ srvctl modify service -d RAC -s RAC_S -P BASIC -e SELECT -z 5 -w 120

$ srvctl config service -d RAC -s RAC_S 
Service name: RAC_S
Service is enabled
Server pool: RAC_RAC_S
Cardinality: 1
Disconnect: false
Service role: PRIMARY
Management policy: AUTOMATIC
DTP transaction: false
AQ HA notifications: false
Failover type: SELECT
Failover method: NONE
TAF failover retries: 5
TAF failover delay: 120
Connection Load Balancing Goal: LONG
Runtime Load Balancing Goal: NONE
TAF policy specification: BASIC
Edition: 
Preferred instances: RAC3
Available instances: RAC2,RAC1

No comments:

Post a Comment