[Pacemaker] Dependency Trees
Andrew Beekhof
andrew at beekhof.net
Wed Feb 20 23:57:39 UTC 2013
On Thu, Feb 21, 2013 at 7:49 AM, Donald Stahl <don at blacksun.org> wrote:
> SUSE 11-SP2 with pacemaker-1.1.6-1.27.26
>
> I apologize if this is obvious or has been answered before but my
> foogle-fu is failing me.
>
> I'm trying to create a resource dependency tree similar to this one from VCS:
>
> // resource dependency tree
> group oracle01
> {
> Oracle OraInstance1
> {
> Mount OraBin1
> Mount OraData1
> }
> Netlsnr OraListener1
> {
> Mount OraBin1
> Mount OraData1
> IP OraIP1
> }
> }
>
> OraInstance1 and OraListener1 must both run on the same host- but
> neither depends on the other. They should be able to be started up and
> shut down individually. (It would be nice to have a shorthand to refer
> to both groups at the same time).
>
> OraInstance1 and OraListener1 both depend on OraBin1 and OraData1
>
> OraBin1 and OraData1 must both run on the same host but neither
> depends on the other. They should, however, both come up and down at
> the same time.
>
> OraListener1 also depends on OraIP1
use colocation constraints for the things that need to run on the same node
use ordering constraints for things that need to start after something
else has started
shouldn't be too hard
>
> Any guidance- either with raw XML or crm commands would be greatly appreciated.
>
> Thanks in advance,
> -Don
>
> _______________________________________________
> Pacemaker mailing list: Pacemaker at 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
More information about the Pacemaker
mailing list