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

  • 相关阅读:
    Redis 之order set有序集合结构及命令详解
    Redis 之set集合结构及命令详解
    Redis 之list链表结构及命令详解
    Redis 之string结构及命令详解
    Redis 通用key操作命令
    Redis 在Linux下的安装
    Entity FrameWork 操作使用详情
    Linux 之常用操作指令详解
    Linux 之根目录介绍
    php 加密解密函数封装
  • 原文地址:https://www.cnblogs.com/DBA-Ivan/p/4260264.html
Copyright © 2011-2022 走看看