Hi all,
So many people (especially junior DBAs and developers) think that the shutdown and start up process for E-business is just a mater of running their scripts? and they completely ignore the order of this process, yes the order is very important, at one of my previous projects the Apps DBA there was kind of a terminator! When he needs to shutdown his apps he just do it in 2 simple steps as the following:
1- Stop the DB immediately.
2- Use kill -9 to kill all other processes.
This is completely wrong, because:
This will effect the concurrent manager & Apache, believe me if you face one of idiot issues with one of them you will be in a very bad situation specially if you try to clean the concurrent by using SQL script and when you try to start it and check it on the application and see that there is NO MANAGER
. I like this word only if its meaning my line manager
but not the concurrent.
The normal and recommended way to shutdown and start up the E-business suite is:
Start up procedure:
Log in by oracle user to start up dbTier:
1- start up the DB by run addbctl.sh start
2- Start up the nls by run addlnctl.sh start <nlsname>
Log in by applmgr user to start up appsTier:
1- start up the Apps by run adstrtal.sh.
Shutdown procedure:
Log in by applmgr user to shutdown appsTier:
1- Shutdown apps by run adstpall.sh.
2- wait for sometime and check for any concurrent or Apache process whether they are still running or not, if so kill it by using kill -9, you can check by use the following unix commands:
ps –ef |grep http ——– for apache
ps –ef |grep FND ——– for concurrent
Log in by oracle user to stop dbTier:
1- Shutdown the nls by run addlnctl.sh stop <nlsname>
2- Shutdown the db by run addbctl.sh stop
Note: if you plan to make cloning then you have to stop the db in normal mode:
./addbctl.sh stop normal
To be continue…