目标端复制进程报错,源端检查正常。
报错原因是网络故障,解决办法:
源端重启推送进程,目标端重启复制进程即可。
GGSCI (gg) 1> info all
Program Status Group Lag at Chkpt Time Since Chkpt
MANAGER RUNNING
EXTRACT RUNNING E247 00:00:00 00:00:09
EXTRACT RUNNING T35 00:00:00 00:00:18
EXTRACT RUNNING TO35 00:00:00 00:00:18
REPLICAT RUNNING R_GDDB 00:00:00 00:00:01
REPLICAT RUNNING R_GDDBKX 00:00:00 00:00:00
REPLICAT RUNNING R_ZYDB 00:00:00 00:00:05
GGSCI (gg) 2> info t35
EXTRACT T35 Last Started 2020-02-25 20:29 Status RUNNING
Checkpoint Lag 00:00:00 (updated 00:00:20 ago)
Process ID 6448
Log Read Checkpoint File ./dirdat/ex001108
2020-07-06 11:27:02.000000 RBA 41552585
GGSCI (gg) 3> info to35
EXTRACT TO35 Last Started 2020-02-25 20:29 Status RUNNING
Checkpoint Lag 00:00:00 (updated 00:00:24 ago)
Process ID 6456
Log Read Checkpoint File ./dirdat/ex001108
2020-07-06 11:27:02.000000 RBA 41552585
GGSCI (gg) 4> view param t35
extract t35
SETENV (ORACLE_SID = "gddb")
setenv (NLS_LANG=AMERICAN_AMERICA.ZHS16GBK)
USERID ogguser, PASSWORD xxxxxxxxxxxxxxx, ENCRYPTKEY DEFAULT
rmthost 1.1.1.1, mgrport 17809 compress
rmttrail /ogg/dirdat/hb,format release 11.2
passthru
--TABLE KXGK.KXGk_KT_ORGANIZATIONS;
TABLE TELECOM.KXGK_KT_ACCOUNT;
TABLE TELECOM.KXGK_KT_AREA;
TABLE TELECOM.KXGK_KT_GRID;
TABLE TELECOM.KXGK_KT_STAFF;
TABLE TELECOM.KXGK_KT_TEAM;
TABLE TELECOM.KXGK_KT_TEAM_STAFF;
TABLE TELECOM.T_FIX_COMMUNICATION;
TABLE TELECOM.T_LOG;
TABLE TELECOM.T_OPERATION_BOOKTIME_LOG;
TABLE TELECOM.T_OPERATION_INFO_NEW;
TABLE TELECOM.T_TROUBLE_FLOW;
TABLE TELECOM.T_TROUBLE_TICKET_NEW;
TABLE TELECOM.T_USERS_EXTINFO;
TABLE TELECOM.T_WARNORDER_LOG;
TABLE TELECOM.BUSINESSV_DATA_TABLE;
GGSCI (gg) 5> exit
[[email protected] 12c]$ ping 1.1.1.1 packetsize 2048
ping: unknown host packetsize
[[email protected] 12c]$ ping 1.1.1.1
PING 1.1.1.1 (1.1.1.1) 56(84) bytes of data.
64 bytes from 1.1.1.1: icmp_seq=1 ttl=60 time=1.15 ms
64 bytes from 1.1.1.1: icmp_seq=2 ttl=60 time=1.13 ms
64 bytes from 1.1.1.1: icmp_seq=3 ttl=60 time=1.11 ms
64 bytes from 1.1.1.1: icmp_seq=4 ttl=60 time=1.03 ms
64 bytes from 1.1.1.1: icmp_seq=5 ttl=60 time=1.10 ms
64 bytes from 1.1.1.1: icmp_seq=6 ttl=60 time=1.05 ms
64 bytes from 1.1.1.1: icmp_seq=7 ttl=60 time=1.08 ms
64 bytes from 1.1.1.1: icmp_seq=8 ttl=60 time=1.04 ms
64 bytes from 1.1.1.1: icmp_seq=9 ttl=60 time=1.05 ms
64 bytes from 1.1.1.1: icmp_seq=10 ttl=60 time=1.32 ms
64 bytes from 1.1.1.1: icmp_seq=11 ttl=60 time=1.10 ms
64 bytes from 1.1.1.1: icmp_seq=12 ttl=60 time=1.04 ms
64 bytes from 1.1.1.1: icmp_seq=13 ttl=60 time=1.11 ms
64 bytes from 1.1.1.1: icmp_seq=14 ttl=60 time=1.11 ms
64 bytes from 1.1.1.1: icmp_seq=15 ttl=60 time=1.07 ms
64 bytes from 1.1.1.1: icmp_seq=16 ttl=60 time=1.06 ms
64 bytes from 1.1.1.1: icmp_seq=17 ttl=60 time=1.11 ms
64 bytes from 1.1.1.1: icmp_seq=18 ttl=60 time=1.12 ms
64 bytes from 1.1.1.1: icmp_seq=19 ttl=60 time=1.07 ms
64 bytes from 1.1.1.1: icmp_seq=20 ttl=60 time=1.09 ms
64 bytes from 1.1.1.1: icmp_seq=21 ttl=60 time=1.03 ms
64 bytes from 1.1.1.1: icmp_seq=22 ttl=60 time=1.10 ms
64 bytes from 1.1.1.1: icmp_seq=23 ttl=60 time=1.10 ms
64 bytes from 1.1.1.1: icmp_seq=24 ttl=60 time=1.15 ms
64 bytes from 1.1.1.1: icmp_seq=25 ttl=60 time=1.13 ms
64 bytes from 1.1.1.1: icmp_seq=26 ttl=60 time=1.06 ms
64 bytes from 1.1.1.1: icmp_seq=27 ttl=60 time=1.06 ms
64 bytes from 1.1.1.1: icmp_seq=28 ttl=60 time=1.19 ms
64 bytes from 1.1.1.1: icmp_seq=29 ttl=60 time=1.12 ms
64 bytes from 1.1.1.1: icmp_seq=30 ttl=60 time=1.19 ms
64 bytes from 1.1.1.1: icmp_seq=31 ttl=60 time=1.11 ms
64 bytes from 1.1.1.1: icmp_seq=32 ttl=60 time=1.09 ms
64 bytes from 1.1.1.1: icmp_seq=33 ttl=60 time=1.10 ms
64 bytes from 1.1.1.1: icmp_seq=34 ttl=60 time=1.08 ms
64 bytes from 1.1.1.1: icmp_seq=35 ttl=60 time=1.09 ms
64 bytes from 1.1.1.1: icmp_seq=36 ttl=60 time=1.04 ms
64 bytes from 1.1.1.1: icmp_seq=37 ttl=60 time=1.02 ms
64 bytes from 1.1.1.1: icmp_seq=38 ttl=60 time=1.34 ms
64 bytes from 1.1.1.1: icmp_seq=39 ttl=60 time=1.16 ms
64 bytes from 1.1.1.1: icmp_seq=40 ttl=60 time=1.11 ms
64 bytes from 1.1.1.1: icmp_seq=41 ttl=60 time=1.05 ms
64 bytes from 1.1.1.1: icmp_seq=42 ttl=60 time=1.10 ms
64 bytes from 1.1.1.1: icmp_seq=43 ttl=60 time=1.02 ms
64 bytes from 1.1.1.1: icmp_seq=44 ttl=60 time=0.988 ms
64 bytes from 1.1.1.1: icmp_seq=45 ttl=60 time=1.01 ms
64 bytes from 1.1.1.1: icmp_seq=46 ttl=60 time=0.992 ms
64 bytes from 1.1.1.1: icmp_seq=47 ttl=60 time=0.957 ms
^C
--- 1.1.1.1 ping statistics ---
47 packets transmitted, 47 received, 0% packet loss, time 46559ms
rtt min/avg/max/mdev = 0.957/1.096/1.349/0.080 ms
[[email protected] 12c]$ ./ggsci
Oracle GoldenGate Command Interpreter for Oracle
Version 12.2.0.1.170221 27981877_FBO
Linux, x64, 64bit (optimized), Oracle 11g on May 24 2018 14:37:18
Operating system character set identified as UTF-8.
Copyright (C) 1995, 2017, Oracle and/or its affiliates. All rights reserved.
GGSCI (gg) 1> info all
Program Status Group Lag at Chkpt Time Since Chkpt
MANAGER RUNNING
EXTRACT RUNNING E247 00:00:00 00:00:06
EXTRACT RUNNING T35 00:00:00 00:00:10
EXTRACT RUNNING TO35 00:00:00 00:00:10
REPLICAT RUNNING R_GDDB 00:00:00 00:00:00
REPLICAT RUNNING R_GDDBKX 00:00:00 00:00:00
REPLICAT RUNNING R_ZYDB 00:00:00 00:00:08
GGSCI (gg) 2> stop t*
Sending STOP request to EXTRACT T35 ...
Request processed.
Sending STOP request to EXTRACT TO35 ...
Request processed.
GGSCI (gg) 3> info all
Program Status Group Lag at Chkpt Time Since Chkpt
MANAGER RUNNING
EXTRACT RUNNING E247 00:00:00 00:00:05
EXTRACT STOPPED T35 00:00:00 00:00:02
EXTRACT STOPPED TO35 00:00:00 00:00:01
REPLICAT RUNNING R_GDDB 00:00:00 00:00:01
REPLICAT RUNNING R_GDDBKX 00:00:00 00:00:01
REPLICAT RUNNING R_ZYDB 00:00:00 00:00:09
GGSCI (gg) 4> start t*
Sending START request to MANAGER ...
EXTRACT T35 starting
Sending START request to MANAGER ...
EXTRACT TO35 starting
GGSCI (gg) 5> info all
Program Status Group Lag at Chkpt Time Since Chkpt
MANAGER RUNNING
EXTRACT RUNNING E247 00:00:00 00:00:10
EXTRACT RUNNING T35 00:00:00 00:00:06
EXTRACT RUNNING TO35 00:00:00 00:00:06
REPLICAT RUNNING R_GDDB 00:00:00 00:00:01
REPLICAT RUNNING R_GDDBKX 00:00:00 00:00:02
REPLICAT RUNNING R_ZYDB 00:00:00 00:00:03
GGSCI (gg) 6> info all
Program Status Group Lag at Chkpt Time Since Chkpt
MANAGER RUNNING
EXTRACT RUNNING E247 00:00:00 00:00:00
EXTRACT RUNNING T35 00:00:00 00:00:08
EXTRACT RUNNING TO35 00:00:00 00:00:07
REPLICAT RUNNING R_GDDB 00:00:00 00:00:00
REPLICAT RUNNING R_GDDBKX 00:00:00 00:00:00
REPLICAT RUNNING R_ZYDB 00:00:00 00:00:05
GGSCI (gg) 7> info t35
EXTRACT T35 Last Started 2020-07-06 11:35 Status RUNNING
Checkpoint Lag 00:00:00 (updated 00:00:11 ago)
Process ID 27027
Log Read Checkpoint File ./dirdat/ex001108
2020-07-06 11:35:33.000000 RBA 43458026
GGSCI (gg) 8> info to35
EXTRACT TO35 Last Started 2020-07-06 11:35 Status RUNNING
Checkpoint Lag 00:00:00 (updated 00:00:03 ago)
Process ID 27028
Log Read Checkpoint File ./dirdat/ex001108
2020-07-06 11:35:33.000000 RBA 43458026