The document provides instructions for installing Oracle Enterprise Manager Cloud Control 12c and configuring its components. Key steps include:
1. Installing the Oracle Management Server (OMS) and configuring its database connection and ports.
2. Installing agents on an Oracle SOA clustered domain and configuring auto-discovery and promotion of targets to managed state.
3. Installing the JVMD (JVM Diagnostics) manager to monitor JVMs, which requires resynchronizing agents, selecting the application performance agent, and configuring a managed server.
3. Installation Type
Select Advanced
Click Next
Installation Details
Middleware Home Location -
/u02/oracle/Middleware
Agent Base Directory - /u02/oracle/agent
Host Name – <hostname>
Click Next
Plug-in Deployment
Select any additional plugins are required, else leave
it to default
Click - Next
4. WebLogic Server Configuration
Enter passwords as required
Click Next
Please note the OMS Instance Base Location
/u02/oracle/Middleware/gc_inst
Database Connection Details
Enter database connection details
Select Deployment size as needed.
Click Next
Database Connection Details
Click Yes
5. Database Connection Details
Click OK.
These parameters will be updated later
Click Next
Repository Configuration Details
Enter the passwords as required
Enter table space location as required
Click Next
Port Configuration Details
Any port configuration can be updated here
Click Next
6. Review
Please review the installation
Click Install
Installation Progress Details
At 0%
Installation Progress Details
At 47%
7. Installation Progress Details
Run the allroot.sh as root user and click ok
Output of allroot.sh
[root@<hostname>]# pwd
/u02/oracle/Middleware/oms
[root@<hostname>]# sh allroot.sh
Starting to execute allroot.sh .........
Starting to execute /u02/oracle/Middleware/oms/root.sh ......
Running Oracle 11g root.sh script...
The following environment variables are set as:
ORACLE_OWNER= aoracle
ORACLE_HOME= /u02/oracle/Middleware/oms
Enter the full pathname of the local bin directory: [/usr/local/bin]: /u02/oracle/local
Creating /u02/oracle/local directory...
Copying dbhome to /u02/oracle/local ...
Copying oraenv to /u02/oracle/local ...
Copying coraenv to /u02/oracle/local ...
Entries will be added to the /etc/oratab file as needed by
Database Configuration Assistant when a database is created
Finished running generic part of root.sh script.
Now product-specific root actions will be performed.
/etc exist
/u02/oracle/Middleware/oms
Finished execution of /u02/oracle/Middleware/oms/root.sh ......
Starting to execute /u02/oracle/agent/core/12.1.0.2.0/root.sh ......
Finished product-specific root actions.
/etc exist
Finished execution of /u02/oracle/agent/core/12.1.0.2.0/root.sh ......
[root@<hostname>]#
8. Finish Installation
Click Close
Important Information
Use the following URL to access:
1. Enterprise Manager Cloud Control URL: https://<hostname>:7799/em
2. Admin Server URL: https:// <hostname>:7101/console
The following details need to be provided during the additional OMS install:
1. Admin Server Hostname: <hostname>
2. Admin Server Port: 7101
NOTE:
An encryption key has been generated to encrypt sensitive data in the Management Repository. If this key
is lost, all encrypted data in the Repository becomes unusable. Please run following command to backup
the Management Service configuration including the emkey and keep the backup on another system:
emctl exportconfig oms -dir <backup location>
9. Status of the OMS
[aoracle@<hostname> ~]$ cd $OMS_HOME/bin
[aoracle@<hostname>]$ pwd
/u02/oracle/Middleware/oms/bin
[aoracle@<hostname> bin]$ ./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 :
<Dec 4, 2012 1:37:19 PM CST> <Info> <Security> <BEA-090905> <Disabling CryptoJ JCE Provider self-integrity check for better startup performance.
To enable this check, specify -Dweblogic.security.allowCryptoJDefaultJCEVerification=true>
Console Server Host : <hostname>
HTTP Console Port : 7788
HTTPS Console Port : 7799
HTTP Upload Port : 4889
HTTPS Upload Port : 4900
EM Instance Home : /u02/oracle/Middleware/gc_inst/em/EMGC_OMS1
OMS Log Directory Location : /u02/oracle/Middleware/gc_inst/em/EMGC_OMS1/sysman/log
OMS is not configured with SLB or virtual hostname
Agent Upload is locked.
OMS Console is locked.
Active CA ID: 1
Console URL: https:// <hostname>:7799/em
Upload URL: https:// <hostname>:4900/empbs/upload
WLS Domain Information
Domain Name : GCDomain
Admin Server Host: <hostname>
Managed Server Information
Managed Server Instance Name: EMGC_OMS1
Managed Server Instance Host: <hostname>
WebTier is Up
Oracle Management Server is Up
[aoracle@<hostname> bin]$
Status of the Agent
[aoracle@<hostname> bin]$ cd $AGENT_HOME/bin
[aoracle@<hostname>]$ pwd
/u02/oracle/agent/agent_inst/bin
[aoracle@<hostname>bin]$ ./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/oracle/agent/agent_inst
Agent Binaries : /u02/oracle/agent/core/12.1.0.2.0
Agent Process ID : 28630
Parent Process ID : 28580
Agent URL : https://pwesoem:3872/emd/main/
Repository URL : https://pwesoem:4900/empbs/upload
Started at : 2012-12-04 13:25:48
Started by user : aoracle
Last Reload : (none)
Last successful upload : 2012-12-04 13:26:00
Last attempted upload : 2012-12-04 13:26:00
Total Megabytes of XML files uploaded so far : 0
Number of XML files pending upload :0
Size of XML files pending upload(MB) :0
Available disk space on upload filesystem : 89.04%
10. Collection Status : Collections enabled
Heartbeat Status : Ok
Last attempted heartbeat to OMS : 2012-12-04 13:37:56
Last successful heartbeat to OMS : 2012-12-04 13:37:56
Next scheduled heartbeat to OMS : 2012-12-04 13:38:56
---------------------------------------------------------------
Agent is Running and Ready
Disable HTTPS(Peer not authenticated error)
Step 1 – Stop agent on the host
[aoracle@<hostname>bin]$ pwd
/u02/oracle/agent/agent_inst/bin
[aoracle@<hostname>bin]$ ./emctl stop agent
Oracle Enterprise Manager Cloud Control 12c Release 2
Copyright (c) 1996, 2012 Oracle Corporation. All rights reserved.
Stopping agent ...... stopped.
Step 2 – Update the end.properties
/u02/oracle/agent/agent_inst/sysman/config/emd.properties
#
# EMD main servlet URL
#
#EMD_URL=https://pwesoem:3872/emd/main/
EMD_URL=http://pwesoem:3872/emd/main/
#
# OMS Upload URL
#
# if there is no receiving OMS or if you wish to disable the UploadManager
# please set this value to empty or comment out below line
#
#REPOSITORY_URL=https://pwesoem:4900/empbs/upload
REPOSITORY_URL=http://pwesoem:4889/empbs/upload
#
Make changes to the files as per the highlighted in red
Step 3 – Unlock OMS
[aoracle@<hostname>bin]$ cd $OMS_HOME/bin
[aoracle@<hostname>bin]$ ./emctl secure unlock
Oracle Enterprise Manager Cloud Control 12c Release 2
Copyright (c) 1996, 2012 Oracle Corporation. All rights reserved.
Enter Enterprise Manager Root (SYSMAN) Password :
<Dec 4, 2012 1:49:19 PM CST> <Info> <Security> <BEA-090905> <Disabling CryptoJ JCE Provider self-integrity check for better startup performance.
To enable this check, specify -Dweblogic.security.allowCryptoJDefaultJCEVerification=true>
OMS Console is unlocked. HTTP ports too can be used to access console.
Agent Upload is unlocked. Unsecure Agents may upload over HTTP.
Restart OMS.
Step 4 – Restart OMS
[aoracle@<hostname>bin]$ ./emctl stop oms -all
Oracle Enterprise Manager Cloud Control 12c Release 2
Copyright (c) 1996, 2012 Oracle Corporation. All rights reserved.
11. Stopping WebTier...
WebTier Successfully Stopped
Stopping Oracle Management Server...
Oracle Management Server Successfully Stopped
AdminServer Successfully Stopped
Oracle Management Server is Down
[aoracle@<hostname>bin]$ ./emctl start oms
Oracle Enterprise Manager Cloud Control 12c Release 2
Copyright (c) 1996, 2012 Oracle Corporation. All rights reserved.
Starting Oracle Management Server...
Starting WebTier...
WebTier Successfully Started
Oracle Management Server Successfully Started
Oracle Management Server is Up
[aoracle@<hostname>bin]$ ./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 :
<Dec 4, 2012 2:02:16 PM CST> <Info> <Security> <BEA-090905> <Disabling CryptoJ JCE Provider self-integrity check for better startup performance.
To enable this check, specify -Dweblogic.security.allowCryptoJDefaultJCEVerification=true>
Console Server Host : <hostname>
HTTP Console Port : 7788
HTTPS Console Port : 7799
HTTP Upload Port : 4889
HTTPS Upload Port : 4900
EM Instance Home : /u02/oracle/Middleware/gc_inst/em/EMGC_OMS1
OMS Log Directory Location : /u02/oracle/Middleware/gc_inst/em/EMGC_OMS1/sysman/log
OMS is not configured with SLB or virtual hostname
Agent Upload is unlocked.
OMS Console is unlocked.
Active CA ID: 1
Console URL: https:// <hostname>:7799/em
Upload URL: https:// <hostname>:4900/empbs/upload
WLS Domain Information
Domain Name : GCDomain
Admin Server Host: <hostname>
Managed Server Information
Managed Server Instance Name: EMGC_OMS1
Managed Server Instance Host: <hostname>
WebTier is Up
Oracle Management Server is Up
[aoracle@<hostname>bin]$
Please check that the agent and OMS are unlocked
Step 4 - Restart the agent and perform check
[aoracle@<hostname>bin]$ ./emctl start agent
Oracle Enterprise Manager Cloud Control 12c Release 2
Copyright (c) 1996, 2012 Oracle Corporation. All rights reserved.
Starting agent ........ started.
[aoracle@<hostname>bin]$ ./emctl pingOMS
Oracle Enterprise Manager Cloud Control 12c Release 2
Copyright (c) 1996, 2012 Oracle Corporation. All rights reserved.
---------------------------------------------------------------
EMD pingOMS completed successfully
[aoracle@<hostname>bin]$
12. Log into EMC 12C
http://<hostname:7799/em
Enter SYSMAN/*******
Click I Accept
13. Set Summary as default home page
Resynchronize Agents after disabling HTTPS
30. 3. Install JVMD Manager to monitor JVM
Step1
Unsecure the agent pwesoem by setting preferred credentials
Test the preferred credentials
As described above
Step 2
Configure Auto Discovery
Step 3
Resynchronize the agent and restart the agent from command prompt
Step 4
Select Application Performance Agents
31. Update fields as needed. This will create a new managed server where the JVM Diagnostics engine will
reside
32.
33.
34.
35.
36.
37. If you hit the error that ls: /oracle/agent12c/core/12.1.0.1.0/sysman/jlib/wlfullclient.jar: No such file or
directory
Please do the below:
enter <WEBLOGIC_HOME>/server/lib
java -jar wljarbuilder.jar --> generate wlfullclient.jarthen copy wlfullclient.jar to
/oracle/agent12c/core/12.1.0.1.0/sysman/jlib/