Oracle FAQ | Your Portal to the Oracle Knowledge Grid |
Home -> Community -> Mailing Lists -> Oracle-L -> RE: Moving a database to a different machine
Koivu, Lisa said
"A word of warning, and you probably already know this: you can't have both
databases open at the same time or you will end up with incompatible archive
logs and control files. Good luck !"
Hi Steve,
I used this same strategy with a migration last month. It minimized our
database related downtime to 30 minutes (and then they unplugged the
symmetrix and the app server was down for 12 hours. Oh well)
This plan will work. Once your production machine is physically moved and
set up, you can do the reverse to apply changes to the prod database without
copying over the entire database from dev:
Starting with production database down, the following steps will bring prod
up to date:
1. Shutdown dev 2. Copy over control files/redo logs/arc logs 3. Start up prod 4. Initiate recovery
Lisa Rutland Koivu
Oracle Database Administrator
Certified Self-Important Database Deity
Slayer of Unix Administrators
Wanton Kickboxing Goddess
lkoivu_at_qode.com
NeoMedia
2201 Second St., Suite 600
Fort Myers, FL 33901, USA
Phone: 941-337-3434
Fax: 941-337-3668
www.neom.com <http://www.neom.com> www.paperclick.com <http://www.paperclick.com> www.qode.com <http://www.qode.com>
P a p e r C l i c k . c o m <http://www.paperclick.com/home.htm> Enter Your PaperClick Code Here!
-----Original Message-----
Sent: Thursday, May 17, 2001 2:26 PM
To: Multiple recipients of list ORACLE-L
Allright,
We are physically moving our office, and have an OLTP application that needs
to be up and running with minimal downtime. The current plan is to use the
development computer as the production platform while the Primary computer
is physically moved to the new location. The development system was the
production system about 6 months ago, so it will not be under too much
strain.
I have completely duplicated the filesystems of the Primary machine on the
development box.
This is my plan. Please comment if there is an obviously better way. Oh
the database is version 7.3.4
1.Put the tablespaces of the production database in backup mode.
2.Copy datafiles across the network to the "development" machine. Approx 3
GB
3.Take the production tablespaces out of backup mode. 4.Force a log switch.(Habit I guess) 5.wait until the production system is brought down. 6.move the control files and redo logs to the development system 7.move the initSID.ora and configSID.ora files. 8.edit configSID.ora to change the host associated to Listener. 9.fire up svrmgrl, and recover the database.10.change the tnsnames on the client systems to point to the development machine.
-- Please see the official ORACLE-L FAQ: http://www.orafaq.com -- Author: Steve McClure INET: steve_at_pactr.com Fat City Network Services -- (858) 538-5051 FAX: (858) 538-5051 San Diego, California -- Public Internet access / Mailing Lists -------------------------------------------------------------------- To REMOVE yourself from this mailing list, send an E-Mail message to: ListGuru_at_fatcity.com (note EXACT spelling of 'ListGuru') and in the message BODY, include a line containing: UNSUB ORACLE-LReceived on Thu May 17 2001 - 14:34:52 CDT
(or the name of mailing list you want to be removed from). You may
also send the HELP command for other information (like subscribing -- Please see the official ORACLE-L FAQ: http://www.orafaq.com -- Author: Steve McClure INET: steve_at_pactr.com Fat City Network Services -- (858) 538-5051 FAX: (858) 538-5051 San Diego, California -- Public Internet access / Mailing Lists -------------------------------------------------------------------- To REMOVE yourself from this mailing list, send an E-Mail message to: ListGuru_at_fatcity.com (note EXACT spelling of 'ListGuru') and in the message BODY, include a line containing: UNSUB ORACLE-L
(or the name of mailing list you want to be removed from). You may
also send the HELP command for other information (like subscribing).