Enterprise Manager 12c – Agent deployment

Oracle Enterprise Manager 12c has been released about two weeks ago now, and I have had the joy to be playing around with it for a bit. One of the things that has surprised me a lot, is the ease of installation of EM12c. Other bloggers have covered this before, so I will not go into the installation here.

A feature that I would like to show is the ease of deploying the EM12c Agent to other servers. The EM12c Agent is a little program, installed on a separate server that hosts middleware, a database environment or other type of applications. This agent sends all relevant data back to EM12c which enables an administrator to keep an overview on the complete environment. In EM11g deployment of the agent was not that easy. However, Oracle have stepped it up in this release of EM12c, and the deploying of the Agent is now relatively simple.

This installation is based upon a Linux environment.
There are a few pre-requisites:

  • Personally, I like to use the hostname of servers, so I can identify them directly. To be able to do this, add an entry in /etc/hosts on the EM12c server, which contains the IP Address and hostname of the target-server, e.g.:
    192.168.100.10 Testmachine
  • Add the EM12c server to the /etc/hosts file of the target machine, e.g:
    192.168.100.2 EM12c
  • Make sure that your firewall is not blocking traffic over port 3872, otherwise you will not receive data from the Agent.
  • For “Full” Automatic setup:
    o Add the oracle user on the target server to the /etc/sudoers file.
    o Remove the requiretty option from the /etc/sudoers file
    o Make sure the visiblepw option is set in the /etc/sudoers file
    o Locate the sudo command, and write down the path somewhere. It is usually in /usr/bin, but can also be in /usr/local/bin.

First, login to EM12c:
01 EM Start 1024x583 Enterprise Manager 12c – Agent deployment

Go to Setup → Add Target → Add Targets Manually
02 EM Add Target 300x238 Enterprise Manager 12c – Agent deployment

Select Add Host Targets and click on Add Host …
03 EM Add Targ Manual 1024x583 Enterprise Manager 12c – Agent deployment

Enter a Session Name (or leave it at the default) and click on Add
04 EM Add Hosts 1 1024x583 Enterprise Manager 12c – Agent deployment

Enter the hostname or IP Address (it works with both) and select the relevant Platform. Click Next
05 EM Add Hosts 2 1024x583 Enterprise Manager 12c – Agent deployment

Enter the following details:
06 EM Inst Details 1 1024x583 Enterprise Manager 12c – Agent deployment

  • Installation Base Directory: e.g. /opt/oracle/emagent
  • Instance Directory, this is automatically filled, after filling the Installation Base Directory field.
  • Named Credential: I create a new one per host. Click on the + sign and enter the details, such as username and password, as relevant to your environment
  • 07 EM Inst Details 2 1024x553 Enterprise Manager 12c – Agent deployment

You should now have something like the following picture. Verify and click on Next
08 EM Inst Details 3 1024x553 Enterprise Manager 12c – Agent deployment

Review the installation details and click on Deploy Agent.
09 EM Review 1024x553 Enterprise Manager 12c – Agent deployment

Watch how the agent is being deployed:
10 EM Deployment Progress 1024x553 Enterprise Manager 12c – Agent deployment

Wait until deployment has completed, and click Done.
11 EM Done 1024x553 Enterprise Manager 12c – Agent deployment

Now you can start monitoring your host, or add other targets (Database, Middleware, etc) to EM12c
12 EM Monitor 1024x553 Enterprise Manager 12c – Agent deployment

Ben Hählen – Oracle Environment Specialist

About the author

5.thumbnail Enterprise Manager 12c – Agent deployment Léon Smiers works as a Solution Architect for Capgemini The Netherlands in the area of Oracle Technology and Architecture, where he is one of the leading Oracle specialists. He has done a lot of work and research in the field of Integration and new technologies, like RFID, SOA, EDA and BPM, on which he wrote articles and presented on international conferences. Currently Léon is setting up Solution Architectures for large Oracle based projects and is Oracle BPM Thought leader for Capgemini. Based upon his close cooperation with Oracle development and product management Léon was awarded with the Oracle ACE title in 2010. Léon is co-inventor of the Common Reference Architecture mode or CORA model, which helps in getting control over the IT landscape in a Hybrid environment and delivers a predictable, repeatable and risk-aware solution design (http://www.coramodel.com). Prior to Capgemini Léon worked for Ernst & Young Consulting, USoft, the City of Rotterdam and has over 20 years of experience in IT. Léon obtained his Master of Science in Astronomy at the Leiden University.




This entry was posted in Enterprise 2.0, How-to, SOA, Technical. Bookmark the permalink.

One Response to Enterprise Manager 12c – Agent deployment

  • Marcos Bicca says:

    Hello,
    I have a doubt.
    I install agent in my machine for monitoring midleware Weblogic , but one probleman of network two machines stay the same IP adress , then I need delete target of Grid Control .
    But my fear is , if deleting target for EM his dont will go delete my domain fisical in my machine ???

Leave a Reply

Your email address will not be published. Required fields are marked *

*

You may use these HTML tags and attributes: <a href="" title=""> <abbr title=""> <acronym title=""> <b> <blockquote cite=""> <cite> <code> <del datetime=""> <em> <i> <q cite=""> <strike> <strong>