Hello,

On 2010-07-29 14:53, Пленкин Алексей wrote:
> Hi,
>
> i am using drbd 8.3.4 , pacemaker 1.0.1 and openais 0.80.3
> all works good, but i can't stop fail-back
> i try to use resource-stickiness 1000000, but nothing changes and then failed 
> node comes online, resources migrating back
>
> thanks
>
>
.....

>            <operations>
>              <op id="drbd_r7-monitor-15s" interval="15s" name="monitor"/>
>            </operations>
>          </primitive>
>        </master>
>      </resources>
>      <constraints>
>        <rsc_location id="cli-prefer-dns1" rsc="dns1">
>          <rule boolean-op="and" id="cli-prefer-rule-dns1" score="INFINITY">
>            <expression attribute="#uname" id="cli-prefer-expr-dns1" 
> operation="eq" type="string" value="dom0a"/>
>          </rule>
>        </rsc_location>
>        <rsc_location id="cli-prefer-monitor1" rsc="monitor1">
>          <rule boolean-op="and" id="cli-prefer-rule-monitor1" 
> score="INFINITY">
>            <expression attribute="#uname" id="cli-prefer-expr-monitor1" 
> operation="eq" type="string" value="dom0a"/>
>          </rule>
>        </rsc_location>
>        <rsc_location id="cli-standby-dns2" rsc="dns2">
>          <rule boolean-op="and" id="cli-standby-rule-dns2" score="-INFINITY">
>            <expression attribute="#uname" id="cli-standby-expr-dns2" 
> operation="eq" type="string" value="dom0a"/>
>          </rule>

removing this forgotten migration constraints may also explain the 
switch-backs

Regards,
Andreas

>        </rsc_location>
>        <rsc_colocation id="dns1_on_drbd" rsc="dns1" score="INFINITY" 
> with-rsc="ms_drbd_r4" with-rsc-role="Master"/>
>        <rsc_colocation id="dns2_on_drbd" rsc="dns2" score="INFINITY" 
> with-rsc="ms_drbd_r5" with-rsc-role="Master"/>
>        <rsc_colocation id="monitor1_on_drbd" rsc="monitor1" score="INFINITY" 
> with-rsc="ms_drbd_r7" with-rsc-role="Master"/>
>        <rsc_order first="ms_drbd_r4" first-action="promote" 
> id="dns1_after_drbd" score="INFINITY" then="dns1" then-action="start"/>
>        <rsc_order first="ms_drbd_r5" first-action="promote" 
> id="dns2_after_drbd" score="INFINITY" then="dns2" then-action="start"/>
>        <rsc_order first="ms_drbd_r7" first-action="promote" 
> id="monitor1_after_drbd" score="INFINITY" then="monitor1" 
> then-action="start"/>
>      </constraints>
>    </configuration>
> </cib>
>
>
>
> _______________________________________________
> Openais mailing list
> [email protected]
> https://lists.linux-foundation.org/mailman/listinfo/openais
>


_______________________________________________
Openais mailing list
[email protected]
https://lists.linux-foundation.org/mailman/listinfo/openais

Reply via email to