Monday, April 8, 2013

How to Run adcfgclone with dbTechStack :



[oracle@svrqatebsdl1 bin]$cd /d02/oracle/qatdb/11.2.0.3/appsutil/clone/bin
[oracle@svrqatebsdl1 bin]$ perl adcfgclone.pl dbTechStack
Enter the APPS password [APPS]:
apps

First Creating a new context file for the cloned system.
The program is going to ask you for information about the new system:

Provide the values required for creation of the new Database Context file.

Do you want to use a virtual hostname for the target node (y/n) [n] ?:n

Target instance is a Real Application Cluster (RAC) instance (y/n) [n]: n

Target System database name [PROD]:QAT

Target system RDBMS ORACLE_HOME directory [/d02/oracle/proddb/11.2.0.3]:/d02/oracle/qatdb/11.2.0.3

Target system utl_file accessible directories list [/usr/tmp]:

Number of DATA_TOP's on the target system [3]:5

Target system DATA_TOP 1:/u01/oradata/QAT

Target system DATA_TOP 2:/u02/oradata/QAT

Target system DATA_TOP 3:/u03/oradata/QAT

Target system DATA_TOP 4:/u04/oradata/QAT

Target system DATA_TOP 5:/u04/oradata/QAT

Do you want to preserve the Display set to svrprdebsdl1:0.0 (y/n) [y] ?:n

Target system Display [svrqatebsdl1:0.0]:

Perl executable location is set to:
/usr/bin/perl

Do you want to preserve the port values from the source system on the target system (y/n) [y] ?:n

Clone Context uses the same port pool mechanism as the Rapid Install
Once you choose a port pool, Clone Context will validate the port availability.

Enter the port pool number [0-99]:
2

Checking the port pool 2
done: Port Pool 2 is free
Database port is 1523

Creating the new Database Context file from :
  /d02/oracle/qatdb/11.2.0.3/appsutil/template/adxdbctx.tmp

The new database context file has been created :
  /d02/oracle/qatdb/11.2.0.3/appsutil/QAT_svrqatebsdl1.xml

Log file located at /tmp/CloneContext_1028043505.log

Running Rapid Clone with command:
        perl /d02/oracle/qatdb/11.2.0.3/appsutil/clone/bin/adclone.pl java=/d02/oracle/qatdb/11.2.0.3/appsutil/clone/bin/../jre/jre mode=apply stage=/d02/oracle/qatdb/11.2.0.3/appsutil/clone/bin/.. component=dbTechStack method=CUSTOM dbctxtg=/d02/oracle/qatdb/11.2.0.3/appsutil/QAT_svrqatebsdl1.xml  showProgress contextValidated=true

Beginning rdbms home Apply - Sun Oct 28 04:38:25 2012
Log file located at /d02/oracle/qatdb/11.2.0.3/appsutil/log/QAT_svrqatebsdl1/ApplyDBTechStack_10280438.log
                                          
Completed Apply...
Sun Oct 28 04:39:15 2012

Beginning APPSDB_QAT registration to central inventory...

ORACLE_HOME NAME   : APPSDB_QAT
ORACLE_HOME PATH   : /d02/oracle/qatdb/11.2.0.3
Using Inventory location in /etc/oraInst.loc
Log file located at /home/oracle/oraInventory/logs/OracleHomeCloner_10280439.log

ERROR: Registration Failed... Please check log file.

You can rerun this registration with the following script:
        /d02/oracle/qatdb/11.2.0.3/appsutil/out/QAT_svrqatebsdl1/regOUI_APPSDB_QAT.sh

Starting database listener for QAT:
Running:
/d02/oracle/qatdb/11.2.0.3/appsutil/scripts/QAT_svrqatebsdl1/addlnctl.sh start QAT

You are running addlnctl.sh version 115.7

Logfile: /d02/oracle/qatdb/11.2.0.3/appsutil/log/QAT_svrqatebsdl1/addlnctl.txt

Starting listener process QAT ...
addlnctl.sh: exiting with status 0
[oracle@svrqatebsdl1 bin]$

Note:

ERROR: Registration Failed... ... ...

Soluton:

./runInstaller -silent -attachHome -invPtrLoc /etc/oraInst.loc ORACLE_HOME="/d02/oracle/qatdb/11.2.0.3" ORACLE_HOME_NAME="oracleHome" CLUSTER_NODES="{}"

 If already registered, we can ignore this error ......

++++++++++++++++++++++++++++++++++++++



No comments:

Post a Comment