Oracle DBA – A lifelong learning experience

How to move the central Inventory (oraInventory) to another location.

Posted by John Hallas on October 2, 2008

Solution On Unix:

 

Find the current location of the central inventory (normally $ORACLE_BASE/oraInventory):

For example:

find /home/oracle -name oraInventory -print 

 /u01/app/oracle/oraInventory

 

Open the oraInst.loc file in /var/opt/oracle and check the value of inventory_loc

cat /var/opt/oracle/oraInst.loc

inventory_loc=/u01/app/oracle/oraInventory inst_group=oinstall

 

Remark: The oraInst.loc file is simply a pointer to the location of the central inventory (oraInventory)

 

Copy the oraInventory directory to the destination directory

cp -Rp /home/oracle/oraInventory /app/oracle

 

Edit the oraInst.loc file to point to the new location

For example:

vi /var/opt/oracle/oraInst.loc

inventory_loc=/app/oracle/oraInventory inst_group=dba

· 2008/10/02 12:11 · John Hallas · 0 Comments

5 Responses to “How to move the central Inventory (oraInventory) to another location.”

  1. […] diskmon on HP Itanium Corrupted inventory January 30, 2009 I have already blogged https://jhdba.wordpress.com/2008/10/02/how-to-move-the-central-inventory-orainventory-to-another-loca… about how to move an incorrectly placed Oracle Inventory but in this case we had a corrupted […]

  2. Laureano said

    And if i want to move de oraInst.loc to another location?

Leave a Reply

Fill in your details below or click an icon to log in:

WordPress.com Logo

You are commenting using your WordPress.com account. Log Out / Change )

Twitter picture

You are commenting using your Twitter account. Log Out / Change )

Facebook photo

You are commenting using your Facebook account. Log Out / Change )

Google+ photo

You are commenting using your Google+ account. Log Out / Change )

Connecting to %s

 
%d bloggers like this: