If you have a master agent installation, you can use this installed agent and clone it on multiple destination Oracle homes.
To clone a Management Agent, perform the following steps:
Install the Agent on a host using any of the deployment methods discussed in this chapter.
Zip the agent Oracle home that you want to clone (for example, agent.zip).
Perform a file transfer (FTP) of this zipped Oracle home onto the destination host (for example, ftp agent.zip).
In the destination host, unzip the agent Oracle home.
Go to $ORACLE_HOME/oui/bin/ directory and execute the following command:
./runInstaller -clone -forceClone ORACLE_HOME=<full path of Oracle home> ORACLE_HOME_NAME=<Oracle home name> -noconfig -silent
Note:
The cloned agent is not in the secure mode by default. You must manually secure the agent by executing<Oracle_Home>/bin/emctl secure agent.Execute the following script to run the Agent Configuration Assistant (agentca):
$ORACLE_HOME/bin/agentca -f
Caution:
After the cloning process is complete, you must execute theroot.sh script from the destination agent Oracle homes.