Creating an Agent Network
This topic shows how to configure BWAgents so that they can be members of the same agent network.
When using multiple machines, the runtime status of the BWAgents 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 for machines in the network are synchronized.
For example, If there is one agent with version 6.4.2_HF009, all the other agents should be of the version 6.4.2_HF009 only.
Complete the following steps for each BWAgent that is to join the agent network.
- Procedure
- Stop BWAgent.
- For each BWAgent, open the JSON configuration file, in
BW_HOME\config (Windows) or
${BW_HOME}/config (Unix). Use the configuration file specific to the technology type used by the BWAgents in the network.
- Edit the parameters in this file as follows:
Parameter Property in bwagent.iniFileSetting bwagentnetworknamebw.agent.network.nameThe name of the network. Must be the same setting for each BWAgent in the network. bw.agent.technology.dbems.ems.serverUrl/bw.agent.technology.dbftl.ftl.realmserverUse Same transport layer URL bw.agent.technology.dbems.db.connectionURLandbw.agent.technology.dbftl.db.connectionURLSame database - Set other parameters in the JSON file. For more information about parameters, see Configuring BWAgent.
- Save the file and use the BWAdmin
configcommand to push the changes from the JSON file to thebwagent.inifile.Use thebwagent_db.jsonorbwagent_ftl.jsonfile as follows:BW_HOME\bin>bwadmin config -cf ../config/bwagent_db.json agentBW_HOME\bin>bwadmin config -cf ../config/bwagent_ftl.json agent
- Edit the parameters in this file as follows:
- Restart BWAgent.
Use the
show agents command to show all discovered BWAgents. Agents in a network can be managed by any other BWAgent.