Hi there, I have a config setup in Ubuntu 9.10 with Pacemaker 1.0.5 here
it is
node $id="76df8738-d836-4a95-afe3-732bc5cc7b66" ewadata2 \
attributes standby="off"
node $id="fd56770d-eef2-47e5-97aa-813ae1e71d7f" ewadata1 \
attributes standby="off"
primitive IP ocf:heartbeat:IPaddr \
params ip="10.65.68.245" \
meta is-managed="true" target-role="Started"
primitive drbd_r0 ocf:heartbeat:drbd \
params drbd_resource="r0" \
op monitor interval="9s" role="Master" timeout="20s" \
op monitor interval="10s" role="Slave" timeout="20s"
primitive fs-drbd_r0 ocf:heartbeat:Filesystem \
params fstype="ext4" directory="/data" device="/dev/drbd0" \
op monitor interval="5s"
ms ms-drbd_r0 drbd_r0 \
meta clone-max="2" notify="true" globally-unique="false"
location fs-drbd fs-drbd_r0 \
rule $id="fs-drbd-rule" inf: #uname eq ewadata1
location l_prefer_IP IP \
rule $id="l_prefer_IP-rule" inf: #uname eq ewadata1
location ms-drbd-master ms-drbd_r0 \
rule $id="ms-drbd-master-rule" $role="master" inf: #uname eq ewadata1
order IP_before_ms-drbd inf: IP ms-drbd_r0:start
order ms-drbd_before_fs-drbd inf: ms-drbd_r0:promote fs-drbd:start
property $id="cib-bootstrap-options" \
dc-version="1.0.5-3840e6b5a305ccb803d29b468556739e75532d56" \
cluster-infrastructure="Heartbeat" \
no-quorum-policy="ignore" \
last-lrm-refresh="1267094619" \
stonith-enabled="false"
I've set the order that IP must start before ms-drbd does it's promoting
and that ms-drbd has to be promtoted before it start the filesystem. But
however if I do a switch with crm node standby ewadata1 the filesystem
tries to start itself imediately not waiting for the IP to come up on
ewadata2. Did I miss something in my config? Thx for any hints.
_______________________________________________
Linux-HA mailing list
[email protected]
http://lists.linux-ha.org/mailman/listinfo/linux-ha
See also: http://linux-ha.org/ReportingProblems