Step-by-Step Guide: Configure Transparent Application Continuity (TAC) in Oracle RAC
Learn how to configure Transparent Application Continuity (TAC) in Oracle RAC with a step-by-step guide.
oracle configurationintermediate
by OracleDba
14 views
Learn how to configure Transparent Application Continuity (TAC) in Oracle RAC with a step-by-step guide.
123456789101112
srvctl add service -db prim \
-service fg_tac.learnomate.org \
-pdb pdbprim \
-preferred prim1 \
-available prim2 \
-failovertype TRANSACTION \
-failovermethod BASIC \
-commit_outcome TRUE \
-replay_init_time 1800 \
-retention 86400 \
-notification TRUE \
-tafpolicy BASIC1
srvctl config service -db prim -service fg_tac.learnomate.org1
srvctl start service -db prim -service fg_tac.learnomate.org123456789101112131415
FG_TAC =
(DESCRIPTION =
(FAILOVER=ON)
(LOAD_BALANCE=ON)
(ADDRESS = (PROTOCOL = TCP)(HOST = node-scan)(PORT = 1521))
(CONNECT_DATA =
(SERVICE_NAME = fg_tac.learnomate.org)
(FAILOVER_MODE =
(TYPE = SELECT)
(METHOD = BASIC)
(RETRIES = 180)
(DELAY = 5)
)
)
)123456
sqlplus pdbuser/password@FG_TAC
-- Run DML
INSERT INTO test_table VALUES (1, 'Oracle TAC Demo');
-- DO NOT commit
SELECT * FROM test_table;1
srvctl stop instance -db prim -instance prim1 -force1
COMMIT;123
SELECT FAILOVER_TYPE, FAILOVER_METHOD, SESSION_STATE
FROM V$SESSION
WHERE SERVICE_NAME = 'fg_tac.learnomate.org';Please to add comments
No comments yet. Be the first to comment!