13C OEM Implementation
13C OEM Implementation
Release 1.
Oracle Enterprise Manager is a central management & monitoring solution for all Oracle products.
OEM is capable of monitoring many third party products as well and capable of sending alerts &
notifications based on the rules set by the administrators.
I have already built my Oracle Linux 6.7 64 Bit VMware with Oracle Database 12c pre-installed and
I will not be covering DB installation part here.
make-3.81
binutils-2.20
gcc-4.4.4
libaio-0.3.107
glibc-common-2.12-1.7
libstdc++-4.4.4
sysstat-9.0.4
Package Search & Installation
To check if the package is installed on the Oracle linux server, execute below command
1 kernel.shmmax = 4294967295
If OMS and Database are on same host, no special requirement for OMS and DB parameter
will take precedence.
Add / change below line in /etc/sysctl.conf to set local port range to 11000 – 65000
SQL>
SQL> show parameter shared_pool_size
System altered.
1 groupadd oinstall
Database Requirement
The template includes all the relevant database settings, but make sure the character
set is selected using the creation, as described below.
$ cd $ORACLE_HOME/assistants/dbca/templates
$ unzip /tmp/12.1.0.2.0_Database_Template_for_EM13_1_0_0_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.
Select the "Advanced Mode" option and click the "Next" button.
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.
Enter the Global Database Name and SID, then click the "Next" button.
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.
Enter the database credentials, then click the "Next" button.
Enter the listener details and click the the "Next" button.
Choose the preferred location for the database files, then click the "Next" button.
Accept the default settings and click on the "Next" button.
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.
Click the "Next" button to create the database.
If you are happy with the summary information, click the "Finish" button.
Wait while the database is created.
Once the database creation is complete, click the "Close" button.
1 mkdir -p /u01/app/oracle/product/bip/config
2 mkdir -p /u01/app/oracle/product/bip/cluster
OEM Installation & Configuration
OEM Cloud Control 13c Installation files
o em13100_linux64.bin (802 MB)
o em13100_linux64-2.zip (1.22 GB)
o em13100_linux64-3.zip (1.99 GB)
o em13100_linux64-4.zip (1.99 GB)
o em13100_linux64-5.zip (316 MB)
It is not required to unzip the installation software. Provide execute permissions to oracle on
.bin file
1 ./em13100_linux64.bin
Uncheck Security Updates & click Next
patient
Once configuration is complete, execute below script as root
1 /u01/app/oracle/product/oemfmw_13c/allroot.sh
Sample output
Important Ports
Enterprise Manager Upload HTTP Port : 4889
Enterprise Manager Upload HTTP SSL Port : 4903
OHS HTTP Port : 9788
OHS HTTP SSL Port : 9851
BI Publisher HTTP Port : 9701
Enterprise Manager Central Console HTTP SSL Port : 7802
Enterprise Manager Central Console HTTP Port : 7788
Node Manager HTTP SSL Port : 7403
BI Publisher HTTP SSL Port : 9803
Managed Server HTTP Port : 7202
Managed Server HTTP SSL Port : 7301
Oracle Management Agent Port : 3872
Admin Server HTTP SSL Port : 7102
Important URLs
Enterprise Manager Cloud Control URL : https://oraclelinux6.localdomain:7802/em
Admin Server URL : https://oraclelinux6.localdomain:7102/console
BI Publisher URL : https://oraclelinux6.localdomain:9803/xmlpserver
Startup/Shutdown
Cloud Control is set to auto-start using the "gcstartup" service. The "/etc/oragchomelist"
file contains the items that will be started by the system.
/u01/app/oracle/middleware
/u01/app/oracle/agent/agent_13.1.0.0.0:/u01/app/oracle/agent/agent_inst
On a simple installation the default auto-start will cause a problem as Cloud Control will
attempt to start before the database has started. The service can be disabled by
commenting out (using #) all the contents of the "/etc/oragchomelist" file to prevent the
auto-start and use start/stop scripts described below.
If the start/stop needs to be automated, you can do it in the usual way using Linux
service that calls your start/stop scripts that include the database management.
Use the following commands to turn on all components installed by this article.
#!/bin/bash
export ORACLE_HOME=/u01/app/oracle/product/12.1.0.2/db_1
export OMS_HOME=/u01/app/oracle/middleware
export AGENT_HOME=/u01/app/oracle/agent/agent_13.1.0.0.0
# Start everything
$ORACLE_HOME/bin/dbstart $ORACLE_HOME
Use the following commands to turn off all components installed by this article.
#!/bin/bash
export ORACLE_HOME=/u01/app/oracle/product/12.1.0.2/db_1
export OMS_HOME=/u01/app/oracle/middleware
export AGENT_HOME=/u01/app/oracle/agent/agent_13.1.0.0.0
# Stop everything
$OMS_HOME/bin/emctl stop oms -all
$ORACLE_HOME/bin/dbshut $ORACLE_HOME
http://dbaocm.blogspot.co.uk/2015/12/oracle-enterprise-manager-13c-r1.html
http://dbakevlar.com/2016/01/installing-a-new-enterprise-manager-13c-environment/
Due insufficient memory (SGA) there was a concurrency on database for a small
interval of time and same has been updated to Shaun. Once we will have a down time
for CRPRD database we address this issue.
On Microsoft Windows:
netstat -an|findstr <port_no>
To invoke the installation wizard on UNIX platforms, run
em13100_<platform>.bin. To invoke on Microsoft Windows
platforms, run setup_em_win64.exe.
■The installer requires about 10 GB of hard disk space in the
temporary directory. If your temporary directory does not have this
space, then pass the -J-Djava.io.tmpdir parameter and
provide an alternative directory where there is 10 GB of space.
The directory specified by this parameter will also be used as
the location for the Provisioning Advisor Framework (PAF) staging
directory, which is used for copying the Software Library entities
related to the deployment procedures. The PAF staging directory is
used only for provisioning activities — entities are copied for a
deployment procedure, and then, deleted once the deployment
procedure ends.
For example,
./em13100_linux64.bin -J-
Djava.io.tmpdir=/u01/software/em13c/stage/
■Ensure that there are no white spaces in the name of the directory
where you download and run the Enterprise Manager Cloud
Control software from. For example, do not download and run the
software from a directory titled EM Software because there is a