Re: [Pacemaker] anti-placement syntax

2010-11-30 Thread Dejan Muhamedagic
Hi, On Sat, Nov 20, 2010 at 09:40:31AM -0500, Vadym Chepkov wrote: > Hi, > > crm has a nice placement constraint syntax > > location loc1 res1 inf: node1 > > which is a shortcut for > > location loc1 res1 inf: rule #uname eq node1 That's not so. The shortcut is in the XML not the shell. The s

[Pacemaker] anti-placement syntax

2010-11-20 Thread Vadym Chepkov
Hi, crm has a nice placement constraint syntax location loc1 res1 inf: node1 which is a shortcut for location loc1 res1 inf: rule #uname eq node1 Sometimes, in otherwise symmetric cluster, there are some resources that have to be running on a certain node, so one has to create an anti-placem