R12.2 How To Re-Attach Oracle Homes To The Central Inventory

Download as doc, pdf, or txt
Download as doc, pdf, or txt
You are on page 1of 4

In this Document

Goal
Solution

APPLIES TO:
Oracle Applications Manager - Version 12.2.2 and later
Information in this document applies to any platform.
GOAL
This document explains how to re-attach 12.2 EBS Oracle Homes to the central inventory.
There could be a number of reasons why you wish to re-attach the Oracle Homes. It could be
that you have experienced one of the following 2 errors during upgrade or Autoconfig runs :
1/ INST-07536 and INST-07531, Middleware home location specified does not have the
required Oracle homes installed

2/ oraInventory/ContentsXML/inventory has no homes listed

SOLUTION
Before looking at a solution, let us observe a working inventory.xml file. This file is located in
<directory_specified_by_oraInst.loc/ContentsXML>
<?xml version="1.0" standalone="yes" ?>
<!-- Copyright (c) 2009 Oracle Corporation. All rights Reserved -->
<!-- Do not modify the contents of this file by hand. -->
<INVENTORY>
<COMPOSITEHOME_LIST>
</COMPOSITEHOME_LIST>

<VERSION_INFO>
<SAVED_WITH>10.1.0.6.0</SAVED_WITH>
<MINIMUM_VER>2.1.0.6.0</MINIMUM_VER>
</VERSION_INFO>
<HOME_LIST>
<HOME NAME="OraDb11g_home1" LOC="/u03/VIS/11.2.0" TYPE="O" IDX="1"/>
<HOME NAME="OH481075858" LOC="/u03/VIS/fs1/FMW_Home/oracle_common" TYPE="O" IDX="5">
<REFHOMELIST>
<REFHOME LOC="/u03/VIS/fs1/FMW_Home/webtier"/>
</REFHOMELIST>
</HOME>
<HOME NAME="OH657355352" LOC="/u03/VIS/fs1/FMW_Home/webtier" TYPE="O" IDX="6">
<DEPHOMELIST>
<DEPHOME LOC="/u03/VIS/fs1/FMW_Home/oracle_common"/>
</DEPHOMELIST>
</HOME>
<HOME NAME="u03_VIS_fs1_Oracle_EBS_app" LOC="/u03/VIS/fs1/FMW_Home/Oracle_EBS-app1"
TYPE="O" IDX="7"/>
<HOME NAME="VIS_TOOLS__u03_VIS_fs1_EBSapps_10_1_2" LOC="/u03/VIS/fs1/EBSapps/10.1.2"
TYPE="O" IDX="8"/>
<HOME NAME="OH548082611" LOC="/u03/VIS/fs2/FMW_Home/oracle_common" TYPE="O" IDX="1">
<REFHOMELIST>
<REFHOME LOC="/u03/VIS/fs2/FMW_Home/webtier"/>
</REFHOMELIST>
</HOME>
<HOME NAME="OH339717001" LOC="/u03/VIS/fs2/FMW_Home/webtier" TYPE="O" IDX="2">
<DEPHOMELIST>
<DEPHOME LOC="/u03/VIS/fs2/FMW_Home/oracle_common"/>
</DEPHOMELIST>
</HOME>
<HOME NAME="OH2040000521" LOC="/u03/VIS/fs2/FMW_Home/Oracle_EBS-app1" TYPE="O"
IDX="3"/>
<HOME NAME="VIS_TOOLS__u03_VIS_fs2_EBSapps_10_1_2" LOC="/u03/VIS/fs2/EBSapps/10.1.2"
TYPE="O" IDX="4"/>
</HOME_LIST>
</INVENTORY>

Note, we have 4 application tier homes registered per file system, here is an example:
fs1
<HOME NAME="OH481075858" LOC="/u03/VIS/fs1/FMW_Home/oracle_common"
TYPE="O" IDX="5">
<HOME NAME="OH657355352" LOC="/u03/VIS/fs1/FMW_Home/webtier" TYPE="O"
IDX="6">
<HOME NAME="u03_VIS_fs1_Oracle_EBS_app"
LOC="/u03/VIS/fs1/FMW_Home/Oracle_EBS-app1" TYPE="O" IDX="7"/>
<HOME NAME="VIS_TOOLS__u03_VIS_fs1_EBSapps_10_1_2"
LOC="/u03/VIS/fs1/EBSapps/10.1.2" TYPE="O" IDX="8"/>
fs2
<HOME NAME="OH548082611" LOC="/u03/VIS/fs2/FMW_Home/oracle_common"
TYPE="O" IDX="1">
<HOME NAME="OH339717001" LOC="/u03/VIS/fs2/FMW_Home/webtier" TYPE="O"
IDX="2">
<HOME NAME="OH2040000521" LOC="/u03/VIS/fs2/FMW_Home/Oracle_EBS-app1"
TYPE="O" IDX="3"/>

