Connecting Agents to a Series of Server Endpoints

The following steps describe how to connect agents to a series of server endpoints with which, in the case of a server failure, the agents will attempt to communicate.

Important: In this configuration, high availability is maintained, in that it is possible to connect agents to a series of endpoints. However enterprise-level scalability is not supported. This method is difficult to maintain with a full list of all servers. Use this approach with caution. The preferred approach for High Availability (HA) in enterprise environments is Connecting Agents to a Single Endpoint.

A high-availability server configuration using a series of server endpoints is shown in the following figure.

Figure 1. High-availability with a Series of Server Endpoints

image

For the purpose of this example, the following procedure assumes a two-node cluster. Two example cluster nodes have the following IP addresses: ip_node_1 and ip_node_2 (or you can use DNS names).

To configure agents to connect to a single endpoint:

Assuming that during installation, an agent was set to communicate with the server at ip_node_1, to enable the agent to also communicate with the server on the cluster node ip_node_2, you should configure the two servers with a network relay as follows:

  1. Install the Deployment Automation server application on two servers for the active-active feature. See Installing for a High Availability Implementation. These two servers are not used as a cluster with a load balancer.
  2. In the Deployment Automation web application, navigate to Management > Resources.
  3. In the Relays tab, click Create Network Relay.
  4. In the Create Network Relay dialog:
    1. Enter a Name for the second server.
    2. In the Host field, enter ip_node2. This is the remote hostname or IP address the server will use to connect to the network relay.
    3. Enter the JMS Port number that the server will use to communicate with the network relay over JMS protocol.
    4. Select the Active check box to tell the server to start the connection to the network relay.
    5. Click Save.
  5. Repeat this process for each cluster node.

Related Topics

Server and Agent Communication Configuration

Agent Installation

Installing for a High Availability Implementation