Creating an Adapter Agent Group

If you have multiple TIBCO environments on a machine, you can create an adapter agent group to establish an adapter agent network.

In an agent group, if an adapter agent is registered with a TIBCO Enterprise Administrator server, the server can communicate with all the members in the agent group. If the registered adapter agent is terminated, the connection between the server and the agent network is automatically recovered. Another adapter agent in the agent network automatically registers with the server.

Prerequisites

The TIBCO Enterprise Administrator server is running.

Procedure

  1. Open the adapteragent.ini file that is located in the TIBCO_HOME\afx\version_number\config directory.
  2. Change values of the following properties for each adapter agent that you want to add to the agent group:
    • listenURL
    • remoteListenURL
    • remoteDiscoveryURL
    Note: Each adapter agent must use a different port number.
  3. Stop and restart the adapter agents.

Example

The following example shows how to create an adapter agent group that contains two adapter agents from TIBCO_HOME_1 and TIBCO_HOME_2. First, edit the adapteragent.ini files respectively, and then stop these two adapter agents; at last, restart the adapter agents. An adapter agent group is created.
  • For the adapter agent in TIBCO_HOME_1, edit the adapteragent.ini as follows:
    discoveryURL=tcp://machine:5052;machine:5062
    listenURL=tcp://machine:5052
    remoteListenURL=tcp://machine:5082
    remoteDiscoveryURL=tcp://machine:5082?remote=true
    memberName=afx.machine.one
    bwadmin.cluster.name=adaptermetaspace
  • For the adapter agent in TIBCO_HOME_2, edit the adapteragent.ini as follows:
    discoveryURL=tcp://machine:5052;machine:5062
    listenURL=tcp://machine:5062
    remoteListenURL=tcp://machine:5092
    remoteDiscoveryURL=tcp://machine:5092?remote=true
    memberName=afx.machine.two
    bwadmin.cluster.name=adaptermetaspace