Wednesday, 1 November 2017

Oracle Enterprise Manager Cloud Control 12c Release 5 Installation on Oracle Linux 5.11 and 6.6 Part-1

This article describes the installation of Oracle Enterprise Manager Cloud Control 12c Release 5 on Oracle Linux 5.11 and 6.6. (x86_64).

◉ Software


Download the following software:

Oracle Linux 5.11 or 6.6 (x86_64)
Oracle Database (x86_64) (11.2.0.3, 11.2.0.4 or 12.1.0.2)
Enterprise Manager Cloud Control 12c Release 4 (12.1.0.5) (x86_64)
12.1.0.2 DB Template for EM 12.1.0.5 on Linux x86-64

◉ OS Installation


Install Oracle Linux (OL) in the same way you would for a regular Oracle Database installation. You can see examples of this type of installation below. Remember to check database installation article (listed below) for the specific package group selection.

Oracle Linux 5.x Installation
Oracle Linux 6.x Installation

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

◉ Database Installation (Software-Only)


For this installation I'm using 12.1.0.2 for the repository database, so use the installation instructions from one of the following articles.

Oracle Database 12c Release 1 (12.1) Installation On Oracle Linux 5
Oracle Database 12c Release 1 (12.1) Installation On Oracle Linux 6

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.

# OL5 and OL6
yum install make -y
yum install binutils -y
yum install gcc -y
yum install libaio -y
yum install glibc-common -y
yum install libstdc++ -y
yum install libXtst -y
yum install sysstat -y
yum install glibc-devel -y

# OL6 Only
yum install glibc-devel.i686 -y

# OL5 Only
yum install glibc-devel.i386 -y
yum install setarch -y
yum install rng-utils -y
yum install xorg-x11-utils -y
The database software installation is now complete.

◉ Repository Database Creation Using Template


Unzip the repository template under the ORACLE_HOME.

$ cd $ORACLE_HOME/assistants/dbca/templates
$ unzip /tmp/12.1.0.2.0_Database_Template_for_EM12_1_0_5_0_Linux_x64.zip

Start the Database Configuration Assistant (DBCA) and create a new database using the template.

$ dbca

Select the "Create Database" option and click the "Next" button.

Oracle Database Tutorials and Materials, Oracle Database Certifications, Oracle Database Guides

Select the "Advanced Mode" option and click the "Next" button.

Oracle Database Tutorials and Materials, Oracle Database Certifications, Oracle Database Guides

Select the template for the appropriate size of EM installation you need. In this case I've used the small option. Click the "Next" button.

Oracle Database Tutorials and Materials, Oracle Database Certifications, Oracle Database Guides

Enter the Global Database Name and SID, then click the "Next" button.

Oracle Database Tutorials and Materials, Oracle Database Certifications, Oracle Database Guides

Make sure both the "Configure Enterprise Manager (EM) Database Express" and "Register with Enterprise Manager (EM) Cloud Control" options are unchecked, then click the "Next" button.

Oracle Database Tutorials and Materials, Oracle Database Certifications, Oracle Database Guides

Enter the database credentials, then click the "Next" button.

Oracle Database Tutorials and Materials, Oracle Database Certifications, Oracle Database Guides

Enter the listener details and click the the "Next" button.

Oracle Database Tutorials and Materials, Oracle Database Certifications, Oracle Database Guides

Choose the preferred location for the database files, then click the "Next" button.

Oracle Database Tutorials and Materials, Oracle Database Certifications, Oracle Database Guides

Accept the default settings and click on the "Next" button.

Oracle Database Tutorials and Materials, Oracle Database Certifications, Oracle Database Guides

Amend the memory settings as desired, click on the "Character Sets" tab and select the "AL32UTF8" option and click the "Next" button. In this case I'm accepting the memory defaults.

Oracle Database Tutorials and Materials, Oracle Database Certifications, Oracle Database Guides

Click the "Next" button to create the database.

Oracle Database Tutorials and Materials, Oracle Database Certifications, Oracle Database Guides

If you are happy with the summary information, click the "Finish" button.

Oracle Database Tutorials and Materials, Oracle Database Certifications, Oracle Database Guides

Wait while the database is created.

Oracle Database Tutorials and Materials, Oracle Database Certifications, Oracle Database Guides

Once the database creation is complete, click the "Close" button.

Oracle Database Tutorials and Materials, Oracle Database Certifications, Oracle Database Guides