Manual Intervention when Failover is Used. Take 2
David W. Hankins
David_Hankins at isc.org
Mon Nov 20 16:10:55 UTC 2006
On Sun, Nov 19, 2006 at 01:42:11PM -0600, Martin McCormick wrote:
> Is there any way when using omapi to shut down a dhcp
> server in a failover pair
Set the server state to 'shutdown'.
> to know when it is safe to move on to
> the next event in a script?
Either use outside checks (dhcpd.pid) or try reading the state
variable back.
> omshell doesn't seem to confirm all
> omapi connections are broken so if your script exits out too
> soon, the partner-down condition never appears in the failover
> peer.
It shouldn't be possible for one server to cleanly shutdown without
causing the peer to enter partner-down, and the exchange has nothing
to do with OMAPI by that time.
Uncleanly shutdown, definitely.
--
David W. Hankins "If you don't do it right the first time,
Software Engineer you'll just have to do it again."
Internet Systems Consortium, Inc. -- Jack T. Hankins
More information about the dhcp-users
mailing list