Solved

moving oracle home to new home for 1 database

Posted on 2010-11-14
5
715 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

Gigs: Get Your Project Delivered by an Expert

Select from freelancers specializing in everything from database administration to programming, who have proven themselves as experts in their field. Hire the best, collaborate easily, pay securely and get projects done right.

Question has a verified solution.

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

Suggested Solutions

Working with Network Access Control Lists in Oracle 11g (part 1) Part 2: http://www.e-e.com/A_9074.html So, you upgraded to a shiny new 11g database and all of a sudden every program that used UTL_MAIL, UTL_SMTP, UTL_TCP, UTL_HTTP or any oth…
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 syntax for various backup options while discussing how the different basic backup types work.  It explains how to take full backups, incremental level 0 backups, incremental level 1 backups in both differential and cumulative mode a…
This videos aims to give the viewer a basic demonstration of how a user can query current session information by using the SYS_CONTEXT function

774 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