700字范文,内容丰富有趣,生活中的好帮手!
700字范文 > oracle inventory directory oraInventory目录的作用

oracle inventory directory oraInventory目录的作用

时间:2024-05-15 13:02:52

相关推荐

oracle inventory directory oraInventory目录的作用

oraInventory目录的作用

-03-14

What is oraInventory ?oraInventory is repository (directory) whichstore/records oracle software products & their oracle_homes locationon a machine. This Inventory now a days in XML format and called as XML Inventory where as in past it used to be in binary format & called as binary Inventory.

There are basically two kind of Inventory Global Inventory (also called as Central Inventory) and Local Inventory also called as Oracle Home Inventory.

oraInventory中记录了oracle安装目录的相关信息,通常在oracle软件安装过程中会自动创建,路径通常会在/oracle_base/oraInventory/,并在/etc/oraInst.loc中记录相关的路径信息,有时候我们的oracle目录是从另一套相似环境中tar过来的,这个时候是不会有oraInventory信息,如果此时数据库需要升级,或者打psu,那么会报错

这时候就需要我们重建oraInventory信息,创建步骤如下:

step 1:编写/etc/oraInst.loc

[root@ORACLE11g-dg etc]#vim oraInst.loc

inventory_loc=/u02/oraInventory

inst_group=oinstall

step 2:运行runInstaller命令进行oraInventory重建工作

[oracle@ORACLE11g-dg database]$ ./runInstaller -silent -ignoreSysPrereqs -attachHome ORACLE_HOME="/u02/oracle/11.2.0/dbhome_1"

ORACLE_HOME_NAME="ORA11g"

Starting Oracle Universal Installer...

step 3:opatch 命令验证可用性

[oracle@ORACLE11g-dg OPatch]$./opatch lsinventory

Invoking OPatch 11.2.0.1.7

step 4:进入相关目录产看相关文件内容

ContentsXML logs

分类:数据库 | 标签: |

相关日志

本内容不代表本网观点和政治立场,如有侵犯你的权益请联系我们处理。
网友评论
网友评论仅供其表达个人看法,并不表明网站立场。