Oracle® Enterprise Manager Cloud Control Advanced Installation and Configuration Guide 12c Release 2 (12.1.0.2) Part Number E24089-17 |
|
|
PDF · Mobi · ePub |
If you want to redirect or repoint your Oracle Management Agent (Management Agent), which is already communicating with an Oracle Management Service (OMS), to communicate and upload data to another OMS, then follow these steps:
Stop the Management Agent:
$<AGENT_INSTANCE_HOME>/bin/emctl stop agent
Remove the Management Agent instance home:
rm -rf <absolute_path_to_agent_instance_home>
From the Enterprise Manager Cloud Control console, remove the targets monitored by the Management Agent.
Create a new instance home for the Management Agent so that it directs to the new OMS:
$<AGENT_BASE_DIR>/core/12.1.0.2.0/sysman/install/agentDeploy.sh AGENT_BASE_DIR=<absolute_path_to_agent_base_dir> OMS_HOST=<new_oms hostname> EM_UPLOAD_PORT=<http/https_upload_port> AGENT_REGISTRATION_PASSWORD=<registration_password> AGENT_INSTANCE_HOME=<absolute_path_to_new_agent_instance_home> -configOnly
Note:
The specified agent base directory location and the new agent instance home location map to locations on the same host, where the Management Agent was already configured. The OMS host name, of course, maps to the other host where the new OMS is configured, that is, the OMS with which you want the Management Agent to communicate now.