<div dir="ltr"><br><div class="gmail_extra"><br><br><div class="gmail_quote">2014-02-18 0:47 GMT+01:00 Andrew Beekhof <span dir="ltr"><<a href="mailto:andrew@beekhof.net" target="_blank">andrew@beekhof.net</a>></span>:<br>

<blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex"><div class=""><br>
On 17 Feb 2014, at 10:34 pm, Néstor C. <<a href="mailto:xalabin@gmail.com">xalabin@gmail.com</a>> wrote:<br>
<br>
><br>
><br>
><br>
> 2014-02-17 1:22 GMT+01:00 Andrew Beekhof <<a href="mailto:andrew@beekhof.net">andrew@beekhof.net</a>>:<br>
><br>
> On 21 Jan 2014, at 10:50 pm, Néstor C. <<a href="mailto:xalabin@gmail.com">xalabin@gmail.com</a>> wrote:<br>
><br>
> >> Hello.<br>
> >><br>
> >> When you need that some primitives switch in block you can use a group.<br>
><br>
> >Groups are just a syntactic shortcut for ordering and colocation constraints.<br>
><br>
> There is a manner of view this "hyde" contraints?<br>
><br>
><br>
> >><br>
> >> There is a manner to get this when you have a clone or a master/slave involved?<br>
> >><br>
> >> For example:<br>
> >><br>
> >> Imagine a drbd disk (DR), a filesystem over ti (FS) and a service over all (SRV).<br>
> >> The first one is a ms resource, and the other, primitives.<br>
> >><br>
> >> The colocation rules are:<br>
> >> colocation fs_on_dr inf: FS DR:Master<br>
> >> colocation srv_on_fs inf: SRV FS<br>
> >><br>
> >> The order rules are:<br>
> >> order fs_after_dr inf: DR:promote FS:start<br>
> >> order srv_after_fs inf: FS:start SRV:start<br>
> >><br>
> >> How can switch the entire cluster to other node if SRV fails? (like if all was in a group)<br>
><br>
> >In what way does it not do so already with the above constraints?<br>
><br>
> I want some kind of  "circular constraint"<br>
<br>
</div>We actively detect and prevent colocation and ordering loops.<br>
What version of pacemaker is this?<br>
<div class=""><br></div></blockquote><div><br></div><div>Pacemaker 1.1.9 on Suse sles 11 sp3</div><div> </div><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex"><div class="">


> like if srv fails move the entire stack to other node.<br>
> If i add other constraint like:<br>
> colocation dr on srv inf: DR:Master SRV<br>
><br>
> It doesn't start.<br>
><br>
> Thanks!<br>
><br>
><br>
</div>> _______________________________________________<br>
> Pacemaker mailing list: <a href="mailto:Pacemaker@oss.clusterlabs.org">Pacemaker@oss.clusterlabs.org</a><br>
> <a href="http://oss.clusterlabs.org/mailman/listinfo/pacemaker" target="_blank">http://oss.clusterlabs.org/mailman/listinfo/pacemaker</a><br>
><br>
> Project Home: <a href="http://www.clusterlabs.org" target="_blank">http://www.clusterlabs.org</a><br>
> Getting started: <a href="http://www.clusterlabs.org/doc/Cluster_from_Scratch.pdf" target="_blank">http://www.clusterlabs.org/doc/Cluster_from_Scratch.pdf</a><br>
> Bugs: <a href="http://bugs.clusterlabs.org" target="_blank">http://bugs.clusterlabs.org</a><br>
<br>
<br>_______________________________________________<br>
Pacemaker mailing list: <a href="mailto:Pacemaker@oss.clusterlabs.org">Pacemaker@oss.clusterlabs.org</a><br>
<a href="http://oss.clusterlabs.org/mailman/listinfo/pacemaker" target="_blank">http://oss.clusterlabs.org/mailman/listinfo/pacemaker</a><br>
<br>
Project Home: <a href="http://www.clusterlabs.org" target="_blank">http://www.clusterlabs.org</a><br>
Getting started: <a href="http://www.clusterlabs.org/doc/Cluster_from_Scratch.pdf" target="_blank">http://www.clusterlabs.org/doc/Cluster_from_Scratch.pdf</a><br>
Bugs: <a href="http://bugs.clusterlabs.org" target="_blank">http://bugs.clusterlabs.org</a><br>
<br></blockquote></div><br></div></div>