First, let’s look at the inventory XML file on the target server before the clone:

db – oracle: vi inventory.xml

 

<?xml version="1.0" standalone="yes" ?>

<!– Copyright (c) 2005 Oracle Corporation. All rights Reserved –>

<!– Do not modify the contents of this file by hand. –>

<INVENTORY>

<VERSION_INFO>

<SAVED_WITH>10.2.0.3.0</SAVED_WITH>

<MINIMUM_VER>2.1.0.6.0</MINIMUM_VER>

</VERSION_INFO>

<HOME_LIST>

<HOME NAME="db10g" LOC="/apps/oracle/product/db10g" TYPE="O" IDX="1"/>

<HOME NAME="oms10g" LOC="/apps/oracle/product/oms10g" TYPE="O" IDX="2"/>

<HOME NAME="agent10g" LOC="/apps/oracle/product/agent10g" TYPE="O" IDX="3"/>

</HOME_LIST>

</INVENTORY>

 

Copy the binaries from one server to the other

$- oracle: tar cvf – db |ssh rac1.dbaexpert.com "cd /apps/oracle/product/10.2.0; tar xvf -"

Execute the runInstaller in silent mode

cd $ORACLE_HOME/oui/bin

db – oracle: ./runInstaller -silent -clone ORACLE_HOME="/apps/oracle/product/10.2.0/db" ORACLE_HOME_NAME="OraDb10g_home1"

Starting Oracle Universal Installer…

 

No pre-requisite checks found in oraparam.ini, no system pre-requisite checks will be executed.

Preparing to launch Oracle Universal Installer from /tmp/OraInstall2009-07-09_09-08-33AM. Please wait …rac1.dbaexpert.com:/apps/oracle/product/10.2.0/db/oui/bin

db – oracle: Oracle Universal Installer, Version 10.2.0.4.0 Production

Copyright (C) 1999, 2008, Oracle. All rights reserved.

 

You can find a log of this install session at:

/apps/oracle/oraInventory/logs/cloneActions2009-07-09_09-08-33AM.log

………………………………………………………………………………………. 100% Done.

 

 

 

Installation in progress (Thursday, July 9, 2009 9:08:45 AM EDT)

……………………………………………………………….. 74% Done.

Install successful

 

Linking in progress (Thursday, July 9, 2009 9:08:52 AM EDT)

Link successful

 

Setup in progress (Thursday, July 9, 2009 9:11:21 AM EDT)

Setup successful

 

End of install phases.(Thursday, July 9, 2009 9:11:25 AM EDT)

WARNING:

The following configuration scripts need to be executed as the "root" user.

#!/bin/sh

#Root script to run

/apps/oracle/product/10.2.0/db/root.sh

To execute the configuration scripts:

1. Open a terminal window

2. Log in as "root"

3. Run the scripts

 

The cloning of OraDb10g_home1 was successful.

Please check ‘/apps/oracle/oraInventory/logs/cloneActions2009-07-09_09-08-33AM.log’ for more details.

 

Inventory XML file AFTER the clone:

db – oracle: cat inventory.xml

<?xml version="1.0" standalone="yes" ?>

<!– Copyright (c) 2008 Oracle Corporation. All rights Reserved –>

<!– Do not modify the contents of this file by hand. –>

<INVENTORY>

<VERSION_INFO>

<SAVED_WITH>10.2.0.4.0</SAVED_WITH>

<MINIMUM_VER>2.1.0.6.0</MINIMUM_VER>

</VERSION_INFO>

<HOME_LIST>

<HOME NAME="db10g" LOC="/apps/oracle/product/db10g" TYPE="O" IDX="1"/>

<HOME NAME="oms10g" LOC="/apps/oracle/product/oms10g" TYPE="O" IDX="2"/>

<HOME NAME="agent10g" LOC="/apps/oracle/product/agent10g" TYPE="O" IDX="3"/>

<HOME NAME="OraDb10g_home1" LOC="/apps/oracle/product/10.2.0/db" TYPE="O" IDX="4"/>

</HOME_LIST>

</INVENTORY>