Difference between local inventory and global inventory in R12.2

The Inventory very important part of Oracle universal installer.

The inventory keeps all information about oracle product like oracle_home and locations,etc.

The inventory in the ORACLE_HOME(Local Inventory)

The central inventory outside the oracle_home (Global inventory)

 

Location:

cat oraInst.loc 

inventory_loc=/u01/app/oraInventory

inst_group=oinstall 


Global Inventory

Global Inventory directory outside of the oracle_home called local inventory

Physical Location /var/opt/oraInst.loc, /etc/oraInst.loc (AIX,Linux)

Global inventory gets update every time install/De-install/Clone the ORACLE_HOME

 

Corrections to Central Inventory

Attach DB Oracle_Home to Central Inventory:

./runInstaller -silent -attachHome ORACLE_HOME="<OracleHome-Directory>“ ORACLE_HOME_NAME="<OracleHome-Name> “LOCAL_NODE="rac1"

 

Detach Oracle_Home from Central Inventory:

./runInstaller -silent -detachHome ORACLE_HOME="<OracleHome-Directory>“ ORACLE_HOME_NAME="<OracleHome-Name>"

 

Local Inventory

The inventory directory inside the oracle home called local inventory

Physical Location $ORACLE_HOME/inventory

It only has data that is pertinent to a certain Oracle Home.

The local inventory gets updated whenever patch is applied oracle_home like:OPATCH

If Local inventory corrupted/Loss difficult to recover need to reinstall the oracle home.


Inventory Backup

It is highly advised to make a backup before performing any upgrades,cloning or patches.

It is not possible to rebuild the Oracle Home(Local) inventory.

If your Oracle Home Inventory becomes corrupted or lost, you can restore it from a backup or reinstall it.


How OPatch command Listing

Opatch lsinventry -> Central Inventory Pointer file (oraInst.loc) -> Central Inventory(inventory.xml) ->Local Inventory Complete Patch List(comps.xml)


Opatch lsinventory Commands

patch lsinventory : show installed patches

opatch lsinventory -detail: show detailed info

opatch lsinventory –all: show all the oracle homes along with installed patches on existing home

opatch lsinventory -inactive: show inactive patches list


Comments

  1. Difference Between Local Inventory And Global Inventory In R12.2 >>>>> Download Now

    >>>>> Download Full

    Difference Between Local Inventory And Global Inventory In R12.2 >>>>> Download LINK

    >>>>> Download Now

    Difference Between Local Inventory And Global Inventory In R12.2 >>>>> Download Full

    >>>>> Download LINK gY

    ReplyDelete

Post a Comment

Popular posts from this blog

How to troubleshoot long running concurrent request in R12.2

How to run Gather Schema Statistics in R12.2

How to compile forms in R12.2