I’m trying to create cluster of two nodes, but it seems to behave a little strange following this guide, but I was unable to do, for example:
[root@afnA ~]# pcs property set stonith-enabled=false
Error: Unable to update cib
Call cib_replace failed (-62): Timer expired
only thing I find in logs are continued corosync
events:
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
...
Let me known if more info would help!
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
}
}
0 Answers