首页
学习
活动
专区
圈层
工具
发布
社区首页 >问答首页 >的两个节点离线。

的两个节点离线。
EN

Server Fault用户
提问于 2016-04-05 17:31:00
回答 1查看 876关注 0票数 0

我看到了:这个问题

192.168.2.0/24 -使用GW ..2.1的Office

根据Cor产c文档,如果本地接口为192.168.5.67和net掩码255.255.0,则将bindnetaddr设置为192.168.5.0。

corosync.conf

代码语言:javascript
复制
totem {
        version: 2
        crypto_cipher: none
        crypto_hash: none
        interface {
                ringnumber: 0
                bindnetaddr: 192.168.2.0
                mcastaddr: 239.255.1.1
                mcastport: 5405
                ttl: 1
        }
}
logging {
        fileline: off
        to_stderr: no
        to_logfile: yes
        logfile: /var/log/cluster/corosync.log
        to_syslog: yes
        debug: off
        timestamp: on
        logger_subsys {
                subsys: QUORUM
                debug: off
        }
}
quorum {
        provider: corosync_votequorum
}
service {
name: pacemaker
ver: 1
}
nodelist {
        node {
                ring0_addr: KVM-1
                nodeid: 1
        }
        node {
                ring0_addr: KVM-2
                nodeid: 2
        }
        node {
                ring0_addr: KVM-3
                nodeid: 3
        }
}

客户关系管理状态

代码语言:javascript
复制
Stack: corosync
Current DC: KVM-1 (version 1.1.13-10.el7_2.2-44eb2dd) - partition WITHOUT quorum
3 nodes and 0 resources configured

Online: [ KVM-1 ]
OFFLINE: [ KVM-2 KVM-3 ]

tcpdump日志

代码语言:javascript
复制
[oneadmin@KVM-1 corosync]$ sudo tcpdump -i ovs-br0 -n port 5405    
tcpdump: verbose output suppressed, use -v or -vv for full protocol decode
listening on ovs-br0, link-type EN10MB (Ethernet), capture size 65535 bytes
20:17:15.561824 IP 192.168.2.67.hpoms-dps-lstn > 239.255.1.1.netsupport: UDP, length 87
20:17:15.864866 IP 192.168.2.67.hpoms-dps-lstn > 239.255.1.1.netsupport: UDP, length 87
20:17:16.167969 IP 192.168.2.67.hpoms-dps-lstn > 239.255.1.1.netsupport: UDP, length 87
20:17:16.471014 IP 192.168.2.67.hpoms-dps-lstn > 239.255.1.1.netsupport: UDP, length 87
20:17:16.774051 IP 192.168.2.67.hpoms-dps-lstn > 239.255.1.1.netsupport: UDP, length 87
20:17:17.077136 IP 192.168.2.67.hpoms-dps-lstn > 239.255.1.1.netsupport: UDP, length 87
20:17:17.380149 IP 192.168.2.67.hpoms-dps-lstn > 239.255.1.1.netsupport: UDP, length 87
20:17:17.683214 IP 192.168.2.67.hpoms-dps-lstn > 239.255.1.1.netsupport: UDP, length 87

所有节点必须处于联机状态吗?我哪里出错了?

EN

回答 1

Server Fault用户

回答已采纳

发布于 2016-04-05 18:07:50

您正在尝试多播通信,这需要底层网络上的支持。对于三个节点,我认为最安全的选择是切换到unicast (也就是通常发送到每个主机的IP地址192.168.2.x)。

票数 1
EN
页面原文内容由Server Fault提供。腾讯云小微IT领域专用引擎提供翻译支持
原文链接:

https://serverfault.com/questions/768347

复制
相关文章

相似问题

领券
问题归档专栏文章快讯文章归档关键词归档开发者手册归档开发者手册 Section 归档