OEM 12c (Cloud Control) installation on Linux
In this article, I’d like to demonstrate how to installing OEM 12c Release 4 on a linux machine. In the upcoming posts, I’d demonstrate on upgrading this OEM 12c to 13c.
OS : OEL 6 OEM 12c Software : 12c Release 4 (126.96.36.199) Repository Database version : 188.8.131.52 Repositry Database Name : omsdb Hostname : ora1-2
This article assumes that oracle 184.108.40.206 binary is pre installed on the server and that the repository database “omsdb” is created on it. Do not have the Enterprise Manager DB control configured for this database. If already configured, then have it removed using the “emca” utility with “-deconfig” option.
Download the OEM 12c Release 4 software from here http://www.oracle.com/technetwork/oem/grid-control/downloads/index.html The software consists of 3 disks.
Unzip all the 3 disks into a single directory. Here, I have unzipped them into “/u03/oem12c” directory.
[oracle@ora1-2 ~]$ cd /u03/ [oracle@ora1-2 u03]$ ls -lrt total 6647416 drwxrwxrwx. 2 oracle oinstall 16384 Feb 26 16:14 lost+found -rw-r--r--. 1 oracle oinstall 2195693096 Mar 25 14:22 em12104_linux64_disk1.zip -rw-r--r--. 1 oracle oinstall 1877449643 Mar 25 14:26 em12104_linux64_disk2.zip -rw-r--r--. 1 oracle oinstall 2727123784 Mar 25 14:31 em12104_linux64_disk3.zip drwxr-xr-x. 11 oracle oinstall 4096 Mar 25 14:46 oem12c [oracle@ora1-2 u03]$ cd oem12c [oracle@ora1-2 oem12c]$ ls -lrt total 1496020 -rwxr-xr-x. 1 oracle oinstall 5375 Dec 26 2013 runInstaller drwxr-xr-x. 4 oracle oinstall 4096 Jan 15 2014 bipruntime -rwxr-xr-x. 1 oracle oinstall 1530333315 May 24 2014 WT.zip drwxr-xr-x. 4 oracle oinstall 4096 May 24 2014 oms drwxr-xr-x. 4 oracle oinstall 4096 May 24 2014 jdk drwxrwxr-x. 2 oracle oinstall 4096 May 24 2014 response drwxrwxr-x. 2 oracle oinstall 4096 May 24 2014 wls drwxr-xr-x. 7 oracle oinstall 4096 May 24 2014 install drwxrwxr-x. 4 oracle oinstall 4096 May 24 2014 libskgxn drwxr-xr-x. 9 oracle oinstall 4096 May 24 2014 stage drwxr-xr-x. 2 oracle oinstall 4096 May 24 2014 plugins -rw-r--r--. 1 oracle oinstall 42623 May 26 2014 release_notes.pdf
Create the required directories for the OMS and the agent installation.
[oracle@ora1-2 ~]$ cd /u01/app/oracle/ [oracle@ora1-2 oracle]$ ls -lrt total 28 drwxr-xr-x. 2 oracle oinstall 4096 Mar 25 13:32 Clusterware drwxr-xr-x. 3 oracle oinstall 4096 Mar 25 13:32 ora1-2 drwxr-xr-x. 3 oracle oinstall 4096 Mar 25 13:40 product drwxrwxr-x. 11 oracle oinstall 4096 Mar 25 13:54 diag drwxr-x---. 4 oracle oinstall 4096 Mar 25 13:57 admin drwxr-xr-x. 7 oracle oinstall 4096 Mar 25 14:07 cfgtoollogs drwxr-xr-x. 2 oracle oinstall 4096 Mar 25 14:12 checkpoints [oracle@ora1-2 oracle]$ [oracle@ora1-2 oracle]$ [oracle@ora1-2 oracle]$ mkdir oms12c [oracle@ora1-2 oracle]$ mkdir 12cagent
Start the installation by running the “runInstaller” script.
[oracle@ora1-2 oem12c]$ ./runInstaller
I wish to not receive any updates as this is my own test machine and hence I un-check the “I wish to receive security updates via My Oracle Support”
Select the “Skip” option.
Run the “Prerequisite” checks in the next step. Look out for the Status section to know if the respective check Succeeded or Failed.
Select the “Create a new Enterprise Manager System” option with “Simple”. You can choose the Advanced option for more options.
Provide the Middleware Home Location (OMS Home), Agent Base Directory Location and the Host names on which it has to be installed.
Provide the configuration details such as “Administrative Password”, OMS repository database details such as host name of the OMS repository database, the Port number on which the listener on this host servicing OMS repository database is listening to and the SYS password.
You can opt the “Configure Oracle Software Library” if planning to have a multi-OMS setup, else you may skip this.
There would be some pre-requisite checks performed on the repository database and would be reported if any violations. If there are any other recommendations with changing of the repository database parameters, then necessary actions need to be taken upon accordingly.
Review the summary.
If all perfect, then proceed with the Install option.
Run the script “allroot.sh” as ROOT user when prompted.
[root@ora1-2 ~]# /u01/app/oracle/oms12c/oms/allroot.sh Starting to execute allroot.sh ......... Starting to execute /u01/app/oracle/oms12c/oms/root.sh ...... Running Oracle 11g root.sh script... The following environment variables are set as: ORACLE_OWNER= oracle ORACLE_HOME= /u01/app/oracle/oms12c/oms Enter the full pathname of the local bin directory: [/usr/local/bin]: The file "dbhome" already exists in /usr/local/bin. Overwrite it? (y/n) [n]: The file "oraenv" already exists in /usr/local/bin. Overwrite it? (y/n) [n]: The file "coraenv" already exists in /usr/local/bin. Overwrite it? (y/n) [n]: 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 root.sh script. Now product-specific root actions will be performed. /etc exist Creating /etc/oragchomelist file... /u01/app/oracle/oms12c/oms Finished execution of /u01/app/oracle/oms12c/oms/root.sh ...... Starting to execute /u01/app/oracle/12cagent/core/220.127.116.11.0/root.sh ...... Finished product-specific root actions. /etc exist Finished execution of /u01/app/oracle/12cagent/core/18.104.22.168.0/root.sh ...... [root@ora1-2 ~]#
Review the final page consisting of the details of accessing the OEM 12c.
Login to the OEM 12c using the URL mentioned in the above page.
Accept the License Agreement.
The selected homepage (“Summary” page in my case) will be shown up.
© Shivananda Rao P, 2012 to 2017. Unauthorized use and/or duplication of this material without express and written permission from this blog’s author and/or owner is strictly prohibited. Excerpts and links may be used, provided that full and clear credit is given to Shivananda Rao and http://www.shivanandarao-oracle.com with appropriate and specific direction to the original content.
The views expressed here are my own and do not necessarily reflect the views of any other individual, business entity, or organization. The views expressed by visitors on this blog are theirs solely and may not reflect mine.