Configuring Agents for High Availability (Recommended)
The preferred approach for High Availability (HA) in enterprise environments is to connect agents to a single server endpoint that is part of cluster with a load balancer.
Note: In certain circumstances, for example where high availability is required but enterprise level support is not, the alternative approach, Configuring Agents for High Availability (Alternate), may also be taken.
To configure agents to connect to a single server endpoint:
Install the Deployment Automation server application on n servers for the active-active feature. See Installing for a High Availability Implementation.
These n servers are used as a cluster with a load balancer, so make sure you have set the first server's External Agent URL and External User URL system settings to point to the IP address or the DNS name and port of the load balancer cluster.
To make it possible for agents to communicate with each of the server nodes within the cluster, during the agent installation, the agent must point to the load balancer server. In this scenario, the load balancer will choose which of the server nodes communicates with the agent.
To ensure each agent communicates properly through the load balancer server, do the following:
When installing the agents:
- In the agent installer Server Details in Hostname or address, use the IP address or the DNS name of the load balancer server.
- In the agent installer Server Details in Agent Communication Port, use the port number of the load balancer server.