Sunday, November 18, 2018

Installing OEM 13c and deployment of targets on Oracle Enterprise Linux


This is a step by step document of installing OEM 13c Release 2 and how to deploy targets in Linux environment.

Note:Oracle Database 12.1.0.2 is already installed, the steps for which are not covered here.



Download OEM 13c from edelivery website https://edelivery.oracle.com






Unzip the files.



[oracle@oem13c oem_binaries]$ chmod u+x em13200_linux64.bin



[oracle@oem13c oem_binaries]$ ./em13200_linux64.bin
** The directory "/tmp" does not have enough space. At least 10241 MB of free space are required.
Please input another directory or [Exit]: /u01/oem/oracle/tmp
0%................................................................./u01/oem/oracle/tmp/sfx_jhKt1s/Disk5/stage/Components/

....100%
Launcher log file is /u01/oem/oracle/tmp/OraInstall2018-09-20_09-30-47PM/launcher2018-09-20_09-30-47PM.log.
Starting Oracle Universal Installer

Checking if CPU speed is above 300 MHz.   Actual 2266.441 MHz    Passed
Checking monitor: must be configured to display at least 256 colors.   Actual 16777216    Passed
Checking swap space: must be greater than 512 MB.   Actual 8799 MB    Passed
Checking if this platform requires a 64-bit JVM.   Actual 64    Passed (64-bit not required)


Preparing to launch the Oracle Universal Installer from /u01/oem/oracle/tmp/OraInstall2018-09-20_09-30-47PM
====Prereq Config Location main===
/u01/oem/oracle/tmp/OraInstall2018-09-20_09-30-47PM/stage/prereq
EMGCInstaller args -scratchPath
EMGCInstaller args /u01/oem/oracle/tmp/OraInstall2018-09-20_09-30-47PM
EMGCInstaller args -sourceType
EMGCInstaller args network
EMGCInstaller args -timestamp
EMGCInstaller args 2018-09-20_09-30-47PM
EMGCInstaller args -paramFile
EMGCInstaller args /u01/oem/oracle/tmp/sfx_jhKt1s/Disk1/install/linux64/oraparam.ini
EMGCInstaller args -nocleanUpOnExit
DiskLoc inside SourceLoc/u01/oem/oem_binaries
EMFileLoc:/u01/oem/oracle/tmp/OraInstall2018-09-20_09-30-47PM/oui/em/
ScratchPathValue :/u01/oem/oracle/tmp/OraInstall2018-09-20_09-30-47PM












[root@oem13c middleware]# pwd

/u01/oem/oracle/middleware
[root@oem13c middleware]# sh allroot.sh

Starting to execute allroot.sh .........

Starting to execute /u01/oem/oracle/middleware/root.sh ......
/etc exist

Creating /etc/oragchomelist file...
/u01/oem/oracle/middleware
Finished product-specific root actions.
/etc exist
Finished execution of  /u01/oem/oracle/middleware/root.sh ......


Starting to execute /u01/oem/oracle/agent/agent_13.2.0.0.0/root.sh ......
Finished product-specific root actions.
/etc exist
Finished execution of  /u01/oem/oracle/agent/agent_13.2.0.0.0/root.sh ......
[root@oem13c middleware]#




Login to the OEM url using sysman user






Create the env variable in the OMS host.

[oracle@oem13c oem]$ cat oem.env
export OMS_HOME=/u01/oem/oracle/middleware
export AGENT_HOME=/u01/oem/oracle/agent/agent_inst

[oracle@oem13c oem]$


 Next, we will push the agents to the respective hosts.



Click on "add target manually" as show above in the screenshot.

Next,



Click on install agent on host





Click on "+ Add" button and provide the required session name of your choice


Choose the host which should have the fully qualified name and the specific platform

Note: The host to be added should be reachable from OMS host. Thus before proceeding, check if  you are able to do a telnet

telnet oem13c.localdomain 3872--check if the client server is able to telnet to the oms server
Trying 192.168.56.6...
Connected to oem13c.localdomain (192.168.56.6).
Escape character is '^]'.
^CConnection closed by foreign host.
















Once the deployment completes, we will be able to see the added host.




Till now, only the host monitoring has been enabled. OEM gives the advantage of adding the different types of targets for monitoring. Here, we have shown only the database monitoring part. 


Click on Add using guided process




Choose the respective host



provide the dbsnmp credentials













As we can see now that database is now available





For adding Oracle E-Business Suite as the target, we need to install the AMP plugins first, for which we need to follow the note:


This concludes installing OEM 13c and deploying targets in OEM. In the further posts, i will cover how to create metrics extensions and how to create incident rules in OEM 13c.



Hope, this post will help someone.