<html><body bgcolor="#FFFFFF"><div>Hi Andrew</div><div><br></div><div>Thanks for your reply. I got it sorted I has resource fencing enabled in drbd.conf and forgot to disable the init s script for drbd </div><div><br><div><br></div><div>Best regards,</div><div><br></div><div><span class="Apple-style-span" style="-webkit-tap-highlight-color: rgba(26, 26, 26, 0.296875); -webkit-composition-fill-color: rgba(175, 192, 227, 0.230469); -webkit-composition-frame-color: rgba(77, 128, 180, 0.230469); ">Gerry kernan</span></div><div>InfinityIT</div></div><div><br>On 7 Sep 2010, at 07:22, Andrew Beekhof <<a href="mailto:andrew@beekhof.net">andrew@beekhof.net</a>> wrote:<br><br></div><div></div><blockquote type="cite"><div><br><br><div class="gmail_quote">On Mon, Sep 6, 2010 at 5:03 PM, Gerry Kernan <span dir="ltr"><<a href="mailto:gerry.kernan@infinityit.ie"><a href="mailto:gerry.kernan@infinityit.ie">gerry.kernan@infinityit.ie</a></a>></span> wrote:<br><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex;">










<div lang="EN-IE" link="blue" vlink="purple">

<div>

<p class="MsoNormal">Hi </p>

<p class="MsoNormal"> </p>

<p class="MsoNormal">I have a 2 node cluster. I have a drbd:filesystem rescouce plus
a IPaddr2 resource and 3 LSB init resources to start https, asterisk and
orderlystatse. I can migrate the resources manually but if i power off the
primary node the resources don’t fail over.</p>

<p class="MsoNormal">The output of crm configure show is below. Would  “attributes
standby="off"” be causing this problem , </p></div></div></blockquote><div><br></div><div>Shouldn't be.</div><div> </div><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex;">
<div lang="EN-IE" link="blue" vlink="purple"><div><p class="MsoNormal">if so what should it
be.</p></div></div></blockquote><div><br></div><div>We'd need to see the full cib (including status section) when the cluster is in this state.</div><div>Attach the result of cibadmin -Ql</div><div> </div><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex;">
<div lang="EN-IE" link="blue" vlink="purple"><div>

<p class="MsoNormal"> </p>

<p class="MsoNormal"> </p>

<p class="MsoNormal">node ho-asterisk1-11315.interlink.local \</p>

<p class="MsoNormal">                attributes
standby="off"</p>

<p class="MsoNormal">node ho-asterisk2-11314.interlink.local</p>

<p class="MsoNormal">primitive res_Filesystem_drbd ocf:heartbeat:Filesystem \</p>

<p class="MsoNormal">                params
device="/dev/drbd0" directory="/rep"
fstype="ext3" \</p>

<p class="MsoNormal">                operations
$id="res_Filesystem_drbd-operations" \</p>

<p class="MsoNormal">                op
start interval="0" timeout="60" \</p>

<p class="MsoNormal">                op
stop interval="0" timeout="60" \</p>

<p class="MsoNormal">                op
monitor interval="20" timeout="40"
start-delay="0" \</p>

<p class="MsoNormal">                meta
target-role="started"</p>

<p class="MsoNormal">primitive res_IPaddr2_IPaddr ocf:heartbeat:IPaddr2 \</p>

<p class="MsoNormal">                params
ip="10.1.2.97" cidr_netmask="255.255.0.0"
broadcast="10.1.255.255" \</p>

<p class="MsoNormal">                operations
$id="res_IPaddr2_IPaddr-operations" \</p>

<p class="MsoNormal">                op
start interval="0" timeout="20" \</p>

<p class="MsoNormal">                op
stop interval="0" timeout="20" \</p>

<p class="MsoNormal">                op
monitor interval="10" timeout="20"
start-delay="0" \</p>

<p class="MsoNormal">                meta
target-role="started"</p>

<p class="MsoNormal">primitive res_asterisk_asterisk lsb:asterisk \</p>

<p class="MsoNormal">                operations
$id="res_asterisk_asterisk-operations" \</p>

<p class="MsoNormal">                op
start interval="0" timeout="15" \</p>

<p class="MsoNormal">                op
stop interval="0" timeout="15" \</p>

<p class="MsoNormal">                op
monitor interval="15" timeout="15"
start-delay="15" \</p>

<p class="MsoNormal">                meta
target-role="started"</p>

<p class="MsoNormal">primitive res_drbd_1 ocf:linbit:drbd \</p>

<p class="MsoNormal">                params
drbd_resource="asterisk" \</p>

<p class="MsoNormal">                operations
$id="res_drbd_1-operations" \</p>

<p class="MsoNormal">                op
start interval="0" timeout="240" \</p>

<p class="MsoNormal">                op
promote interval="0" timeout="90" \</p>

<p class="MsoNormal">                op
demote interval="0" timeout="90" \</p>

<p class="MsoNormal">                op
stop interval="0" timeout="100" \</p>

<p class="MsoNormal">                op
monitor interval="10" timeout="20"
start-delay="1min" \</p>

<p class="MsoNormal">                meta
target-role="started"</p>

