Oracle Enterprise Manager 12c Linux Installation Guide


Oracle Enterprise Manager 12c Installation and Design

Oracle Enterprise Manager 12c is a systems management framework consisting of an Oracle database, Oracle WebLogic, a J2EE application, an application development frame work 11g (ADF) administrative Web GUI, server and client side plug-ins, and a client side agent. In the context of Oracle Enterprise Manager, the Oracle database repository is named the “Oracle Management Repository” or “OMR”. 


 

 

 

Oracle Enterprise Manager 12c Inter Component Communication and Data Exchange

Oracle Enterprise Manager 12c Could Control, the Oracle Management Repository, the Oracle Management Service and the Oracle Management Agents and Plug-ins can be on different hosts throughout your enterprise. 


 

 

 

 

Oracle Enterprise Manager 12c Server Sizing

Oracle Enterprise Manager 12c server sizing is calculated by a) total number of managed agents and targets, b) the future growth of your Oracle Enterprise Manager environment and c) your organization's high availability requirements.


 

 

 

 

Oracle Enterprise Manager 12c Linux Operating System Installation Prerequisites

Oracle recommends installing Enterprise Linux using the default software package selections without any customization. Using the default software packages without customizations includes most of the prerequisite packages for Oracle Enterprise Manager 12c, and helps limit the number of manual prerequisites.  


 

 

 

 

Install the oracle-rdbms-server preinstall on Oracle Linux 6

The oracle-rdbms-server-11gR2-preinstall, and the oracle-rdbms-server-12cR1-preinstall (dependent on db version) RPM, formally know as oracle-validated, simplifies meeting the software and system configuration prerequisites for installing the Oracle Database, Oracle Enterprise Manager, and many other Oracle technology products on Oracle Linux 6.


 

 

 

 

Disable iptables

iptables is a userspace firewall application used to configure the Linux IPv4 and IPv6 packet filtering rulesets. iptables is installed and enabled by default on Oracle Linux with a default policy and ruleset in /etc/sysconfig/iptables. iptables rules can be configured at the command line as well as with the system setup utility, i.e. "/usr/bin/setup".


 

 

 

 

Disable SELinux

Security Enhanced Linux (SELinux) is a default Linux feature that offers mandatory access controls, using Linux kernel security modules (LSM) along with user-space tools. Starting with Oracle Database 11g Release 2 (11.2), Security Enhanced Linux is supported for Oracle Linux 4, Red Hat Enterprise Linux 4, Oracle Linux 5, and Red Hat Enterprise Linux 5. Security Enhanced Linux is not supported for the Oracle Enterprise Manager 12c Oracle Management Service.


 

 

 

Configure the /etc/hosts File

Oracle technology products, including Oracle Enterprise Manager, rely on a properly formatted /etc/hosts file which allows the host to be pingable, with long and short host names. The host name in the /etc/hosts file must be associated with the server's public IP address.
 
The next example shows the proper syntax from a /etc/hosts file. Note that the localhost entries are one one line, and the IP address with the long and short names are on the next line.


 

 

 

Configure SSH and X11 Forwarding

Installing the Oracle Enterprise Manager 12c components using the Oracle Universal Installer (OUI) GUI requires local or remote access to the server' console or a remote X Windows (X11) session. Please note that the only software requirements on the Linux Oracle Enterprise Manager host for remote X Windows (X11) sessions is the xauth RPM package. 


 

 

 

 

Configure the ulimit /etc/security/limits.conf Values

One of the Oracle Enterprise Manager 12c OMS installation prerequisites is to increase the number of file descriptors to at least 4096.
 
As root, edit the /etc/security/limits.conf file and add the following two entries:
<UID> soft nofile 4096
<UID> hard nofile 4096


 

 

 

 

Oracle Database 12c Release 1 Enterprise Edition (12.1.0.1.0) Installation

Before starting the Oracle Database installation, ensure you sshed in to the Database host as the installing user, i.e. oracle, or the graphic installer may not work and give a prerequisite error for display export.

$ cd /u01/stage/db12c/database
$ ./runInstaller
Starting Oracle Universal Installer...


 

 

 

Download and Stage the Database Software

Download the desired Oracle Database 12c software from OTN: http://www.oracle.com/technetwork/database/enterprise-edition/downloads/index.html
 
Next, as the installing user, create a directory to stage the software.
$ mkdir -p /u01/stage/db12c

 


 

 

 

Create the Required Directories using the Optimal Flexible Architecture (OFA) Standard 

The Optimal Flexible Architecture (OFA) standard is a set of file naming recommendations for managing Oracle installations. The Optimal Flexible Architecture standard offers mount point, directory, and file-naming conventions that work with the Oracle Universal Installer. The Optimal Flexible Architecture includes where to install each part of each Oracle product including the storage of the applications and the data.


 

 

 

 

Configure the ulimit, /etc/security/limits.conf and /etc/security/limits.d/oracle-rdbms-server-12cR1-preinstall.conf Values

One of the Oracle Enterprise Manager 12c installation prerequisites is to increase the number of file descriptors to at least 4096. As root, edit the /etc/security/limits.conf file and add the following two entries:
<UID> soft nofile 4096
<UID> hard nofile 4096


 

 

 

As the Installing User, Setup ~/.bash_profile

Add the following Oracle variables in the installing user's .bash_profile file as a reference point for your 12c environment. 

Add the following to the end of the installing user's ~/.bash_profile file.

Note: Confirm the variable setting for your enviroment. For example, the confirm the bold section above, i.e. paths, the SID, and the unqname.


 

 

 

Oracle Database 12c Release 1 Enterprise Edition (12.1.0.1.0) Installation

Before starting the Oracle Database installation, ensure you sshed in to the Database host as the installing user, i.e. oracle, or the graphic installer may not work and give a prerequisite error for display export.

$ cd /u01/stage/db12c/database
$ ./runInstaller
Starting Oracle Universal Installer...


 

 

Post Installation Steps

Edit the /etc/oratab file and set restart flag to 'Y.
Change:
omr:/u01/app/oracle/product/12.1.0/dbhome_1:N
To:
omr:/u01/app/oracle/product/12.1.0/dbhome_1:Y
 
Next, create a directory for Oracle Database redo logs:
$ mkdir /u01/app/oracle/product/redo_logs/


 

 

Oracle Enterprise Manager 12c R4 and R5 Installation

This section walks through an Advanced installation of the Oracle Enterprise Manager 12c Release 4 (12.1.0.4) Oracle Management Service and the Oracle Management Agent using the Oracle Universal Installer (OUI) on Oracle Linux 6U5.