In an HA configuration in non-INC mode, if route monitors fail on both nodes, failover happens every 180 seconds until one of the nodes is able to reach all of the routes monitored by the respective route monitors.
However, for a node, you can limit the number of failovers for a given interval by setting the Maximum Number of Flips and Maximum Flip Time parameters on the nodes. When either limit is reached, no more failovers occur, and the node is assigned as primary (but node state as NOT UP) even if any route monitor fails on that node. This combination of HA state as Primary and Node state as NOT UP is called Stick Primary state.
If the node is then able to reach all of the monitored routes, the next monitor failure triggers resetting of the Maximum Number of Flips and Maximum Flip Time parameters on the node and starting the time specified in the Maximum Flip Time parameter.
These parameters are set independently on each node and therefore are neither propagated nor synchronized.
- Parameters for limiting the number of failovers
Maximum Number of Flips (maxFlips)
Maximum number of failovers allowed, within the Maximum Flip Time interval, for the node in HA in non INC mode, if the failovers are caused by route-monitor failure.
Maximum Flip Time ( maxFlipTime )
Amount of time, in seconds, during which failovers resulting from route-monitor failure are allowed for the node in HA in non INC mode.
To limit the number of failovers by using the command line interface
At the command prompt, type:
- set HA node [-maxFlips < positive_integer>] [-maxFlipTime <positive_integer>]
- show HA node [< id>]
To limit the number of failovers by using the configuration utility
- Navigate to System > High Availability and, on the Nodes tab, open the local node.
- Set the following parameters:
- Maximum Number of Flips
- Maximum Flip Time