Thursday, March 19, 2009

How To Move The Central Inventory To Another Location on unix host

1. Find the current location of the central inventory.
$ find / -name oraInventory -print/u01/app/oracle/oraInventory

2. Open the oraInst.loc file (by default this is in /etc or /var/opt/oracle depending on which Unix / Linux platform you are using) and check the value of inventory_loc
For example:
$ find / -name oraInst.loc -print/etc/oraInst.loc
$cat /etc/oraInst.locinventory_loc=/u01/app/oracle/oraInventory inst_group=oinstall
The oraInst.loc file is simply a pointer to the location of the central inventory (oraInventory)

3. Copy the oraInventory directory to the destination directory
For example:
$cp -Rp /u01/app/oracle/oraInventory /u02/app/oracle

4. Edit the oraInst.loc file to point to the new location
For example:
$vi /etc/oraInst.loc
(make the required change and then save the file)
$cat /etc/oraInst.locinventory_loc=/u02/app/oracle/oraInventory inst_group=oinstall

1 comment:

tikitodo said...

maybe the service of can you repair a damaged pdf file better suits your needs? I have recently tested several data recovery applications and I think it is the easiest one