首页 > 其他 > 详细

【HADR】常见的问题

时间:2015-01-29 17:24:33      阅读:338      评论:0      收藏:0      [点我收藏+]

[hadrpri@oc0644314035 ~]$ db2 start hadr on db org as primary
SQL1768N  Unable to start HADR. Reason code = "5".

 


2015-01-20-09.44.19.684461-300 I29119E539          LEVEL: Error
PID     : 3647                 TID  : 139903467775744PROC : db2sysc 0
INSTANCE: hadrpri              NODE : 000          DB   : ORG
EDUID   : 31                   EDUNAME: db2hadrp (ORG) 0
FUNCTION: DB2 UDB, High Availability Disaster Recovery, hdrInitSocketHandle, probe:20165
DATA #1 : String, 168 bytes
HADR_LOCAL_SVC cannot be same port as SVCENAME or SVCENAME +1
HADR_LOCAL_SVC DB2_hadrpri_1,  Port # 60009
SVCENAME       60008,  Port # 60008
SVCENAME + 1   60009

HADR使用的端口不能为 SVCENAME or SVCENAME +1


Comm time-out in unforced HADR primary start, to avoid split-brain

发现两边的设置HOST不能使用ALIAS,端口最好不要使用字母

 

2015-01-20-21.20.21.093699-300 E30222E780          LEVEL: Error
PID     : 3852                 TID  : 139714027841280PROC : db2sysc 0
INSTANCE: hadrpri              NODE : 000          DB   : ORG
EDUID   : 31                   EDUNAME: db2hadrp (ORG) 0
FUNCTION: DB2 UDB, High Availability Disaster Recovery, hdrVerifySystem, probe:15600
MESSAGE : ADM12507E  Unable to establish HADR primary-standby connection
          because the HADR configuration parameters do not match. Change the
          configuration parameters HADR_TIMEOUT and HADR_SYNCMODE on either the
          HADR primary or standby so that they match the other system‘s values,
          and ensure that HADR_LOCAL_HOST and HADR_REMOTE_HOST match the host
          name of the local and remote machines.

检查两边的设置,发现HADR_SYNCMODE 不一致导致

【HADR】常见的问题

原文:http://www.cnblogs.com/DBA-Ivan/p/4260264.html

(0)
(0)
   
举报
评论 一句话评论(0
关于我们 - 联系我们 - 留言反馈 - 联系我们:wmxa8@hotmail.com
© 2014 bubuko.com 版权所有
打开技术之扣,分享程序人生!