Original Deployment:
|
|
ext1.prm
DBLOGIN USERID userid@prisys, PASSWORD password |
ext1.prm
DBLOGIN USERID userid@stansys, PASSWORD password
TRANLOGOPTIONS MINEFROMACTIVEDG |
Database Related:
|
|
After Role Transition: Classic Extract to ADG
-
Edit the ext1.prm file to add:
TRANLOGOPTIONS MINEFROMACTIVEDG
DBLOGREADER
option cannot be used in ADG mode. If
DBLOGREADER option exists, remove
it. If using ASM, add the ASMUSER
parameter to connect to the ASM instance.
-
If a failover, add TRANLOGOPTIONS USEPREVRESETLOGSID .
-
Start Extract:
START EXTRACT ext1
Extract will abend once it reaches the role transition point, then it does an internal BR_RESET and moves both the I/O checkpoint and current checkpoint to SCN s.
-
If failover, edit the parameter file again and remove:
TRANLOGOPTIONS USEPREVRESETLOGSID
-
Execute ALTER EXTRACT ext1 SCN # , where # is the SCN value from role switch message.
-
Based on the thread counts, do one of the following:
If the thread counts are same between the databases, then execute the START EXTRACT ext1; command.
or
If thread counts are different between the databases, then execute the following commands:
DROP EXTRACT ext1
ADD EXTRACT ext1 THREADS t BEGIN SCN s
START EXTRACT ext1
|
After Role Transition: ADG to classic Extract
-
Edit ext1.prm and remove:
TRANLOGOPTIONS MINEFROMACTIVEDG
-
If a failover, add TRANLOGOPTIONS USEPREVRESETLOGSID .
-
Start Extract:
START EXTRACT ext1
Extract will abend once it reaches the role transition point, then it does an internal BR_RESET and moves both the I/O checkpoint and current checkpoint to SCN s.
-
If failover, edit the parameter file again and remove:
TRANLOGOPTIONS USEPREVRESETLOGSID
-
Execute ALTER EXTRACT ext1 SCN # , where # is the SCN value from role switch message.
-
Based on the thread counts, do one of the following:
If the thread counts are same between the databases, then execute the START EXTRACT ext1; command.
or
If thread counts are different between the databases, then execute the following commands:
DROP EXTRACT ext1
ADD EXTRACT ext1 THREADS t BEGIN SCN s
START EXTRACT ext1
|
Role Related:
|
|
After Role Transition: Classic Extract to classic Extract
-
Edit ext1.prm to change the database system to the standby system:
DBLOGIN USERID userid@stansys, PASSWORD password
-
If a failover, add TRANLOGOPTIONS USEPREVRESETLOGSID .
-
Start Extract:
START EXTRACT ext1
Extract will abend once it reaches the role transition point, then it does an internal BR_RESET and moves both the I/O checkpoint and current checkpoint to SCN s.
-
If failover, edit the parameter file again and remove:
TRANLOGOPTIONS USEPREVRESETLOGSID
-
Execute ALTER EXTRACT ext1 SCN # , where# is the SCN value from role switch message.
-
Based on the thread counts, do one of the following:
If the thread counts are same between the databases, then execute the START EXTRACT ext1; command.
or
If thread counts are different between the databases, then execute the following commands:
DROP EXTRACT ext1
ADD EXTRACT ext1 THREADS t BEGIN SCN s
START EXTRACT ext1
|
After Role Transition: ADG to ADG
-
Edit ext1.prm to change the database system to the primary system:
DBLOGIN USERID userid@prisys, PASSWORD password
-
If a failover, add TRANLOGOPTIONS USEPREVRESETLOGSID .
-
Start Extract:
START EXTRACT ext1
Extract will abend once it reaches the role transition point, then it does an internal BR_RESET and moves both the I/O checkpoint and current checkpoint to SCN s.
-
If failover, edit the parameter file again and remove:
TRANLOGOPTIONS USEPREVRESETLOGSID
-
Execute ALTER EXTRACT ext1 SCN # , where# is the SCN value from role switch message.
-
Based on the thread counts, do one of the following:
If the thread counts are same between the databases, then execute the START EXTRACT ext1; command.
or
If thread counts are different between the databases, then execute the following commands:
DROP EXTRACT ext1
ADD EXTRACT ext1 THREADS t BEGIN SCN s
START EXTRACT ext1
|