Hi,

On Thu, Dec 03, 2009 at 06:59:32PM -0700, hj lee 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

Try this:

crm configure location my-test-location my-test-resource rule inf: defined 
pingd and #uname eq hostname1

You can also get help and syntax for all commands (help location).

Thanks,

Dejan

> How can I do this?
> 
> Thanks
> hj

> _______________________________________________
> Pacemaker mailing list
> Pacemaker@oss.clusterlabs.org
> http://oss.clusterlabs.org/mailman/listinfo/pacemaker


_______________________________________________
Pacemaker mailing list
Pacemaker@oss.clusterlabs.org
http://oss.clusterlabs.org/mailman/listinfo/pacemaker

Reply via email to