<p class="MsoNormal">primitive res_httpd_http lsb:httpd \</p>

<p class="MsoNormal">                operations
$id="res_httpd_http-operations" \</p>

<p class="MsoNormal">                op
start interval="0" timeout="15" \</p>

<p class="MsoNormal">                op
stop interval="0" timeout="15" \</p>

<p class="MsoNormal">                op
monitor interval="15" timeout="15"
start-delay="15"</p>

<p class="MsoNormal">primitive res_mysqld_mysql lsb:mysqld \</p>

<p class="MsoNormal">                operations
$id="res_mysqld_mysql-operations" \</p>

<p class="MsoNormal">                op
start interval="0" timeout="15" \</p>

<p class="MsoNormal">                op
stop interval="0" timeout="15" \</p>

<p class="MsoNormal">                op
monitor interval="15" timeout="15"
start-delay="15"</p>

<p class="MsoNormal">primitive res_orderlystatsse_orderlyse lsb:orderlystatsse \</p>

<p class="MsoNormal">                operations
$id="res_orderlystatsse_orderlyse-operations" \</p>

<p class="MsoNormal">                op
start interval="0" timeout="15" \</p>

<p class="MsoNormal">                op
stop interval="0" timeout="15" \</p>

<p class="MsoNormal">                op
monitor interval="15" timeout="15"
start-delay="15" \</p>

<p class="MsoNormal">                meta
resource-stickiness="0"</p>

<p class="MsoNormal">group asterisk res_Filesystem_drbd res_IPaddr2_IPaddr
res_asterisk_asterisk res_httpd_http res_mysqld_mysql
res_orderlystatsse_orderlyse</p>

<p class="MsoNormal">ms ms_drbd_1 res_drbd_1 \</p>

<p class="MsoNormal">                meta
clone-max="2" notify="true"</p>

<p class="MsoNormal">colocation col_res_Filesystem_drbd_ms_drbd_1 inf: asterisk
ms_drbd_1:Master</p>

<p class="MsoNormal">order ord_ms_drbd_1_res_Filesystem_drbd inf:
ms_drbd_1:promote asterisk:start</p>

<p class="MsoNormal">property $id="cib-bootstrap-options" \</p>

<p class="MsoNormal">                default-resource-stickiness="1000"
\</p>

<p class="MsoNormal">                expected-quorum-votes="2"
\</p>

<p class="MsoNormal">                stonith-enabled="false"
\</p>

<p class="MsoNormal">                stonith-action="poweroff"
\</p>

<p class="MsoNormal">                dc-version="1.0.9-89bd754939df5150de7cd76835f98fe90851b677"
\</p>

<p class="MsoNormal">                no-quorum-policy="ignore"
\</p>

<p class="MsoNormal">                cluster-infrastructure="openais"
\</p>

<p class="MsoNormal">                last-lrm-refresh="1283443619"
</p>

<p class="MsoNormal"> </p>

<p class="MsoNormal">Regards,</p>

<p class="MsoNormal">Gerry Kernan</p>

<p class="MsoNormal">InfinityIT</p>

<p class="MsoNormal"> </p>

<p class="MsoNormal">Suite 17 The Mall,</p>

<p class="MsoNormal">Beacon court,</p>

<p class="MsoNormal">Sandyford,</p>

<p class="MsoNormal">Dublin 18.</p>

<p class="MsoNormal"> </p>

<p class="MsoNormal">p:+353-1-2930090</p>

<p class="MsoNormal">f:+353-1-2930137</p>

<p class="MsoNormal"> </p>

<p class="MsoNormal"><img width="431" height="138" src="cid:image001.jpg@01CB4DDC.95AFA050" alt="logome"></p>

<p class="MsoNormal"> </p>

</div>

</div>


<br>_______________________________________________<br>
Pacemaker mailing list: <a href="mailto:Pacemaker@oss.clusterlabs.org"><a href="mailto:Pacemaker@oss.clusterlabs.org">Pacemaker@oss.clusterlabs.org</a></a><br>
<a href="http://oss.clusterlabs.org/mailman/listinfo/pacemaker" target="_blank"><a href="http://oss.clusterlabs.org/mailman/listinfo/pacemaker">http://oss.clusterlabs.org/mailman/listinfo/pacemaker</a></a><br>
<br>
Project Home: <a href="http://www.clusterlabs.org" target="_blank"><a href="http://www.clusterlabs.org">http://www.clusterlabs.org</a></a><br>
Getting started: <a href="http://www.clusterlabs.org/doc/Cluster_from_Scratch.pdf" target="_blank"><a href="http://www.clusterlabs.org/doc/Cluster_from_Scratch.pdf">http://www.clusterlabs.org/doc/Cluster_from_Scratch.pdf</a></a><br>
Bugs: <a href="http://developerbugs.linux-foundation.org/enter_bug.cgi?product=Pacemaker" target="_blank"><a href="http://developerbugs.linux-foundation.org/enter_bug.cgi?product=Pacemaker">http://developerbugs.linux-foundation.org/enter_bug.cgi?product=Pacemaker</a></a><br>
<br></blockquote></div><br>
</div></blockquote></body></html>