You are here

Oracle Enterprise Manager 12c R4 and R5 Installation

Oracle Enterprise Manager 12c R4 and R5 Installation

This section walks through an Advanced installation of the Oracle Enterprise Manager 12c Release 4 ( Oracle Management Service and the Oracle Management Agent using the Oracle Universal Installer (OUI) on Oracle Linux 6U5.
Before starting the installation, confirm the RPM prerequisite packages. As root type:
$ yum list make binutils gcc libaio glib-common libstdc++ libXtst systat glibc-devel glibc libaio glibc-devel.i686
Loaded plugins: security
public_ol6_UEKR3_latest | 1.2 kB 00:00
public_ol6_UEKR3_latest/primary | 5.8 MB 00:04
public_ol6_UEKR3_latest 171/171
public_ol6_latest | 1.4 kB 00:00
public_ol6_latest/primary | 39 MB 00:32
public_ol6_latest 25511/25511
Installed Packages
binutils.x86_64 @anaconda-OracleLinuxServer-201302251503.x86_64/6.4
gcc.x86_64 4.4.7-4.el6 @ol6_latest
glibc.x86_64 2.12-1.132.el6_5.2 @ol6_latest
glibc-devel.x86_64 2.12-1.132.el6_5.2 @ol6_latest
libXtst.x86_64 1.2.1-2.el6 @anaconda-OracleLinuxServer-201302251503.x86_64/6.4
libaio.x86_64 0.3.107-10.el6 @anaconda-OracleLinuxServer-201302251503.x86_64/6.4
libstdc++.x86_64 4.4.7-4.el6 @ol6_latest
make.x86_64 1:3.81-20.el6 @anaconda-OracleLinuxServer-201302251503.x86_64/6.4
Available Packages
glibc.i686 2.12-1.132.el6_5.2 public_ol6_latest
glibc-devel.i686 2.12-1.132.el6_5.2 public_ol6_latest
libXtst.i686 1.2.1-2.el6 public_ol6_latest
libaio.i686 0.3.107-10.el6 public_ol6_latest
libstdc++.i686 4.4.7-4.el6 public_ol6_latest
Install the necessary packages listed under Available Packages.
$ sudo yum install glibc.i686 glibc-devel.i686 libXtst.i686 libaio.i686 libstdc++.i686 -y
As the oracle user make em12104 directory in /u01/stage.
$ mkdir -p /u01/stage/em12104
Download and extract em12104_linux_x64 files to /u01/stage/em12104
$ cd /u01/stage/em12104
$ ll
-rwxrwxr-x 1 oracle oinstall 2195693096 Jun 16 17:49
-rwxrwxr-x 1 oracle oinstall 1877449643 Jun 16 17:50
-rwxrwxr-x 1 oracle oinstall 2727123784 Jun 16 17:51
$ unzip
Repeat unzip commands for disk2 and disk3.
As oracle user make directories for oms and agent installs.
$ mkdir -p /u01/app/oracle/product/MiddlewareR4
$ mkdir -p /u01/app/oracle/product/agentr4
As the installing user, run graphical installer to begin install.
$ cd /u01/stage/em12104
$ ./runInstaller
Starting Oracle Universal Installer...
Checking Temp space: must be greater than 400 MB. Actual 12133 MB Passed
Checking swap space: must be greater than 150 MB. Actual 14322 MB Passed
Checking monitor: must be configured to display at least 256 colors. Actual 16777216 Passed
Preparing to launch Oracle Universal Installer from /tmp/OraInstall2014-06-24_05-30-24AM. Please wait …
My Oracle Support Details screen
From the My Oracle Support Details screen to receive information from Oracle (optional), enter your email address and My Oracle Support password and click the Next button, or uncheck the I wish to receive security updates via My Oracle Support checkbox and click the Next button.
Figure 16
Oracle Enterprise Manager 12c Installation - Step 1 of 9
Software Updates screen
From the Software Updates screen select one of the following software update options, then click Next to proceed:
  • Skip
  • Search for Updates
    • Local Directory
    • My Oracle Support
  • My Oracle Support (Requires Internet Connection)
    • User Name
    • Password
    • Search for Updates
For this example we selected Skip. Click the Next button to proceed
Figure 17
Oracle Enterprise Manager 12c Installation - Step 2 of 9
Prerequisite Checks screen
From the Prerequisite Checks screen the installer checks the system prerequisites. Failed steps can be fixed and be retested or just ignored.
The Prerequisite Checks screen shows if the minimum system requirements to perform the installation are met.
  • Click Rerun if you fixed the problems and you would like to verify the system requirements again.
  • Click Ignore to ignore the problems and move forward with the database installation.
Click the Next button to proceed.
Figure 18
Oracle Enterprise Manager 12c Installation - Step 3 of 9
Installation Types screen
From the Installation Types screen select Advanced under Create a new Enterprise Manager System. Click the Next button to proceed.
Figure 19
Oracle Enterprise Manager 12c Installation - Step 4 of 13
Installation Details screen
The Installation Details screen should autopopulate, if it does not, enter the following details:
Use the Browse button to select or type in the Middleware Home Location path.
Use the Browse button to select or type in the Agent Base directory path.
The Host Name should auto-populate. If the hostname does not auto-populate, enter the fully qualified domain name (FQDN) of the host.
Click the Next button to proceed.
Figure 20
Oracle Enterprise Manager 12c Installation - Step 5 of 13
Select Plug-ins screen
From the Select Plug-ins screen select the desired Plug-ins. Accept the defaults, and to support subsequent chapters of the Oracle Cloud Cookbook, please select Oracle Cloud Application, Oracle Consolidation Planning and Chargeback and Oracle Virtualization. Click the Nextbutton to proceed.
Figure 21
Oracle Enterprise Manager 12c Installation - Step 6 of 13
WebLogic Server Configuration Details screen
From the WebLogic Server Configuration Details screen enter the WebLogic User Name and Password for the GCDomain and the Node Manager Password. The OMS Instance Base Location should auto-populate. Click the Next button to proceed.
Tip: The WebLogic and Node Manager passwords can not start with a number.
Figure 22
Oracle Enterprise Manager 12c Installation - Step 7 of 13
Database Connection Details screen
From the Database Connection Details screen enter the Database Host Name, the Database Port number, the Database Service/SID, the Database SYS Password and the Deployment Size. Click the Next button to proceed.
The OEM Deployment sizes are as follows:    
  •     Small        < 100 agents < 1000 targets
  •     Medium     < 1000 agents < 10,000 targets
  •     Large        > 1000 agents > 10,000 targets
Click the Next button to proceed.
Figure 23
Oracle Enterprise Manager 12c Installation - Step 8 of 13
Enterprise Manager Configuration Details screen
From the Enterprise Manager Configuration Details screen enter the SYSMAN Password and the OMA Agent Registration Password. Accept the defaults for the Management Tablespace, Configuration Data Tablespace and the IVM Diagnostics Data Tablespace. Click the Next button to proceed.
Figure 24
Oracle Enterprise Manager 12c Installation - Step 9 of 13
Port Configuration Details screen
From the Port Configuration Details screen accept the defaults. Click the Next button to proceed.
Figure 25
Oracle Enterprise Manager 12c Installation - Step 10 of 13
Review screen
From the Review screen review the installation setting and continue if correct. Click the Install button to proceed with installation.
Figure 26
Oracle Enterprise Manager 12c Installation - Step 11 of 13
Installation Progress Details screen
From the Installation Progress Details screen you can monitor the progress of the installation until user input is required.
Figure 27
Oracle Enterprise Manager 12c Installation - Step 12 of 13
Execute Configuration scripts screen
Wehn presented with the Execute Configuration scripts screen, as shown in Figure 28, as the root user, run the script. 
Execute Configuration scripts
# /u01/app/oracle/product/MiddlewareR4/oms/
Starting to execute .........
Starting to execute /u01/app/oracle/product/MiddlewareR4/oms/ ......
Running Oracle 11g script...
The following environment variables are set as:
ORACLE_HOME= /u01/app/oracle/product/MiddlewareR4/oms
Enter the full pathname of the local bin directory: [/usr/local/bin]:
Copying dbhome to /usr/local/bin ...
Copying oraenv to /usr/local/bin ...
Copying coraenv to /usr/local/bin ...
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 script.
Now product-specific root actions will be performed.
/etc exist
Creating /etc/oragchomelist file...
Finished execution of /u01/app/oracle/product/MiddlewareR4/oms/ ......
Starting to execute /u01/app/oracle/product/agentr4/core/ ......
Finished product-specific root actions.
Finished execution of /u01/app/oracle/product/agentr4/core/ ......
Finish screen
From the Finish screen your presented with the location of the setupinfo.txt file and the URLs for Oracle Enterprise Manager Cloud Control and the WebLogic Admin server. Click the Close button to close the installation program
Note: The details from the Finish screen are also available in the file setupinfo.txt file.

Figure 29
Oracle Enterprise Manager 12c Installation - Step 13 of 13
The following is an example of the setupinfo.txt file from this install.
$ cat /u01/app/oracle/product/MiddlewareR4/oms/install/setupinfo.txt
This information is also available at:
See below for information pertaining to your Enterprise Manager installation:
Use the following URL to access:
    1. Enterprise Manager Cloud Control URL:
The following details need to be provided during the additional OMS install:
    1. Admin Server Hostname:
    2. Admin Server Port: 7102
You can find the details on ports used by this deployment at : /u01/app/oracle/product/MiddlewareR4/oms/install/portlist.ini
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.
A backup of the OMS configuration is available in /u01/app/oracle/product/gc_inst/em/EMGC_OMS1/sysman/backup on host See Cloud Control Administrators Guide for details on how to back up and recover an OMS.
NOTE: This backup is valid only for the initial OMS configuration. For example, it will not reflect plug-ins installed later, topology changes like the addition of a load balancer, or changes to other properties made using emctl or emcli. Backups should be created on a regular basis to ensure they capture the current OMS configuration. Use the following command to backup the OMS configuration:
/u01/app/oracle/product/MiddlewareR4/oms/bin/emctl exportconfig oms -dir <backup dir>
The installation is now complete and ready for login

Document Created: 12/02/11
Last Update: 09/10/15

Copyright © 2016 Mokum Solutions, Inc. All rights reserved.
Distribution of the Oracle Cloud Cookbook or derivative of the work in any form is prohibited unless prior permission is obtained from the copyright holder.

Download PDF Now!