On Mon, Sep 6, 2010 at 5:03 PM, Gerry Kernan <gerry.ker...@infinityit.ie>wrote:
> Hi > > > > 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. > > The output of crm configure show is below. Would “attributes > standby="off"” be causing this problem , > Shouldn't be. > if so what should it be. > We'd need to see the full cib (including status section) when the cluster is in this state. Attach the result of cibadmin -Ql > > > > > node ho-asterisk1-11315.interlink.local \ > > attributes standby="off" > > node ho-asterisk2-11314.interlink.local > > primitive res_Filesystem_drbd ocf:heartbeat:Filesystem \ > > params device="/dev/drbd0" directory="/rep" fstype="ext3" \ > > operations $id="res_Filesystem_drbd-operations" \ > > op start interval="0" timeout="60" \ > > op stop interval="0" timeout="60" \ > > op monitor interval="20" timeout="40" start-delay="0" \ > > meta target-role="started" > > primitive res_IPaddr2_IPaddr ocf:heartbeat:IPaddr2 \ > > params ip="10.1.2.97" cidr_netmask="255.255.0.0" > broadcast="10.1.255.255" \ > > operations $id="res_IPaddr2_IPaddr-operations" \ > > op start interval="0" timeout="20" \ > > op stop interval="0" timeout="20" \ > > op monitor interval="10" timeout="20" start-delay="0" \ > > meta target-role="started" > > primitive res_asterisk_asterisk lsb:asterisk \ > > operations $id="res_asterisk_asterisk-operations" \ > > op start interval="0" timeout="15" \ > > op stop interval="0" timeout="15" \ > > op monitor interval="15" timeout="15" start-delay="15" \ > > meta target-role="started" > > primitive res_drbd_1 ocf:linbit:drbd \ > > params drbd_resource="asterisk" \ > > operations $id="res_drbd_1-operations" \ > > op start interval="0" timeout="240" \ > > op promote interval="0" timeout="90" \ > > op demote interval="0" timeout="90" \ > > op stop interval="0" timeout="100" \ > > op monitor interval="10" timeout="20" start-delay="1min" \ > > meta target-role="started" > > primitive res_httpd_http lsb:httpd \ > > operations $id="res_httpd_http-operations" \ > > op start interval="0" timeout="15" \ > > op stop interval="0" timeout="15" \ > > op monitor interval="15" timeout="15" start-delay="15" > > primitive res_mysqld_mysql lsb:mysqld \ > > operations $id="res_mysqld_mysql-operations" \ > > op start interval="0" timeout="15" \ > > op stop interval="0" timeout="15" \ > > op monitor interval="15" timeout="15" start-delay="15" > > primitive res_orderlystatsse_orderlyse lsb:orderlystatsse \ > > operations $id="res_orderlystatsse_orderlyse-operations" \ > > op start interval="0" timeout="15" \ > > op stop interval="0" timeout="15" \ > > op monitor interval="15" timeout="15" start-delay="15" \ > > meta resource-stickiness="0" > > group asterisk res_Filesystem_drbd res_IPaddr2_IPaddr res_asterisk_asterisk > res_httpd_http res_mysqld_mysql res_orderlystatsse_orderlyse > > ms ms_drbd_1 res_drbd_1 \ > > meta clone-max="2" notify="true" > > colocation col_res_Filesystem_drbd_ms_drbd_1 inf: asterisk ms_drbd_1:Master > > order ord_ms_drbd_1_res_Filesystem_drbd inf: ms_drbd_1:promote > asterisk:start > > property $id="cib-bootstrap-options" \ > > default-resource-stickiness="1000" \ > > expected-quorum-votes="2" \ > > stonith-enabled="false" \ > > stonith-action="poweroff" \ > > dc-version="1.0.9-89bd754939df5150de7cd76835f98fe90851b677" > \ > > no-quorum-policy="ignore" \ > > cluster-infrastructure="openais" \ > > last-lrm-refresh="1283443619" > > > > Regards, > > Gerry Kernan > > InfinityIT > > > > Suite 17 The Mall, > > Beacon court, > > Sandyford, > > Dublin 18. > > > > p:+353-1-2930090 > > f:+353-1-2930137 > > > > [image: logome] > > > > _______________________________________________ > Pacemaker mailing list: Pacemaker@oss.clusterlabs.org > http://oss.clusterlabs.org/mailman/listinfo/pacemaker > > Project Home: http://www.clusterlabs.org > Getting started: http://www.clusterlabs.org/doc/Cluster_from_Scratch.pdf > Bugs: > http://developerbugs.linux-foundation.org/enter_bug.cgi?product=Pacemaker > >
<<image001.jpg>>
_______________________________________________ Pacemaker mailing list: Pacemaker@oss.clusterlabs.org http://oss.clusterlabs.org/mailman/listinfo/pacemaker Project Home: http://www.clusterlabs.org Getting started: http://www.clusterlabs.org/doc/Cluster_from_Scratch.pdf Bugs: http://developerbugs.linux-foundation.org/enter_bug.cgi?product=Pacemaker