How to Install Oracle Grid Control 11g (Step by Step Guide)

Oracle Enterprise Manager Grid Control is a tool to manage and monitor multiple instances of Oracle and non-Oracle platforms such as Microsoft .NET, Microsoft SQL Server, NetApp Filers, BEA weblogic and others.

I’ll show how to install Oracle Grid Control 11g on Oracle Linux (32bit). Here are the main steps:

1) Installation of Oracle Linux (How to Install Oracle Linux 5.6)
2) Installation of Oracle Database 11.2.0.2 (Repository Database)
3) Installation of Java and Weblogic Server (Middleware)
4) Installation of Grid Control
5) Installation of Grid Control Agent to a Target System

Installation of Oracle Database 11.2

After you install Oracle Linux, login as root and create the directories for Grid Control and other software we’ll install:

Because we installed oracle-validated package (How to Install Oracle Linux 5.6), user oracle and the related groups have been already created automatically. Password of the user Oracle is “oracle”. Login as oracle to the system, download the Oracle Database binaries. I’ll use 11.2.0.2 but the steps will be for 11.2.0.1 which you can download from Oracle.com:

http://www.oracle.com/technetwork/database/enterprise-edition/downloads/112010-linuxsoft-085393.html

Unzip the files:

For regular 11.2.0.1 (Linux x86):

Unzip will create a directory named “database”, go into this directory and run “./runInstaller”:

I’ll not set up MOS credentials now and will do a vanilla install. Uncheck the “I wish to receive security updates” and click next.

Again, I select “skip software updates” and click next.

Select “create and configure a database”, click next.

Select “server class”, it will allow us more options. Click next.

Select “single instance” and click next.

We can go with “typical install” but I’ll select “advanced install” for more options. Click next.

Select the languages you want to use (for the dialogs etc), “english” is fine. So click next.

EM Grid Control requires “Enterprise Edition”, so be sure the select the enterprise edition and click next.

Enter the path for the Oracle Base. Installer will change the target path for the software location (ORACLE_HOME) according to the path for the oracle base.

Enter the location for the Oracle Inventory, click next.

Select “general purpose” for database type and click next.

Enter the global database name (and SID), click next.

I’ll not change default settings of database bu memory usage. Because this system has only 2GB, I’ll set 500MB for database service.

It’s ok to use EM Database Control for now, we’ll remove it later. So click next

I’ll use file system to store datafiles, click next.

I’ll not enable auto backups, you can enable if you want.

Enter strong passwords (which contains upper and lower cases characters and at least one numberic character) for system users.

DBA group is ok, click next.

So we’re ready to install the database, click “install”.

Wait until software installation completed.

When the software is installed, DBCA utility will create the database automatically.

The database is created. Click OK to close the window.

Open a terminal window, switch to root user by issuing “su – root”, and run the scripts to complete the installation.

Press enter to accept the default values for the script asks. After you run the both scripts, click OK.

Database installation is completed, now we need to some changes to be able to use this database as Grid Control repository.

