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

_______________________________________________
Pacemaker mailing list: Pacemaker@oss.clusterlabs.org
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

Reply via email to