Howto install Oracle Enterprise Manager Cloud Control 12c Release 1

Requirements

First of all lets start with the requirements. Which OS and database is supported for the OMS, Agent and repository database? The documentation is a bit thin on this topic (Oracle® Enterprise Manager Cloud Control Release Notes Prerequisites) and refers to the Metalink Certification Matrix.

Supported OS for the OMS and Agent are currently only the following Linux x86-64:

  • Oracle Linux 5 Update 2+
  • Asianux 3
  • Red Hat Enterprise Linux 5 Update Level 2+
  • SLES 11

Details about the required package is available in the Oracle® Enterprise Manager Cloud Control Basic Installation Guide Package Requirements for Oracle Management Service.

The OMS repository is currently certified with the following database release:

  • Oracle 11.2.0.3.0 (somehow not yet or not anymore in the MOS certification matrix)
  • Oracle 11.2.0.2.0
  • Oracle 11.2.0.1.0
  • Oracle 11.1.0.7.0
  • Oracle 10.2.0.5.0

The Prerequisites of chapter 6 Installing Enterprise Manager System in Oracle® Enterprise Manager Cloud Control Basic Installation Guide lists a few one-off Patch when using a 11.2.0.1.0 database. In general I would any way recommend to use the latest release as well the latest PSU.

The minimal hardware requirements for the OMS is a bit more than earlier releases. The table is just copy from Oracle® Enterprise Manager Cloud Control Basic Installation Guide Meeting Hardware Requirements.

Small Medium Large
1 OMS, < =1000 targets, <100 agents 2 OMSes for < =10,000 targets and <1000 agents >2 OMSes, >=10,000 targets, >=1000 agents
CPU Cores/Host 2 4 8
RAM 4 GB 6 DB 8 GB
RAM with ADP, JVMD 6 GB 10 DB 14 GB
Oracle WebLogic Server JVM Heap Size 512 MB 1 DB 2 GB
Hard Disk Space 7 GB 7 DB 7 GB
Hard Disk Space with ADP, JVMD 10 GB 12 DB 14 GB

Test Environment

To test Enterprise Manager Cloud Control I decide to use as usual a VM on my notebook. This means that the repository DB, OMS and Agent to run in a single VM. Based on the requirements above I end up with the following setup.

Hardware/VM Configuration:

  • VMWare Fusion 4.0.2
  • 2 Core’s
  • 4 GB Ram
  • 4 VM Disk not pre-allocated (20GB root, 4GB swap, 2*20GB data and software
  • 1 Network Interface

OS Configuration:

  • Oracle Enterprise Linux x86-64bit 5 update 6
  • OS has been setup through kickstart with these additional packages. Full KS file is attached to the blog post
  • oracle-validated, kernel-headers, sysstat, setarch, rng-utils
  • Kernel parameter should be set by oracle-validated

Repository Database:

  • Oracle Enterprise Edition 11.2.0.3.0
  • Database Components JVM, XDB, Multimedia (could probably be stripped down)
  • Init.ora parameter dedicated to EM12C:
    • SGA_TARGET=2G
    • SHARED_POOL_SIZE=600M
    • PGA_AGGREGATE_TARGET=1G
    • PROCESSES=300
    • JOB_QUEUE_PROCESSES=20
    • SESSION_CACHED_CURSORS=300
    • MEMORY_TARGET => should not be used

Software

next to the operating system and database software you need only the two zip files (em12_linux64_disk1of2.zip, em12_linux64_disk2of2.zip) from OTN to install EM12C. It is no longer necessary to search for Patch’s, WLS or JDK’s and download them. The software package for EM12C include everything you need to install the OMS and Agents.

Installation

Now that the test environment and repository database is ready lets start the installation. According to the presentation Oracle Enterprise Manager 12.1 – Cloud Control Upgrade it should be much easier. However the setup will start as usual with the RunInstaller.

./runInstaller

The installer starts as usual with the welcome screen and the optional question of the an e-Mail account to get informed about updates and security issues. The color layout of the dialog boxes has changed slightly. Otherwise, business as usual
EM12c Dialog 1

On the second screen you may specify your MOS credentials to instantly download the latest updates. Just hope that there are not yet any ;-)
EM12c Dialog 2

In the third step the installer check’s the system prerequisites. Failed step’s can be fixed and be retested or just ignored. Because I’ve installed the RPM oracle_validated all dependent packages are installed some kernel parameters are adjusted.
EM12c Dialog 3

On the third step you have to specify the installation type and location of the middleware. For my test case I just select simple installation and /u00/app/oracle/product/middleware as the middlware home
EM12c Dialog 4

The WLS Administrator credentials and the repository connection details have to be specified on the fifth screen.
EM12c Dialog 5

Just right after you press next the installer connect’s to the repository database and check’s if the database can be used as EM repository. First it checks if there is a default CBO stats gathering job. You may let the installer fix this by pressing yes.
EM12c Dialog 5a

Second it checks the database configuration parameter and space setting. The information provided here do not have to be fixed immediately. The adjustments can be done after the installation of EM. In my first installation I’ve had a few failing prerequisites more. Since I set the init.ora parameter according the section above only three are left. I’ll fix all three of them after the installation. OK, redo size of 300M on my test VM I will just ignore.
EM12c Dialog 5b

Screen six sum up all information provide so fare before the installation starts.
EM12c Dialog 7

The installation it self is presented in a nice new way. For each installation step there is a direct link to its log file.
EM12c Dialog 7a

