Inventory是Oracle安装工具OUI用来管理Oracle安装目录的。Inventory里注册了某个ORACLE_HOME下安装的数据库
的组件及其版本。Oracle数据库软件的升级、增删组件,都需要使用Inventory。
在一台服务器上,Oracle OUI会创建一个全局的Inventory,全局Inventory的目录在oraInst.loc文件中指定。根据
操作系统的不同,oraInst.loc所在的目录也不一样。
/etc/oraInst.loc (AIX and Linux Platform)
/var/opt/oracle/OraInst.loc (Solaris and HP-UX platform)
oraInst.loc文件中包含下面的配置项目:
Inventory_loc=
inst_group=
例子:
Inventory_loc=/u01/app/oraInventory
inst_group=oinstall
inst_group参数十分重要,它会在link Oracle映像的时候被使用,如果这个参数设置错了,那么link出来的Oracle映像就
无法被正常使用了。
在全局Inventory中定义了所有Oracle HOME的情况,这个文件就是ContentsXML目录下的Inventory.xml:
<?xml version="1.0" standalone="yes" ?>
<!-- Copyright (c) 2001 Oracle Corporation. All rights Reserved -->
<!-- Do not modify the contents of this file by hand. -->
2.2.0.18.0
2.1.0.6.0
如上,一个9i,一个10g ORACLE_HOME .
的组件及其版本。Oracle数据库软件的升级、增删组件,都需要使用Inventory。
在一台服务器上,Oracle OUI会创建一个全局的Inventory,全局Inventory的目录在oraInst.loc文件中指定。根据
操作系统的不同,oraInst.loc所在的目录也不一样。
/etc/oraInst.loc (AIX and Linux Platform)
/var/opt/oracle/OraInst.loc (Solaris and HP-UX platform)
oraInst.loc文件中包含下面的配置项目:
Inventory_loc=
inst_group=
例子:
Inventory_loc=/u01/app/oraInventory
inst_group=oinstall
inst_group参数十分重要,它会在link Oracle映像的时候被使用,如果这个参数设置错了,那么link出来的Oracle映像就
无法被正常使用了。
在全局Inventory中定义了所有Oracle HOME的情况,这个文件就是ContentsXML目录下的Inventory.xml:
<?xml version="1.0" standalone="yes" ?>
<!-- Copyright (c) 2001 Oracle Corporation. All rights Reserved -->
<!-- Do not modify the contents of this file by hand. -->
2.2.0.18.0
2.1.0.6.0
如上,一个9i,一个10g ORACLE_HOME .
来自 “ ITPUB博客 ” ,链接:http://blog.itpub.net/35489/viewspace-1457297/,如需转载,请注明出处,否则将追究法律责任。
转载于:http://blog.itpub.net/35489/viewspace-1457297/
本文介绍了Oracle Inventory的作用及配置方法。Inventory由Oracle安装工具OUI管理,用于记录不同ORACLE_HOME下的数据库组件及其版本信息。文章详细解释了oraInst.loc文件的位置与内容,并说明了Inventory.xml如何保存所有Oracle HOME的信息。
550

被折叠的 条评论
为什么被折叠?



