[rabbitmq-discuss] Colocation Ignored, Cluster Resources Moved and Failing
Matthew Sackman
matthew at rabbitmq.com
Fri Sep 9 18:33:37 BST 2011
Hi,
On Fri, Sep 09, 2011 at 01:13:11PM -0400, Cheyenne T. Greatorex wrote:
> colocation bunny1_colo1 inf: bunny1 bunny1_ip
> colocation bunny1_colo2 inf: bunny1 bunny1_fs
> colocation bunny1_fs_colo inf: bunny1_fs bunny1_drbd_ms:Master
> order bunny1_fs_order inf: bunny1_drbd_ms:promote bunny1_fs:start
> order bunny1_order inf: bunny1_fs bunny1_ip bunny1
> property $id="cib-bootstrap-options" \
> dc-version="1.0.11-1554a83db0d3c3e546cfd3aaff6af1184f79ee87" \
> cluster-infrastructure="openais" \
> expected-quorum-votes="2" \
> stonith-enabled="false" \
> no-quorum-policy="ignore"
> rsc_defaults $id="rsc-options" \
> resource-stickiness="0"
I doubt this will solve it, but I'd definitely encourage a non-0
stickiness otherwise resources tend to move all over the place too
easily. I've just brought my cluster up and the configuration I have is:
virt-debian-3:~# crm configure show
node virt-debian-3
node virt-debian-4
primitive bunny ocf:rabbitmq:rabbitmq-server \
params mnesia_base="/media/drbd1" ip="192.168.122.100" log_base="/media/drbd1/rabbitmq_logs" config_file="/etc/rabbitmq/rabbitmq" \
meta target-role="Started" is-managed="true"
primitive drbd ocf:linbit:drbd \
params drbd_resource="r0" \
op monitor interval="60s"
primitive drbd_fs ocf:heartbeat:Filesystem \
params device="/dev/drbd1" directory="/media/drbd1" fstype="ext3"
primitive ip ocf:heartbeat:IPaddr2 \
params ip="192.168.122.100" cidr_netmask="24"
ms drbd_ms drbd \
meta master-max="1" master-node-max="1" clone-max="2" clone-node-max="1" notify="true" target-role="Started"
colocation bunny_on_fs inf: bunny drbd_fs
colocation bunny_on_ip inf: bunny ip
colocation fs_on_drbd inf: drbd_fs drbd_ms:Master
order bunny_after_fs inf: drbd_fs bunny
order bunny_after_ip inf: ip bunny
order fs_after_drbd inf: drbd_ms:promote drbd_fs:start
property $id="cib-bootstrap-options" \
dc-version="1.0.9-74392a28b7f31d7ddc86689598bd23114f58978b" \
cluster-infrastructure="openais" \
expected-quorum-votes="2" \
stonith-enabled="false" \
no-quorum-policy="ignore" \
resource-stickiness="100" \
last-lrm-refresh="1315229678"
rsc_defaults $id="rsc-options" \
resource-stickiness="100"
You're not having some issue with not commiting your configuration or
something are you?
Matthew
More information about the rabbitmq-discuss
mailing list