Let’s set the environment variables to be able to connect the database (or you can create unix profile script and use it: http://apex.oracle.com/pls/otn/f?p=22258:2)

Now we can drop the Enterprise Database Control. First I’ll stop it and then I’ll issue “emca -deconfig dbcontrol” to drop it:

We also need to change the default values of log_buffer, processes and session_cached_cursors, and also increase the size of UNDO tablespace. Run sqlplus to connect to database as sysdba, and issue the following commands:

We restart the database for settings take effect.

Installation of Java and Weblogic Server

It’s time to install Weblogic Application Server, but before installing Weblogic Application Server, we need to install (update) our Java to 1.6.x:

http://www.gokhanatil.com/2011/07/how-to-installupdate-java-jdk-on-oracle.html

We should download and install 10.3.2 version from Oracle:

http://www.oracle.com/technetwork/middleware/weblogic/downloads/wls-main-097127.html

32bit Linux version (I’ll use this one):

http://download.oracle.com/otn/linux/middleware/11g/wls/wls1032_linux32.bin

If you’ll install 64bit, be sure that you install 64bit version of Java SDK and install the generic version:

http://download.oracle.com/otn/nt/middleware/11g/wls/wls1032_generic.jar

You can start 64bit install for Weblogic Server by issuing the following command:

This is welcome screen, click next.

Enter the path for the middleware home (a folder that can accessed by oracle) and click next.

I do not wish the security updates, so uncheck the box and click next.

Select the typical installation, and click next.

You can accept the default value for the weblogic server path, click next.

Wait until the installation completed.

Uncheck the “run quickstart” and click done to complete the installation.

Installation of Grid Control

Ok so we have a database (ready for being repository for Grid Control) and weblogic server. Now it’s time to install the Grid Control.

Download the Grid Control zip files from Oracle:

http://www.oracle.com/technetwork/oem/grid-control/downloads/index.html

Here are the links for Linux 32bit version:

http://download.oracle.com/otn/linux/oem/1110/GridControl_11.1.0.1.0_Linux_1of3.zip
http://download.oracle.com/otn/linux/oem/1110/GridControl_11.1.0.1.0_Linux_2of3.zip
http://download.oracle.com/otn/linux/oem/1110/GridControl_11.1.0.1.0_Linux_3of3.zip

unzip the files then go into “grid” and run the installer:

As I said, I’ll make a vailla install so I will not enter the MOS credentials. I uncheck the box for “I wish to receive security updates” and accept the dialog and click next.

Select skip software updates and click next.

Select “new install” and click next

If you have followed my documents from the start (including installation of OS), all prerequisites should have been satisfied.

Accept the default values and click next.

Enter the passwords for weblogic user and node manager.

Enter the connection details for the repository database, when you click next, Installer will check the information and warn you if any error occurs.

Enter the password for user SYSMAN. Grid Control data will be stored in SYSMAN schema. Default paths are OK for me, so I will not change the default paths of the new datafiles.

Enter the registration password. Grid Agents will register to Grid Control service by using this password. You can disable HTTP (insecure) connections to your service and web interface. I’ll leave the boxes checked so all communion will be secure.

You can change the ports but I recommend you to accept the defaults and click next.

Click “install” to start installing Grid Control software.

Wait until installation completed.

Open a terminal, switch to root (su -) and run the root script, then click OK.

Wait until the installer configures your Grid Control.

Installation completed. Now we can read the Grid Control:

https://yourservername:7799/em

Because Grid Control do not use a valid SSL certificate, you’ll get a warning when you try to connect. Ignore the warning (accept the risk) and proceed to the website.

When it asks for the username and password, you should enter the password of SYSMAN.

Installation of Grid Control Agent to a Target System

As you know, Grid Control is designed to manage and monitor multiple databases, now I’ll install the grid control agent to another server (running on Oracle Linux 5.6 32bit). Oracle 10g installed on the target server. Because our Grid Control and target server have the same Operation system and architecture, I will not download additional agent software.

Go to deployment page, click “install agent” under the title Agent Installation.

Click “Fresh install”

Enter the installation details. You must enter:

1) Select the platform (architecture of the target system);
2) Host name into “host list” (you can start installing agents to multiple targets);
3) OS Credientals – uncheck the run root.sh unless the user has sudo privileges;
4) Installation base directory (this is in target server);
5) Management Server Registration Password

Before click continue, edit /etc/hosts files of both target and Grid Control server and add the hostnames and IPs. My grid control server’s name is oelgrid11.gokhanatil.com and name of the target server is ora10lin.gokhanatil.com.

I add the following line to /etc/hosts of target server:

192.168.100.101 oelgrid11.gokhanatil.com

I also add the following line to /etc/hosts of Grid Control:

192.168.100.105 ora10lin.gokhanatil.com

So both servers can resolve the host names of each other. You can try to ping each other to be sure.

Uncheck the box about security updates or enter the MOS credentials, click “submit”.

Click yes to continue.

Wait until agent is installed (it may take some time).

Our target server is registered to Grid Control. Connect to the target server, login as root and run the root.sh file:

<AGENT_HOME>/root.sh (for example: /u01/oracle/agent11/root.sh)

We can see the target server on the hosts page.

Although we can see the database of the new server, we need to configure it so Grid Control can monitor it. Select the database, and then click “configure”.

