[ClusterLabs] spread out resources

Ferenc Wágner wferi at niif.hu
Thu Mar 31 01:37:45 UTC 2016


Hi,

I've got a couple of resources (A, B, C, D, ... more than cluster nodes)
that I want to spread out to different nodes as much as possible.  They
are all the same, there's no distinguished one amongst them.  I tried

<rsc_colocation id="cl-test-spread" score="-50">
  <resource_set id="cl-test-spread-set" sequential="false">
    <resource_ref id="A"/>
    <resource_ref id="B"/>
    <resource_ref id="C"/>
    <resource_ref id="D"/>
  </resource_set>
  <resource_set id-ref="cl-test-spread-set"/>
</rsc_colocation>

But crm_simulate did not finish with the above in the CIB.
What's a good way to get this working?
-- 
Thanks,
Feri




More information about the Users mailing list