DBA Tips Archive for Oracle


Creating an Oracle Management Server - (OMS Release 9.2.0)

by Jeff Hunter, Sr. Database Administrator


  1. Overview
  2. Installing Oracle Management Server
  3. Starting / Stopping the Oracle Management Server
  4. Oracle Enterprise Manager


This article will contain the steps necessary to create and configure an Oracle Management Server (OMS) environment in a Solaris environment.

Installing Oracle Management Server

The first step is to create a database that will store the repository information for OMS. For the purpose of this example, I will create an Oracle9i database named OMSDB.

In most cases, the configuration of the Oracle Management Server will be handled within the Oracle installation when you select to install the OMS. When installing the Oracle Management Server, the Universal Installer will automatically run the Oracle Management Server Configuration Assistant. If you select to abort the configuration process (during the install), you can always kick off the OMS configuration assistant using the emca executable.

One point to make is that you should install the OMS in a seperate ORACLE_HOME than the database software. Although this is not necessary, it is a practice that I often perform. I will generally install the OMS as the following:

When using the Oracle Universal Installer, there is an option (after selecting the Oracle Home name and location) where you will need to select: Oracle9i Management and Integration. When you select this option, the next will provide you with the option of installing just the Oracle Management Server. Select this option and click <Next>. The next screen will ask you already have a repository. In most cases, you will not already have a repository and should select The Management Server will require a new repository. The next screen is summary screen. Hit <Install> to start the installation of the Oracle Management Server.

Starting / Stopping the Oracle Management Server

Starting OMS
% $ORACLE_HOME/bin/oemctl start oms
OEMCTL for Solaris: Version Production
Copyright (c) 1998, 2002, Oracle Corporation.  All rights reserved.
Starting the Oracle Management Server....

The OMS is now started and ready.

% DISPLAY=:1.0; export DISPLAY

% $ORACLE_HOME/Apache/Apache/bin/apachectl start
/u01/app/oracle/product/OMS/Apache/Apache/bin/apachectl start: httpd started
Stopping OMS
% $ORACLE_HOME/bin/oemctl stop oms sysman/oem_temp
OEMCTL for Solaris: Version Production
Copyright (c) 1998, 2002, Oracle Corporation.  All rights reserved.
Stopping the Oracle Management Server...

% $ORACLE_HOME/Apache/Apache/bin/apachectl stop
/u01/app/oracle/product/OMS/Apache/Apache/bin/apachectl stop: httpd stopped

Logging into Oracle Enterprise Manager

You can now start the Oracle Enterprise Manager console.

On Windows, you can select: Start -> Programs -> Oracle - OraHome920 -> Enterprise Manager Console

On Solaris, you can run the command: $ORACLE_HOME/bin/oemapp console &

Starting the OEM console will bring up the login dialog box. Select the radio button: Login to the Oracle Management Server using the following:

NOTE: First, make sure to change the default password for the sysman password. Also, create a seperate account for each DBA on your team.

Copyright (c) 1998-2018 Jeffrey M. Hunter. All rights reserved.

All articles, scripts and material located at the Internet address of http://www.idevelopment.info is the copyright of Jeffrey M. Hunter and is protected under copyright laws of the United States. This document may not be hosted on any other site without my express, prior, written permission. Application to host any of the material elsewhere can be made by contacting me at jhunter@idevelopment.info.

I have made every effort and taken great care in making sure that the material included on my web site is technically accurate, but I disclaim any and all responsibility for any loss, damage or destruction of data or any other property which may arise from relying on it. I will in no case be liable for any monetary damages arising from such loss, damage or destruction.

Last modified on
Saturday, 19-Feb-2005 00:00:00 EST
Page Count: 26213