[Linux-HA] Mailto: - how to use?
Rudi Ahlers
Rudi at SoftDux.com
Tue Jul 31 02:42:25 MDT 2007
Thanx for this info. It seems that I won't be able to make use of this
right now, as I use the haresources file, and not a cib.xml one
Kind Regards
Rudi Ahlers
CEO, SoftDux
Web: http://www.SoftDux.com
Forum: http://Forum.SoftDux.com
Join SA WebHostingTalk today, on http://www.WebHostingTalk.co.za
Dominik Klein wrote:
>> Can you please elaborate on this. Give me an example of how / where
>> to use it?
>
> This is an example using constraints. I dont have a group example at
> hand.
>
> This could be part of your cib:
>
> MailTo RA
>
> <primitive id="mailto" class="ocf" type="MailTo" provider="heartbeat">
> <meta_attributes id="ma-mailto">
> <attributes>
> <nvpair name="target_role" id="ma-mailto-1"
> value="started"/>
> </attributes>
> </meta_attributes>
> <instance_attributes id="ia-mailto">
> <attributes>
> <nvpair id="mailto-a-1" name="email"
> value="dk at in-telegence.net"/>
> </attributes>
> </instance_attributes>
> </primitive>
>
> MailTo constraints
>
> <rsc_order id="mailto_after_xen_r0" from="mailto"
> action="start" to="xen_r0" to_action="start"/>
> <rsc_colocation id="mailto_with_xen_r0" from="mailto"
> to="xen_r0" score="INFINITY"/>
>
> This is to say that "mailto start" is executed on the same host as
> xen_r0 after xen_r0 is started. xen_r0 is another resource in my
> system. It may be any other resource in YOUR system.
> _______________________________________________
> 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