What's the best method for this?
What's the best method for multiple installs (some are the same version) on the same server as far as the oraInventory directory is concerned?
There's got to be a better way than copying the /etc/oraInst.loc every time we install to a different $ORACLE_HOME.
One slip, and oraInventory will be corrupted.
Re: What's the best method for this?
Quote:
There's got to be a better way than copying the /etc/oraInst.loc every time we install to a different $ORACLE_HOME.
/etc/oraInst.loc? What version of Oracle are you using that puts a file in the /etc directory? I've only seen /var/opt/oracle, created by running /tmp/orainstRoot.sh if /var/opt/oracle doesn't already exist.
Once the oraInst.loc file is created, OUI looks for the location specified in it, then reads the oraInventory stuff. You can have multiple Oracle products installed in their respective ORACLE_HOMEs, with all of that information stored in the original oraInventory directory if you let Oracle do what it wants to do.
The only time I've had to dummy up the oraInst.loc file is when getting abused by the iAS/iDS installation process, and that was going off the reservation for other reasons (needed to do that so iDS would install using the JRE directory created with the iDS install, and not using the JRE directory from a previous Oracle product install).
Re: Re: What's the best method for this?
Quote:
Originally posted by stecal
/etc/oraInst.loc? What version of Oracle are you using that puts a file in the /etc directory? I've only seen /var/opt/oracle, created by running /tmp/orainstRoot.sh if /var/opt/oracle doesn't already exist.
The path is not the same on all UNIX flavours. In HP it goes into /etc/oraInst.loc.
As KenEwald pointed, its not a practive a general oracle rep would recomend. I personally have been through some problem, which forced me to do an install from scrach. Its not as simple as you may think once the inventory gets corrupted. The practice what KenEwald had been following was a recomendation made to me from Oracle Inventory development folks long time back. This would keep the things clean, installations smooth. The only pain the one that KenEdwald had pointed out, possibility of messing it.
-Sam
Re: Re: Re: What's the best method for this?
Quote:
Originally posted by sambavan
The path is not the same on all UNIX flavours. In HP it goes into /etc/oraInst.loc.
-Sam
Nope in HP its in /var/opt/oracle/oraInst.loc
In IBM its on /etc/oraInst.loc
we have both RS6000 SP and HP 9000 Series server over here.