[Pacemaker] Multi-node resource dependency

Lars Marowsky-Bree lmb at suse.com
Mon Jul 22 10:16:10 UTC 2013


On 2013-07-22T12:09:22, "\"Tomcsányi, Domonkos\"" <tomcsanyid at modit.hu> wrote:

> crm(live)configure# colocation by_color inf: HTTPS_SERVICE_GROUP
> OPENVPN_SERVICE_GROUP node-attribute=color
> ERROR: 4: constraint by_color references a resource node-attribute=color
> which doesn't exist

Which crmsh version are you using?

This feature was added in crmsh ~1.2.0 end of August 2012.


crm(live)configure# colocation foo-484 inf: dummy3 dummy4 node-attribute=memory
crm(live)configure# show xml changed
<?xml version="1.0" ?>
<cib num_updates="235" dc-uuid="hex-1" update-origin="hex-1" crm_feature_set="3.0.7" validate-with="pacemaker-1.2" update-client="crmd" epoch="1440" admin_epoch="0" update-user="hacluster" cib-last-written="Thu Jul 11 09:48:00 2013" have-quorum="1">
  <configuration>
    <crm_config/>
    <nodes/>
    <resources/>
    <constraints>
      <rsc_colocation id="foo-484" score="INFINITY" rsc="dummy3" with-rsc="dummy4" node-attribute="memory"/>
    </constraints>
  </configuration>
</cib>

Regards,
    Lars

-- 
Architect Storage/HA
SUSE LINUX Products GmbH, GF: Jeff Hawn, Jennifer Guild, Felix Imendörffer, HRB 21284 (AG Nürnberg)
"Experience is the name everyone gives to their mistakes." -- Oscar Wilde





More information about the Pacemaker mailing list