Edit the oraInst.loc file:
vi /etc/oraInst.loc
Change the inventory_loc to a new location:
inventory_loc=/prod/oraInventory_new
Create the new directory:
mkdir /prod/oraInventory_new
Give permissions to the new directory:
chmod -R 777 /prod/oraInventory_new
Add the 10.1.2 Oracle Home to the new oraInventory location:
cd $ORACLE_HOME/appsutil/clone
./ouicli.pl
Verify if the 10.1.2 is added to the new oraInventory directory:
cd /prod/oraInventory_new/ContentsXML
cat inventory.xml
If it's not added, check the /prod/oraInventory_new/logs file.
Verify the oraInventory has the information about the 10.1.2 Oracle Home:
export PATH=$ORACLE_HOME/OPatch:$PATH
opatch lsinventory -detail
\oracle\PROD\apps\apps_st\comn\clone
vi /etc/oraInst.loc
Change the inventory_loc to a new location:
inventory_loc=/prod/oraInventory_new
Create the new directory:
mkdir /prod/oraInventory_new
Give permissions to the new directory:
chmod -R 777 /prod/oraInventory_new
-- Add the 10.1.3 Oracle Home to the new created oraInventory:
cd $INST_TOP/ora/10.1.3
. ./APP.env
Go to the $ORACLE_HOME:
cd $ORACLE_HOME
Edit the oraInst.loc and point it to the same location ad done in step 1:
inventory_loc=/prod/oraInventory_new
Add the 10.1.3 Oracle Home to the new oraInventory location:
cd $ORACLE_HOME/appsutil/clone
./ouicli.pl
Verify if the 10.1.3 is added to the new oraInventory directory:
cd /prod/oraInventory_new/ContentsXML
cat inventory.xml
If it's not added, check the /prod/oraInventory_new/logs file.
Verify the oraInventory has the information about the 10.1.3 Oracle Home:
export PATH=$ORACLE_HOME/OPatch:$PATH
opatch lsinventory -detail
. ./APP
Go to the $ORACLE_HOME:
cd $ORACLE_HOME
Edit the oraInst.loc and point it to the same location ad done in step 1:
inventory_loc=/prod/oraInventory_new
Add the 10.1.3 Oracle Home to the new oraInventory location:
cd $ORACLE_HOME/appsutil/clone
./ouicli.pl
Verify if the 10.1.3 is added to the new oraInventory directory:
cd /prod/oraInventory_new/ContentsXML
cat inventory.xml
If it's not added, check the /prod/oraInventory_new/logs file.
Verify the oraInventory has the information about the 10.1.3 Oracle Home:
export PATH=$ORACLE_HOME/OPatch:$PATH
opatch lsinventory -detail
-- Add the 10.1.2 Oracle Home to the new created oraInventory:
cd $INST_TOP/ora/10.1.2
. ./APP.env
Go to the $ORACLE_HOME:
cd $ORACLE_HOME
Edit the oraInst.loc and point it to the same location ad done in step 1:
inventory_loc=/prod/oraInventory_new
. ./APP
Go to the $ORACLE_HOME:
cd $ORACLE_HOME
Edit the oraInst.loc and point it to the same location ad done in step 1:
inventory_loc=/prod/oraInventory_new
export TMP=/tmp
Add the 10.1.2 Oracle Home to the new oraInventory location:
cd $ORACLE_HOME/appsutil/clone
./ouicli.pl
Verify if the 10.1.2 is added to the new oraInventory directory:
cd /prod/oraInventory_new/ContentsXML
cat inventory.xml
If it's not added, check the /prod/oraInventory_new/logs file.
Verify the oraInventory has the information about the 10.1.2 Oracle Home:
export PATH=$ORACLE_HOME/OPatch:$PATH
opatch lsinventory -detail
--Add the DB Oracle Home to the new created oraInventory:
cd $ORACLE_HOME
. ./BD.env
Go to the $ORACLE_HOME:
cd $ORACLE_HOME
Edit the oraInst.loc and point it to the same location ad done in step 1:
inventory_loc=/prod/oraInventory_new
. ./BD
Go to the $ORACLE_HOME:
cd $ORACLE_HOME
Edit the oraInst.loc and point it to the same location ad done in step 1:
inventory_loc=/prod/oraInventory_new
Add the DB Oracle Home to the new oraInventory location:
cd $ORACLE_HOME/appsutil/clone
./ouicli.pl
Verify if the DB Oracle Home is added to the new oraInventory directory:
cd /prod/oraInventory_new/ContentsXML
cat inventory.xml
If it's not added, check the /prod/oraInventory_new/logs file.
Verify the oraInventory has the information about the DB Oracle Home:
cd $ORACLE_HOME/appsutil/clone
./ouicli.pl
Verify if the DB Oracle Home is added to the new oraInventory directory:
cd /prod/oraInventory_new/ContentsXML
cat inventory.xml
If it's not added, check the /prod/oraInventory_new/logs file.
Verify the oraInventory has the information about the DB Oracle Home:
export PATH=$ORACLE_HOME/OPatch:$PATH
opatch lsinventory -detail
opatch lsinventory -detail
Note:
Running ouicli.pl can result in error:
"Exception in thread "main" java.lang.NoClassDefFoundError: oracle/apps/ad/clone/util/OracleHomeCloner"
This can be fixed by setting Context variable s_clonestage to\clone
For example:
Running ouicli.pl can result in error:
"Exception in thread "main" java.lang.NoClassDefFoundError: oracle/apps/ad/clone/util/OracleHomeCloner"
This can be fixed by setting Context variable s_clonestage to
For example:
Comentários
Postar um comentário