[Pacemaker] Ordered Resources

Robert Dahlem Robert.Dahlem at gmx.net
Mon Jun 30 10:13:23 UTC 2014


Hi,

On 30.06.2014 01:08, Dan Journo wrote:

> 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

Regards,
Robert




More information about the Pacemaker mailing list