Still celebrating National IT Professionals Day with 3 months of free Premium Membership. Use Code ITDAY17

x
?
Solved

moving oracle home to new home for 1 database

Posted on 2010-11-14
5
Medium Priority
?
726 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
[X]
Welcome to Experts Exchange

Add your voice to the tech community where 5M+ people just like you are talking about what matters.

  • Help others & share knowledge
  • Earn cash & points
  • Learn & ask questions
  • 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

VIDEO: THE CONCERTO CLOUD FOR HEALTHCARE

Modern healthcare requires a modern cloud. View this brief video to understand how the Concerto Cloud for Healthcare can help your organization.

Question has a verified solution.

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

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…
Configuring and using Oracle Database Gateway for ODBC Introduction First, a brief summary of what a Database Gateway is.  A Gateway is a set of driver agents and configurations that allow an Oracle database to communicate with other platforms…
This video shows, step by step, how to configure Oracle Heterogeneous Services via the Generic Gateway Agent in order to make a connection from an Oracle session and access a remote SQL Server database table.
This video shows how to set up a shell script to accept a positional parameter when called, pass that to a SQL script, accept the output from the statement back and then manipulate it in the Shell.

664 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