[Pacemaker] CRM location rules to PCS

Gregg Jaskiewicz gryzman at gmail.com
Thu Jun 13 04:32:38 EDT 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: <http://lists.clusterlabs.org/pipermail/pacemaker/attachments/20130613/be0713c0/attachment-0002.html>


More information about the Pacemaker mailing list