Has anyone experience with the Dynamic Agent Mapping?
According to the Help dynamic mapping should be done like this:
To automatically map agents to the appropriate application and environment during a silent installation, configure agent.mapping.xml.
Follow these steps:
- Create one additional input file per agent. Use the following example to create agent.mapping.xml:
<?xml version="1.0" encoding="ISO-8859-1" ?> <agent-mapping> <application name="<APPLICATION NAME"> <environment name="<ENVIRONMENT NAME>"> <<SERVER TYPE>="Remote"/> </environment> </application> </agent-mapping>
- Copy or move the file to the NolioAutomationCenter/conf folder on the target agent.
When the agent connects to the execution server, the application and environments are mapped to the agent according to agent.mapping.xml
This implies to me that needs to be done after installation of the Agent and before starting the Agent.
Has anyway successfully configured an Agent to be mapped to a specific Application/Environment/ServerType? For both a silent installed Agent and an already installed Agent?
The use case for this is, in our case, that we want to use Docker containers with a Agent pre-installed. The Agent should connect to a certain Application when the Docker container is started based on some parameters we can define using Docker.