<HOME NAME="VIS_TOOLS__u03_VIS_fs2_EBSapps_10_1_2"
LOC="/u03/VIS/fs2/EBSapps/10.1.2" TYPE="O" IDX="4"/>
Database
<HOME NAME="OraDb11g_home1" LOC="/u03/VIS/11.2.0" TYPE="O" IDX="1"/>

You can re-register any one of the 3 FMW application tier homes as follows. Important, you
must run these for both file systems (fs1 and fs2)
<path to fs1>/FMW_Home/oracle_common/oui/bin/runInstaller -silent -attachHome
-invPtrLoc /etc/oraInst.loc ORACLE_HOME="<path to Oracle Home>"
ORACLE_HOME_NAME="Oracle Home Name" CLUSTER_NODES="{}"
<path to fs2>/FMW_Home/oracle_common/oui/bin/runInstaller -silent -attachHome
-invPtrLoc /etc/oraInst.loc ORACLE_HOME="<path to Oracle Home>"
ORACLE_HOME_NAME="Oracle Home Name" CLUSTER_NODES="{}"
e.g.
/u01/test/fs1/FMW_Home/oracle_common/oui/bin/runInstaller -silent -attachHome
-invPtrLoc /etc/oraInst.loc ORACLE_HOME="/u01/test/fs1/FMW_Home/oracle_common"
ORACLE_HOME_NAME="VIS_TOOLS__u03_VIS_fs1_EBSapps_10_1_2"
CLUSTER_NODES="{}"
/u01/test/fs2/FMW_Home/oracle_common/oui/bin/runInstaller -silent -attachHome
-invPtrLoc /etc/oraInst.loc ORACLE_HOME="/u01/test/fs1/FMW_Home/oracle_common"
ORACLE_HOME_NAME="VIS_TOOLS__u03_VIS_fs2_EBSapps_10_1_2"
CLUSTER_NODES="{}"

If you need to register the tools (10.1.2) home you can use these commands, again you will
need to run this for both fs1 and fs2:
<path to fs1>/EBSapps/10.1.2/oui/bin/runInstaller -silent -attachHome -invPtrLoc
/etc/oraInst.loc ORACLE_HOME="<path to the 10.1.2 Home>"
ORACLE_HOME_NAME="<Oracle Home Name>"
<path to fs2>/EBSapps/10.1.2/oui/bin/runInstaller -silent -attachHome -invPtrLoc
/etc/oraInst.loc ORACLE_HOME="<path to the 10.1.2 Home>"
ORACLE_HOME_NAME="<Oracle Home Name>"
e.g.
/u01/test/fs1/EBSapps/10.1.2/oui/bin/runInstaller -silent -attachHome -invPtrLoc
/etc/oraInst.loc ORACLE_HOME="/u01/VIS/fs1/EBSapps/10.1.2"

ORACLE_HOME_NAME="VIS_TOOLS__u03_VIS_fs1_EBSapps_10_1_2"
/u01/test/fs2/EBSapps/10.1.2/oui/bin/runInstaller -silent -attachHome -invPtrLoc
/etc/oraInst.loc ORACLE_HOME="/u01/VIS/fs2/EBSapps/10.1.2"
ORACLE_HOME_NAME="VIS_TOOLS__u03_VIS_fs2_EBSapps_10_1_2"

R12.2 How To Re-attach Oracle


HomesTo The Central Inventory (Doc
ID 1586607.1)

Make sure each ORACLE_HOME_NAME is unique. Once you have completed the steps for
all missing Oracle Homes confirm that the inventory.xml file now contains all missing homes.
Log files for the attachment process can be found at oraInventory/logs

Didn't find what you are looking for?

You might also like