High Availability
5 min
high availability (ha) keeps litmus edge running when a device goes down or is taken offline it works by pairing a primary (active) node with a backup (standby) node that stays in sync and takes over automatically if the primary fails note high availability is available as a beta feature only note high availability management requires litmus edge manager (lem) 2 34 0 or later and litmus edge 4 0 5 or later on both devices in the pair how lem monitors high availability pairs litmus edge manager (lem) polls each ha pair periodically to retrieve the current status and role of each node when lem detects a failover, it automatically updates device roles in the ui you do not need to manually update roles after a promotion lem reports three pair status values healthy both nodes are reachable and the pair is operating normally degraded one node is unreachable or the pair is not fully synchronized unknown lem cannot determine pair status, typically because polling has not completed or a node is offline heartbeat monitoring ha performs heartbeat checks at 2 second intervals failover is triggered after three consecutive missed heartbeats the following fields display on the primary node field description last sent last heartbeat sent to the backup node last received last heartbeat received from the backup node consecutive failures number of consecutive missed heartbeats peer reachable whether the backup is reachable from the primary interval frequency of heartbeat signals in seconds failure threshold number of missed heartbeats that triggers failover configuring high availability lem vs litmus edge ha pairs can be configured two ways both require a primary and a backup device from lem configure the pair centrally without logging into each device recommended when both devices are already connected to lem and you want to manage ha from a single interface from each litmus edge instance directly log into each device and configure the pair at the device level useful when devices are not yet connected to lem or are in an air gapped environment see high availability (litmus edge) docid 6vcpupihffamqcgjeweu6 in the litmus edge documentation configure a high availability pair this section provides an overview of ha configuration for full step by step instructions, see setup a high availability edge device pairing docid\ lktkcoa ks lldreh2vms to configure an ha pair in lem, navigate to edge devices , click a device id, and select the high availability tab toggle enable high availability on in the configure high availability dialog, select a role, select a peer device, confirm ip addresses, and review the configuration click create configuration click enable high availability becomes enabled between the primary and backup nodes