OracleGoldenGate
环境
源端
创新互联建站是一家集网站建设,北林企业网站建设,北林品牌网站建设,网站定制,北林网站建设报价,网络营销,网络优化,北林网站推广为一体的创新建站企业,帮助传统企业提升企业形象加强企业竞争力。可充分满足这一群体相比中小企业更为丰富、高端、多元的互联网需求。同时我们时刻保持专业、时尚、前沿,时刻以成就客户成长自我,坚持不断学习、思考、沉淀、净化自己,让我们为更多的企业打造出实用型网站。
系统 HPUNIX 11.31
集群架构 HP高可用集群
数据库 Oracle 10.2.0.3
目标端
系统 RHEL 5.8 x64
集群架构 ORACLE RAC
数据库 11.2.0.1.0
描述
HP集群异常自动切换,导致GG进程异常。
源端报错
2014-07-14 16:38:52 ERROR OGG01031 There is a problem in network communication, a remote file problem, encryption keys for target and source do not match (if using ENCRYPT) or an unknown error. (Reply received is Unable to open file "/u01/ogg/dirdat/rt001995" (error 11, Resource temporarily unavailable)).
目标端报错
2014-07-14 16:32:57 WARNING OGG-01223 Oracle GoldenGate Collector for Oracle: Unable to lock file "/u01/ogg/dirdat/rt001995" (error 11, Resource temporarily unavailable). Lock currently held by process id (PID) 21438.
2014-07-14 16:32:57 WARNING OGG-01223 Oracle GoldenGate Collector for Oracle: Unable to open file "/u01/ogg/dirdat/rt001995" (error 11, Resource temporarily unavailable).
解决
kill目标端锁定文进的系统进程。
处理过程
源端
启动gg进程,投递进程异常止
查看投递进程日志 view report 投递进程
2014-07-14 16:38:52 ERROR OGG01031 There is a problem in network communication, a remote file problem, encryption keys for target and source do not match (if using ENCRYPT) or an unknown error. (Reply received is Unable to open file "/u01/ogg/dirdat/rt001995" (error 11, Resource temporarily unavailable)).
查看ggserr.log
目标端
查看ggserr.log
2014-07-14 16:32:57 WARNING OGG-01223 Oracle GoldenGate Collector for Oracle: Unable to lock file "/u01/ogg/dirdat/rt001995" (error 11, Resource temporarily unavailable). Lock currently held by process id (PID) 21438.
2014-07-14 16:32:57 WARNING OGG-01223 Oracle GoldenGate Collector for Oracle: Unable to open file "/u01/ogg/dirdat/rt001995" (error 11, Resource temporarily unavailable).ps –ef | grep 21438
kill –9 21438
问题解决。
网站名称:OracleGoldenGate
网站URL:http://scyanting.com/article/jdichj.html