Hello list,

I'm configuring a cib, such as the once provided below.
I see that when I make one of the resources fail, the count reaches to
the sum of all resources. In the provided cib a resource can fail up
to 15 times before it migrates to a second node. I would to have a
fixed "stickiness" value for each resource - that is I would like each
of them to a maxim fail count of 5. How should I be configuring my cib
?

Thank you,
Maxim.

 <cib admin_epoch="0" epoch="1" num_updates="13" have_quorum="true"
generated="true" ccm_transition="1" num_peers="1"
cib_feature_revision="1.3"
dc_uuid="061ace06-7a1a-417b-be03-b9bda1c11adb" cib-last-written="Sun
Jul 15 13:23:11 2007">
  <configuration>
    <crm_config>
      <cluster_property_set id="cluster_properties">
        <attributes>
          <nvpair id="default_resource_stickiness"
name="default_resource_stickiness" value="500"/>
          <nvpair id="default_resource_failure_stickiness"
name="default_resource_failure_stickiness" value="-100"/>
        </attributes>
      </cluster_property_set>
    </crm_config>
    <nodes>
      <node id="061ace06-7a1a-417b-be03-b9bda1c11adb" uname="node1"
type="normal"/>
    </nodes>
    <resources>
      <group id="grp1">
        <primitive id="rsc_ip" class="ocf" type="IPaddr" provider="heartbeat">
          <instance_attributes id="ia_ip">
            <attributes>
              <nvpair id="nvpair_ip_address" name="ip" value="10.10.100.88"/>
            </attributes>
          </instance_attributes>
        </primitive>
        <primitive id="rsc_dcn" class="ocf" type="dcn_agent" provider="ML">
          <operations>
            <op id="op_dcn_monitor" name="monitor" timeout="3s" interval="1s"/>
          </operations>
        </primitive>
        <primitive id="rsc_mng" class="ocf" type="mng_agent" provider="ML">
          <operations>
            <op id="op_mng_monitor" name="monitor" timeout="3s" interval="3s"/>
          </operations>
        </primitive>
      </group>
    </resources>
    <constraints/>
  </configuration>
 </cib>

--
Cheers,
Maxim Veksler

"Free as in Freedom" - Do u GNU ?
_______________________________________________
Linux-HA mailing list
[email protected]
http://lists.linux-ha.org/mailman/listinfo/linux-ha
See also: http://linux-ha.org/ReportingProblems

Reply via email to