Hello,<br>
I'm trying to configure DRBD & Pacemaker & Corosync & RabbitMQ and I need some help in the following areas:<br>
<br>
1) Is it possible to configure to use a file containing a filesystem in DRBD ( filesystem within another filesystem file) ?<br>
2) Pacemaker automatically mounts the drdb device on the master node (the cluster contains a primary-secondary nodes) while the slave doesn't have access in order not to corrupt the data, right?<br><br>I have the following configuration and the filesystem was not mounted for some reason (although DRBD management console displays that drbd:r0 block device is synchronized and configured as primary-secodary):<br>
<br>$crm configure show<br>node ha-node1
<br>node ha-node2
<br>primitive bunny ocf:rabbitmq:rabbitmq-server \
<br> params mnesia_base="/mnt/drbd1"
<br>primitive drbd ocf:linbit:drbd \
<br> params drbd_resource="drbd1" \
<br> op monitor interval="60s" \
<br> meta is-managed="true"
<br>primitive drbd_fs ocf:heartbeat:Filesystem \
<br> params device="/dev/drbd0" directory="/mnt/drbd1" fstype="ext3"
<br>ms drbd_ms drbd \
<br> meta master-max="1" master-node-max="1" clone-max="2" clone-node-max="1" notify="true"
<br>colocation bunny_on_fs inf: bunny drbd_fs
<br>colocation fs_on_drbd inf: drbd_fs drbd_ms:Master
<br>order bunny_after_fs inf: drbd_fs bunny
<br>order fs_after_drbd inf: drbd_ms:promote drbd_fs:start
<br>property $id="cib-bootstrap-options" \
<br> dc-version="1.0.8-042548a451fce8400660f6031f4da6f0223dd5dd" \
<br> cluster-infrastructure="openais" \
<br> expected-quorum-votes="2" \
<br> last-lrm-refresh="1310458848"
<br><br><br>$ crm_mon<br>============
<br>Last updated: Tue Jul 12 01:30:55 2011
<br>Stack: openais
<br>Current DC: ha-node1 - partition with quorum
<br>Version: 1.0.8-042548a451fce8400660f6031f4da6f0223dd5dd
<br>2 Nodes configured, 2 expected votes
<br>3 Resources configured.
<br>============
<br> <br>Online: [ ha-node1 ha-node2 ]
<br><br>3) How can I mount a shared folder instead of DRDB just to test the rest of configuration?<br><br>Thank you<br><br>Best regards,<br>Lucian-Paul Torje<br>