If something fail, you can immediately verify the issue by clicking the link to the log. As soon you fixed the issue, you can rerun the failed step. In my case the VM run out of memory (Physical and Swap) and the OMS could not be started.
EM12c Dialog 7b

I’ve extend the swap space up to 4G and restarted the step.
EM12c Dialog 7c

Done…. The last screen of the installation display the link information for the EM Cloud Control Console and the Administration URL. All information is also available in the file setupinfo.txt.
EM12c Dialog 8

First impression

Connecting the first time with EM console allows you to select you preferred EM Home page based on you role. E.g there is one for EM Administrators which looks quite similar to the old home page. Other home pages a displaying immediately information important to a Database Administration, WLS Administrator, Support personnel or other.

As a first step I’ve added a DB Target to get more information displayed in my EM. I’ve just run a bit out of time, thats why I haven’t yet more screen shots to display. I’ll provide a few more later.

Round up

All together the installation of EM Cloud Control 12c is much easier than installing one of the earlier releases. Oracle finally packed all together in one software package and one installer. I do not have to care anymore about the right JDK or WLS version. They are just installed. The side effect on this is that also on the OS everything is installed on the same place. Where at 10g and 11g separate directories has been used for OMS and agent, they are now below the middleware directory. Which is not really an issue, you only need to adjust any scripts and environment variables.

Apart from the simple installation procedure, I also like the small improvements while checking the prerequisites. Things which have to be fixed can be fixed immediately. Others, which are required to run the OMS, but not to finish the installation, can be fixed afterwards.

The only drawback I see after my first short tests are the quite high CPU and memory needs. For a regular system, this is not really a problem. But for a road warrior where all testing is done on a notebook, a VM with a 4-6GB is quite an issue.

References

A collection of links to MOS Notes and Oracle documentation about Enterprise Manager Cloud Control 12c (12.1.0.1.0):

  • Oracle Technology Network Oracle Enterprise Manager 12c
  • Enterprise Manager Cloud Control Documentation 12c Release 1 (12.1)
  • MOS Note: How to Install Enterprise Manager Cloud Control 12.1.0.1 (12c) [1359176.1]
  • MOS Note: EM12c: How to install Enterprise Manager Cloud Control 12c Agent [1360183.1]
  • MOS Note: How to Install Enterprise Manager Cloud Control 12.1.0.1 (12c)
    using Software-only Method [1364002.1]
  • MOS Note: How to Install Enterprise Manager Cloud Control 12.1.0.1 (12c)
    using Software-only Silent Install Method with Response File [ID 1364025.1]
  • MOS Note: FAQ: Enterprise Manager Cloud Control 12c Install / Upgrade Frequently Asked Questions [1363863.1]
  • MOS Note: Enterprise Manager Cloud Control 12c Installation
    List of the Log Files and Commands to Zip them into One Zip Archive [1363779.1]
  • MOS Note: Enterprise Manager Cloud Control 12c Agent Installation
    List of the Log Files and Commands to Zip them into One Zip Archive [1367301.1]

9 thoughts on “Howto install Oracle Enterprise Manager Cloud Control 12c Release 1

  1. Pingback: Howto install Oracle Enterprise Manager Cloud Control 12c Release 1 - Stefan Oehrli - Blogs - triBLOG

  2. Pingback: Update: Howto install Oracle Enterprise Manager Cloud Control 12c Release 1 | OraDBA

  3. Dean

    Hey, nice post on 12c.
    I can’t find that the DB 11.2.0.3 is certified as a CC repository (i.e. it doesn’t show up in MOS certify for me). Where did you see it? I would appreciate the reference. It would save me some time and disk space if I don’t have to use 11.2.0.2.
    Thanks, Dean

  4. StefanStefan Oehrli Post author

    Hi Dean

    I’ve just checked the certification matrix again and could not find too 11.2.0.3. But I was sure that I had verified this. Never the less, i assume 11.2.0.3 is not yet in the certification matrix because it is not general available or it was not at the release date. I would still go straight to 11.2.0.3.

    Cheers
    Stefan

  5. Pingback: 2nd Update: Howto install Oracle Enterprise Manager Cloud Control 12c Release 1 | OraDBA

  6. Panagiotis Zarafidis

    Very accurate guide, i completed the installation before reading your guide but all the steps were similar. I would just add three notes:
    1) I used Oracle Enterprise Linux x86-64bit 6 (although not yet certified) and i haven’t observed any problems so far
    2) There are no agents for 12c apart from linux ones so you cannot monitor any non-linux environments, at least for now (and the next months I’m afraid).
    3) For 11.2.0.3 db works ok as repository

  7. StefanStefan Oehrli Post author

    Thanks for the feedback. I haven’t played so fare with Oracle Enterprise Linux 6. Have you installed your Enterprise Manager on a physical system or a virtuall system? If it’s on a VM what hardware setup did you choose?

  8. StefanStefan Oehrli Post author

    Hi

    Initially I’ve used a 11.2.0.3 repository database with MEMORY_TARGET set as well. The prerequisite check then through an error that MEMORY_TARGET should not be used. That’s why I wrote should not be used. So far I have not yet searched for a reason, but I found something in the appendix A of Oracle® Enterprise Manager Cloud Control Basic Installation Guide in the section Repository Prerequisites. Oracle just mention that it is not recommended to use it. In EM 12c Support Notes for Linux Oracle mentioned a BUG 12901357 but I couldn’t find it on My Oracle Support.

    Cheers
    Stefan

Comments are closed.