Startup Shutdown Application Server – Bounce Services

Last month I discussed about 10g Application Server which is going to replace 9i AS (1.0.2.2.2) in Oracle applications Rel 12 (Next version of Oracle Apps 11i). You can check overview & Installation Document in below links

https://onlineappsdba.com/index.php/2006/10/28/fusion-middleware-10g-application-server-overview/
Install Application Server/Fusion Middleware

Today I am going to continue with 10g Application Server Startup Shutdown Scripts. If you understand 10g AS architecture which consist of Infrastructure Services (Database & Identity Management) & Middle tier Services (Portal & Wireless or BI & Forms)
I am focusing on these two type of Installation & not j2ee & webcache type (which is third middle tier Installation type) in this discussion.

Startup Sequence
As in apps you follow order (first start database & then middle tier services in 10g AS also you follow similar sequences) Order of startup Services in 10g AS should be like
Start Database Listener
— Start Database
— Start Infrastructure Services
— Start Middle Tier Services

Shutdown Sequence
— Shutdown Middle Tier Services
— Shutdown Infrastructure Services
— Stop Database
— Stop database listener

What utility I should use to startup / shutdown (Bouncing) for 10g AS ?
You can use iasconsole (Browser based console listening in default port 1156) to startup shutdown services
You can also use opmnctl ; command line tool (Oracle Process Management & Notification) control to startup shutdown services

dcmctl utility to start/stop services is now deprecated & should not be used

Lets look at scripts once again
Startup
Start listener as – lsnrctl start [listener_name]
Start Database as – sqlplus “/as sysdba”; SQL> startup
Start Infrastructure Services as – opmnctl startall (Make sure your are in Infra Home)
Start Middle Tier Services as – opmnctl startall (Make sure your are in Middle Tier Home)

Shutdown
Stop Middle Tier Services as – opmnctl stopall (Make sure your are in Middle Tier Home)
Stop Infrastructure Services as – opmnctl stopall (Make sure your are in Infra Home)
Stop Database as – sqlplus “/as sysdba”; SQL> shutdown immediate
Stop listener as – lsnrctl stop [listener_name]

How to start/stop iasconsole ?
As I mentioned above you can start/stop services using iasconsole but before that you have to start / stop iasconsole itself which you can do by emctl (em – enterprise manager)

emctl start iasconsole
emctl stop iasconsole

To Start AS Console in 10g Rel3 (10.1.3) and higher use
opmnctl startproc application=ascontrol
opmnctl stopproc application=ascontrol
You can access ias console screen from browser by url
http://host.domain:em_port/emd (Default em port is 1156)
http://host.domain:1156/emd (This will prompt username password , use ias_admin)
http://host.domain:http_port/em (In iAS10g R3 and higher)

How to start individual component ?
Step mentioned above are to stop/start all components in Middle Tier or Infrastructure Tier , what if I want to start/stop/restart only few components of a Tier ? You will use

opmnctl [startproc stopproc restartproc] ias-component=[component_name]
or
opmnctl [startproc stopproc restartproc] process-type=[process_name]

Where Component Name like – OC4J, OID, HTTP_Server, WebCache and
Process Type like – WebCacheAdmin, OC4J_Portal, OC4J_Security

How to troubleshoot SSO Server …
How to change hostname/domainname of Apps 11i Server …
….Coming soon….

Leave your comments for topics you want to learn/hear/discuss

About the Author Masroof Ahmad

Leave a Comment:

27 comments
Add Your Reply