On Fri, Dec 4, 2009 at 2:59 AM, hj lee <kerd...@gmail.com> wrote: > Hi, > > I want to use logical AND of two expresson in rule. For example, I want to > create location constraint like this. Assume there is pingd and hostname. > > crm configure location my-test-location my-test-resource rule inf: pingd > defined AND #uname eq hostname1 > > How can I do this?
Not sure about the shell syntax, but underneath there is the boolean-op parameter. Have a look for it in the pacemaker explained docs. _______________________________________________ Pacemaker mailing list Pacemaker@oss.clusterlabs.org http://oss.clusterlabs.org/mailman/listinfo/pacemaker