Scenario # Replicat struck on trail and data is out of sync with source and target
> Root cause > Replicat unable to perform " ETROLLOVER "
GGSCI (tnc0624) 5> info REP1
REPLICAT REP1 Last Started 2016-11-06 08:07 Status RUNNING
Checkpoint Lag 00:00:00 (updated 00:00:04 ago)
Log Read Checkpoint File /opt/app/ggs01/ggs/11.2.1.0.3/trails/m8000026
2016-11-06 08:21:23.805171 RBA 1534
GGSCI (tnc0624) 6> stats REP2
Sending STATS request to REPLICAT REP2 ...
No active replication maps.
GGSCI (tnc0624) 7> stats REP1
Sending STATS request to REPLICAT REP1 ...
No active replication maps.
GGSCI (tnc0624) 8> sh ls -ltr /opt/app/ggs01/ggs/11.2.1.0.3/trails/m8*
-rw-rw-rw- 1 ggs01g ggs01g 399999709 Nov 3 15:30 /opt/app/ggs01/ggs/11.2.1.0.3/trails/m8000018
-rw-rw-rw- 1 ggs01g ggs01g 19982829 Nov 4 04:46 /opt/app/ggs01/ggs/11.2.1.0.3/trails/m8000019
-rw-rw-rw- 1 ggs01g ggs01g 174809829 Nov 6 07:53 /opt/app/ggs01/ggs/11.2.1.0.3/trails/m8000020
-rw-rw-rw- 1 ggs01g ggs01g 1289 Nov 6 07:57 /opt/app/ggs01/ggs/11.2.1.0.3/trails/m8000021
-rw-rw-rw- 1 ggs01g ggs01g 1338 Nov 6 08:03 /opt/app/ggs01/ggs/11.2.1.0.3/trails/m8000022
-rw-rw-rw- 1 ggs01g ggs01g 1387 Nov 6 08:09 /opt/app/ggs01/ggs/11.2.1.0.3/trails/m8000023
-rw-rw-rw- 1 ggs01g ggs01g 1436 Nov 6 08:15 /opt/app/ggs01/ggs/11.2.1.0.3/trails/m8000024
-rw-rw-rw- 1 ggs01g ggs01g 1485 Nov 6 08:21 /opt/app/ggs01/ggs/11.2.1.0.3/trails/m8000025
-rw-rw-rw- 1 ggs01g ggs01g 1534 Nov 6 08:21 /opt/app/ggs01/ggs/11.2.1.0.3/trails/m8000026
-rw-rw-rw- 1 ggs01g ggs01g 1119647 Nov 6 11:17 /opt/app/ggs01/ggs/11.2.1.0.3/trails/m8000027
-rw-rw-rw- 1 ggs01g ggs01g 1119647 Nov 6 11:17 /opt/app/ggs01/ggs/11.2.1.0.3/trails/m8000027
Resolution #
GGSCI (tnc0624) 8> info REP1
REPLICAT REP1 Last Started 2016-11-06 08:07 Status RUNNING
Checkpoint Lag 00:00:00 (updated 00:00:04 ago)
Log Read Checkpoint File /opt/app/ggs01/ggs/11.2.1.0.3/trails/m8000026
2016-11-06 08:21:23.805171 RBA 1534
-rw-rw-rw- 1 ggs01g ggs01g 1534 Nov 6 08:21 /opt/app/ggs01/ggs/11.2.1.0.3/trails/m8000026
-rw-rw-rw- 1 ggs01g ggs01g 1119647 Nov 6 11:17 /opt/app/ggs01/ggs/11.2.1.0.3/trails/m8000027
Here it is unable to rollover from trail sequence number 26 to 27 :)
perform ETROLLOVER >
GGSCI (tnc0624) 9> stop REP1
GGSCI (tnc0624) 10> stop REP2
GGSCI (tnc0624) 11> alter REP1, extseqno 27 extrba 0
GGSCI (tnc0624) 12> alter REP2, extseqno 27 extrba 0
GGSCI (tnc0624) 13> start REP1
GGSCI (tnc0624) 13> start REP1
--Nikhil Tatineni--
--Oracle GoldenGate--