Hello,
I have another question in the same topic. What if some resource
(Virtual Machine) requires two DRBDs?
I tried with group and it caused UNCLEAN of a node and it was killed.
So what is proper way to do that? By grouping (if yes grouping what -
primitives or master-slave?) Or maybe just by proper order?
Unfortunately doing this caused trouble:
primitive primitive-DRBD-saruman-root ocf:linbit:drbd \
params drbd_resource="drbd21-saruman-root" \
op monitor interval="29s" role="Master" \
op monitor interval="31s" role="Slave" \
op start interval="0" timeout="240" \
op stop interval="0" timeout="120"
primitive primitive-DRBD-saruman-home ocf:linbit:drbd \
params drbd_resource="drbd22-saruman-home" \
op monitor interval="29s" role="Master" \
op monitor interval="31s" role="Slave" \
op start interval="0" timeout="240" \
op stop interval="0" timeout="120"
ms ms-DRBD-saruman-root primitive-saruman-root \
meta master-max="2" master-node-max="1" clone-max="2"
clone-node-max="1" notify="true" target-role="Started" is-managed="true"
ms ms-DRBD-saruman-home primitive-saruman-home \
meta master-max="2" master-node-max="1" clone-max="2"
clone-node-max="1" notify="true" target-role="Started" is-managed="true"
group ms-DRBD-saruman ms-DRBD-saruman-root ms-DRBD-saruman-home
order DRBD-saruman-after-LVM inf: clone-LVM:start ms-DRBD-saruman:promote
order XEN-saruman-after-DRBD inf: ms-DRBD-saruman:promote XEN-saruman:start
Thanks!
--
Michał Margula, [email protected], http://alchemyx.uznam.net.pl/
"W życiu piękne są tylko chwile" [Ryszard Riedel]
_______________________________________________
Pacemaker mailing list: [email protected]
http://oss.clusterlabs.org/mailman/listinfo/pacemaker
Project Home: http://www.clusterlabs.org
Getting started: http://www.clusterlabs.org/doc/Cluster_from_Scratch.pdf
Bugs: http://bugs.clusterlabs.org