| 
                    
                    
                      | Startup Shutdown Application Server - Bounce Services |  
                      | Monday, November 20, 2006 |   |   |  
 We have moved to http://onlineAppsDBA.com kindly check http://onlineAppsDBA.comin future
 
 
                      | 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://becomeappsdba.blogspot.com/2006/10/fusion-middleware-10g-application.html
 http://becomeappsdba.blogspot.com/2006/10/installing-10g-application-server.html
 
 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
 
 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)
 
 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 Labels: 10gAS, basics |  
    | We have moved to  kindly check onLineAppsDBA.com in future
 
 |  
|  |  
|  del.icio.us 
 ¦  Digg This
 ¦  My Yahoo
 ¦  Reddit
 ¦  BlinkList 
 ¦  Furl It
 ¦  Email This
 ¦ 
  
Leave Your Comments |  
                      | posted by Atul Kumar @ 9:38 PM   |  
                      | 
                            
                              |  |  
                              | 15 Comments: |  
                              | 
                                  
                                  
                                      
                                      
                                        i 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
                                      
                                      
                                        Is there any restriction if it should be run by root or oracle user or application user. i have created 2 users oravis and applvis. when i try to run the application control file i get invalid username error. i see that database is up and running and i can connect.
                                      
                                      
                                        Hi Atul,
 do we have any other way bounce the applications .instaed doing adstpall.sh scrpit.
 
 
 
 thanks,
 saikishore
                                      
                                      
                                        Hi Atul,I am not DBA still need your help to resolve a web service issue. In one of our dev instance, I am  login em (from default url:port). I can successfully login after providing user name ias_admin and *** pwd. After successful login, I cant see any thing except preference option. Please help me..
                                      
                                      
                                        Hi ,
 
 I am new in oracle application server i want to run form 6 on as server. can you please help me how to run forms on application server.
 
 Thanks
 Farookh Mohammed
 |  
                              |  |  
                              | << Home |  
                              |  |  |  | 
            
i guess the defual port is 1810 not 1156 can you please check it.
thanks
fadi