Inventory

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.loc
inventory_loc=/u01/11.2.0/oraInventory
inst_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.7

Oracle Interim Patch Installer version 11.2.0.1.7
Copyright (c) 2011, Oracle Corporation.  All rights reserved.


Oracle Home       : /u01/11.2.0/ghome
Central Inventory : /u01/11.2.0/oraInventory
   from           : /etc/oraInst.loc
OPatch version    : 11.2.0.1.7
OUI version       : 11.2.0.3.0
Log file location : /u01/11.2.0/ghome/cfgtoollogs/opatch/opatch2015-12-23_13-01-26PM.log

Lsinventory 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.0
There 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]$


评论
添加红包

请填写红包祝福语或标题

红包个数最小为10个

红包金额最低5元

当前余额3.43前往充值 >
需支付:10.00
成就一亿技术人!
领取后你会自动成为博主和红包主的粉丝 规则
hope_wisdom
发出的红包
实付
使用余额支付
点击重新获取
扫码支付
钱包余额 0

抵扣说明:

1.余额是钱包充值的虚拟货币,按照1:1的比例进行支付金额的抵扣。
2.余额无法直接购买下载,可以购买VIP、付费专栏及课程。

余额充值