[Kea-users] promote passive-backup Backup server to active?

David Ramsey dmr at ramseyfamily.org
Wed Feb 2 15:14:38 UTC 2022


Correction - rather than change "this-server-name" I swap the
primary/backup role in the peers list.
I couldn't find a way to do that via API without replacing the entire
configuration via config-set.

Thanks folks, --dmr

On Wed, Feb 2, 2022 at 9:53 AM David Ramsey <dmr at ramseyfamily.org> wrote:

> We are concerned about losing heartbeats between distant servers and
> encountering a "split brain" scenario, so we are considering a more manual
> failover using the passive-backup mode of HA.
>
> What is the best practice for promoting a backup server to active?  Docs
> simply say that it "requires manual intervention from the administrator".
>
> I can't seem to find a native API mechanism for this.  The best way I can
> think of seems to be ensuring that the primary can't come back online and
> then changing the passive-backup server's "this-server-name" to BE the
> primary.
>
> This seems like a kludge.  How are others doing this?
>
> Thanks!  --dmr
>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <https://lists.isc.org/pipermail/kea-users/attachments/20220202/eb0308ee/attachment.htm>


More information about the Kea-users mailing list