You are on page 1of 6

Tech Talk

Did you know?

This document is intended for internal use only

www.micros.com
OPMN

PAGE
V O L U2M E 1

EMPLOYEE NEWSLETTER

OPMN
03/02/2011
Inside This Issue
2

What is OPMN

Why do we use OPMN

Using OPMN

OPMN Commands

Stopping a Component

What is OPMN?
OPMN is installed and configured with every Oracle Application
Server installation type and is essential for running Oracle
Application Server. The OPMNCTL commands delivered with
OPMN can be used to stop and start specific application server
components, or the entire Oracle application server layer, as well
as monitoring the state of the various Oracle Application server
components
Some OPMN features that we would like to highlight are:

Learn more:
http://download.oracle.com/doc
s/cd/B13597_05/core.904/b120
57/intro.htm#i1015084

Provides a command-line interface for process control


and monitoring for single or multiple Oracle Application
Server components and instances.
Enables management of Oracle Application Server
components and sub-subcomponents.
Enables gathering of host and Oracle Application Server
process statistics and tasks.
Provides automatic restart of Oracle Application Server
processes when they become unresponsive, terminate
unexpectedly, or become unreachable as determined by
ping and notification operations.
Provides automatic death detection of Oracle Application
Server processes.

Why do we use OPMN?


OPMNCTL commands can be used to as a substitute for the
OappCfgEd.EXE tool. In certain environments (Micros
DataCenters) the usage of this tool is restricted to sysadmins.
This is a instance where the OPMNCTL commands can be used
to carry out restarts of the complete Oracle Application server
layer, or individual components, such as the Report server, Http
server etc.

This document is intended for internal use only.

EMPLOYEE NEWSLETTER

PAGE 3

Using OPMN
To use the OPMNCTL commands, from the command prompt we
execute OPMNCTL.
opmnctl is the command-line utility for OPMN. The opmnctl
commands needs to be executed from the 10gappr2 Oracle home.
(Windows) %ORACLE_HOME%\opmn\bin\opmnctl
10gappr2\opmn\bin\opmnctl
Below are is list of commands we use:
! Please note ALL OPMNCTL commands are case sensitive !

The status command enables you to obtain information on the


Oracle Application Server processes managed by OPMN.
This command will show you each of the configured components of
Oracle Application server, together with the status of these
components. (i.e. started, stopped)

PAGE 4

EMPLOYEE NEWSLETTER

OPMN common commands


Most commonly used commands:
stopall This will stop all services. This OPMNCTL command will
be executed if the option Stop All services is used in OappCfgEd,
or if the windows service Oracle10GAPPR2ProcessManager is
stopped.
startall This will start all services. This OPMNCTL command will
be executed if the option Start All services is used in OappCfgEd,
or if the windows service Oracle10GAPPR2ProcessManager is
started.

Stopping a component
First run a status command (OPMNCTL STATUS)
Reviewing the below. In this example we want to stop the ReportsServer

The status command enables you to obtain information on the


Oracle Application Server processes managed by OPMN.
To stop the Reports server, we execute the following command:
OPMNCTL STOPPROC ias=RepNPLXSUPPAPP6REGIONHOTEL
process-type=Reportsserver

EMPLOYEE NEWSLETTER

PAGE 5

Now run status command, to verify the Reports server is stopped.

To start the Reports server again, we issue the following command:


OPMNCTL STARTROC ias=RepNPLXSUPPAPP6REGIONHOTEL
process-type=Reportsserver

To verify the Reports server started successfully, we issue the OPMNCTL


STATUS command again.

PAGE 6

EMPLOYEE NEWSLETTER

The OPMNCTL status l can used to view detailed information about the
Oracle application server components. This command will display details of
when the individual components were started, memory usage of these
components, and which TCP/IP ports the components are listening on.

This document is intended for internal use only.

You might also like