Hi there,

setting up drbd in a 3 node setup was fairly simple and it's just a 
pleasure to see the system working already as it is. So far I've managed 
to setup up a pacemaker system which controls two nodes and tosses 
arround services such as drbd master/slave and filesystem services for 
the drbd. But now I wanted to extend my working system to a 3 node setup 
where I got some problems in understanding how it should work. I've 
tried to do exactly the same as it says on the drbd documentation 
without any success.

My current setup enviroment is Ubuntu 9.10 x64 Server with

- drbd 8.3.3
- heartbeat 2.99
- pacemaker 1.0.5

I think I don't need to post my drbd.conf cause when I launch my drbd 3 
node setup manually it works fine. I've got resource r0 which connects 
correctly and resource r10 which connects correctly as well. All up to 
date and everything working great :) ...

So let's get on with the fun here's my pacemaker setup... i won't post 
the whole xml file I think /crm configure show/ output should be enough 
for now

node $id="244cc39b-256e-4e0c-959d-f3336a74cdf7" globdata1 \
    attributes standby="off"
node $id="5ea24cbe-8c5c-4491-9f70-2a5f94d5023e" globdata3 \
    attributes standby="off"
node $id="ea2fa264-4951-4dd1-8922-f4e8afd8f780" globdata2 \
    attributes standby="off"
primitive drbd_r0 ocf:linbit:drbd \
    params drbd_resource="r0"
primitive drbd_r10 ocf:linbit:drbd \
    params drbd_resource="r10"
primitive ip_stacked ocf:heartbeat:IPaddr2 \
    params ip="10.65.68.254" nic="eth0" \
    meta target-role="Stopped"
ms ms_drbd_r0 drbd_r0 \
    meta master-max="1" master-node-max="1" clone-max="2" 
clone-node-max1 notify="true" globally-unique="false"     
target-role="Stopped"
ms ms_drbd_r10 drbd_r10 \
    meta master-max="1" clone-max="1" clone-node-max="1" 
master-node-max="1" notify="true" globally-unique="false" 
target-role="Stopped"
order o_ip_beofre_ms_drbd_r10 inf: ip_stacked ms_drbd_r10:start
order o_ms_drbd_r0_before_ms_drbd_r10 inf: ms_drbd_r0:promote 
ms_drbd_r10:start
property $id="cib-bootstrap-options" \
    stonith-enabled="false" \
    no-quorum-policy="ignore" \
    dc-version="1.0.5-3840e6b5a305ccb803d29b468556739e75532d56" \
    cluster-infrastructure="Heartbeat" \
    last-lrm-refresh="1261053240"



Now my question what do I need to add ass colocation rules??? Cheers for 
any hints and any help



_______________________________________________
Linux-HA mailing list
[email protected]
http://lists.linux-ha.org/mailman/listinfo/linux-ha
See also: http://linux-ha.org/ReportingProblems

Reply via email to