OraInventory Recreation

September 24, 2017 | Author: Sampath Kumar | Category: Oracle Database, Utility Software, Computer File, Operating System Technology, Software
Share Embed Donate


Short Description

recreation of orainventory...

Description

OraInventory

RECREATING ORAINVENTORY

NAME PLATFORM VERSION DATE

: : : :

SURESH.V ORACLE ENTERPRISE LINUX 5.x 64bit 11.1.0.6.0 13.07.2010

1

ORAFACT

OraInventory

Table of Contents 1. Recreating OraInventory........................................................................................................................3 1.1 Verifying current OraInventory Location........................................................................................3 1.2 Locating oraInventory file...............................................................................................................3 1.3 Creating New Directory..................................................................................................................3 1.4 Modifying Location.........................................................................................................................3 1.5 Changing Permission.......................................................................................................................4 1.6 Recreation OraInventory Location..................................................................................................4 1.7 Verifying New OraInventory Location............................................................................................4

2

ORAFACT

OraInventory

1. Recreating OraInventory 1.1 Verifying current OraInventory Location [suresh@of80 ]$cd $ORACLE_HOME/OPatch [suresh@of80 OPatch]$ ../opatch lsinventory -detail IInvoking OPatch 11.1.0.6.0 Oracle Interim Patch Installer version 11.1.0.6.0 Copyright (c) 2007, Oracle Corporation. All rights reserved. C Oracle Home : /d01/oracle/product/11.1.0/db_1 Central Inventory : /d01/oracle/oraInventory / from : /etc/oraInst.loc OPatch version : 11.1.0.6.0 OUI version : 11.1.0.6.0 OUI location : /d01/oracle/product/11.1.0/db_1/oui Log file location : / /d01/oracle/product/11.1.0/db_1/cfgtoollogs/opatch/opatch2010-07-13_16-55-05PM.log Lsinventory Output file location : /d01/oracle/product/11.1.0/db_1/cfgtoollogs/opatch/lsinv/lsinventory2010-07-13_16-55-05PM.txt ****************************** OPatch succeeded.

1.2 Locating oraInventory file [root@of80 ~]# cd /etc/ [root@of80 etc]# ls ora* oraInst.loc oratab [root@of80 etc]# cp oraInst.loc oraInst.loc.bak

1.3 Creating New Directory [suresh@of80 ]$ [suresh@of80 orainv]$ mkdir oraInventory [suresh@of80 orainv]$ cd oraInventory/ [suresh@of80 oraInventory]$ pwd /d01/oracle/orainv/oraInventory

1.4 Modifying Location [root@of80 ]vi /etc/oraInst.loc inventory_loc=/d01/oracle/orainv/oraInventory / inst_group=dba 3

ORAFACT

OraInventory

1.5 Changing Permission [root@of80 etc]# chmod 644 oraInst.loc For consistency, copy the file to Oracle home directory [suresh@of80 ~]$ cd $ORACLE_HOME [suresh@of80 db_1]$ cp oraInst.loc oraInst.loc.bak

1.6 Recreation OraInventory Location [suresh@of80 ]$cd $ORACLE_HOME/oui/bin [suresh@of80 bin]$ ./runInstaller -silent -attachHome ORACLE_HOME="/d01/oracle/product/11.1.0/ db_1" ORACLE_HOME_NAME="Ora11gHome" Starting Oracle Universal Installer... S Checking swap space: must be greater than 500 MB. Actual 9852 MB Passed Preparing to launch Oracle Universal Installer from /tmp/OraInstall2010-07-13_05-09-20PM. Please wait ...[suresh@of80 bin]$ The inventory pointer is located at /etc/oraInst.loc The inventory is located at /d01/oracle/orainv/oraInventory 'AttachHome' was successful.

1.7 Verifying New OraInventory Location [suresh@of80 ]$cd $ORACLE_HOME/OPatch [suresh@of80 OPatch]$ ./opatch lsinventory -detail IInvoking OPatch 11.1.0.6.0 Oracle Interim Patch Installer version 11.1.0.6.0 Copyright (c) 2007, Oracle Corporation. All rights reserved. C Oracle Home : /d01/oracle/product/11.1.0/db_1 Central Inventory : /d01/oracle/orainv/oraInventory from : /etc/oraInst.loc OPatch version : 11.1.0.6.0 OUI version : 11.1.0.6.0 OUI location : /d01/oracle/product/11.1.0/db_1/oui Log file location : / /d01/oracle/product/11.1.0/db_1/cfgtoollogs/opatch/opatch2010-07-13_17-10-33PM.log Lsinventory Output file location : /d01/oracle/product/11.1.0/db_1/cfgtoollogs/opatch/lsinv/lsinventory2010-07-13_17-10-33PM.txt *************************** OPatch succeeded. ****************************************END**************************************

4

ORAFACT

View more...

Comments

Copyright ©2017 KUPDF Inc.
SUPPORT KUPDF