对于心脏起搏器来说,我尝试创build两个节点的第一个簇,但似乎有点奇怪。 遵循本指南
但是不能做f.ex:
[root@afnA ~]# pcs property set stonith-enabled=false Error: Unable to update cib Call cib_replace failed (-62): Timer expired
只有我在日志中发现的事情是持续的corosync事件:
Nov 06 01:30:54 corosync [TOTEM ] Retransmit List: 96 97 Nov 06 01:30:56 corosync [TOTEM ] Retransmit List: 96 97 Nov 06 01:30:57 corosync [TOTEM ] Retransmit List: 96 97 Nov 06 01:30:59 corosync [TOTEM ] Retransmit List: 96 97 Nov 06 01:31:01 corosync [TOTEM ] Retransmit List: 96 97 ...
让我知道如果更多的信息将帮助!
TIA
个群集报告
CentOS 6.7 w/: pacemaker-1.1.12-8.el6.x86_64 pcs-0.9.139-9.el6_7.1.x86_64 ccs-0.16.2-81.el6.x86_64 resource-agents-3.9.5-24.el6.x86_64 cman-3.0.12.1-73.el6.1.x86_64 corosync-1.4.7-2.el6.x86_64 [root@afnB ~]# pacemakerd --features Pacemaker 1.1.11 (Build: 97629de) Supporting v3.0.9: generated-manpages agent-manpages ascii-docs ncurses libqb-logging libqb-ipc nagios corosync-plugin cman acls [root@afnB ~]# corosync-quorumtool -l Nodeid Name 1 afnA.mxi.tdcfoo 2 afnB.mxi.tdcfoo [root@afnB ~]# corosync-quorumtool -s Version: 1.4.7 Nodes: 2 Ring ID: 8 Quorum type: quorum_cman Quorate: Yes [root@afnB ~]# pcs status Cluster name: afn-cluster WARNING: no stonith devices and stonith-enabled is not false Last updated: Fri Nov 6 01:35:30 2015 Last change: Fri Nov 6 01:29:37 2015 Stack: cman Current DC: afna - partition with quorum Version: 1.1.11-97629de 2 Nodes configured 0 Resources configured Online: [ afna afnb ] Full list of resources:
[root @ afnB〜]#cat /etc/cluster/cluster.conf
<cluster config_version="1" name="afn-cluster"> <fence_daemon/> <clusternodes> <clusternode name="afna" nodeid="1"> <fence> <method name="pcmk-redirect"> <device name="pcmk" port="afna"/> </method> </fence> </clusternode> <clusternode name="afnb" nodeid="2"> <fence> <method name="pcmk-redirect"> <device name="pcmk" port="afnb"/> </method> </fence> </clusternode> </clusternodes> <cman/> <fencedevices> <fencedevice agent="fence_pcmk" name="pcmk"/> </fencedevices> <rm> <failoverdomains/> <resources/> </rm> </cluster>
[root @ afnB〜]#grep -v'#'/etc/corosync/corosync.conf
compatibility: whitetank totem { version: 2 secauth: off threads: 0 window_size: 150 interface { ringnumber: 0 bindnetaddr: 10.45.69.0 mcastaddr: 239.255.15.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: AMF debug: off } }