网站建设资讯

NEWS

网站建设资讯

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

问题解决。

另外有需要云服务器可以了解下创新互联cdcxhl.cn,海内外云服务器15元起步,三天无理由+7*72小时售后在线,公司持有idc许可证,提供“云服务器、裸金属服务器、高防服务器、香港服务器、美国服务器、虚拟主机、免备案服务器”等云主机租用服务以及企业上云的综合解决方案,具有“安全稳定、简单易用、服务可用性高、性价比高”等特点与优势,专为企业上云打造定制,能够满足用户丰富、多元化的应用场景需求。


分享标题:OracleGoldenGate-创新互联
本文路径:http://njwzjz.com/article/dseggd.html