Monday, June 2, 2008

Starting and Stopping Application Server Instances

I think most of Oracle Application Server Administrators creates their own start and stop scripts for example Me :)

but I've found that oracle provides a ready made scripts for start and stop AS and they are more powerful than any script the administrator makes.

Now lets get down to Business, to start the application server instances, including the infrastructure and middle-tier, lets say after you made a restart for the host, you can use the runstartupconsole command, if you have Infra and Middle-tier installed on the same host you can run the command as follow:

 

(UNIX) ORACLE_HOME/bin/runstartupconsole.sh start all
(Windows) ORACLE_HOME\bin\runstartupconsole.bat start all

The command starts the following in the Infrastructure Oracle home:

  • The OracleAS Metadata Repository instance.
  • The Net Listener.
  • OracleAS Infrastructure processes such as Oracle Identity Management
    components, Oracle Internet Directory, OC4J_Security, DCM, and OPMN.
  • Enterprise Manager, including Application Server Control Console and Database
    Control.

The command starts the following in the middle-tier Oracle home:

  • OPMN and all OPMN-managed processes such as DCM, Oracle HTTP Server,
    OC4J instances, and OracleAS Web Cache, OracleAS Forms Services, and
    OracleAS Reports Services.
  • Enterprise Manager Application Server Control Console.

For Stopping the application server use the same command like follow:

(UNIX) ORACLE_HOME/bin/runstartupconsole.sh stop all
(Windows) ORACLE_HOME\bin\runstartupconsole.bat stop all

 

for more information go to the Oracle® Application Server Quick Administration Guide.

Sultan