Oracle
  Home arrow Oracle arrow Page 14 - Oracle Application Server 10g Architecture and Administration
Dev Shed Forums  
Administration  
AJAX  
Apache  
BrainDump  
DHTML  
Flash  
Java  
JavaScript  
Multimedia  
MySQL  
Oracle  
Perl  
PHP  
Practices  
Python  
Reviews  
Security  
Smartphone Development  
Style-Sheets  
Web Services  
XML  
Zend  
Zope  
Mobile Linux  
App Generation ROI  
IBM® developerWorks  
Forums Sitemap  
E-Commerce Hosting  
Linux Web Hosting  
Managed Hosting  
Small Business Hosting  
VPS Hosting  
Weekly Newsletter

 
Developer Updates  
Free Website Content 
 RSS  Articles
 RSS  Forums
 RSS  All Feeds
Write For Us Get Paid  
Request Media Kit
Contact Us  
Site Map  
Privacy Policy  
Support  
 USERNAME
 
 PASSWORD
 
 
  >>> SIGN UP!  
  Lost Password? 
Google.com  
ORACLE

Oracle Application Server 10g Architecture and Administration
By: McGraw-Hill/Osborne
  • Search For More Articles!
  • Disclaimer
  • Author Terms
  • Rating: starstarstarstarstar / 56
    2004-07-13


    Table of Contents:
  • Oracle Application Server 10g Architecture and Administration
  • Hardware Architecture of Application Server 10g
  • Client Tier, Web Tier, OHS, and Web Cache
  • App Server Tier, Partitioning
  • Application Server 10g Clusters and Farms and Database Tier
  • Application Server Discoverer
  • Oracle Application Server Wireless
  • Single Sign-On (SSO)
  • Oracle Application Server 10g Administration
  • Command-Line Interfaces or OEM?
  • Instance Manager Home Page
  • Category Command Usage Table
  • Command Line Interface and Scripts
  • EM Commands with emctl
  • Managing Application Server 10gwith dcmctl
  • Miscellaneous Application Server 10g Commands and Sumary

  • Rate this Article: Poor Best 
      ADD THIS ARTICLE TO:
      error-file:tidyout.log Del.ici.ous error-file:tidyout.log Digg
      error-file:tidyout.log Blink error-file:tidyout.log Simpy
      error-file:tidyout.log Google error-file:tidyout.log Spurl
      error-file:tidyout.log Y! MyWeb error-file:tidyout.log Furl
    Email Me Similar Content When Posted
    Add Developer Shed Article Feed To Your Site
    Email Article To Friend
    Print Version Of Article
    PDF Version Of Article

     
     
    ADVERTISEMENT


    Oracle Application Server 10g Architecture and Administration - EM Commands with emctl
    ( Page 14 of 16 )

    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:

    #!/bin/ksh
    #***********************************************
    #
    # 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_HOME=$ORACLE_BASE/infra
    SET PATH=.;$PATH;%ORACLE_HOME%dcmbin;%ORACLE_HOME%j2eehome;
    %ORACLE_HOME%dapbin;%ORACLE_HOME%ldapodiadmin;%ORACLE_HOME%ocabin;%ORACLE_HOME%opmn
    bin;%ORACLE_HOME%portaladminplsqlsso;%ORACLE_HOME%ssolib;%ORALE_HOME%uddilib
    ;%ORACLE_HOME%upgrade;%ORACLE_HOME%wirelessbin
    export ORACLE_SID=iasdb
    export LD_LIBRARY_PATH=$LD_LIBRARY_PATH:$ORACLE_HOME/lib
    #export DISPLAY=tor:2.0
    # Loop through each host name . . .
    for host in `cat ~oracle/.rhosts|cut -d"." -f1|awk '{print $1}'|sort -u`
    do
    # Get the ORACLE_HOME on each Oracle Application Server 10g server
    home=`rsh $host "cat /etc/oratab|egrep ':N|:Y'|grep -v *|cut -f1 /
    d':'"``
    # 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"
    done

    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
     

       

    ORACLE ARTICLES

    - Oracle's Turn to Play in the Sun
    - Implementing and Using Oracle`s Restore Poin...
    - Tuning PL/SQL Code
    - Debugging PL/SQL Code
    - Testing PL/SQL Code
    - Working With PL/SQL Code
    - Conditional Compilation for Oracle Database ...
    - Compile-Time Warnings for Oracle DB 10g
    - Compiling PL/SQL Code for an Oracle Database
    - Troubleshooting PL/SQL Code
    - Managing PL/SQL Code
    - Data Manipulation and More for HTML DB Appli...
    - Oracle Database Fundamentals
    - Adding Processes to HTML DB Applications
    - Adding Computations, Processes, and Validati...





    © 2003-2009 by Developer Shed. All rights reserved. DS Cluster 1 Hosted by Hostway
    For more Enterprise Application Development news, visit eWeek