Oracle 8i | Oracle 9i | Oracle 10g | Oracle 11g | Oracle 12c | Miscellaneous | PL/SQL | SQL | Oracle RAC | Oracle Apps | Linux

Oracle Enterprise Manager Cloud Control 12c Release 3 Installation on Oracle Linux 5.9 and 6.4

Enterprise Manager Cloud Control is the new name for what was previously know as Enterprise Manager Grid Control. Depending on the source of the material, you may still see the product described as Grid Control. This article describes the installation of Oracle Enterprise Manager Cloud Control 12c Release 3 on Oracle Linux 5.9 and 6.4. (x86_64). This is the first Cloud Control release capable of monitoring the Oracle 12c database.

Note. Oracle Database 12c is not currently a supported release for use as a management repository database. For this reason, this article uses Oracle 11gR2 ( as the repository database.

Related articles.


Download the following software:

Note. Previous versions of the database can be used to hold the repository, but anything earlier than will require additional patches.

OS Installation

Install Oracle Linux (OL) 5.9 or 6.4 in the same way you would for a regular Oracle Database installation. You can see examples of these types of installations below. Remember to check the relevant database installation article (listed below) for the specific package group selection.

During this installation I used a virtual machine with 6G RAM and 50G disk space. The swap size was set at 8G, the firewall was disabled and SELinux was set to permissive.

Database Installation

Use one of the following articles to install the database.

The installation documentation says the following packages are necessary for the cloud control installation. If you have performed the database installation as described in one of the above articles, most of these prerequisites will already have been met.

# OL 5.x and 6.x
yum install make-3* -y
yum install binutils-2* -y
yum install gcc-4* -y
yum install libaio-0* -y
yum install glibc-common-2* -y
yum install libstdc++-4* -y
yum install sysstat-* -y
yum install glibc-devel -y

# OL 6.x only
yum install glibc-devel.i686 -y (not installed already)

# OL 5.x only
yum install glibc-devel.i386 -y
yum install setarch -y
yum install rng-utils-2* -y
yum install libXtst-1* -y
yum install xorg-x11-utils -y

If you have performed a default database installation you will need to deconfigure Enterprise Manager Database Control. Run the following command as the "oracle" user.

$ emca -deconfig dbcontrol db -repos drop -SYS_PWD <sys pasword> -SYSMAN_PWD <sysman password>

Make the following initialization parameter changes and restart the instance.

sqlplus / AS SYSDBA

ALTER SYSTEM SET session_cached_cursors=200 SCOPE=SPFILE;
ALTER SYSTEM SET shared_pool_size=600M SCOPE=SPFILE;
ALTER SYSTEM SET pga_aggregate_target=1G SCOPE=SPFILE;
ALTER SYSTEM SET job_queue_processes=20 SCOPE=SPFILE;

-- May be required if using older versions of DB.
--ALTER SYSTEM SET log_buffer=10485760 SCOPE=SPFILE;

-- Restart the instance.

If you have done a default installation as described here, the UNDO tablespace will be autoextensible. If you have done a custom installation make sure the UNDO tablespace is at least 200M in size. Also, make sure you have 3 redo logs of at least 300M to prevent a warning during the installation.

The database installation is now complete.

Cloud Control 12c Installation

Make the following directories to hold the management server and agent.

$ mkdir -p /u01/app/oracle/oms12cr3
$ mkdir -p /u01/app/oracle/agent12cr3

Unzip the Cloud Control media, the start the installation by running the "runInstller" script.

$ mkdir em12cr3
$ unzip -d em12cr3
$ unzip -d em12cr3
$ unzip -d em12cr3
$ cd em12cr3

$ ./runInstaller

If you wish to receive support information, enter the required details, or uncheck the security updates checkbox and click the "Next" button. Click the "Yes" button the subsequent warning dialog.

My Oracle Support Details

If you wish to check for updates, enter the required details, or check the "Skip" option and click the "Next" button.

Software Updates

If you have performed the prerequisites as described, the installation should pass all prerequisite checks. Click the "Next" button.

Prerequisite Checks

Select the "Create a new Enterprise Manager System" and "Simple" options, then click the "Next" button.

Install Types

Enter the middleware and agent locations, then click the "Next" button.

Installation Details

Enter the administrator password and database repository details, then click the "Next" button.

Configuration Details

On the first warning dialog, click the "Yes" button to disable the stats gathering job.

Repository Warning 1

If you have any additional warnings, check they don't look like show-stoppers, then click the "OK" button to continue.

If you are happy with the review information, click the "Install" button.


Wait while the installation and configuration take place.

Installation Progress Details

When prompted, run the root scripts, then click the "OK" button.

Root Scripts

Make note of the URLs, then click the "Close" button to exit the installer. A copy of this information is available in the "/u01/app/oracle/Middleware/oms/install/setupinfo.txt" file.


The login screen is available from a browser using the URL provided in the previous screen ("https://ol6-em12cr3.localdomain:7803/em"). Log in with the username "sysman" and the password you specified during your installation.


Once logged in, you are presented with a with the "License Agreement" screen. Click the "I Accept" button and you are presented with the homepage selector screen. On the right side of the screen it lists the post-installation setup tasks you need to work through. I have these documented in a separate article. Select the desired homepage (I chose Summary).

Homepage Selector

You are presented with the selected screen as the console homepage.



Use the following commands to turn on all components installed by this article.

export ORACLE_HOME=/u01/app/oracle/product/
export OMS_HOME=/u01/app/oracle/oms12cr3/oms
export AGENT_HOME=/u01/app/oracle/agent12cr3/core/

# Start everything

$OMS_HOME/bin/emctl start oms

$AGENT_HOME/bin/emctl start agent

Use the following commands to turn off all components installed by this article.

export ORACLE_HOME=/u01/app/oracle/product/
export OMS_HOME=/u01/app/oracle/oms12cr3/oms
export AGENT_HOME=/u01/app/oracle/agent12cr3/core/

# Stop everything
$OMS_HOME/bin/emctl stop oms -all

$AGENT_HOME/bin/emctl stop agent


For more information see:

Hope this helps. Regards Tim...

Back to the Top.