Solved

moving oracle home to new home for 1 database

Posted on 2010-11-14
5
720 Views
Last Modified: 2012-05-10
hi,
I have a server on which I have oracle home
in that home, I have 3 databases in 10.2.0.3. Its ASM is on 10.2.0.4
ORACLE_HOME=/app/oracle/10203/db_1

I want to move one database to a new home and other 2 databases in the same home
ORACLE_HOME=/app/newdb/10203
it shd use the existing ASM

The process I want to adopt is
-- install oracle software 10.2.0.1
-- upgrade the software to 10.2.0.3

change the /etc/oratab entry
change the .profile for the database
copy the init, spfile, tnsnames, sqlnet, listener to the new home

is that complete? can anybody please let me know??

(my doubt is -- what happens to the original oraInventory if I change the oracle home, as I am doing nothing to that inventory)

0
Comment
Question by:ramavenkatesa
  • 3
  • 2
5 Comments
 

Author Comment

by:ramavenkatesa
ID: 34135424
can anybody please answer my question???
0
 

Author Comment

by:ramavenkatesa
ID: 34137570
is it essential to move listener.ora, tnsnames files to the new home on the same host??

0
 
LVL 35

Accepted Solution

by:
Mark Geerlings earned 500 total points
ID: 34145902
I think the steps that you have listed should work to get your database working from a different Oracle_home than the other two.  Yes, you will need to copy the listener.ora and tnsnames.ora file to the new home.  You will likely need to edit both of them though, if you want to use a separate listener for this database, since that will need to use a different port number than the existing listener.  You will also need to edit the tnsnames.ora files for any/all clients of this database to use the new port number.

Your question about the oraInventory is a good one.  Yes, that will likely get confused by this approach.  It is supposedly possible to correct the oraInventory if/when it is incorrect, but we've had some trouble with that.  We still have an SR open with Oracle Support for that issue on one of our test servers.
0
 

Author Comment

by:ramavenkatesa
ID: 34152427
i dont have my listener.ora file.
how can i create my listener.ora file using netca ?? can I use netca for creating listener.ora file??
0
 
LVL 35

Expert Comment

by:Mark Geerlings
ID: 34154423
You don't have a listener.ora file, but you have three databases running?  That doesn't sound right.

Anyway, yes, netca should be able to create a listener.ora file for you in the new Oracle_home.
0

Featured Post

Independent Software Vendors: We Want Your Opinion

We value your feedback.

Take our survey and automatically be enter to win anyone of the following:
Yeti Cooler, Amazon eGift Card, and Movie eGift Card!

Question has a verified solution.

If you are experiencing a similar issue, please ask a related question

Why doesn't the Oracle optimizer use my index? Querying too much data Most Oracle developers know that an index is useful when you can use it to restrict your result set to a small number of the total rows in a table. So, the obvious sideā€¦
When it comes to protecting Oracle Database servers and systems, there are a ton of myths out there. Here are the most common.
This video shows setup options and the basic steps and syntax for duplicating (cloning) a database from one instance to another. Examples are given for duplicating to the same machine and to different machines
This video shows how to Export data from an Oracle database using the Datapump Export Utility.  The corresponding Datapump Import utility is also discussed and demonstrated.

680 members asked questions and received personalized solutions in the past 7 days.

Join the community of 500,000 technology professionals and ask your questions.

Join & Ask a Question