[Pacemaker] How can I use logical AND of two expressions?

Andrew Beekhof andrew at beekhof.net
Mon Dec 7 06:31:51 EST 2009


On Fri, Dec 4, 2009 at 2:59 AM, hj lee <kerdosa at 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.




More information about the Pacemaker mailing list