DBSNMP will be used to monitor the database. If this is a new database, enter a dummy password for user DBSNMP and click “test connection”.

As you see, Grid Control will ask you if you want to change the password of DBSNMP. Click “change dbsnmp password” button.

Enter the password of system (or any other user which can unlock and change password of dbsnmp) and a new password for dbsnmp, then click OK.

Now password of dbsnmp has been changed, click next.

If your target database is 10g or higher, then it will go to last step. If your target database is 9i, it will ask you some questions about installing statspack. Click “submit” to complete the configuration.

It’s done.

Our target server and the database running on that server registered to Grid Control and required configuration is done.

Please share
  • 4
  •  
  •  
  •  
  •  
  •  
  •  

Gokhan Atil is a database administrator who has hands-on experience with both RDBMS and noSQL databases, and strong background on software development. He is certified as Oracle Certified Professional (OCP) and is awarded as Oracle ACE (in 2011) and Oracle ACE Director (in 2016) for his continuous contributions to the Oracle users community.

52 Comments

  1. Tim

    Hi Gokhan,

    Thanks for the great post.

    But I stucked on OMS Configuration step. I used the same weblogic and gridcontrol version as you did.
    Here is the error log:

    Thu Jan 17 15:29:24 CST 2013
    Admin server started successfully….
    Disconnected from weblogic server: EMGC_ADMINSERVER
    Thu Jan 17 15:29:24 CST 2013
    Done: Starting Admin Server

    You will need to be connected to a running server to execute this command

    Jan 17, 2013 3:29:25 PM oracle.sysman.omsca.util.CoreOMSConfigAssistantUtil execCommand
    INFO: error messages of the command :
    weblogic.nodemanager.NMConnectException: Connection refused. Could not connect to NodeManager. Check that it is running at oel655v151:7,403.
    at java.net.PlainSocketImpl.socketConnect(Native Method)
    at java.net.PlainSocketImpl.doConnect(PlainSocketImpl.java:351)
    at java.net.PlainSocketImpl.connectToAddress(PlainSocketImpl.java:213)
    at java.net.PlainSocketImpl.connect(PlainSocketImpl.java:200)
    at java.net.SocksSocketImpl.connect(SocksSocketImpl.java:366)
    at java.net.Socket.connect(Socket.java:529)
    ……
    ……

    Could you give me any clue on this problem?

    Regards

    • Tim

      I created a brand new VM to redo this. It worked out.
      Anyway, thanks again. You are awesome.

    • Gokhan Atil

      Pawan, please read the section “Installation of Grid Control Agent to a Target System”. It describes how you can install agent on remote systems. If you don’t have linux 64bit agent, you can download it using self-update.

  2. Delvy

    Hi!!! Nice publication makes the steps very simplified, however do i have to install the grid control and web logic on the same server the oracle database was installed on?
    Thanks

  3. Prince Crush

    Hi Gokhan,
    Thanks for this wonderful post!!
    I actually stumbled on your blog while looking for a documentation on how to install Grid control on Windows xp.
    I just resumed on a project where the environment is purely windows. (I must confess am finding it hard to get use to it since I have a 2 node RAC on RHEL 5 I built at home and my last env was purely UNIX (AIX & Solaris).

    I have a spare server at home and I really would love to know:
    1. if I can add the above config to my lab env cos i plan to have a full env for practice.
    2. How can I install Grid control 11 on windows xp?

    Thanks for your swift response

    Prince

    • Gokhan Atil

      Prince, I don’t think that Windows XP is certified for Grid Control, anyway you can try to install Win32/64bit version of Grid Control. Steps should be very familiar with the above ones but you don’t need to create oracle user, you’ll install it via Administrator user.

  4. oracle

    Hi Gokhan,

    Thanks for the great post.

    But I cant Download weblogic1032_generic.jar from Oracle . when I use weblogic1033_generic.jar for installation of Grid Control on RHEL 5.7 platform , I got this error ” Securing of OMF failed” .

    How I can resolve this problem and please tell where can I download wls1032_generic.jar

    regards

    • Gokhan Atil

      I see that note on download page: For existing customers requiring access to prior WebLogic Server versions, please refer to the instructions at My Oracle Support Doc ID 1071023.1 ‘Requesting Physical Shipment or Download URL for Software Media’.

  5. Mohammed Aslam

    Dear Atil,

    Why do we need Java and Weblogic Server….is it used in OEM Monitoring?

    I have already installed Oracle 11g Database on RHEL 5_x64Bit,so do i need OEM Agent if i want to install 12c?

    Please reply its very urgent…..

    • Gokhan Atil

      Mohammed, Oracle Enterprise Manager Grid/Cloud Control has 2 main components: Oracle Management Service (OMS) and Management Agent. OMS is a Java application so it needs a Java platform and application server.

      If you’ll manage only 1 database, you can use Oracle Enterprise Manager DB Control (Console). If you want to manage your database with Grid Control, you need to deploy Management Agent to your server hosting your database.

  6. FORMIGA

    Hi. Very good your great post.
    I done all explained in this post. But the final result was DATABASE CONTROL installed!!! Grid Control installation ask me nothing about Weblogic (it was installed!). If I do a EMCA….CREATE or DROP, it run OK. Please, what have I done wrong ?
    Important: I AM USING ORACLE GRID 11.2.0.2.0.

    Very Thanks.
    Formiga

    • Gokhan Atil

      Formiga, after you issued “emca -deconfig dbcontrol”, you shouldn’t see DB Control. I do not understand how Grid Control installer doesn’t ask about Weblogic.

    • FORMIGA

      Hi Gokhan.

      What I can see is that you used Oracle Grid 11.1.0.1.0. in this post and I am using Oracle Grid 11.2.0.2.0.

      Am I right ?

      TIA.

      Formiga

    • Gokhan Atil

      Formiga, there’s no 11.2.x version of Grid Control. Maybe you’re trying to install Grid Infrastructure of 11gR2?

    • FORMIGA

      Hi Gokhan,

      hum….yes….you are right. I am trying install Oracle Grid Infrastructure to administer my Oracle Instances center.

      TIA.

      Formiga

  7. BGlad

    Formiga,

    Is it possible to have two versions of GI/database on one server for testing purposes?

    Thanks 🙂

    • BGlad

      Gokhan,

      No, sorry about that; I was asking you; Darn that copy and paste!

      BGlad

    • Gokhan Atil

      No problem. Do you want to install 2 different versions of Grid Infra+DB on same server or Enterprise Manager Grid Control + Repository Database?

    • BGlad

      Yes, I want to keep one database on the older version for development/testing and have one database on the new version. I’m worried about the Grid upgrade spilling over to the realm of the older database; I hope I’m making sense.

  8. JOSE FORMIGA

    Hi.
    One question: if I have Weblogic-1033 only, which Oracle Grid Control (not Oracle Grid Architecture) have I to install ?

    Thanks.

    JoseFOrmiga

  9. prashant

    Hi Gokhan

    to manage only 1 database, -‘you can use Oracle Enterprise Manager DB Control (Console)’

    1) Can this be done without Web server?

    2) I am unable to understand Installation of Java and Weblogic server. may be because as a dba never handled web servers!

    Will appreciate a separate post for Installing Java/ Weblogic Server 32-bit version and a separate post for 64-bit version

    Thank you very much  for your help to the oracle community.

    Prashant

  10. Thanks a lot Atil for this wonderful Post !

    Just a query, is there any similar post of you about manually configuring agents on target machines or adding new databases on a agent without using OEM grid tool on source ?

    Thanks 

    Abhay

  11. btidba

    Hi Gokhan,

    I need to download the EM Oracle Grid Control 11g for Windows 64 bits.

    When i go to the link: http://www.oracle.com/technetwork/oem/enterprise-manager/downloads/index.html , in the “Previous Enterprise Manager Release Software” there is a paragraph “Enterprise Manager 11g Grid Control Release 1 (11.1.0.1.0)

    Enterprise Manager Grid Control 11g is no longer available for download. The software is available as a media request for those customers who own a valid Enterprise Manager product license purchased prior to September 30, 2012. To request access to the media, follow Note.1071023.1 from My Oracle Support . ”

    but this note gives a links to download compressed patches and many of them failed to be downloaded.

    So, please provide the link to download EM Oracle Grid Control 11g for Windows 64 bits.

    Many thanks and best regards

    • Gokhan Atil

      Hi, you need to open an SR so Oracle can send you download links (or media).

  12. Marksel

    Hi Mr. Gokhan bey,

    How r u doing? Your Blog is very nice and appreciate your good approach and excellent works. I have one question.

    I  have 38 databases on windows servers and we want them as centralize in order to monitor them at ease. what will be the best solution to do so?

    Warm Regards,

  13. Angela

    Hi Gokhan,

    Congradulation for your post. I would like to know if OEM 10.2.0.5 or OEM 11.1 monitor Oracle database version since which version? 8, 9, 10?

    Because the certification from Oracle site is informing that the last version is 10.1.0.5, but you mentioned in your post about database 9i?

    Regards Angela

    • Gokhan Atil

      According to the Oracle certification tool, latest Enterprise Manager 12c still supports Oracle 9.2.0.8 (as target database not repository database) – so I’m sure that OEM 10g and 11g can monitor Oracle 9i databases. On the other hand, I don’t think that Oracle 8i can be monitored by any OEM version.

  14. Suchi

    Hi Gokhan,

    Good post. Thankful to you for providing such a good document.  I have installed Grid Control 11g in my  VM and repository database version is 11.2.0.3.0…its working fine no issues in that.

    I mainly used Grid becuase I want to have all the DB server alter,log,error,issues centrally. Also I want to generate customized report like Active usage of any DB instance or etc. I try to create report but always failed with either table/view does not exists or some unnkow error. I used SQL from different view like V$session etc…

    Can you help us to create custom report or provide me some learing link through which I can help my self to generate reports I want.

    Thanks again.

  15. Kala

    Hi

    I am getting the following error while installing Grid Control 11g. OMS Configuration failed.

    SEVERE: ERROR: Infrastructure setup of EM failed.
    Sep 17, 2014 9:21:18 AM oracle.sysman.omsca.framework.OMSConfigAssistantDriver main

    FINE: Got resultfalse

    Thanks

    • Kala

      Connecting to Node Manager …
      This Exception occurred at Wed Sep 17 09:21:18 AST 2014.
      weblogic.nodemanager.NMException: Configuration error while reading domain directory
      Wed Sep 17 09:21:18 AST 2014
      SEVERE: Exception: during stop of admin server
      Wed Sep 17 09:21:18 AST 2014
      Name of Exception: main.WLSTException
      Wed Sep 17 09:21:18 AST 2014
      Code of Exception: Error occured while performing nmConnect : Cannot connect to Node Manager. : Configuration error while reading domain directory
      Use dumpStack() to view the full stacktrace
      Wed Sep 17 09:21:18 AST 2014

      Connecting to Node Manager …
      This Exception occurred at Wed Sep 17 09:21:18 AST 2014.
      weblogic.nodemanager.NMException: Configuration error while reading domain directory
      Wed Sep 17 09:21:18 AST 2014
      Node Manager is not running

      Sep 17, 2014 9:21:18 AM oracle.sysman.omsca.util.CoreOMSConfigAssistantUtil execCommand
      INFO: error messages of the command :
      SEVERE: Exception: during stop of managed server
      Name of Exception: main.WLSTException
      Code of Exception: Error occured while performing nmConnect : Cannot connect to Node Manager. : Configuration error while reading domain directory
      Use dumpStack() to view the full stacktrace

      SEVERE: Exception: during stop of admin server
      Name of Exception: main.WLSTException
      Code of Exception: Error occured while performing nmConnect : Cannot connect to Node Manager. : Configuration error while reading domain directory
      Use dumpStack() to view the full stacktrace

  16. Aijaz Sabir Hussain

    Hi Mr. Gokhan Atil,
    Hope you are doing great.  Your Blog is very nice and appreciate your good efforts and excellent works to help novices like me. I have a question to ask you.
    I  have 10 databases on windows servers and we want them as centralize in order to monitor them at ease. what will be the best solution to do so?
    Thanks for your swift response!
    Warm Regards
    Aijaz Sabir Hussain

    • Gokhan Atil

      Hi Aijaz Sabir,

      Of course I will recommend you to use EM12c 🙂 I know that it’s not a big farm to manage but you’ll see that EM12c is the best solution to monitor and manage Oracle databases. By the way don’t forget that EM12c won’t cost you any extra as long as you use only the basic features (cloud management, data masking, db lifecycle, test data management etc requires licenses).

  17. Bhavesh

    OMS service failed with errors.

     

    Code of Exception: Error occured while performing nmConnect : Cannot connect to Node Manager. : Configuration error while reading domain directory
    Use dumpStack() to view the full stacktrace
    Sun Feb 15 02:36:50 IST 2015
    <traceback object at 1>

    Connecting to Node Manager …
    This Exception occurred at Sun Feb 15 02:36:50 IST 2015.
    weblogic.nodemanager.NMException: Configuration error while reading domain directory
    Sun Feb 15 02:36:50 IST 2015
    SEVERE: Exception: during stop of admin server
    Sun Feb 15 02:36:50 IST 2015
    Name of Exception: main.WLSTException
    Sun Feb 15 02:36:50 IST 2015
    Code of Exception: Error occured while performing nmConnect : Cannot connect to Node Manager. : Configuration error while reading domain directory
    Use dumpStack() to view the full stacktrace
    Sun Feb 15 02:36:50 IST 2015
    <traceback object at 2>

    Connecting to Node Manager …
    This Exception occurred at Sun Feb 15 02:36:50 IST 2015.
    weblogic.nodemanager.NMException: Configuration error while reading domain directory
    Sun Feb 15 02:36:50 IST 2015
    Node Manager is not running

    Feb 15, 2015 2:36:50 AM oracle.sysman.omsca.util.CoreOMSConfigAssistantUtil execCommand
    INFO: error messages of the command :
    SEVERE: Exception: during stop of managed server
    Name of Exception: main.WLSTException
    Code of Exception: Error occured while performing nmConnect : Cannot connect to Node Manager. : Configuration error while reading domain directory
    Use dumpStack() to view the full stacktrace
    <traceback object at 1>
    SEVERE: Exception: during stop of admin server
    Name of Exception: main.WLSTException
    Code of Exception: Error occured while performing nmConnect : Cannot connect to Node Manager. : Configuration error while reading domain directory
    Use dumpStack() to view the full stacktrace
    <traceback object at 2>

    Feb 15, 2015 2:36:50 AM oracle.sysman.omsca.adapter.wls.OMSWLSAdapter adapterDeleteOMS
    FINE: Done Executing the command…0
    Feb 15, 2015 2:36:50 AM oracle.sysman.omsca.framework.OMSGenericAdapter deleteAddOnInventory
    INFO: Invoking deleteAddOnInventory for oms null
    Feb 15, 2015 2:36:50 AM oracle.sysman.omsca.adapter.wls.OMSWLSAdapter adapterDeleteOMS
    FINE: Stopping WebTier
    Feb 15, 2015 2:36:51 AM oracle.sysman.omsca.adapter.wls.OMSWLSAdapter adapterDeleteOMS
    FINE: Stopping WebTier failed. Ignoring.
    Feb 15, 2015 2:36:51 AM oracle.sysman.omsca.adapter.wls.OMSWLSAdapter deleteEMService
    FINE: Trying to delete the EM service
    Feb 15, 2015 2:36:51 AM oracle.sysman.omsca.adapter.wls.OMSWLSAdapter adapterDeleteOMS
    FINE: Cleaning up instance directory: C:\Oracle\Middleware\oms11g\user_projects
    Feb 15, 2015 2:36:51 AM oracle.sysman.omsca.adapter.wls.OMSWLSAdapter adapterDeleteOMS
    FINE: Cleaning up instance home directory: C:\Oracle\Middleware\oms11g\em
    Feb 15, 2015 2:36:51 AM oracle.sysman.omsca.adapter.wls.OMSWLSAdapter adapterDeleteOMS
    FINE: Succesfully deleted the oms
    Feb 15, 2015 2:36:51 AM oracle.sysman.omsca.adapter.wls.OMSWLSAdapter adapterCleanup
    FINE: The value of infra setup completion is :false
    Feb 15, 2015 2:36:51 AM oracle.sysman.omsca.framework.OMSCAFreshInstall execute
    SEVERE: ERROR: Infrastructure setup of EM failed.
    Feb 15, 2015 2:36:51 AM oracle.sysman.omsca.framework.OMSConfigAssistantDriver main
    FINE: Got resultfalse

     

     

    Version 

    Windows Server 2012.

    Weblogic version 10.3.6.0.10 PSU.

    Database 11.2.0

     

  18. Suresh

    Hi ,

    Thanks for your post.

    A’m very new to Oracle DBA,Can you please tell me what are the main responsibilities for DBA who is working on Oracle GRID and CRS.

  19. Andreas Josephides

    Thanks for the great post.

    I finished my oracle grid installation in 2 hours !!!

    Thanks again.

  20. Sivadasan Madhavan

    Gokhan:

    Your step by step instructions are always helpful and handy. However, I have a few questions. Perhaps you know and deal with oracle servers and webservers so much that it is kind of become murky for the occasional DBA’s.

    The Oracle database is on a Linux server – this is the database server.
    The DBA console (EM) is on a laptop (Windows)
    Can you tell what software goes on what? This is always the confusing part of all discussions.  My question is, to launch Oracle Enterprisemanager from my Win Laptop, what do I have to install on each, and how to configure the apps. If you can explain this in single paragraph, that will be extremely helpful, and clear up the rest. Oracle documentation is just about as bad as the IBM documentation of the 1970’s, and I am an old vintage from that era.

    • Gokhan Atil

      Hi Sivadasan,

      Enterprise Manager Grid/Cloud Control has 4 components: Oracle Management Service (OMS),the repository DB, EM agent and the software library. OMS is the heart of Enterprise Manager, it’s a Java application running on a weblogic server. The software library is the storage used for plugins, patches and all other applications which will be used for provisioning etc. So you’ll need an application server for these three components. The repository DB is used by OMS to store both metadata and metric data. So EM Grid/Cloud Control requires an Oracle database to be able to run. The repository database can be located in a different server or the same server. The EM agent is the software you need to deploy to target systems. The EM agent enables you to monitor targets (such as databases, application servers etc).

      Hope it helps

  21. Saima Ashraf

    Hi Gokhan,
    I did install oracle 11g on RHEL 5.8. after successful installation of Oracle DB, i cannot run the command of sqlplus, netca etc.
    please help me out.

    Saima

    • Gokhan Atil

      Hi Saima,

      If you have also created a database, type

      cat /etc/oratab

      Read the name of the database you created, then run

      . oraenv

      When it prompts you to enter the database name, enter the name of your database. It will set environment variables so you will be able to call Oracle related commands such as sqlplus, netca etc…

  22. Rav

    Gokhan,

    Wonderful post.

    I was curious why you :

    “I’ll show how to install Oracle Grid Control 11g on Oracle Linux (32bit). Here are the main steps:”

    specifically chose 32bit ?

    Is this because 64 bit was not out yet when you attempted this or some other good reason ?   Please explain.

     

    Thank you.

    Rav

     

    • Gokhan Atil

      Hi Rav, there’s no special reason to pick 32bit. I do not remember the exact reason but maybe my virtualization software was 32bit… If I wrote the same blog post today, I would surely use 64bit software 😉

  23. Ramesh

    Hi Gokhan,

    We are trying to install the OEM Agent on CentOS 6.5 and it is failing the below errors.

    You may have selected the wrong platform “Linux x86-64” for this host. If so select the correct platform. 
    You may have specified a non writable location for the environment variable TMP/TEMP in your shell initialization script($HOME/.cshrc, $HOME/.bashrc etc). Ensure that this location is writable.

    /tmp/sfx_VHobLl/oracle.jdk/jdk/bin/java
    sh: /tmp/sfx_VHobLl/oracle.jdk/jdk/bin/java: Permission denied

    We tried with custom temp and java paths with 777 permissions too..

    Thanks,

Leave Comment

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