From within the Cross Site Cluster management page in the Control Panel, click the 'Manage Servers' link in the ‘Management tools’ section.
Within this page, a form will be displayed to enable you to add an existing server into the cluster, as shown below:
First, select a server to add into the cluster from the list provided.
Next, tick or untick the "Enabled" checkbox. Servers that are disabled will still have the Cross Site Cluster IP addresses added to them (they will be rebooted if its a VPS), these IP addresses will be advertised to the Internet with the default preference. This means that any other enabled servers will receive any traffic for these IP addresses.
When a server is selected, a list of available IP addresses that can be used to monitor the status of the server will be populated in the "Monitor IP" field. We cannot use the IP addresses that are provided with the Cross Site Cluster to monitor the health of the server, so the list will consist of the server's existing IP addresses. The IP address chosen here will be used for any health checks assigned to the cluster.
Please note that even if there are no health checks assigned to the cluster, a "Monitor IP" must be provided.
Once the server has been saved, it will be added to the table above the form. This is described below.
The table at the top of this page displays the current members of this cluster (as shown below):
Fields in the table are described below:
In the "Actions" field for each server, three buttons will be displayed:
Once two or more servers have been added to a cluster, a 'Preferences' section will be displayed at the top of the page. This allows you to configure the order in which servers should receive traffic for each cluster IP address.
In this screenshot, whilst health checks are passing, testeaa1 will receive all traffic for 18.104.22.168 and testeaa2 will receive all traffic for 22.214.171.124. If health checks for testeaa1 began to fail, traffic for 126.96.36.199 would then be routed to the next server in the list, which in this instance would be testeaa2.
Servers that appear in a green box are enabled, whereas red boxes indicate that the server is disabled.
The order in which servers received traffic can be altered by dragging and dropping the boxes into the correct position in the list. Please note that they can only be moved within the column that they are currently in.
It is possible to have two servers or load balancers at the same position in the list, providing that they are in different network zones. This will mean that traffic for that IP address will be distributed between these two servers. In this scenario, the traffic that each server receives will be based on the route taken into our network, and therefore will be unlikely to be shared equally. There are some use cases for this, but in general it is advisable to use an active-active cluster with round-robin DNS to distribute traffic between them.
Last updated 4 September 2019, 08:27 GMT