Solved

moving oracle home to new home for 1 database

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

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 34

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

PRTG Network Monitor: Intuitive Network Monitoring

Network Monitoring is essential to ensure that computer systems and network devices are running. Use PRTG to monitor LANs, servers, websites, applications and devices, bandwidth, virtual environments, remote systems, IoT, and many more. PRTG is easy to set up & use.

Join & Write a Comment

Article by: Swadhin
From the Oracle SQL Reference (http://download.oracle.com/docs/cd/B19306_01/server.102/b14200/queries006.htm) we are told that a join is a query that combines rows from two or more tables, views, or materialized views. This article provides a glimps…
How to Create User-Defined Aggregates in Oracle Before we begin creating these things, what are user-defined aggregates?  They are a feature introduced in Oracle 9i that allows a developer to create his or her own functions like "SUM", "AVG", and…
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 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…

706 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

Need Help in Real-Time?

Connect with top rated Experts

18 Experts available now in Live!

Get 1:1 Help Now