Knowledge Base ISC Main Website Ask a Question/Contact ISC
Putting the working server in a failover pair into "partner down" state
Author: Paul Ebersman Reference Number: AA-00252 Views: 2185 Created: 2011-04-19 00:01 Last Updated: 2017-01-06 12:20 0 Rating/ Voters

You can either edit the leases file or do this via omshell/OMAPI.

To change via the leases file:

Stop the server, then look for the last failover statement:

failover peer "Failover-Pair-Name" state {
  my state state at 1 date;
  partner state state at 1 date;

Items in bold/italics will vary depending on your machine, actual date, etc. In the "partner state" section, change from the existing state to "partner-down":

failover peer "Failover-Pair-Name" state {
  my state state at 1 date;
  partner state partner-down at 1 date;

Leave the date and everything else as is. Restart the server.

To change via omshell/OMAPI:

omshell << EOF
server localhost
key omapi_key "XXX=="
new failover-state
set name = "foo"
set local-state = 4

Note that you will have to enable OMAPI in your dhcpd.conf file in order to use omshell:

# To enable OMAPI
omapi-port 7911;
key omapi_key {
        algorithm HMAC-MD5;
        secret "XXXX==";
omapi-key omapi_key;

© 2001-2018 Internet Systems Consortium

For assistance with problems and questions for which you have not been able to find an answer in our Knowledge Base, we recommend searching our community mailing list archives and/or posting your question there (you will need to register there first for your posts to be accepted). The bind-users and the dhcp-users lists particularly have a long-standing and active membership.

ISC relies on the financial support of the community to fund the development of its open source software products. If you would like to support future product evolution and maintenance as well having peace of mind knowing that our team of experts are poised to provide you with individual technical assistance whenever you call upon them, then please consider our Professional Subscription Support services - details can be found on our main website.

  • There is no feedback for this article
Quick Jump Menu