A Remote Agent can be configured to recognize more than one IP address for the Automation Engine with the MASTER_IP_ADDRESS and ALT_MASTER_IP_ADDRESS lines in the Remote Agent's awenv.ini file.
There may be times when you need to configure a Remote Agent to recognize more than one IP address for the Automation Engine. For example:
- You are working with a clustered machine.
- The Applications Manager Automation Engine runs on an IP address but is recognized as having another IP address.
- For failover, you may need to list the IP addresses of multiple Automation Engines, Agents, and/or clusters that are used by a Remote Agent.
When the Automation Engine communicates with the Remote Agent, the incoming IP address is validated. To validate the Automation Engine's IP address, the Remote Agent checks its awenv.ini file in the site directory for the IP address listed on the MASTER_IP_ADDRESS line. If that IP address does not validate, the Agent checks the IP address listed on the ALT_MASTER_IP_ADDRESS line (if present). Sample code from the awenv.ini is shown below:
MASTER_IP_ADDRESS=192.0.2.1
ALT_MASTER_IP_ADDRESS=192.0.2.2