Inventory

来源:互联网 发布:用matlab实现omp算法 编辑:程序博客网 时间:2024/05/24 03:30
Inventory 是Oracle 安装工具OUI用来管理Oracle 安装目录的。
Oracle 数据库软件的升级、增删组件,都需要使用Inventory。在一台服务器上,Oracle OUI 会创建一个全局的Inventory,
全局Inventory 的目录在oraInst.loc 文件中指定。oraInst.loc 文件中包含下面的配置项目:inventory_loc=<oraInventory 所在目录>inst_group=<OUI 安装ORACLE 的操作系统组>[root@node1 oracle]# cat /etc/oraInst.locinventory_loc=/u01/11.2.0/oraInventoryinst_group=oinstall[root@node1 oracle]#
这里面有两个信息,第一个是Inventory 所在的目录位置,第二个是安装Oracle 的组的名称。
<span style="font-family: Arial, Helvetica, sans-serif;"></span>
<span style="font-family: Arial, Helvetica, sans-serif;">[grid@node1 OPatch]$ ./opatch lsinventory</span>
Invoking OPatch 11.2.0.1.7Oracle Interim Patch Installer version 11.2.0.1.7Copyright (c) 2011, Oracle Corporation.  All rights reserved.Oracle Home       : /u01/11.2.0/ghomeCentral Inventory : /u01/11.2.0/oraInventory   from           : /etc/oraInst.locOPatch version    : 11.2.0.1.7OUI version       : 11.2.0.3.0Log file location : /u01/11.2.0/ghome/cfgtoollogs/opatch/opatch2015-12-23_13-01-26PM.logLsinventory Output file location : /u01/11.2.0/ghome/cfgtoollogs/opatch/lsinv/lsinventory2015-12-23_13-01-26PM.txt--------------------------------------------------------------------------------Installed Top-level Products (1): Oracle Grid Infrastructure                                           11.2.0.3.0There are 1 products installed in this Oracle Home.There are no Interim patches installed in this Oracle Home.Rac system comprising of multiple nodes  Local node = node1  Remote node = node3--------------------------------------------------------------------------------OPatch succeeded.[grid@node1 OPatch]$


0 0