Operating System - HP-UX
1753786 Members
7765 Online
108799 Solutions
New Discussion юеВ

Re: How to change path of ORACLE_HOME in inventory Universal installer

 
SOLVED
Go to solution
Frank de Vries
Respected Contributor

How to change path of ORACLE_HOME in inventory Universal installer

How to change path of ORACLE_HOME in inventory Universal installer

We had an oracle path /tstnew/oracle/product/9.2.0.7 and
in the Universal Installer it is denoted as ORACLE_HOME11.

We have moved the path to /tstnew/oracle/product/9.2.0.8
(and afterwards by relinking all, adapting oratab and listener.ora The Instance works pretty well after)

Except one thing, when we startup the Universal
Installer the reference between ORACLE_HOME11 and the new path is severed. It still is fixed on the old path /tstnew/oracle/product/9.2.0.7 , which now does no longer exists.

Is it possible somewhere in a config file of the Inventory to adapt that manually to the new path? Or via some tool.
Or was there a better way to do this then we did ?
Or some note that describes about this ?
Any suggestions welcome
Would be helpfull.
Thanks
Look before you leap
5 REPLIES 5
Peter Godron
Honored Contributor

Re: How to change path of ORACLE_HOME in inventory Universal installer

Frank,
can you use:
./runInstaller ORACLE_HOME="" ORACLE_HOME_NAME=""

Untested !
Frank de Vries
Respected Contributor

Re: How to change path of ORACLE_HOME in inventory Universal installer

Peter

Appreciate your answer, but
to my mind it is irrelevant whether you
run runInstaller interactively or with
command line options.

Alright it will accept it and start up,
but further down it backfires with a pop-up
that ORACLE_HOME11 is empty.
That is not handy when you just adding a patch on top of an existing intallation.

Thus end result is that he will read
the "Already installed products" from
the Inventory and discover that in my case
the ORACLE_HOME11 is related to
/tstnew/oracle/product/9.2.0.7

Whereas I since moved it to /tstnew/oracle/product/9.2.0.7

Naturally I moved it back from
/tstnew/oracle/product/9.2.0.8 to
/tstnew/oracle/product/9.2.0.7
and did the install of the patch and
that worked fine.

All I want to know know is how/where to
change it in the Inventory , so it
all stays consistent.


Look before you leap
Peter Godron
Honored Contributor

Re: How to change path of ORACLE_HOME in inventory Universal installer

Frank,
from the concept guide:
"The list of Oracle homes on UNIX consists of the following:

all Oracle homes that are already created using the Oracle Universal Installer

all homes as defined in the /var/opt/oratab file. Note: This location may vary for different UNIX platforms

the home that the ORACLE_HOME environment variable points to

If none of these homes exists on a machine, a default home is calculated based on the disk volume with the largest amount of free space."

So, I assume you have checked:
oratab file
environment setup script setting $ORACLE_HOME

Which leaves the oraparam.ini and oraInst.loc files, the second of which points to the inventory location.
Peter Godron
Honored Contributor
Solution

Re: How to change path of ORACLE_HOME in inventory Universal installer

Frank de Vries
Respected Contributor

Re: How to change path of ORACLE_HOME in inventory Universal installer

I had still to do some looking up,
but okay award full points, cos I got
wot I wanted:

copy - pasted:
"The information in oraclehomeproperties.xml overrides the information in inventory.xml. "

In fact inventory.xml is good for me !!

Thanks



Look before you leap