Sun Cluster Data Service for Oracle Application Server Guide for Solaris OS

How to Verify the Installation and Configuration of Oracle Application Server

This procedure does not verify that your application is highly available because you have not yet installed your data service.

Before verifying the Installation and Configuration of Oracle Application Server, ensure that the installation has been completed by following the steps inInstalling and Configuring Oracle Application Server.

  1. Start theOracle Database and Listener


    #  su -  <Oracle Database  Userid>
    $ <Oracle Home>/bin/lsnrctl  start
    $ <Oracle Home>/bin/sqlplus "/ as sysdba"
    $ startup
    $ quit
    
  2. Start the Oracle Application Server Infrastructure

    For Oracle 9iAS Infrastructure


    #  su -  <Oracle Application Server Userid>
    $ <Oracle Home>/bin/oidmon start
    $ <Oracle Home>/bin/oidctl server=oidldapd configset=0 instance=1 start
    $ <Oracle Home>/opmn/bin/opmnctl startalll
    $ <Oracle Home>/bin/emctl start
    

    For Oracle 10g AS Infrastructure


    #  su -  <Oracle Application Server Userid>
    $ <Oracle Home>/opmn/bin/opmnctl startall
    $ <Oracle Home>/bin/emctl start  iasconsole
    
  3. Verifying the Oracle 9iAS Infrastructure


    # su - <Oracle Application Server Userid>
    $
    $  <Oracle Home>/bin/emctl status 
    EMD is up and running : 200 OK
    $
    $ <Oracle Home>/dcm/bin/dcmctl getstate -v 
      
    Current State for Instance:iasdb1.psemea14.uk.sun.com
     
        Component               Type          Up Status     In Sync Status
    ================================================================================
    1   HTTP Server             ohs           Up            True
    2   OC4J_DAS                oc4j          Up            True
    3   OC4J_Demos              oc4j          Down          True
    4   home                    oc4j          Down          True
  4. Verifying the Oracle 10g AS Infrastructure


    # su - <Oracle Application Server Userid>
    $
    $  <Oracle Home>/bin/emctl status iasconsole
    Oracle Enterprise Manager 10g Application Server Control 9.0.4.0.0
    Copyright (c) 2002, 2003 Oracle Corporation.  All rights reserved.
    Oracle 10g Application Server Control is running.
    $
    $ <Oracle Home>/opmn/bin/opmnctl status
     
    Processes in Instance: 10g_inst1.psemea12
    -------------------+--------------------+-------+---------
    ias-component      | process-type       |   pid | status
    -------------------+--------------------+-------+---------
    OID                | OID                | 17961 | Alive
    HTTP_Server        | HTTP_Server        | 18065 | Alive
    OC4J               | OC4J_SECURITY      | 18318 | Alive
    dcm-daemon         | dcm-daemon         | 19324 | Alive
    LogLoader          | logloaderd         |   N/A | Down