EM12c : Enterprise Manager 12c Cloud Control Agent Uploads to OMS URL only instead of SLB in a Multi-OMS System (Doc ID 1554335.1)

Last updated on JUNE 01, 2016

Applies to:

Enterprise Manager Base Platform - Version 12.1.0.1.0 and later
Information in this document applies to any platform.

Symptoms

 

The Enterprise Manager (EM) 12c Cloud Control OMS's are configured behind a Load Balancer.Even after securing the Agents with SLB URL, the Repository URL points to OMS Host URL and not SLB URL.

Hence if one OMS is down and other OMS are up, Agent fails to upload .

emctl status oms -details
Oracle Enterprise Manager Cloud Control 12c Release 2
Copyright (c) 1996, 2012 Oracle Corporation. All rights reserved.
Enter Enterprise Manager Root (SYSMAN) Password :
Console Server Host : omsmachine.domain
HTTP Console Port : 7789
HTTPS Console Port : 7801
HTTP Upload Port : 4890
HTTPS Upload Port : 4901
EM Instance Home : /u02/12c2/Middleware/gc_inst/em/EMGC_OMS1
OMS Log Directory Location : /u02/12c2/Middleware/gc_inst/em/EMGC_OMS1/sysman/log
SLB or virtual hostname: slbmachine.domain
Agent Upload is unlocked.
OMS Console is unlocked.
Active CA ID: 1
Console URL: https://slbmachine.domain:7801/em
Upload URL: https://slbmachine.domain:4901/empbs/upload

WLS Domain Information
Domain Name : GCDomain
Admin Server Host: omsmachine.domain

Managed Server Information
Managed Server Instance Name: EMGC_OMS1
Managed Server Instance Host: omsmachine.domain
WebTier is Up
Oracle Management Server is Up

 

emctl status agent
Oracle Enterprise Manager Cloud Control 12c Release 2
Copyright (c) 1996, 2012 Oracle Corporation. All rights reserved.
---------------------------------------------------------------
Agent Version : 12.1.0.2.0
OMS Version : 12.1.0.2.0
Protocol Version : 12.1.0.1.0
Agent Home : /u02/12c2/agent/agent_inst
Agent Binaries : /u02/12c2/agent/core/12.1.0.2.0
Agent Process ID : 22865
Parent Process ID : 22811
Agent URL : https://agentmachine.domain:3872/emd/main/
Repository URL : https://omsmachine.domain:4901/empbs/upload
Started at : 2013-05-15 15:29:58
Started by user : oracle
Last Reload : (none)
Last successful upload : 2013-05-17 18:45:16
Last attempted upload : 2013-05-17 18:45:16
Total Megabytes of XML files uploaded so far : 22.93
Number of XML files pending upload : 0
Size of XML files pending upload(MB) : 0
Available disk space on upload filesystem : 62.20%
Collection Status : Collections enabled
Heartbeat Status : Ok
Last attempted heartbeat to OMS : 2013-05-17 18:48:45
Last successful heartbeat to OMS : 2013-05-17 18:48:45
Next scheduled heartbeat to OMS : 2013-05-17 18:49:45

---------------------------------------------------------------
Agent is Running and Ready

Cause

Sign In with your My Oracle Support account

Don't have a My Oracle Support account? Click to get started

My Oracle Support provides customers with access to over a
Million Knowledge Articles and hundreds of Community platforms