Reader’s Question : Cloning : can I copy Middle Tier while services are up (Hot Backup) ?

This post covers reader’s question around Cloning in Oracle Apps R12/11i :

I want to clone my production instance without shutting down Application Tier and Database Tier. As per Metalink note 230672.1 “Cloning Oracle Applications 11i with Rapid Clone”, I have to shutdown Application Tier and Database Tier. For Database I can use RMAN for hot backup but How to copy Middle Tier without shutting down services. Can I copy Application Tier without shutting down services ? 

 Yes, It is safe to copy Application Tier (APPL_TOP, COMMON_TOP, ORA_TOP) while services are running. However on target location delete following PIDFiles

a) For 11i : $IAS_ORACLE_HOME/ Apache/ Apache/ logs/ httpd.pid & httpd_pls.pid
b) For R12 : $INST_TOP/pids/10.1.3/httpd.pid
.

Why is it required to delete PIDFile from target location (after copy while Application Tier was running) ?

Web Server (HTTP Server) in Oracle Apps 11i/R12 uses Apache which creates PIDFiles at time of startup and remove it when you stop Apache.
      If your WebServer (HTTP Server) is not running and you see PIDFiles in location then it is safe to remove them.    For information on How to troubleshoot Apache (Web Server) issues in Oracle Apps click here

.
What is PIDFile in Oracle Apps 11i/R12 Web Server ?
This it the file in which the server should record its process identification number when it starts.
.

What is default PID file location ?
For 11i : $IAS_ORACLE_HOME/Apache/Apache/logs/httpd.pid & httpd_pls.pid
For R12 : $INST_TOP/pids/10.1.3/httpd.pid
.

Where is PIDfile location defined ?
PIDFile location is defined in
For R12 : $ORA_CONFIG_HOME/10.1.3/Apache/Apache/conf/httpd.conf
For 11i : $IAS_ORACLE_HOME/Apache/Apache/Apache/conf/httpd.conf

About the Author Atul Kumar

Oracle ACE, Author, Speaker and Founder of K21 Technologies & K21 Academy : Specialising in Design, Implement, and Trainings.

follow me on:

Leave a Comment:

3 comments
Kanti says February 10, 2010

Hi Atul,

Just to add some clarification for R12.There is no need to copy INST_TOP.Once the clone process is complete a new INST_TOP is created automatically.

All runtime files like pid etc need not be copied.

Regards

Kanti

Reply
Atul Kumar says February 10, 2010

@ Kanti, Yes you are right. Thanks for pointing this out .

Reply
satish says February 13, 2010

Good one..

Reply
Add Your Reply

Not found