PDA

Archiv verlassen und diese Seite im Standarddesign anzeigen : heartbeat und drbd macht kein auto_failback off



BBR
15.06.09, 08:54
Hey,

ich teste immer noch heartbeat und drbd unter Debian Lenny. Es wird Heartbeat v2 benutzt.
Die "default resources stickniess" ist auf "INFINITY" gesetzt. Welches ja deuten soll, dass im Falle eines Fehlers auf Node1, Node2 die Arbeit übernimmt und wenn Node1 wieder läuft immer noch alles auf Node2 bleibt.

Wenn ich aber auf Node1 einen Fehler produziere (Standby / Strom weg / ...), über nimmt Node2 die Arbeit. Sobald Node1 wird läuft, switchen die Ressourcen auf Node1 um. Die Ressourcen sollen aber auf Node2 bleiben.


<crm_config>
<cluster_property_set id="cib-bootstrap-options">
<attributes>
<nvpair id="cib-bootstrap-options-dc-version" name="dc-version" value="2.1.3-node: 552305612591183b1628baa5bc6e903e0f1e26a3"/>
<nvpair id="cib-bootstrap-options-default-resource-stickiness" name="default-resource-stickiness" value="INFINITY"/>
<nvpair id="cib-bootstrap-options-default-resource-failure-stickiness" name="default-resource-failure-stickiness" value="-1"/>
<nvpair id="cib-bootstrap-options-last-lrm-refresh" name="last-lrm-refresh" value="1245048564"/>
</attributes>
</cluster_property_set>
</crm_config>

<master_slave id="drbd_platte2">
<meta_attributes id="drbd_platte2_meta_attrs">
<attributes>
<nvpair name="target_role" id="drbd_platte2_metaattr_target_role" value="started"/>
<nvpair id="drbd_platte2_metaattr_clone_max" name="clone_max" value="2"/>
<nvpair id="drbd_platte2_metaattr_clone_node_max" name="clone_node_max" value="1"/>
<nvpair id="drbd_platte2_metaattr_master_max" name="master_max" value="1"/>
<nvpair id="drbd_platte2_metaattr_master_node_max" name="master_node_max" value="1"/>
<nvpair id="drbd_platte2_metaattr_notify" name="notify" value="true"/>
<nvpair id="drbd_platte2_metaattr_globally_unique" name="globally_unique" value="false"/>
<nvpair id="drbd_platte2_metaattr_resource_stickiness" name="resource_stickiness" value="INFINITY"/>
</attributes>
</meta_attributes>
<primitive id="drbd_platte2" class="ocf" type="drbd" provider="heartbeat">
<instance_attributes id="drbd_platte2_instance_attrs">
<attributes>
<nvpair id="79eacea2-0c98-469f-a7b6-86a4be09af9f" name="drbd_resource" value="platte2"/>
</attributes>
</instance_attributes>
</primitive>
</master_slave>

<rsc_location id="location_drbd_platte2" rsc="drbd_platte2">
<rule id="prefered_location_drbd_platte2" score="INFINITY">
<expression attribute="#uname" id="eea8097a-54d4-4965-a1f8-8dfbc0c08816" operation="eq" value="node1"/>
</rule>
</rsc_location>