Automatic Clustering for Axon Server

Axon Server supports clustering so your application can stay up and running even if one of the nodes goes down. You can place these nodes in different regions, or availability zones, to ensure high availability.

Forming the cluster requires two steps:

  1. Initialize the cluster on the first node

  2. Join the cluster on the second node

  3. Repeat 2 for any additional nodes

While you normally have to do it yourself, when you use AxonIQ Console, the process is automated for you.

The connector for AxonIQ Console registers the Axon Server instance with AxonIQ Console. It will then receive its license, and information to create a cluster and join an existing one, based on the nodes that already registered before that.

Cluster setup with AxonIQ Console
Figure 1. Cluster setup with AxonIQ Console

This means that you, as a user, no longer have to form a cluster manually, and can focus on your application instead.

While using the AxonIQ Console with Axon Server, you can not use the Autoclustering feature. Booting Axon Server with autoclustering enabled, and the AxonIQ Console connector enabled, will result in a conflict and failure to start.