[email protected] napsal(a):
Been new to pacemaker, I’m trying to create my first cluster of two nodes, but 
it seems to behave a little strange.
Following this guide: http://clusterlabs.org/quickstart-redhat-6.html 
<http://clusterlabs.org/quickstart-redhat-6.html>

but am unable to do f.ex.:

[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

This means something is blocking successful delivery of packets. Make sure to:
- Properly configure firewall (for testing you can disable it completely)
- Make sure you have properly configured multicast. As alternative, you can try udpu. Udpu is usually better compatible with switches and for two node use case performance is same.

Regards,
  Honza

...

Let me known if more info would help!

TIA

pcs cluster report: 
https://dl.dropboxusercontent.com/u/13225502/pacemaker.report.tar.bz2 
<https://dl.dropboxusercontent.com/u/13225502/pacemaker.report.tar.bz2>


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
         }
}




_______________________________________________
Users mailing list: [email protected]
http://clusterlabs.org/mailman/listinfo/users

Project Home: http://www.clusterlabs.org
Getting started: http://www.clusterlabs.org/doc/Cluster_from_Scratch.pdf
Bugs: http://bugs.clusterlabs.org



_______________________________________________
Users mailing list: [email protected]
http://clusterlabs.org/mailman/listinfo/users

Project Home: http://www.clusterlabs.org
Getting started: http://www.clusterlabs.org/doc/Cluster_from_Scratch.pdf
Bugs: http://bugs.clusterlabs.org

Reply via email to