Oracle11gR2RACService-SideTAF configuration example

Source: Internet
Author: User
Tags taf
Oracle11gR2RACService-SideTAF configuration example

Oracle 11gR2 RAC Service-Side TAF configuration example

How To Configure Server Side TransparentApplication Failover [ID 460982.1]

[Oracle @ db1 bin] $./srvctl add service-d orcl-s server_taf-r "orcl1, orcl2"-P BASIC

-- Here, orcl is the database name, And orcl1 and orcl2 are instance names.

[Oracle @ db1 bin] $./srvctl start service-d orcl-s server_taf

[Oracle @ db1 bin] $./srvctl config service-d orcl

Service name: server_taf

Service is enabled

Server pool: orcl_server_taf

Cardinality: 2

Disconnect: false

Service role: PRIMARY

Management policy: AUTOMATIC

DTP transaction: false

Aq ha specifications: false

Failover type: NONE

Failover method: NONE

TAF failover retries: 0

TAF failover delay: 0

Connection Load Balancing Goal: LONG

Runtime Load Balancing Goal: NONE

TAF policy specification: BASIC

Edition:

Preferred instances: orcl1, orcl2

Available instances:

SQL> select name, service_id from dba_services where name = 'server _ taf ';

NAME SERVICE_ID

--------------------------------------------------------------------------

Server_taf 3

SQL> execute dbms_service.modify_service (service_name => 'server _ taf '-
, Aq_ha_configurications => true-
, Failover_method => dbms_service.failover_method_basic-
, Failover_type => dbms_service.failover_type_select-
, Failover_retries = & gt; 180-
, Failover_delay => 5-
, Clb_goal => dbms_service.clb_goal_long );

6.Confirm parameter modification:

Col name format a15
Col failover_method format a11 heading 'method'
Col failover_type format a10 heading 'type'
Col failover_retries format 9999999 heading 'retries'
Col goal format a10
Col clb_goal format a8
Col aq_ha_ications ications format a5 heading 'aqnot'

SQL> select name, failover_method, failover_type, failover_retries, goal, clb_goal, aq_ha_ications ications from dba_services where service_id = 3;

Name method type retries goal CLB_GOAL AQNOT

-------------------------------------------------------------------

Server_taf basic select 180 NONE LONG YES

SQL>

Contact Us

The content source of this page is from Internet, which doesn't represent Alibaba Cloud's opinion; products and services mentioned on that page don't have any relationship with Alibaba Cloud. If the content of the page makes you feel confusing, please write us an email, we will handle the problem within 5 days after receiving your email.

If you find any instances of plagiarism from the community, please send an email to: info-contact@alibabacloud.com and provide relevant evidence. A staff member will contact you within 5 working days.

A Free Trial That Lets You Build Big!

Start building with 50+ products and up to 12 months usage for Elastic Compute Service

  • Sales Support

    1 on 1 presale consultation

  • After-Sales Support

    24/7 Technical Support 6 Free Tickets per Quarter Faster Response

  • Alibaba Cloud offers highly flexible support services tailored to meet your exact needs.