[Pacemaker] Ordered Resources

Robert Dahlem Robert.Dahlem at gmx.net
Mon Jun 30 06:13:23 EDT 2014


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


More information about the Pacemaker mailing list