Replication Topologies

Cloudpath supports the following topologies for replication, using a MariaDB database:

Note: For this release, only two-node clusters are supported.

  • Active - Standby: In this topology, one node is designated primarily active and the other one is secondarily standby. Only one cluster node (the primarily active node by default) actively processes all enrollment requests from clients while the other one acts as a standby. The standby node is ready to take over to serve if the active node encounters problems and cannot serve. The failover is seamless to users. The primarily active node takes over again as soon as the problems have been resolved. This topology uses a virtual (or "floating") IP address that can be passed between identically configured servers to allow for failover.
  • Active - Active (with or without Network address translation): Both cluster nodes simultaneously process enrollment requests through a load balancer. In this topology, both nodes are instantaneously in sync once initial setup is complete. If one node fails, the load balancer sends all requests to the other node .

    An active - active setup also has the concept of a primary node and secondary node. The primary node is the server that is composed of initial data that will be replicated to the secondary server during the replication setup. Be sure you know which node is your primary node before you proceed to configuration.

    Note: When configuring an active - active setup with NAT, you will need both the private and public IP addresses of the nodes.

    A load balancer is required for this topology. How to configure the load balancer is outside the scope of this manual. You can consult the documentation for the load balancer of your choice. Many open-source load balancers are available. Be sure to configure your load balancer with the information it needs about the nodes that will compose your cluster.

    Note: Do not use a Cloudpath System as a load balancer.

New System Activation: Primary Server vs. Add On:

When you first activate a new system, you are presented with a System Setup screen that contains the question: "Which Type Of Server is This?" For the node that will serve as your primary node in the cluster, select the "Standard Server (Default)" option. For the node that will serve as your secondary server, select the "Add On Server For Cluster" option. Refer to the Cloudpath Enrollment System Deployment Administration Guide for more information.