In former times it was possible to configure multiple agents with agentadmin.
If this is tried today the agentadmin fails with error
ERROR: Installation failed due to the following error - (The agent
installation state for this container is in corrupted state; the root cause
may be that the same agent binary has already been used for installing an agent
in another container domain. Please unzip the agent zip file into a new
directory and run agentadmin --install in the new directory for installing
an agent in this domain.).
as also mentioned in [https://bugster.forgerock.org/jira/browse/OPENAM-1154
For some reason this functionality has been dropped by former Sun engineering. However 'agentadmin' suggests this is possible when lauchning 'agentadmin --help', like
Usage: agentadmin --listAgents
Usage: agentadmin --agentInfo <agentID>
Usage: agentadmin --uninstallAll