[Linux-HA] A resource starts when an event happens
Michael Schwartzkopff
misch at multinet.de
Fri Jul 18 04:30:59 MDT 2008
Am Freitag, 18. Juli 2008 11:57 schrieb ZiLioN ZilLioN:
(...)
> The document has examples for running the resources in the node with the
> best connectivity or examples of choosing a location based on connectivity.
> I search a configuration that a resource x, starts only when an event
> happens, not before. For example:
>
> A resource IPaddres starts when the node miss the connectivity and this
> recourse will stop when the node will have connectivity. A rsc_location is
> the solution? How would this rsc_location?
>
> Does the configuration below because it is no valid?
Do a loc constraint of the form:
for resource_A give -INFINITY points if ((pingd > 0) or (pingd = undefined))
Connectivity loss -> pingd=0 -> points change from -INF to 0 -> resource
starts.
Greetings,
--
Dr. Michael Schwartzkopff
MultiNET Services GmbH
Addresse: Bretonischer Ring 7; 85630 Grasbrunn; Germany
Tel: +49 - 89 - 45 69 11 0
Fax: +49 - 89 - 45 69 11 21
mob: +49 - 174 - 343 28 75
mail: misch at multinet.de
web: www.multinet.de
Sitz der Gesellschaft: 85630 Grasbrunn
Registergericht: Amtsgericht München HRB 114375
Geschäftsführer: Günter Jurgeneit, Hubert Martens
---
PGP Fingerprint: F919 3919 FF12 ED5A 2801 DEA6 AA77 57A4 EDD8 979B
Skype: misch42
More information about the Linux-HA
mailing list