[Pacemaker] Pacemaker - OpenAIS configuration
Joao Carvalho
joaocarvalho44 at gmail.com
Fri Sep 25 16:22:27 EDT 2009
Hi,
I'm trying to build two node cluster and main resource is xen domU.
Obviously I'm doing something wrong cause I've manage to configure drbd
resource and xen filesystem but I can't get domU to start.
$crm_mon --one-shot
============
Last updated: Fri Sep 25 21:45:33 2009
Stack: openais
Current DC: splxd01.domain.com - partition with quorum
Version: 1.0.4-2ec1d189f9c23093bf9239a980534b661baf782d
2 Nodes configured, 2 expected votes
5 Resources configured.
============
Online: [ splxd01.domain.com splxd02.domain.com ]
Master/Slave Set: ms_drbd_test-disk
Masters: [ splxd01.domain.com ]
Slaves: [ splxd02.domain.com ]
Master/Slave Set: ms_drbd_test-swap
Masters: [ splxd01.domain.com ]
Slaves: [ splxd02.domain.com ]
xen_fs (ocf::heartbeat:Filesystem): Started splxd01.domain.com
Failed actions:
test1_start_0 (node=splxd01.domain.com, call=30, rc=1, status=complete):
unknown error
swap_fs_start_0 (node=splxd01.domain.com, call=22, rc=1,
status=complete): unknown error
swap_fs_start_0 (node=splxd02.domain.com, call=18, rc=1,
status=complete): unknown error
test1_start_0 (node=splxd02.domain.com, call=19, rc=1, status=complete):
unknown error
****************************************************
$crm configure show
node splxd01.domain.com
node splxd02.domain.com
primitive drbd_test-disk ocf:linbit:drbd \
params drbd_resource="test-disk" \
op monitor interval="15s"
primitive drbd_test-swap ocf:linbit:drbd \
params drbd_resource="test-swap" \
op monitor interval="15s"
primitive swap_fs ocf:heartbeat:Filesystem \
params device="/dev/drbd2" directory="/mnt/test1_swap"
primitive test1 ocf:heartbeat:Xen \
params xmfile="/mnt/test1/test1.dom" \
op monitor interval="10s" \
op start interval="0s" timeout="30s" \
op stop interval="0s" timeout="300s"
primitive xen_fs ocf:heartbeat:Filesystem \
params device="/dev/drbd1" directory="/mnt/test1"
ms ms_drbd_test-disk drbd_test-disk \
meta master-max="1" master-node-max="1" clone-max="2"
clone-node-max="1" notify="true"
ms ms_drbd_test-swap drbd_test-swap \
meta master-max="1" master-node-max="1" clone-max="2"
clone-node-max="1" notify="true"
colocation fs_on_drbd inf: xen_fs ms_drbd_test-disk:Master
colocation swap_on_drbd inf: swap_fs ms_drbd_test-swap:Master
colocation test1-with-xen_fs inf: test1 xen_fs
order fs_after_drbd inf: ms_drbd_test-disk:promote xen_fs:start
order swap_after_drbd inf: ms_drbd_test-swap:promote swap_fs:start
order test1-after-xen_fs inf: xen_fs:start test1:start
property $id="cib-bootstrap-options" \
dc-version="1.0.4-2ec1d189f9c23093bf9239a980534b661baf782d" \
cluster-infrastructure="openais" \
expected-quorum-votes="2" \
no-quorum-policy="ignore" \
stonith-enabled="false" \
default-resource-stickiness="1000"
*************************************************
If you need some more info let me know.
Regards,
Sven
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://oss.clusterlabs.org/pipermail/pacemaker/attachments/20090925/f0102df6/attachment.html>
More information about the Pacemaker
mailing list