|Oracle® Enterprise Manager Cloud Control Advanced Installation and Configuration Guide
12c Release 1 (126.96.36.199)
Oracle recommends you to use the Add Management Service deployment procedure to install an additional Oracle Management Service (OMS). The Add Management Service deployment procedure offers a GUI-rich, interactive way of installing an additional OMS. For instructions, refer to Oracle Enterprise Manager Cloud Control Basic Installation Guide.
However, if you have any security restrictions or audit demands in your environment, or if you are not permitted to use Oracle credentials to log in over the network for installation, then follow these steps to manually install an additional OMS in silent, non-interactive mode.
If Oracle Software Library (Software Library) is configured on the main OMS, which comes with Enterprise Manager Cloud Control, then ensure that that Software Library is accessible from the remote host where you plan to install the additional OMS.
In this procedure, for easy understanding, the OMS that comes with Enterprise Manager Cloud Control is referred to as the first OMS, and the additional OMS you install is referred to as the additional OMS.
On the remote host, perform a software-only installation of the additional OMS as described in Installing in Graphical Mode.
On the additional OMS, apply all the patches you applied on the first OMS so that both OMS instances are identical and are in sync.
To identify the patches you applied on the first OMS, run the following commands from its Oracle home:
Export the configuration details from the first OMS. To do so, run the following command from the Oracle home of the first OMS and pass the location where you want to configuration details can be exported as a file.
$<OMS_HOME>/bin/emctl exportconfig oms -dir <absolute_path_to_directory>
Copy the exported configuration details file from the first OMS host to the additional OMS host.
Copy the configuration details onto the additional OMS. To do so, run the following command from the Oracle home of the additional OMS:
$<OMS_HOME>/bin/omsca recover -ms -backup_file <absolute_path_to_the_file_copied_in_step4> [-AS_HTTPS_PORT <port> -MSPORT <port> -MS_HTTPS_PORT <port> -EM_NODEMGR_PORT <port> -EM_UPLOAD_PORT <port> -EM_UPLOAD_HTTPS_PORT <port> -EM_CONSOLE_PORT <port> -EM_CONSOLE_HTTPS_PORT <port> -config_home <absolute_path_to_instance_dir> -EM_INSTANCE_HOST <second_oms_host_name>]
$<OMS_HOME>/bin/omsca recover -ms -backup_file /opt/oracle/product/backup/opf_ADMIN_20120504_031016.bka -AS_HTTPS_PORT 7101 -MSPORT 7202 -MS_HTTPS_PORT 7301 -EM_NODEMGR_PORT 7403 -EM_UPLOAD_PORT 4889 -EM_UPLOAD_HTTPS_PORT 4900 -EM_CONSOLE_PORT 7788 -EM_CONSOLE_HTTPS_PORT 7799 -config_home /opt/oracle/product/omsmdw/gc_inst -EM_INSTANCE_HOST example.com
Configure the Management Agent on the additional OMS host by running the following command from the OMS home:
$<AGENT_HOME>/sysman/install/agentDeploy.sh AGENT_BASE_DIR=<middleware_home>/agent OMS_HOST=<second_oms_host_name> EM_UPLOAD_PORT=<second_oms_port> AGENT_REGISTRATION_PASSWORD=<password> -configOnly
Note:If you have Server Load Balancer (SLB) configured, then directly enter the host name and port number of the SLB. If SLB is not configured, then enter the secure upload port of the first OMS.
Deploy the required plug-ins on the Management Agent.
For information about deploying plug-ins, refer to the section Deploying and Updating Plug-ins in the chapter Updating Cloud Control, in the Oracle Enterprise Manager Cloud Control Administrator's Guide.
Import the trusted certificate on the additional OMS host, where you configured the Management Agent as described in Step (7). When prompted for a password, enter
$<AGENT_HOME>/bin/emctl secure add_trust_cert_to_jks
Manually discover the Oracle WebLogic Server target.
Ensure that both the first and the additional OMS instances are up and running.
In the Cloud Control console, from the Targets menu, select Middleware.
On the Middleware page, click EMGC_DOMAIN.
On the EMGC_DOMAIN home page, from the Farm menu, select Refresh WebLogic Domain.
On the Refresh WebLogic Domain page, click Continue.
Enterprise Manager Cloud Control refreshes the WebLogic Domain and discovers the second managed server on the additional OMS host.
For information about discovering the other targets, refer to the chapter Adding Targets in the Oracle Enterprise Manager Cloud Control Administrator's Guide.
For configuring the shared Oracle Software Library location and the Server Load Balancer, refer to Oracle Enterprise Manager Cloud Control Administrator's Guide.