zoukankan      html  css  js  c++  java
  • 【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 Iterable之遍历Map、Set、Array
    9 Map和Set
    8 循环
    5 字符串
    6 数组
    4 数据类型
    2 变量
    实现简单的邮件收发器(十二)
    10.19 初识django
    10.18 数据库之索引优化方案
  • 原文地址:https://www.cnblogs.com/DBA-Ivan/p/4260264.html
Copyright © 2011-2022 走看看