On Fri, Nov 18, 2011 at 12:46 AM, Andreas Kurz <andr...@hastexo.com> wrote: > Hello, > > On 11/16/2011 09:04 PM, Attila Megyeri wrote: >> Hi Team, >> >> >> >> Resources “A” and “B” are running within virtual servers. There are two >> physical servers “ph1” and “ph2” with two virtualized nodes on each. >> >> >> >> What would be the easiest way to have a specific resource (e.g. resource >> "A") move to another node (From node "1" to node "2") in case when a >> different resource (e.g. "B") >> >> moves from node 3 to node 4? >> >> >> >> Resources "A" and "B" are independent, but nodes 1 and 3 are virtual >> servers running on physical host "ph1" whereas nodes 2 and 4 are virtual >> servers on physical host "ph2" and >> >> the goal is to have resources "A" and "B" run on the same physical >> (host) server. > > Is this one cluster or are these two independent clusters? > > For one cluster there would the (hidden,undocumented) feature to use a > node-attribute in colocation constraints
Did I not document it, or just not explain how useful it could be in these cases? :-) > unfortunately the crm shell is > not aware of this feature so you would have to manipulate the cib > directly ... might be worth trying. > > Regards, > Andreas > > -- > Need help with Pacemaker? > http://www.hastexo.com/now > >> >> >> >> Thank you in advance, >> >> >> >> Bests >> >> >> >> Attila >> >> >> >> >> >> >> >> >> >> _______________________________________________ >> 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://developerbugs.linux-foundation.org/enter_bug.cgi?product=Pacemaker > > > > > _______________________________________________ > 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://developerbugs.linux-foundation.org/enter_bug.cgi?product=Pacemaker > > _______________________________________________ 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://developerbugs.linux-foundation.org/enter_bug.cgi?product=Pacemaker