This is the multi-page printable view of this section. Click here to print.

Return to the regular view of this page.

AxoRouter high availability

Deploy multiple AxoRouter instances in a high availability cluster, either behind a load balancer or sharing a virtual IP managed by keepalived.

You can deploy multiple AxoRouter instances as a high availability cluster so the data pipeline keeps accepting logs even when an AxoRouter host fails. There are two main approaches: a load balancer in front of the cluster, or a shared virtual IP managed by keepalived.

Load balancer in front of the cluster

Sources connect to a load balancer, which forwards traffic to one of the AxoRouter hosts. If a host fails, the load balancer routes traffic to the remaining healthy hosts.

High availability AxoRouter cluster with load balancer

This approach reuses an existing load balancer if you already have one, but requires the load balancer to support all relevant protocols (for example, syslog over TCP or TLS).

Virtual IP managed by keepalived

Sources connect to a virtual IP address that floats across the AxoRouter hosts. keepalived uses VRRP to elect a primary node, which holds the virtual IP. If the primary node fails, keepalived moves the virtual IP to a backup node, and the sources keep reaching AxoRouter without changing their destination address.

High availability AxoRouter cluster with keepalived

This approach doesn’t depend on external load balancer infrastructure and suits on-prem deployments well.

Cluster sizing and topology

The hosts running AxoRouter can be physical or virtual machines. The recommended layout depends on which you choose:

  • Physical machines: Install two machines with a dedicated HA link between them to keep the HA traffic separate from the production traffic.
  • Virtual machines: Set up three VMs with a dedicated (and guaranteed bandwidth) HA link (HA VLAN) spanning across them, to keep the HA traffic separate from the production traffic.

For step-by-step instructions to deploy a keepalived-based cluster, see Install multiple AxoRouters in high availability mode.