[Linux-HA] A resource starts when an event happens

Andrew Beekhof beekhof at gmail.com
Fri Jul 18 01:50:32 MDT 2008


look up rsc_location constraints in:

   http://clusterlabs.org/mw/Image:Configuration_Explained.pdf


On Jul 18, 2008, at 2:08 AM, ZiLioN ZilLioN wrote:

>
> Hello!
> I want a configuration that a resource IPaddress starts ONLY when  
> the node miss conectivity (pingd), not before.
> This configuration is possible:
>
> <primitive id="..." class="..." provider="..." type="IPaddr"  
> is_managed="false">
>    <operation>
>        <op id="..." name="start" timeout="5s" prereq="nothing"  
> on_fail="restart">
>            <instance_attributes id="...">
>                <rule id="..." score="INFINITY">
>                    <expression id="..." attribute="pingd"  
> operation="defined" />
>                </rule>
>                <attributes>
>                    <nvpair id="..." name="ip" value"x.x.x.x" />
>                </attributes>
>            </instance_attributes>
>        </op>
>    </operation>
> </primitive>
>
> I think that this configuration is very difficult...
>
> How do I do?
>
> _________________________________________________________________
> La última hora de tu ciudad en MSN Noticias
> http://noticias.es.msn.com/_______________________________________________
> Linux-HA mailing list
> Linux-HA at lists.linux-ha.org
> http://lists.linux-ha.org/mailman/listinfo/linux-ha
> See also: http://linux-ha.org/ReportingProblems



More information about the Linux-HA mailing list