[Linux-HA] How-to restart a resource quickly or directly

Andrew Beekhof beekhof at gmail.com
Wed Apr 16 02:18:41 MDT 2008


On Tue, Apr 15, 2008 at 10:37 AM, Steinhauer Juergen <gawith at gmx.de> wrote:
> Hi,
>
>  it seems like heartbeat has not yet implemented the "reload" function; it
> simply start/stops the resource. Unfortunately, if I set the target_role
> again to "started" the resource is restarted again.
>  Can this behaviour been changed so that the resource keeps running?

actually it is implemented - just not that way

you have to advertise the reload function in the RA (see the Dummy RA).
you also have to set unique=0 for any attribute that causes a reload
instead of a restart when changed.

then, to cause a reload, just change the attribute you indicated


More information about the Linux-HA mailing list