Home arrow Oracle arrow Page 14 - Oracle Application Server 10g Architecture and Administration

EM Commands with emctl - Oracle

Get an overview of the Oracle Application Server 10g architecture, its functional components, the administrative tools for application development, and examples of commands that are used to perform frequent Application Server 10g administrative functions. This chapter is from the book, Oracle Application Server 10g Administration Handbook, by John Garmany and Donald K. Burleson (McGraw-Hill/Osborne, ISBN: 0072229586, 2004).

  1. Oracle Application Server 10g Architecture and Administration
  2. Hardware Architecture of Application Server 10g
  3. Client Tier, Web Tier, OHS, and Web Cache
  4. App Server Tier, Partitioning
  5. Application Server 10g Clusters and Farms and Database Tier
  6. Application Server Discoverer
  7. Oracle Application Server Wireless
  8. Single Sign-On (SSO)
  9. Oracle Application Server 10g Administration
  10. Command-Line Interfaces or OEM?
  11. Instance Manager Home Page
  12. Category Command Usage Table
  13. Command Line Interface and Scripts
  14. EM Commands with emctl
  15. Managing Application Server 10gwith dcmctl
  16. Miscellaneous Application Server 10g Commands and Sumary
By: McGraw-Hill/Osborne
Rating: starstarstarstarstar / 66
July 13, 2004

print this article



The emctl utility is used to manage all aspects of the Enterprise Manager console. While the EM console is greatly useful for managing components of Application Server 10g, the console itself must be managed. For example, all EM servers must have a running EM agent, and the emctl command-line utility can be used to start or stop OEM, OMS, or any OEM agent. As mentioned earlier in the chapter, OMS (Oracle Management Server) is used with Oracle Enterprise Manager for centralized management of all Oracle products installed.

EM Console Commands for Application Server 10g

emctl start em
emctl stop em
emctl status em

OEM Agent Commands

emctl start agent
emctl stop agent
emctl status agent

OMS Commands

emctl start oms
emctl stop oms
emctl status oms

Managing Application Server 10g with opmnctl

The Oracle Process Manager and Notification (OPMN) uses the opmnctl utility to manage all Oracle Application Server 10g server processes. The powerful startall and stopall commands will manage all server components. Unless a tier consists of a standalone component such as the Web Cache, opmnctl should be used rather than the separate component control program.

Start OPMN, DCM, and All Components

opmnctl startall

Stop OPMN, DCM, and All Components

opmnctl stopall

There may be times when you want to stop and restart all OPMN and DCM processes on your servers. The following shell script will perform this function:

# Copyright (c) 2003 by Donald K. Burleson
# Bounce all Oracle Application Server 10g server processes
# First, we must set the environment . . . .
export ORACLE_BASE=/private/ias
# Use this ORACLE_HOME for midtier applications
#export ORACLE_HOME=$ORACLE_BASE/midtier
# Use this ORACLE_HOME for infra applications
export ORACLE_SID=iasdb
#export DISPLAY=tor:2.0
# Loop through each host name . . .
for host in `cat ~oracle/.rhosts|cut -d"." -f1|awk '{print $1}'|sort -u`
# Get the ORACLE_HOME on each Oracle Application Server 10g server
home=`rsh $host "cat /etc/oratab|egrep ':N|:Y'|grep -v *|cut -f1 /
# Execute opmnctl to bounce all Oracle Application Server 10g server processes:
rsh $host "$home/opmn/bin/opmnctl stopall"
rsh $host "$home/opmn/bin/opmnctl stopall"

This chapter is from Oracle Application Server 10g Administration Handbook, by Garmany and Burleson. (McGraw-Hill/Osborne, 2004, ISBN: 0072229586). Check it out at your favorite bookstore today. Buy this book now.

>>> More Oracle Articles          >>> More By McGraw-Hill/Osborne

blog comments powered by Disqus
escort Bursa Bursa escort Antalya eskort


- Oracle Java Security Woes Continue
- Oracle's New IaaS Cloud Option: There's a Ca...
- Oracle Acquires Eloqua to Boost Cloud Presen...
- Choosing Innovation: Oracle Survey Insights
- Oracle Fixes Privilege Escalation Bug
- Oracle`s Communications Service Availability...
- Oracle Releases Exalytics, Taleo Plans
- Oracle Releases Communications Network Integ...
- Oracle Releases Communications Data Model 11...
- Oracle Releases PeopleSoft PeopleTools 8.52
- Oracle Integrates Cloudera Apache Distro, My...
- Oracle Releases MySQL 5.5.18
- Oracle Announces NoSQL Database Availability
- Sorting Database Columns With the SELECT Sta...
- Retrieving Table Data with the LIKE Operator

Developer Shed Affiliates


Dev Shed Tutorial Topics: