Creating an Agent Network

This topic shows how to configure adapteragents so that they can be members of the same agent network.

Prerequisites

When using multiple machines, the runtime status of the adapteragents and AppNodes cannot be computed reliably if the machine clocks in the agent network are not in sync with each other. Make sure that the clocks of the machines in the network are synchronized.

Procedure

  1. Stop adapteragent.
  2. For each adapteragent, open the adapteragent.ini file located in AFX_HOME\config (Windows) or $ {AFX_HOME}/config (Unix).
  3. Edit the following parameters in the adapteragent.ini file:

Parameter Property in adapteragent.ini file Setting
memberName memberName The name of the adapteragent in the network. Must be unique for each adapteragent. If it is not unique, the member will not start.
adapteragentNetworkName admin.networkName The name of the network. Must be the same setting for each adapteragent in the network.

  1. Restart adapteragent.
    Use the show agents command to show all discovered adapteragents. Agents in a network can be managed by any other adapteragent.