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
http://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
Related Posts for Startup Shutdown
- Start-up Shutdown Scripts in Oracle Apps R12
- Startup Shutdown Application Server - Bounce Services
- Startup Shutdown Apps Services
- ADAPCCTL.SH : EXITING WITH STATUS 150 , 204 : Apache Logs in R12
- adoacorectl.sh , adformsctl.sh , adoafmctl.sh - exiting with status 204
Popularity: 19% [?]







Good hands-on exercises (installation, patching, cloning), very experienced trainer worth for Money 
19 users commented in " Startup Shutdown Application Server - Bounce Services "
Follow-up comment rss or Leave a Trackbacki guess the defual port is 1810 not 1156 can you please check it.
thanks
fadi
Fadi ,
Thanks for pointing that out , I have seen both depending on Application Server versions .
In some 1156 & 1810 , I did couple of 10.1.2.0.2 AS where port was 1156
whereas in 9.0.4 AS & collaboration Suite 10.1.2.0.0 its 1810.
Hi Atul,
Can we use 9i forms and reports with oracle applications 11.5.10.2
can u please guide me on this its very urgent.
Thanks,
appsdba
No Apps DBA,
Only 806 forms are integarted & certified with 11.5.10.2 though you can configure 10g Forms & reports comes with 10g Application server with Apps
Hello Atul,
For a 10gAS Rel 1 installation supporting retek applications, we copied all the configuration and installation files to a new box(unix aix installation). I know its not supported but, can you give me the configuration files which stores the hostname as we need to change the hostname of the box. Will this work?
Regards.
Syed
Syed,
You want to change server name to old server (source from where you moved) or you want to change values in 10g AS so that it takes new server name ?
Is old server also AIX ?
hi
well that was very well said… one question , though..
you said start db…
well which db, infrastructure db.??? coz i hv another prodn db rnnning on same box as app server… any suggestions
hardik shah
Hardik,
If your portal,BI or any other product data is stored in another database in that case you have to start product database & listener as well.
So for starting applications start infastructure database and any other database associated with application tier
Hi Atul,
Can you discuss more on opmnctl and dcmctl ,on which all scenarios these utilities will be used and what is the major difference between these two utilities.
AppsDBA
Sure I’ll cover this after RAC doc in a week or two .
Hi,
Has anyone got any Windows scripts that they could send me to stop and start the Oracle 10g app server services ?
I am new to 10g and am looking for a really good script that sets environment, sleeps etc … that can be used commercially
Please send to :- rob_ford@hotmail.com
many thanks Rob
hi,
i am fresher as a apps DBA. So can u please tell me the process of how to Down and up the database and also the purpose.
Regards
Abhishek Mishra
mail : abhishek_577@yahoo.co.in
To Start Database
sqlplus “/as sysdba”
startup
To Shutdown Database
sqlplus “/as sysdba”
shutdown immediate
Hi Atul,
I followed the your script for shutdown and all services shutdown well.
But,after that i issued following statement to check if all process shutdown
$ ps -ef|grep ora10g
ora10g 8916 1 0 Nov 4 ? 0:43 /u01/ora10gias/perl/bin/perl /u01/ora10gias/bin/emwd.pl dbconsole /u01/ora10gias/cgcaprpt_appinfra/sysman/log/emdbconsole.nohup
ora10g 8923 8916 0 Nov 4 ? 6:22 /u01/ora10gias/bin/emagent
ora10g 11822 8916 0 10:34:12 ? 0:07 /u01/ora10gias/jdk/bin/IA64N/java -server -Xmx512M -XX:MaxPermSize=64m -XX:MinHeapFreeRatio=20 -XX:MaxHeapFreeRatio=40 -XdoClos
The above process are not shutdown, how can i incorporate this in my shutdown script or should i just kill this process ?
It seems dbconsole is still running
for 10g AS R2
use
emctl stop dbconsole
emctl stop iasconsole
for 10g AS R3 use
opmnctl stopproc application=ascontrol
or you can kill above processes (Not an issue)
Hi Atul,
Normally I use OEM to manage/monitor my Application servers but since there is a separate license for Diagnostic packs I tend to manage/monitor my Application Server components using OPMNCTL. Is there a way or a tool that i’ll be notified when one of my application server components gets any problem(suddenly stop/died)?
hi,
i am fresher as a apps DBA. So can u please tell me the process of how to Down and up the database
Regards,
sanjit de
i am fresher as a apps DBA. So can u please tell me the process of how to Down and up the database
Regards,
sanjit de
de.sanjit@gmail.com
@ Sanjit
For R12 check this http://onlineappsdba.com/index.php/2007/06/10/start-up-shutdown-scripts-in-oracle-apps-r12/
for 11i check this http://onlineappsdba.com/index.php/2006/08/02/startup-shutdown-apps-services/
For database in apps
1. Ensure that middle tier services are down
2. Stop apps database and listener like standalone database
lsnrctl stop [SID]
sqlplus “/as sysdba”
SQL> shutdown immediate
Leave A Reply