[Pacemaker] CRM location rules to PCS
Gregg Jaskiewicz
gryzman at gmail.com
Thu Jun 13 08:32:38 UTC 2013
How does one convert a rule in CRM to PCS, that is bit more complicated.
Like so:
location rsc_location-2 msPostgreSQL \
rule $id="rsc_location-2-rule" $role="master" 200: #uname eq dev02 \
rule $id="rsc_location-2-rule-0" $role="master" 100: #uname eq
dev01 \
rule $id="rsc_location-2-rule-1" $role="master" -inf: defined
fail-count-devMasterVIP \
rule $id="rsc_location-2-rule-2" -inf: not_defined pingNodes or
pingNodes lt 100
Short of rewriting it in xml .
--
GJ
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <https://lists.clusterlabs.org/pipermail/pacemaker/attachments/20130613/be0713c0/attachment-0003.html>
More information about the Pacemaker
mailing list