从来都不知道这个文件的作用,现在要好好学习, 天天向上了,所以特意查了一下
这个文件中有安装在节点上的ORACLE的HOME路径,如果是多个ORACLEHOME,在文件中也列出了多个ORACLEHOME的名称,index名称,还有所有安装过这个ORACLEHOME的节点,也包含ORACLE集群软件的位置 还有已经删除的ORACLEHOME 地址,它可以用于检测通过Oracle universal Install安装过但是已经删除的ORACLEHOME
Inventory File
这个文件中有安装在节点上的ORACLE的HOME路径,如果是多个ORACLEHOME,在文件中也列出了多个ORACLEHOME的名称,index名称,还有所有安装过这个ORACLEHOME的节点,也包含ORACLE集群软件的位置 还有已经删除的ORACLEHOME 地址,它可以用于检测通过Oracle universal Install安装过但是已经删除的ORACLEHOME
Inventory File
This file lists all the Oracle homes installed on the node. For each Oracle home, it also lists the Oracle home name, home index, and nodes on which the home is installed. It also mentions if the home is an Oracle Clusterware home or a removed Oracle home. It can only detect removed Oracle homes created using Oracle Universal Installer version 11.2 and later. This file is present in the following location:
<central inventory location>/ContentsXML/inventory.xml
The following code shows a sample inventory.xml file:
<?xml version="1.0" standalone="yes" ?> <!-- Copyright (c) 2009 Oracle Corporation. All rights Reserved --> <!-- Do not modify the contents of this file by hand. --> <INVENTORY> <VERSION_INFO> <SAVED_WITH>11.2.0.0.0</SAVED_WITH> <MINIMUM_VER>2.1.0.6.0</MINIMUM_VER> </VERSION_INFO> <HOME_LIST> <HOME NAME="OraDb11g_home1" LOC="/home/oracle_db11g/product/11.2.0/db_1" TYPE="O" IDX="1"/> <HOME NAME="OUIHome" LOC="D:\OraHome1" TYPE="O" IDX="2" /> <HOME NAME="OUIHome12" LOC="D:\OraHome12" TYPE="O" IDX="3" /> <HOME NAME="OUIHome1" LOC="D:\homes\OraHome1" TYPE="O" IDX="4" /> </HOME_LIST> </INVENTORY>
来自 “ ITPUB博客 ” ,链接:http://blog.itpub.net/8747612/viewspace-1869815/,如需转载,请注明出处,否则将追究法律责任。
转载于:http://blog.itpub.net/8747612/viewspace-1869815/