Go Premium for a chance to win a PS4. Enter to Win

x
?
Solved

moving oracle home to new home for 1 database

Posted on 2010-11-14
5
Medium Priority
?
727 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 2000 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

Prepare for your VMware VCP6-DCV exam.

Josh Coen and Jason Langer have prepared the latest edition of VCP study guide. Both authors have been working in the IT field for more than a decade, and both hold VMware certifications. This 163-page guide covers all 10 of the exam blueprint sections.

Question has a verified solution.

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

Have you ever had to make fundamental changes to a table in Oracle, but haven't been able to get any downtime?  I'm talking things like: * Dropping columns * Shrinking allocated space * Removing chained blocks and restoring the PCTFREE * Re-or…
This post first appeared at Oracleinaction  (http://oracleinaction.com/undo-and-redo-in-oracle/)by Anju Garg (Myself). I  will demonstrate that undo for DML’s is stored both in undo tablespace and online redo logs. Then, we will analyze the reaso…
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
Via a live example, show how to take different types of Oracle backups using RMAN.
Suggested Courses

926 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