[Pacemaker] Cluster resources failing to move

Tommy Cooper tomcooper83 at yahoo.com
Mon Mar 4 14:19:22 EST 2013

I am trying to configure a 2 node cluster using pacemaker 1.1.7 and corosync 1.4.1. I. I want pacemaker to provide the virual IP (, monitor Asterisk (PBX) and failover to the othe server. If I switch off pacemaker and/or corosync the cluster resources switch to the other node. I have also configured res_corosync.so module in Asterisk However if i either switch off asterisk using service *service name* stop, the following error is shown: Failed actions:
    p_asterisk_monitor_10000 (node=node1.localdomain, call=10, rc=7, status=complete): not running

Corosync configuration:

compatibility: whitetank
totem {
        version: 2
        secauth: off
        interface {
                member {
                member {
                ringnumber: 0
                mcastport: 5405
                ttl: 1
 transport: udpu
logging {
 fileline: off
        to_logfile: yes
        to_syslog: yes
        debug: on
        logfile: /var/log/cluster/corosync.log
        debug: off
        timestamp: on
        logger_subsys {
                subsys: AMF
                debug: off

 amf {
     mode: disabled
quorum {
    provider: corosync_votequorum
    expected_votes: 3

crm configure status:

node node1.localdomain
node node2.localdomain
primitive failover-ip ocf:heartbeat:IPaddr2 \
 params ip="" cidr_netmask="24" nic="eth6" \
 op start interval="0" timeout="30" \
 op monitor interval="1s" timeout="30" start-delay="0" \
 op stop interval="0" timeout="30s" \
 meta target-role="started"
primitive p_asterisk ocf:heartbeat:asterisk \
 params user="root" group="root" maxfiles="65536" \
 op start interval="0" timeout="30s" \
 op monitor interval="10s" timeout="30s" \
 op stop interval="0" timeout="30s"
group voip failover-ip p_asterisk
colocation asterisk_cluster inf: failover-ip p_asterisk
order start_order inf: failover-ip p_asterisk
property $id="cib-bootstrap-options" \
 dc-version="1.1.7-6.el6-148fccfd5985c5590cc601123c6c16e966b85d14" \
 cluster-infrastructure="openais" \
 expected-quorum-votes="2" \
 stonith-enabled="false" \
rsc_defaults $id="rsc-options" \
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.clusterlabs.org/pipermail/pacemaker/attachments/20130304/f25bc703/attachment-0002.html>

More information about the Pacemaker mailing list