OPNexusdocs

HA clusters and CARP

Hosts with the same cluster name form a cluster. Overview › Cluster shows the nodes side by side with MASTER/BACKUP role, rule count, rule and NAT drift and a collapsible CARP history.

  • CARP history: role changes are detected at the pace of the notification check (Settings › Notifications). A change that is reversed between two runs does not appear; the first run after creation only records the initial state.
  • Alerts: split brain (several MASTERs) and no master report through the configured channels and resolve themselves.
  • Maintenance mode: a node can be put into CARP maintenance mode in a controlled way so that the partner takes over. Optionally with an auto-revert timer (15, 30, 60 minutes or permanent). The timer restores normal operation by itself; if that fails, the alert "CARP auto-revert failed" reports it.
  • Lock against double demotion: if a node is already in maintenance mode, OPNexus blocks demoting the partner and names the host that first needs "Restore normal operation".
  • If a role swap is not triggered despite maintenance mode (a known OPNsense bug), Cancel operation helps: it closes the operation with a reason, without claiming a success.