[Pacemaker] resources not failing over to standby node when primary node powered off

Gerry Kernan gerry.kernan at infinityit.ie
Mon Sep 6 15:03:16 UTC 2010



Hi 
 
I have a 2 node cluster. I have a drbd:filesystem rescouce plusa IPaddr2 resource and 3 LSB init resources to start https, asterisk andorderlystatse. I can migrate the resources manually but if i power off theprimary node the resources don’t fail over.
The output of crm configure show is below. Would  “attributesstandby="off"” be causing this problem , if so what should itbe.
 
 
node ho-asterisk1-11315.interlink.local \
                attributesstandby="off"
node ho-asterisk2-11314.interlink.local
primitive res_Filesystem_drbd ocf:heartbeat:Filesystem \
                paramsdevice="/dev/drbd0" directory="/rep"fstype="ext3" \
                operations$id="res_Filesystem_drbd-operations" \
                opstart interval="0" timeout="60" \
                opstop interval="0" timeout="60" \
                opmonitor interval="20" timeout="40"start-delay="0" \
                metatarget-role="started"
primitive res_IPaddr2_IPaddr ocf:heartbeat:IPaddr2 \
                paramsip="10.1.2.97" cidr_netmask="255.255.0.0"broadcast="10.1.255.255" \
                operations$id="res_IPaddr2_IPaddr-operations" \
                opstart interval="0" timeout="20" \
                opstop interval="0" timeout="20" \
                opmonitor interval="10" timeout="20"start-delay="0" \
                metatarget-role="started"
primitive res_asterisk_asterisk lsb:asterisk \
                operations$id="res_asterisk_asterisk-operations" \
                opstart interval="0" timeout="15" \
                opstop interval="0" timeout="15" \
                opmonitor interval="15" timeout="15"start-delay="15" \
                metatarget-role="started"
primitive res_drbd_1 ocf:linbit:drbd \
                paramsdrbd_resource="asterisk" \
                operations$id="res_drbd_1-operations" \
                opstart interval="0" timeout="240" \
                oppromote interval="0" timeout="90" \
                opdemote interval="0" timeout="90" \
                opstop interval="0" timeout="100" \
                opmonitor interval="10" timeout="20"start-delay="1min" \
                metatarget-role="started"
primitive res_httpd_http lsb:httpd \
                operations$id="res_httpd_http-operations" \
                opstart interval="0" timeout="15" \
                opstop interval="0" timeout="15" \
                opmonitor interval="15" timeout="15"start-delay="15"
primitive res_mysqld_mysql lsb:mysqld \
                operations$id="res_mysqld_mysql-operations" \
                opstart interval="0" timeout="15" \
                opstop interval="0" timeout="15" \
                opmonitor interval="15" timeout="15"start-delay="15"
primitive res_orderlystatsse_orderlyse lsb:orderlystatsse \
                operations$id="res_orderlystatsse_orderlyse-operations" \
                opstart interval="0" timeout="15" \
                opstop interval="0" timeout="15" \
                opmonitor interval="15" timeout="15"start-delay="15" \
                metaresource-stickiness="0"
group asterisk res_Filesystem_drbd res_IPaddr2_IPaddrres_asterisk_asterisk res_httpd_http res_mysqld_mysqlres_orderlystatsse_orderlyse
ms ms_drbd_1 res_drbd_1 \
                metaclone-max="2" notify="true"
colocation col_res_Filesystem_drbd_ms_drbd_1 inf: asteriskms_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
 

 
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <https://lists.clusterlabs.org/pipermail/pacemaker/attachments/20100906/a14fefa2/attachment-0001.html>
-------------- next part --------------
A non-text attachment was scrubbed...
Name: image001.jpg
Type: image/jpeg
Size: 9503 bytes
Desc: not available
URL: <https://lists.clusterlabs.org/pipermail/pacemaker/attachments/20100906/a14fefa2/attachment-0001.jpg>


More information about the Pacemaker mailing list