This is a step-by-step procedure to install the latest available release of the Oracle Enterprise Manager 13c (13.2) on Linux 64-bit.
The main installation steps are:
1- Install Oracle Database 12c (220.127.116.11) binaries.
2- Create database using a ready template (to hold the EM’s repository objects).
3- Install the Oracle EM CC 18.104.22.168
So, let us start.
00 -Software to be downloaded:
1- Oracle Enterprise Manager Cloud Control 13c Release 2 (22.214.171.124) from:
2- Database Template (with EM 126.96.36.199 repository pre-configured) for Installing Oracle Enterprise Manager Cloud Control 13c Release 2 (188.8.131.52) from:
3- Oracle Database 12c Release 1 (184.108.40.206.0) Enterprise Edition from:
1- Oracle Database 12c (220.127.116.11) Installation
I was lucky to have a server with 256 GB ram and 24 core (48 threads), but at least you should have about 24-32GB ram + 80 GB disk.
O.S is Redhat Linux 6.8
Make a staging area for the database software: /software/DB Unzip the database software
127.0.0.1 localhost localhost.localdomain xxx.xxx.xxx.xxx yourHostName yourHostName.yourDomain
Oracle Installation Prerequisites
You may use the Oracle provided package to do that ( if your server has internet connection)
# yum install oracle-rdbms-server-12cR1-preinstall –y
Or you may check the prerequisites manually as follows:
Add or amend the following lines in the “/etc/sysctl.conf” file.
fs.file-max = 6815744
kernel.sem = 250 32000 100 128
kernel.shmmni = 4096
kernel.shmall = 1073741824
kernel.shmmax = 4398046511104
net.core.rmem_default = 262144
net.core.rmem_max = 4194304
net.core.wmem_default = 262144
net.core.wmem_max = 1048576
fs.aio-max-nr = 1048576
net.ipv4.ip_local_port_range = 9000 65000
Then you may reboot the server or just reload the kernel using: /sbin/sysctl –p
Add the following lines to the “/etc/security/limits.conf” file.
oracle soft nofile 1024 oracle hard nofile 65536 oracle soft nproc 16384 oracle hard nproc 16384 oracle soft stack 10240 oracle hard stack 32768
Install the following packages if they are not already present:
yum install binutils -y yum install compat-libcap1 –y # needed only with Linux 6 yum install compat-libstdc++-33 -y yum install compat-libstdc++-33.i686 -y yum install gcc -y yum install gcc-c++ -y yum install glibc -y yum install glibc.i686 -y yum install glibc-devel -y yum install glibc-devel.i686 -y yum install ksh -y yum install libgcc -y yum install libgcc.i686 -y yum install libstdc++ -y yum install libstdc++.i686 -y yum install libstdc++-devel -y yum install libstdc++-devel.i686 -y yum install libaio -y yum install libaio.i686 -y yum install libaio-devel -y yum install libaio-devel.i686 -y yum install libXext -y yum install libXext.i686 -y yum install libXtst -y yum install libXtst.i686 -y yum install libX11 -y yum install libX11.i686 -y yum install libXau -y yum install libXau.i686 -y yum install libxcb -y yum install libxcb.i686 -y yum install libXi -y yum install libXi.i686 -y yum install make -y yum install sysstat -y yum install unixODBC -y yum install unixODBC-devel –y yum install zlib-devel –y #Linux 7 yum install zlib-devel.i686 –y #Linux 7
or you may install them using rpm: # rpm –ivh libX11
Users & Groups:
Create the new groups and users.
groupadd -g 1001 oinstall groupadd -g 1002 dba groupadd -g 1003 oper useradd -u 1001 -g oinstall -G dba,oper oracle
[For Linux 6] Amend the “/etc/security/limits.d/90-nproc.conf” file as described below. See MOS Note [ID 1487773.1]
# Change From * soft nproc 1024 # To: * - nproc 16384
Set secure Linux to permissive by editing the “/etc/selinux/config” file as follows.
Once the change is complete, restart the server or run the following command.
# setenforce Permissive
If you have the Linux firewall enabled, you will need to disable.
For Linux 6: # service iptables stop # chkconfig iptables off
For Linux 7: # systemctl stop firewalld # systemctl disable firewalld
Create the directories in which the Oracle software will be installed:
mkdir -p /u01/app/oracle/product/18.104.22.168/db_1 chown -R oracle:oinstall /u01 chmod -R 775 /u01
Unless you are working from the console, or using SSH tunnelling, login as root and issue the following command:
Add the following lines at the end of the “/home/oracle/.bash_profile” file:
# Oracle Settings
export ORACLE_SID= emccdb
Oracle 22.214.171.124 Binaries Installation:
Log into the oracle user. If you are using X emulation then set the DISPLAY environmental variable: DISPLAY=<machine-name>:0.0; export DISPLAY Start the Oracle Universal Installer (OUI) by issuing the following command in the database directory: ./runInstaller
2- Repository Database Creation Using Template
The database template that you downloaded earlier at step “00” includes all the relevant database settings, but make sure that character set is selected during the creation is “AL32UTF8”. Unzip the repository template under the ORACLE_HOME. cd $ORACLE_HOME/assistants/dbca/templates unzip /tmp/126.96.36.199.0_Database_Template_with_cdbpdb_for_EM13_2_0_0_0_Linux_x64.zip As oracle user, start the Database Configuration Assistant (DBCA) and create a new database using the template: dbca
You may deselect listener creation at this step and create it manually after that (as I received error due to that)
[Optional] Edit the contents of the “/etc/oratab” file, making sure the database can be started and stopped using the dbstart and dbshut commands:
3- EM Cloud Control 13c (188.8.131.52) Installation
You don’t need to unzip the EM13c software files, the installer will do that for you, but ensure you have enough space at /tmp (about 10GB)
Make the following directories to hold the management server and agent. There are some restrictions on the possible path lengths, so don’t make the directory structure too deep, especially for Windows installations:
mkdir -p /u01/app/oracle/middleware mkdir -p /u01/app/oracle/agent Start the installation by running the "em13200_linux64.bin" file.
chmod u+x em13200_linux64.bin ./em13200_linux64.bin
I changed the value of the above kernel parameter from 65500 to 65000 and continued.
Now, you can run the EM CC and navigate around successfully:
Also, in this release you will find many plugins installed by default (including Exadata plugin):
In the coming blog, I’ll explain how we can discover one Exadata machine, stay tuned !