I am trying to setup a 3 node cluster, between 2 boxes, and having one
master failover server between these 2 boxes, so total of 3. Trying to
make it that if xen1/xen2 fail, they will all failover to the fa1 box,
which has both DRBD resources, with enough hoursepower/memory to start
up both if necessary.
I setup one drbd resource per node, and it does everything properly in
pacemaker, it handles the drbd resource and FS fine, but once I tried
to add the domU image into it, i crashes the entire thing that my
crm_mon just looks all ugly and says this:
Online: [ xen1.box.com fa1.box.com xen2.box.com ]
Master/Slave Set: ms_drbd_xen1
drbd_xen1:1 (ocf::linbit:drbd): Slave xen2.box.com
(unmanaged) FAILED
Slaves: [ fa1.box.com ]
Master/Slave Set: ms_drbd_xen2
drbd_xen2:1 (ocf::linbit:drbd): Slave xen1.box.com
(unmanaged) FAILED
Slaves: [ fa1.box.com ]
Failed actions:
drbd_xen2:1_start_0 (node=xen1.box.com, call=10, rc=5,
status=complete): not installed
drbd_xen2:1_stop_0 (node=xen1.box.com, call=14, rc=5,
status=complete): not installed
vm1xen1_start_0 (node=xen1.box.com, call=22, rc=1,
status=complete): unknown error
drbd_xen1:1_start_0 (node=xen2.box.com, call=10, rc=5,
status=complete): not installed
drbd_xen1:1_stop_0 (node=xen2.box.com, call=13, rc=5,
status=complete): not installed
I have a feeling something is wrong with my config, I just can't
pinpoint it yet, not sure why it keeps doing his, his is my crm
configure show:
[r...@xen1 xen]# crm configure show
node fa1.box.com
node xen1.box.com
node xen2.box.com
primitive drbd_xen1 ocf:linbit:drbd \
params drbd_resource="xen1" \
op monitor interval="15s"
primitive drbd_xen2 ocf:linbit:drbd \
params drbd_resource="xen2" \
op monitor interval="15s"
primitive vm1xen1 ocf:heartbeat:Xen \
params xmfile="/xen1/vm1" \
op monitor start-delay="5s" interval="10s" \
op start interval="0s" timeout="30s" start-delay="5s" \
op stop interval="0s" timeout="300s" \
meta target-role="Started"
primitive vm1xen2 ocf:heartbeat:Xen \
params xmfile="/xen2/vm1" \
op monitor start-delay="5s" interval="10s" \
op start interval="0s" timeout="30s" start-delay="5s" \
op stop interval="0s" timeout="300s" \
meta target-role="Started"
primitive xen1_fs ocf:heartbeat:Filesystem \
params device="/dev/drbd1" directory="/xen1" fstype="ext3" \
op monitor start-delay="30s" interval="10s"
primitive xen2_fs ocf:heartbeat:Filesystem \
params device="/dev/drbd2" directory="/xen2" fstype="ext3" \
op monitor start-delay="30s" interval="10s"
ms ms_drbd_xen1 drbd_xen1 \
meta master-max="1" master-node-max="1" clone-max="2"
clone-node-max="1" notify="true"
ms ms_drbd_xen2 drbd_xen2 \
meta master-max="1" master-node-max="1" clone-max="2"
clone-node-max="1" notify="true"
location drbd-fence-by-handler-ms_drbd_xen1 ms_drbd_xen1 \
rule $id="drbd-fence-by-handler-rule-ms_drbd_xen1"
$role="Master" -inf: #uname ne xen1.box.com
location drbd-fence-by-handler-ms_drbd_xen2 ms_drbd_xen2 \
rule $id="drbd-fence-by-handler-rule-ms_drbd_xen2"
$role="Master" -inf: #uname ne xen2.box.com
colocation fs_on_drbd1 inf: xen1_fs ms_drbd_xen1:Master
colocation fs_on_drbd2 inf: xen2_fs ms_drbd_xen2:Master
colocation vm1xen1-with-xen1_fs inf: vm1xen1 xen1_fs
colocation vm1xen2-with-xen2_fs inf: vm1xen2 xen2_fs
order fs_after_drbd1 inf: ms_drbd_xen1:promote xen1_fs:start
order fs_after_drbd2 inf: ms_drbd_xen2:promote xen2_fs:start
order vm1xen1-after-xen1_fs inf: xen1_fs:start vm1xen1:start
order vm1xen2-after-xen2_fs inf: xen2_fs:start vm1xen2:start
property $id="cib-bootstrap-options" \
dc-version="1.0.9-89bd754939df5150de7cd76835f98fe90851b677" \
cluster-infrastructure="openais" \
expected-quorum-votes="3" \
no-quorum-policy="ignore" \
stonith-enabled="false" \
default-resource-stickiness="1000" \
last-lrm-refresh="1277632456"
Any help on this would be greatly appreciated.
Thanks!
_______________________________________________
Linux-HA mailing list
[email protected]
http://lists.linux-ha.org/mailman/listinfo/linux-ha
See also: http://linux-ha.org/ReportingProblems