<html><body><div style="color:#000; background-color:#fff; font-family:times new roman, new york, times, serif;font-size:12pt"><div style="RIGHT: auto"><VAR id=yui-ie-cursor></VAR>Hi, </div>
<DIV style="FONT-FAMILY: times new roman, new york, times, serif; FONT-SIZE: 12pt">
<DIV style="FONT-FAMILY: times new roman, new york, times, serif; FONT-SIZE: 12pt">
<DIV style="RIGHT: auto" id=yiv1871859668>
<DIV style="RIGHT: auto">
<DIV style="BACKGROUND-COLOR: #fff; FONT-FAMILY: times new roman, new york, times, serif; COLOR: #000; FONT-SIZE: 12pt">
<DIV>I am&nbsp;trying to configure a 2 node cluster using&nbsp;pac<VAR id=yiv1871859668yui-ie-cursor></VAR>emaker 1.1.7 and corosync 1.4.1.&nbsp;I. I want pacemaker to provide the virual&nbsp;IP&nbsp;(192.168.1.115), monitor Asterisk (PBX) and failover to the othe server. If I switch off pacemaker and/or corosync the cluster&nbsp;resources switch to the other node. I have also configured <A href="http://res_corosync.so/" target=_blank>res_corosync.so</A> module in Asterisk&nbsp;However if i either switch off asterisk using service *service name* stop,&nbsp;the following error is shown: Failed actions:<BR>&nbsp;&nbsp;&nbsp; p_asterisk_monitor_10000 (node=node1.localdomain, call=10, rc=7, status=complete): not running</DIV>
<DIV>&nbsp;</DIV>
<DIV>Corosync configuration:</DIV>
<DIV>&nbsp;</DIV>
<DIV>compatibility: whitetank</DIV>
<DIV>totem {<BR>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; &nbsp;version: 2<BR>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; secauth: off<BR>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; interface {<BR>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; member {<BR>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;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BACKGROUND-COLOR: transparent; FONT-STYLE: normal; FONT-FAMILY: times new roman, new york, times, serif; COLOR: rgb(0,0,0); FONT-SIZE: 16px">logging {<BR>&nbsp;fileline: off<BR>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; to_logfile: yes<BR>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; to_syslog: yes<BR>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; debug: on<BR>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; logfile: /var/log/cluster/corosync.log<BR>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; debug: off<BR>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; timestamp: on<BR>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; logger_subsys {<BR>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; subsys: AMF<BR>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; debug: off<BR>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; }<BR>}<BR></DIV>
<DIV>&nbsp;amf {<BR>&nbsp;&nbsp;&nbsp;&nbsp; mode: disabled<BR>&nbsp;&nbsp;&nbsp;&nbsp; }</DIV>
<DIV style="BACKGROUND-COLOR: transparent; FONT-STYLE: normal; FONT-FAMILY: times new roman, new york, times, serif; COLOR: rgb(0,0,0); FONT-SIZE: 16px">quorum {<BR>&nbsp;&nbsp;&nbsp; provider: corosync_votequorum<BR>&nbsp;&nbsp;&nbsp; expected_votes: 3<BR>}</DIV>
<DIV style="BACKGROUND-COLOR: transparent; FONT-STYLE: normal; FONT-FAMILY: times new roman, new york, times, serif; COLOR: rgb(0,0,0); FONT-SIZE: 16px">&nbsp;</DIV>
<DIV style="BACKGROUND-COLOR: transparent; FONT-STYLE: normal; FONT-FAMILY: times new roman, new york, times, serif; COLOR: rgb(0,0,0); FONT-SIZE: 16px">crm configure status:</DIV>
<DIV style="BACKGROUND-COLOR: transparent; FONT-STYLE: normal; FONT-FAMILY: times new roman, new york, times, serif; COLOR: rgb(0,0,0); FONT-SIZE: 16px">&nbsp;</DIV>
<DIV style="BACKGROUND-COLOR: transparent; FONT-STYLE: normal; FONT-FAMILY: times new roman, new york, times, serif; COLOR: rgb(0,0,0); FONT-SIZE: 16px">node node1.localdomain<BR>node node2.localdomain<BR>primitive failover-ip ocf:heartbeat:IPaddr2 \<BR>&nbsp;params ip="192.168.1.115" cidr_netmask="24" nic="eth6" \<BR>&nbsp;op start interval="0" timeout="30" \<BR>&nbsp;op monitor interval="1s" timeout="30" start-delay="0" \<BR>&nbsp;op stop interval="0" timeout="30s" \<BR>&nbsp;meta target-role="started"<BR>primitive p_asterisk ocf:heartbeat:asterisk \<BR>&nbsp;params user="root" group="root" maxfiles="65536" \<BR>&nbsp;op start interval="0" timeout="30s" \<BR>&nbsp;op monitor interval="10s" timeout="30s" \<BR>&nbsp;op stop interval="0" timeout="30s"<BR>group voip failover-ip p_asterisk<BR>colocation asterisk_cluster inf: failover-ip p_asterisk<BR>order start_order inf: failover-ip p_asterisk<BR>property $id="cib-bootstrap-options"
 \<BR>&nbsp;dc-version="1.1.7-6.el6-148fccfd5985c5590cc601123c6c16e966b85d14" \<BR>&nbsp;cluster-infrastructure="openais" \<BR>&nbsp;expected-quorum-votes="2" \<BR>&nbsp;stonith-enabled="false" \<BR>&nbsp;no-quorum-policy="ignore"<BR>rsc_defaults $id="rsc-options" \<BR>&nbsp;resource-stickiness="100"<BR></DIV>
<DIV>&nbsp;</DIV>
<DIV>&nbsp;</DIV></DIV></DIV></DIV>
<META content=on http-equiv=x-dns-prefetch-control><BR><BR></DIV></DIV></div></body></html>