[Pacemaker] Ordered Resources

Dan Journo dan at keshercommunications.com
Sun Jul 6 21:58:47 UTC 2014


>> The resources I have (and the order I need them to start are)
>> -          IPAddr
>> -          Promote DRBD
>> -          Asterisk
>> They also need to be running on the same node.
>
>order ord-my-IPaddr-before-my-DRBD inf: \
>	my-IPaddr my-DRBD:promote
>order ord-my-DRBD-before-my-Asterisk inf: \
>	my-DRBD:promote my-Asterisk
>colocation coloc-my-DRBD-follows-my-IPaddr inf: \
>	my-DRBD:Master my-IPaddr
>colocation coloc-my-Asterisk-follows-my-DRBD inf: \
>	my-Asterisk my-DRBD:Master

I'm finding that DRBD on the standby node is being totally stopped, rather than being demoted to slave.

How do I tell Pacemaker to demote and not stop DRBD?

Thanks
Dan





More information about the Pacemaker mailing list