inventory
2016-01-15 09:56
239 查看
[grid@rac02 ContentsXML]$ more inventory.xml
<?xml version="1.0" standalone="yes" ?>
<!-- Copyright (c) 1999, 2013, Oracle and/or its affiliates.
All rights reserved. -->
<!-- Do not modify the contents of this file by hand. -->
<INVENTORY>
<VERSION_INFO>
<SAVED_WITH>11.2.0.4.0</SAVED_WITH>
<MINIMUM_VER>2.1.0.6.0</MINIMUM_VER>
</VERSION_INFO>
<HOME_LIST>
<HOME NAME="Ora11g_gridinfrahome1" LOC="/u01/app/11.2.0/grid" TYPE="O"
IDX="1" CRS="true">
<NODE_LIST>
<NODE NAME="rac02"/>
<NODE NAME="rac01"/>
</NODE_LIST>
</HOME>
</HOME_LIST>
<COMPOSITEHOME_LIST>
</COMPOSITEHOME_LIST>
</INVENTORY>
你打的补丁会在这里出现
[grid@rac02 ContentsXML]$ more comps.xml
<?xml version="1.0" standalone="yes" ?>
<!-- Copyright (c) 1999, 2013, Oracle and/or its affiliates.
All rights reserved. -->
<!-- Do not modify the contents of this file by hand. -->
<PRD_LIST>
<TL_LIST>
</TL_LIST>
<COMP_LIST>
</COMP_LIST>
<ONEOFF_LIST>
</ONEOFF_LIST>
<PATCHSET_UPDATE_LIST>
</PATCHSET_UPDATE_LIST>
</PRD_LIST>
[grid@rac02 ContentsXML]$ ls
comps.xml inventory.xml libs.xml
[grid@rac02 ContentsXML]$ more libs.xml
<?xml version="1.0" standalone="yes" ?>
<!-- Copyright (c) 1999, 2013, Oracle and/or its affiliates.
All rights reserved. -->
<!-- Do not modify the contents of this file by hand. -->
<LIB_LIST>
<QUERY_LIST>
</QUERY_LIST>
<DIALOG_LIST>
</DIALOG_LIST>
<ACTION_LIST>
</ACTION_LIST>
</LIB_LIST>
[grid@rac02 ContentsXML]$
[grid@rac02 OPatch]$ ./opatch lsinventory
Oracle Interim Patch Installer version 11.2.0.3.4
Copyright (c) 2012, Oracle Corporation. All rights reserved.
Oracle Home : /u01/app/11.2.0/grid
Central Inventory : /u01/app/oraInventory
from : /u01/app/11.2.0/grid/oraInst.loc
OPatch version : 11.2.0.3.4
OUI version : 11.2.0.4.0
Log file location : /u01/app/11.2.0/grid/cfgtoollogs/opatch/opatch2016-01-15_09-51-27AM_1.log
Lsinventory Output file location : /u01/app/11.2.0/grid/cfgtoollogs/opatch/lsinv/lsinventory2016-01-15_09-51-27AM.txt
--------------------------------------------------------------------------------
Installed Top-level Products (1):
Oracle Grid Infrastructure 11g 11.2.0.4.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 = rac02
Remote node = rac01
--------------------------------------------------------------------------------
OPatch succeeded.
[grid@rac02 OPatch]$
<?xml version="1.0" standalone="yes" ?>
<!-- Copyright (c) 1999, 2013, Oracle and/or its affiliates.
All rights reserved. -->
<!-- Do not modify the contents of this file by hand. -->
<INVENTORY>
<VERSION_INFO>
<SAVED_WITH>11.2.0.4.0</SAVED_WITH>
<MINIMUM_VER>2.1.0.6.0</MINIMUM_VER>
</VERSION_INFO>
<HOME_LIST>
<HOME NAME="Ora11g_gridinfrahome1" LOC="/u01/app/11.2.0/grid" TYPE="O"
IDX="1" CRS="true">
<NODE_LIST>
<NODE NAME="rac02"/>
<NODE NAME="rac01"/>
</NODE_LIST>
</HOME>
</HOME_LIST>
<COMPOSITEHOME_LIST>
</COMPOSITEHOME_LIST>
</INVENTORY>
你打的补丁会在这里出现
[grid@rac02 ContentsXML]$ more comps.xml
<?xml version="1.0" standalone="yes" ?>
<!-- Copyright (c) 1999, 2013, Oracle and/or its affiliates.
All rights reserved. -->
<!-- Do not modify the contents of this file by hand. -->
<PRD_LIST>
<TL_LIST>
</TL_LIST>
<COMP_LIST>
</COMP_LIST>
<ONEOFF_LIST>
</ONEOFF_LIST>
<PATCHSET_UPDATE_LIST>
</PATCHSET_UPDATE_LIST>
</PRD_LIST>
[grid@rac02 ContentsXML]$ ls
comps.xml inventory.xml libs.xml
[grid@rac02 ContentsXML]$ more libs.xml
<?xml version="1.0" standalone="yes" ?>
<!-- Copyright (c) 1999, 2013, Oracle and/or its affiliates.
All rights reserved. -->
<!-- Do not modify the contents of this file by hand. -->
<LIB_LIST>
<QUERY_LIST>
</QUERY_LIST>
<DIALOG_LIST>
</DIALOG_LIST>
<ACTION_LIST>
</ACTION_LIST>
</LIB_LIST>
[grid@rac02 ContentsXML]$
[grid@rac02 OPatch]$ ./opatch lsinventory
Oracle Interim Patch Installer version 11.2.0.3.4
Copyright (c) 2012, Oracle Corporation. All rights reserved.
Oracle Home : /u01/app/11.2.0/grid
Central Inventory : /u01/app/oraInventory
from : /u01/app/11.2.0/grid/oraInst.loc
OPatch version : 11.2.0.3.4
OUI version : 11.2.0.4.0
Log file location : /u01/app/11.2.0/grid/cfgtoollogs/opatch/opatch2016-01-15_09-51-27AM_1.log
Lsinventory Output file location : /u01/app/11.2.0/grid/cfgtoollogs/opatch/lsinv/lsinventory2016-01-15_09-51-27AM.txt
--------------------------------------------------------------------------------
Installed Top-level Products (1):
Oracle Grid Infrastructure 11g 11.2.0.4.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 = rac02
Remote node = rac01
--------------------------------------------------------------------------------
OPatch succeeded.
[grid@rac02 OPatch]$
相关文章推荐
- Java Web学习总结(8)——使用Cookie进行会话管理
- [leetcode]Remove Duplicate Letters
- oc中数组的处理
- modelsim+win环境下systemverilog调用c函数
- Drupal开发时如何使用远端图片减轻工作量
- Swift中文教程(三) 字符串和字符
- jquery下拉框联动 获取.ashx数据加载到下拉框
- ASP.NET Web API 中的返回数据格式以及依赖注入
- hibernate-DetachedCriteria实现关联表条件复查
- oc语言中关于字符串的处理
- 彩色图像的直方图绘制
- IntelliJ Idea 常用快捷键
- 理解IP和端口
- git常见指令
- android中handle和线程的关系是什么?
- Swift中文教程(二)基本运算符
- 正则表达式详解
- Java Web学习总结(7)——HttpServletRequest对象
- 解决Android中No resource found that matches android:TextAppearance.Material.Widget.Button.Inverse问题
- JDK8新特性-Stream