Hi,
I have a two node heartbeat+pacemaker cluster between Xen dom0s.
Resources are virtual machines. All is working fine, but I have some
problems with default_stickiness and migration. If I have it set to
INFINITY the resources remain where they are on node failure and
restore, but I if I want to relocate some of them, packmaker refuses
to move the resource because both nodes have the same score.
What's the correct configuration if I don't want auto failback but I
want to migrate resources to any node? I want something like manual
failback.
My "cibadmin -Q":
<crm_config>
<cluster_property_set id="cib-bootstrap-options">
<attributes>
<nvpair id="cib-bootstrap-options-dc-version"
name="dc-version" value="0.6.5-node:
b9fe723d1ac5aad89cc457c727d35e14ef2a61c8"/>
<nvpair id="symmetric_cluster" name="symmetric-cluster"
value="true"/>
<nvpair id="no_quorum_policy" name="no-quorum-policy"
value="ignore"/>
<nvpair name="default-resource-stickiness"
id="default_resource_stickiness" value="INFINITY"/>
</attributes>
</cluster_property_set>
</crm_config>
<nodes>
<node id="f15d5b45-1d06-4118-af25-4059f2318775" uname="x3105b"
type="normal">
<instance_attributes id="nodes-f15d5b45-1d06-4118-af25-4059f2318775">
<attributes>
<nvpair id="standby-f15d5b45-1d06-4118-af25-4059f2318775"
name="standby" value="off"/>
</attributes>
</instance_attributes>
</node>
<node id="1210ad03-aaa1-4dc8-9afb-084fd336ae9d" uname="x3105a"
type="normal">
<instance_attributes id="nodes-1210ad03-aaa1-4dc8-9afb-084fd336ae9d">
<attributes>
<nvpair id="standby-1210ad03-aaa1-4dc8-9afb-084fd336ae9d"
name="standby" value="off"/>
</attributes>
</instance_attributes>
</node>
</nodes>
<resources>
<primitive class="ocf" provider="heartbeat" type="Xen" id="x3105a1">
<operations>
<op id="oper:x3105a1-monitor" interval="5s" name="monitor"
timeout="5s"/>
</operations>
<instance_attributes id="7af7b704-1f11-47e0-9e94-5566e5c73ed1">
<attributes>
<nvpair name="xmfile" value="/etc/xen/x3105a1"
id="49b54c46-8e29-419f-ba10-339e27224065"/>
<nvpair name="allow_migrate" value="1"
id="e92f00ad-1f2d-4b91-80f7-70856300e946"/>
</attributes>
</instance_attributes>
<meta_attributes id="x3105a1-meta-options">
<attributes>
<nvpair id="x3105a1-meta-options-multiple_active"
name="multiple_active" value="stop_start"/>
</attributes>
</meta_attributes>
</primitive>
<primitive class="ocf" provider="heartbeat" type="Xen" id="x3105a2">
<operations>
<op id="oper:x3105a2-monitor" interval="5s" name="monitor"
timeout="5s"/>
</operations>
<instance_attributes id="f7f15124-a6d4-4440-a7c8-aee473e7da54">
<attributes>
<nvpair name="xmfile" value="/etc/xen/x3105a2"
id="fdeb7ab9-3b97-4145-b6e4-9954099b3052"/>
<nvpair name="allow_migrate" value="1"
id="9d9ea527-6f7a-4091-ad61-ff6e059bebe7"/>
</attributes>
</instance_attributes>
<meta_attributes id="x3105a2-meta-options">
<attributes>
<nvpair id="x3105a2-meta-options-multiple_active"
name="multiple_active" value="stop_start"/>
</attributes>
</meta_attributes>
</primitive>
<primitive class="ocf" provider="heartbeat" type="Xen" id="x3105a3">
<operations>
<op id="oper:x3105a3-monitor" interval="5s" name="monitor"
timeout="5s"/>
</operations>
<instance_attributes id="c3382219-8276-49cb-b023-acd7a4432843">
<attributes>
<nvpair name="xmfile" value="/etc/xen/x3105a3"
id="3c8883ac-96dd-40cf-9332-03eab5796237"/>
<nvpair name="allow_migrate" value="1"
id="cda9ee9a-7323-4b15-b0bb-527dca87007b"/>
</attributes>
</instance_attributes>
<meta_attributes id="x3105a3-meta-options">
<attributes>
<nvpair id="x3105a3-meta-options-multiple_active"
name="multiple_active" value="stop_start"/>
</attributes>
</meta_attributes>
</primitive>
<primitive class="ocf" provider="heartbeat" type="Xen" id="x3105a4">
<operations>
<op id="oper:x3105a4-monitor" interval="5s" name="monitor"
timeout="5s"/>
</operations>
<instance_attributes id="2100f06b-8c8b-4839-90ae-290d8abc6810">
<attributes>
<nvpair name="xmfile" value="/etc/xen/x3105a4"
id="70eae923-a7b2-4e7c-972b-316e45e004a1"/>
<nvpair name="allow_migrate" value="1"
id="ca40cedc-097b-4cbe-b44f-729b7e041589"/>
</attributes>
</instance_attributes>
<meta_attributes id="x3105a4-meta-options">
<attributes>
<nvpair id="x3105a4-meta-options-multiple_active"
name="multiple_active" value="stop_start"/>
</attributes>
</meta_attributes>
</primitive>
<primitive class="ocf" provider="heartbeat" type="Xen" id="x3105a5">
<operations>
<op id="oper:x3105a5-monitor" interval="5s" name="monitor"
timeout="5s"/>
</operations>
<instance_attributes id="72e3b1b3-7ebb-4f23-8c7a-5910de105cd4">
<attributes>
<nvpair name="xmfile" value="/etc/xen/x3105a5"
id="445de9d4-c8b9-4f68-8587-d1639dd4f469"/>
<nvpair name="allow_migrate" value="1"
id="5c011271-3fa5-4930-b98e-aa74a7725dd3"/>
</attributes>
</instance_attributes>
<meta_attributes id="x3105a5-meta-options">
<attributes>
<nvpair id="x3105a5-meta-options-multiple_active"
name="multiple_active" value="stop_start"/>
</attributes>
</meta_attributes>
</primitive>
</resources>
<constraints/>
</configuration>
--
-------------------
Diego Woitasen
-------------------
_______________________________________________
Linux-HA mailing list
[email protected]
http://lists.linux-ha.org/mailman/listinfo/linux-ha
See also: http://linux-ha.org/ReportingProblems