Sunteți pe pagina 1din 2

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


removed the LD_ASSUME_KERNEL parameter from the opmn.xml (in the Discoverer section) file then
reloaded it with:
opmnctl reload

then I did:
ompnctl startproc ias-component=Discoverer

S-ar putea să vă placă și