[Pacemaker] location setting with parenthesis

Junko IKEDA tsukishima.ha at gmail.com
Wed Nov 2 04:56:20 EDT 2011


Hi,

I read the following "CRM CLI (command line interface) tool" document.
http://www.clusterlabs.org/doc/crm_cli.html#cmdhelp_configure_location

It seems that parenthesis is available for "colocation" or "order"
configuration,
could I set up parenthetic "location"?
for example;

location rsc_location-1 msDRBD \
rule role=master -inf: \
(defined master-prmMySQL:0 and master-prmMySQL:0 gt 0) or \
(defined master-prmMySQL:1 and master-prmMySQL:1 gt 0)

If it's possible, is Pacemaker 1.0.(11 or 12) OK, too?

Regards,
Junko IKEDA

NTT DATA INTELLILINK CORPORATION




More information about the Pacemaker mailing list