Pages

Saturday, December 18, 2010

Discoverer 10G Clone

Oracle Discoverer 10G Clonining :
----------------------------------------

Perform the below actions to complete the Discoverer 10G clone.

A) Pre-clone Steps:
----------------
1) Login on Source Discoverer Machine as applmgr. There is no need to shutdown the services
$ export ORACLE_HOME=/u01/product/10gR2
$ export PATH=$ORACLE_HOME/bin:$ORACLE_HOME/OPatch:$PATH
$ cd $ORACLE_HOME/clone/bin
$ chmod 755 prepare_clone.pl
$ ./prepare_clone.pl
Clone log file location: /u01/product/10gR2/clone/logs/clone.log
Error log file location: /u01/product/10gR2/clone/logs/error.log

2) Copy the Discoverer directory to the target machine.

3) Get the ias_admin_old_pwd as it is necessary as input for the clone
B)Clone Steps
--------------
1) Login on the Linux box on target machine as root and set the inventory locations as:
mkdir /etc/oraInventory
chmod -R 777 /etc/oraInventory
chown -R applmgr:dba /etc/oraInventory
touch /etc/oratab
chmod a+rw /etc/oratab
chown applmgr:dba /etc/oratab
echo 'inventory_loc=/etc/oraInventory' > /etc/oraInst.loc
chown applmgr:dba /etc/oraInst.loc

2) Rename the old inventory directory, which is copied from source.
7) Start the clone activity.
$ export ORACLE_HOME=/u01/product/10gR2
$ export PATH=$ORACLE_HOME/bin:$ORACLE_HOME/OPatch:$PATH
$ cd $ORACLE_HOME/clone/bin
$ perl clone.pl ORACLE_HOME=$ORACLE_HOME ORACLE_HOME_NAME= -instance
-ias_admin_old_pwd welcome -ias_admin_new_pwd secret
Note: If the error occurs during the clone, clean the oraInventory directory and restart the clone process, otherwise the clone process will fail.
C)Post Clone Steps
-------------------
1) Remove Old dbc files from /u01/product/10gR2/discoverer/secure

2) Copy new dbc file from the application node to /u01/product/10gR2/discoverer/secure

3) Change the old servername to new server name in httpd.conf


4) $ORACLE_HOME/opmn/bin/opmnctl stopall

5) $ORACLE_HOME/opmn/bin/opmnctl startall

5 comments:

  1. 11g RMAN cloning using DUPLICATE command :

    http://www.chandu208.blogspot.com/2011/12/11g-rman-cloning-using-duplicate.html

    ReplyDelete
  2. do you know if your steps above will work to clone Discoverer 10g (solaris) to discoverer 10g (AIX)

    ReplyDelete
  3. do you know if your steps above will work to clone Discoverer 10g (solaris) to discoverer 10g (AIX)

    ReplyDelete
  4. Can you pls let me Know the steps to migrate SOA 10g with oc4j (not weblogic) integrated with EBS R12 from one host into another host with different ip ?

    ReplyDelete