【HADR】常见的问题

[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 不一致导致

评论
添加红包

请填写红包祝福语或标题

红包个数最小为10个

红包金额最低5元

当前余额3.43前往充值 >
需支付:10.00
成就一亿技术人!
领取后你会自动成为博主和红包主的粉丝 规则
hope_wisdom
发出的红包
实付
使用余额支付
点击重新获取
扫码支付
钱包余额 0

抵扣说明:

1.余额是钱包充值的虚拟货币,按照1:1的比例进行支付金额的抵扣。
2.余额无法直接购买下载,可以购买VIP、付费专栏及课程。

余额充值