I've done this myself many times.  This is the easiest way that works for
me.

1.  Install Oracle on the new machine (B) with the starter database.  This
sets up the registry correctly and gives you the database and listener
services.

2.  Delete the ORANT or ORAwhatever folder on B.  You don't need it.

3.  Stop the database and listener on your original machine (A).

4.  Copy the ORANT or ORAwhatever folder on A to B  (that should get you
all your *.ora and pfiles - to say nothing of your executables).

5.  Move all the data files, redologs, archive logs, control files, etc. to
B in the exact same location that they were on A.

6.  Edit the listener.ora to reflect the name of the new machine B.

7.  On machine B, open CONTROL PANEL, then SERVICES and start the Oracle
database and listener services.

8.  If this database is replacing the old database, edit the tnsnames.ora
on B and on other client machines and replace the hostname of A with the
hostname of B.  If it's not replacing it, then edit the tnsnames.ora by
copying the entry for the old database on A and make a new entry, replacing
the hostname of A with B.  If you're using OEM, you've got some work there
too, but I don't use it so I won't presume to advise you on that.

9.  Enjoy your new database.

There is an even easier way but I don't really trust it.

If your new machine is an exact physical clone of the old machine, then
stop the database and listener on your old machine and ask your network
guys to 'ghost' the new machine from the old machine.  You'll still have to
do steps 6 and 8 above.  I don't like ghosted machines because they seem to
end up with less stable operating systems.  However, all Windows machines
that come with the OS installed by the manufacturer have already been
ghosted (you don't really think that Dell and Gateway pay people to sit
around and install Windows from the CD, do you?).

So unless your network guys burned the new machine down to a bare disk and
did their own OS install you probably won't loose anything by having the
old machine ghosted.

-- 
Please see the official ORACLE-L FAQ: http://www.orafaq.com
-- 
Author: 
  INET: [EMAIL PROTECTED]

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: [EMAIL PROTECTED] (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).

Reply via email to