[Pacemaker] getting started - crm hangs when adding resources, even "crm ra classes" hangs

Phillip Frost phil at macprofessionals.com
Tue Mar 13 17:21:00 UTC 2012


I'm trying to set up pacemaker for the first time, following the instructions in clusters from scratch, on Debian squeeze, using pacemaker and corosync from squeeze-backports. I seem to have gotten as far as getting two nodes in the cluster:

# crm status
============
Last updated: Tue Mar 13 13:02:37 2012
Last change: Tue Mar 13 12:50:25 2012 via cibadmin on xenhost02
Stack: openais
Current DC: xenhost02 - partition with quorum
Version: 1.1.6-9971ebba4494012a93c03b40a2c58ec0eb60f50c
2 Nodes configured, 2 expected votes
0 Resources configured.
============

Online: [ xenhost02 xen01 ]

However, that's as far as I can get. The next step in clusters from scratch is configuring an IP address resource. Running this command seems to never terminate, with no output:

crm configure primitive ClusterIP ocf:heartbeat:IPaddr2 params ip=192.168.122.101 cidr_netmask=32 op monitor interval=30s

more interestingly, even "crm ra classes" never terminates, again with no output, and nothing appended to syslog.

I've also noticed that if I attempt to stop pacemaker (/etc/init.d/pacemaker stop), it doesn't stop. I get this in syslog:

Mar 13 12:35:52 xen01 crmd: [9937]: info: crm_shutdown: Requesting shutdown
Mar 13 12:35:52 xen01 crmd: [9937]: notice: crm_shutdown: Forcing shutdown in: 1200000ms
Mar 13 12:35:52 xen01 crmd: [9937]: info: do_shutdown_req: Sending shutdown request to DC: xenhost02
Mar 13 12:35:52 xen01 corosync[9897]:   [TOTEM ] Retransmit List: 65
Mar 13 12:35:52 xen01 corosync[9897]:   [TOTEM ] Retransmit List: 65
Mar 13 12:35:52 xen01 corosync[9897]:   [TOTEM ] Retransmit List: 65
[repeating, several times per second]

I can only guess that some lower-level communication between the nodes is not working. The issue is I have no idea what the lower levels are, or how to troubleshoot them. I'm not even really sure what information I should supply to help with troubleshooting. Any guidance would be much appreciated.




More information about the Pacemaker mailing list