Oracle Inventory Directory概念

Oracle Inventory Directory

2.7.2  Oracle Inventory Directory

The Oracle Inventory directory (oraInventory) stores an inventory of all software installed on the system. It is required by, and shared by, all Oracle software installations on a single system. The first time you install Oracle software on a system, Oracle Universal Installer prompts you to specify the path to this directory. then Oracle recommends that you choose the following path:

oracle_base/oraInventory

Oracle Universal Installer creates the directory that you specify and sets the correct owner, group, and permissions for it. You do not need to create it.

Note:

All Oracle software installations rely on this directory. Ensure that you back it up regularly.

Do not delete this directory unless you have completely removed all Oracle software from the system.

第一次安装完oracle db后,如果再想往oracle中加入新的组件,需要重新运行runInstaller。第二次运行runInstaller的时候,runInstaller就是通过oraInst.loc中指定的

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

来确定oracle inventory directory路径的。默认runInstaller会去中/etc/oraInst.loc。如果不想使用默认的,可以使用如下参数指定:

./runInstaller -invPtrLoc /u01/app/oracle/installfile/oraInst.loc

你可能感兴趣的:(oracle)