Friday 18 September 2015

Error connecting to database Ora-10

While viewing concurrent request output if you get the error message:

Error connecting to database <dbname>:Ora-10

set s_gwyuid_user  APPLSYSPUB/<password>

RUN autoconfig

Test the issue.

Wednesday 2 September 2015

Error Applying hrglobal.drv

Error: 


*******FATAL ERROR*******
PROGRAM : (/d01/oracle/TEST/fs1/EBSapps/appl/ad/12.0.0/bin/adzdoptl.pl)
TIME    : Fri Aug 28 01:17:24 2015
FUNCTION: TXK::Process::run [ Level 3 ] 
MESSAGES:
No create access for <stdout> /d01/oracle/TEST/fs1/inst/apps/TEST_erptest/logs/appl/rgf/df.out


STACK TRACE
 at /d01/oracle/TEST/fs1/EBSapps/appl/au/12.0.0/perl/TXK/Error.pm line 168
TXK::Error::abort('TXK::Error', 'HASH(0xc0c5c0)') called at /d01/oracle/TEST/fs1/EBSapps/appl/au/12.0.0/perl/TXK/Common.pm line 299
TXK::Common::doError('TXK::Process=HASH(0x284ded8)', 'No create access for <stdout> /d01/oracle/TEST/fs1/inst/apps/...', undef) called at /d01/oracle/TEST/fs1/EBSapps/appl/au/12.0.0/perl/TXK/Common.pm line 314
TXK::Common::setError('TXK::Process=HASH(0x284ded8)', 'No create access for <stdout> /d01/oracle/TEST/fs1/inst/apps/...') called at /d01/oracle/TEST/fs1/EBSapps/appl/au/12.0.0/perl/TXK/Process.pm line 342
TXK::Process::run('TXK::Process=HASH(0x284ded8)', 'HASH(0x2e06330)') called at /d01/oracle/TEST/fs1/EBSapps/appl/au/12.0.0/perl/ADOP/GlobalVars.pm line 2651
ADOP::GlobalVars::runDFCommand('/d01/oracle/TEST/fs1/inst/apps/TEST_erptest/logs/appl/rgf/df.out') called at /d01/oracle/TEST/fs1/EBSapps/appl/au/12.0.0/perl/ADOP/GlobalVars.pm line 2715
ADOP::GlobalVars::checkDiskSpaceOnUnix() called at /d01/oracle/TEST/fs1/EBSapps/appl/au/12.0.0/perl/ADOP/GlobalVars.pm line 2762
ADOP::GlobalVars::_CheckDiskSpace() called at /d01/oracle/TEST/fs1/EBSapps/appl/au/12.0.0/perl/ADOP/GlobalVars.pm line 2835
ADOP::GlobalVars::ValidateArgs('ADOP::GlobalVars') called at /d01/oracle/TEST/fs1/EBSapps/appl/au/12.0.0/perl/ADOP/AdopMain.pm line 1463
ADOP::AdopMain::adopMain('ADOP::AdopMain') called at /d01/oracle/TEST/fs1/EBSapps/appl/ad/12.0.0/bin/adzdoptl.pl line 130


[STATEMENT] Please run adopscanlog utility, using the command

"adopscanlog -latest=yes"

to get the list of the log files along with snippet of the error message corresponding to each log file.


adop exiting with status = 255 (Fail)
[oracle@erptest TEST]$ adopscanlog -latest=yes
Scanning /d01/oracle/TEST/fs_ne/EBSapps/log/adop/adop_20150824_174044.log log file ...

/d01/oracle/TEST/fs_ne/EBSapps/log/adop/adop_20150824_174044.log: 
-----------------------------------------------------------------

Lines #(14-18):
Validation successful. All expected nodes are listed in ADOP_VALID_NODES table.
[EVENT]     [START 2015/08/24 17:43:29] Performing database sanity checks
  [ERROR]     The EBS Technology Codelevel Checker (available as Patch 17537119) needs to be run on the following nodes: <erptest>.
  [PROCEDURE] [START 2015/08/24 17:43:34] Unlocking sessions table
    [STATEMENT] Unlocking ad_adop_sessions table for erptest with wait interval of 60 seconds and number of tries 2


Resolution:
Check ownership of installation location and change it to oracle if required. Make sure all post install scripts are executed for the bug fixes and patches.




Tuesday 1 September 2015

AD Auto Config (adautocfg) Steps/Procedure

AD Auto Config (adautocfg) Steps/Procedure in Oracle EBS R.12



Attention:
  • The database server and the database listener must remain available during the AutoConfig run. All the other database tier services should be shut down.
  • Running AutoConfig may change your existing environment files. After running AutoConfig, you should always set the environment before you run any Applications utilities, in order to apply the changed environment variables.

1) Set Enviornment of Apps Node
2) Stop Apps Node Services only . adstpall.sh
3) Set Enviornment for DB Node
4) run adautoconfig on DB Node
5) Chekc log file stored in: $ORACLE_HOME/appsutil/log/$CONTEXT_NAME
6) run adautoconfig on APPS Node from $COMMON_TOP/admin/scripts/
7) Start Apps Node Services

Tags: How to run adautoconfig, Steps to perform adautoconfig, adautoconfig log files location

Oracle EBS R12.2.4 Rapid Clone

1 INTRODUCTION ........................................................................................................................
 1.1 PURPOSE ........................................................................................................................................
1.2 BACKGROUND .................................................................................................................................
1.3 SCOPE & APPLICATION ......................................................................................................................
2 PREREQUISITE ..........................................................................................................................
2.1 VERIFY DISK SPACE REQUIREMENTS ON SOURCE SYSTEM .........................................................................
3 2.2 VERIFY OS REQUIREMENTS ON TARGET SYSTEM ....................................................................................
3 2.3 VERIFY SOURCE AND TARGET SYSTEM SOFTWARE COMPONENTS AND VERSIONS .........................................
3 2.4 CHECK FOR IN-PROGRESS ONLINE PATCHING CYCLE ................................................................................
3 2.5 OS AND PATCH LEVEL .......................................................................................................................
3 2.6 AD/TXK PATCHES ...........................................................................................................................
3 PREPARE THE SOURCE SYSTEMS ...............................................................................................  
3.1 PREPARE THE SOURCE SYSTEM DATABASE TIER FOR CLONING ..................................................................
5 3.2 PREPARE THE SOURCE SYSTEM APPLICATION TIER FOR CLONING ..............................................................  
4 MAINTAIN SNAPSHOT INFORMATION .......................................................................................
5 SHUT DOWN THE SERVICES ......................................................................................................  
6 COPY THE SOURCE SYSTEM TO THE TARGET SYSTEM .................................................................  
6.1 COPY THE DATABASE NODE FILE SYSTEM ..............................................................................................
9 6.2 COPY APPS TIER EBSAPPS DIR. FROM SOURCE “RUN EDITION” TO TARGET “RUN EDITION” .........................
7 CONFIGURE THE TARGET SYSTEM ...........................................................................................
7.1 CONFIGURE THE TARGET SYSTEM DATABASE SERVER ............................................................................
7.2 CONFIGURE THE TARGET SYSTEM APPLICATION TIER SERVER NODES .......................................................
7.3 RUN ADPRECLONE.PL ON THE “RUN EDITION FILE SYSTEM” IN THE TARGET SYSTEM AT APPS NODE ..........
7.4 COPY APPS TIER EBSAPPS DIR. FROM “RUN EDITION  TO  “PATCH EDITION" FILE SYSTEM IN TARGET SYSTEM
7.5 CLONE  THE TARGET SYSTEM RUN EDITION TO PATCH EDITION .............................................................. 17   
  
TABLE OF CONTENTS 

                                                                                             CLONING                                                                                      (ORACLE EBS)  
   
                             2   
1 Introduction 
1.1 Purpose This document describes how to create a copy of an Oracle E-Business Suite Release 12.2 system using Rapid Clone. The most current version of this document can be obtained in My Oracle Support Knowledge Document 1383621.1, Cloning Oracle E-Business Suite with Rapid Clone.  
Note: This knowledge document supersedes Chapter 17 of Oracle E-Business Suite Setup Guide, Part No. E22953, and should be used instead of that chapter.  
1.2 Background Oracle have made big change in application architecture from release 12.1.3 to 12.2.4, oracle introduced a new file system in release 12.2.4. Edtition based file system, means oracle has provided 2 file systems one is RUN_EDITION and the other one is PATCH_EDITION, concept behind this architecture is to reduce the downtime of application for patching purpose.   
As per file architecture has been changed now we need to follow different steps to we used to follow to do rapid clone in release 12.1.3. We only need to copy relevant files from source  apps tier  to target apps tier, while the DB node rapid clone procedure is  same as it was in release 12.1.3.  
1.3 Scope & Application Scope and application of this document is for rapid clone procedure in oracle ebs release 12.2.4. This document is related to oracle ebs apps dba responsibility for cloning of production system. 

                                                                                             CLONING                                                                                      (ORACLE EBS)  
   
                             3 
2 Prerequisite  
2.1 Verify disk space requirements on Source System 
Oracle Fusion Middleware cloning tools require 6GB in /tmp and 6GB under $COMMON_TOP 
2.2  Verify OS requirements on Target System 
Before cloning to a new server, ensure the Target System meets all the requirements for Oracle EBusiness Suite Release 12.2 
2.3  Verify Source and Target System software components and versions 
Zip 2.3(higher): Unzip 5.52(higher) : Perl 5.x 
2.4  Check for in-progress online patching cycle 
On the Source system, there should not be any in-progress online patching cycle. Online patching should be done till cleanup stage and also fs_clone should be run to synchronize with the application file system RUN and PATCH.  
You can check it easily by below command: SQL> select ADOP_SESSION_ID,PREPARE_STATUS,APPLY_STATUS,FINALIZE_STATUS,CUTOVER_STATUS,CLEANUP_S TATUS,ABORT_STATUS,STATUS,ABANDON_FLAG,NODE_NAME from AD_ADOP_SESSIONS order by ADOP_SESSION_ID; 
2.5   OS and Patch Level 
Source and Target must be on the same Operating System (OS) and patch level 
2.6   AD/TXK Patches Apply the latest AD/TXK patches to the Source system. 
You can check the lastet version by below SQL statement. 
SQL> SELECT abbreviation,codelevel FROM AD_TRACKABLE_ENTITIES WHERE abbreviation in (‘txk’,’ad’); 
ABBREVIA CODELEVEL ——– ———- ad C.4 txk C.4 

                                                                                             CLONING                                                                                      (ORACLE EBS)  
   
                             4  
  

                                                                                             CLONING                                                                                      (ORACLE EBS)  
   
                             5 
3 Prepare the Source Systems 
3.1 Prepare the Source System Database Tier for cloning 
Log on to the Source System as the ORACLE user, and run the following commands: 
$ cd <RDBMS ORACLE_HOME>/appsutil/scripts/<CONTEXT_NAME> 
/u01/oracle/VIS/11.2.0/appsutil/scripts/VIS_k2  
[oracle@k2]$ sh adpreclone.pl dbTier 
Copyright (c) 2011 Oracle Corporation 
Redwood Shores, California, USA 
Oracle E-Business Suite Rapid Clone 
Version 12.2 
adpreclone Version 120.31.12020000.4 
Enter the APPS User Password: 
Running: 
perl  
/u01/oracle/VIS/11.2.0/appsutil/bin/adclone.pljava=/ /u01/oracle/VIS/11.2.0/appsutil/jre mode=stage stage= /u01/oracle/VIS/11.2.0/appsutil/clone component=dbTier method=CUSTOM dbctx= /u01/oracle/VIS/11.2.0/appsutil/VIS_k2.xml showProgress 
Beginning database tier Stage – Thu Oct  3 10:45:34 2013 
/u01/oracle/VIS/11.2.0/appsutil/jre/bin/java -Xmx600M -DCONTEXT_VALIDATED=false  Doracle.installer.oui_loc= /u01/oracle/VIS/11.2.0/oui -classpath  
/u01/oracle/VIS/11.2.0/lib/xmlparserv2.jar: /u01/oracle/VIS/11.2.0/jdbc/lib/ojdbc6.jar: /u01/oracle/VIS/11.2.0/appsutil/java: /u01/oracle/VIS/11.2.0/oui/jlib/OraInstaller.jar: /u01/oracle/VIS/11.2.0/oui/jlib/ewt3.jar: /u01/oracle/VIS/11.2.0/oui/jlib/share.jar: /u01/oracle/VIS/11.2.0/oui/jlib/srvm.jar: /u01/oracle/VIS/11.2.0/jlib/ojmisc.jar  oracle.apps.ad.clone.StageDBTier -e /u01/oracle/VIS/11.2.0/appsutil/EBIZ_shore.xml -stage /u01/oracle/VIS/11.2.0/appsutil/clone -tmp /tmp -method CUSTOM    -showProgress 
APPS Password : 
Log file located at /u01/oracle/VIS/11.2.0/appsutil/log/VIS_k2/StageDBTier_10031045.log 
/      0% completed 

                                                                                             CLONING                                                                                      (ORACLE EBS)  
   
                             6 
3.2 Prepare the Source System Application Tier for cloning 
Log on to the “Run Edition File System” in the Source System as the APPLMGR user, and run the following commands on each Node that contains an APPL_TOP: 
You can use the following command to confirm that the environment variable 
FILE_EDITION points to the Run Edition File System: 
$ echo $FILE_EDITION 
It should return the value: Run 
$ cd <INST_TOP>/admin/scripts 
$ perl adpreclone.pl appsTier 
The adpreclone.pl process on the Application Tier creates a complete compressed archive of the Oracle 
Fusion Middleware and its components as follows: 
• A compressed archive of the Oracle WebLogic Server home, Oracle Web Tier Utilities home, Oracle Common Utilities home and the Oracle  E-Business Suite home: 
<COMMON_TOP>/clone/FMW/FMW_Home.jar 
• A compressed archive of the Oracle E-Business Suite Weblogic domain: 
<COMMON_TOP>/clone/FMW/WLS/EBSdomain.jar 
• The Oracle E-Business Suite Weblogic domain’s configuration template: 
<COMMON_TOP>/clone/FMW/WLS/plan/moveplan.xml 
• A compressed archive of the Oracle Web Tier/Oracle HTTP Server Cloning Oracle E-Business Suite with Rapid Clone 17-9 configuration instance: 
<COMMON_TOP>/clone/FMW/OHS/ohsarchive.jar 
• The Oracle HTTP Server configuration instance’s configuration template: 
<COMMON_TOP>/clone/FMW/OHS/moveplan.xml  
  

                                                                                             CLONING                                                                                      (ORACLE EBS)  
   
                             7 
4 Maintain snapshot information 
Log in to each Source Application Tier node as the APPLMGR user, and run “Update current view snapshot” in AD Administration. adadmin > “2. Maintain Applications Files menu” > “4. Maintain snapshot information” > “2. Update current view snapshot” > “1. Update Complete APPL_TOP” 
  

                                                                                             CLONING                                                                                      (ORACLE EBS)  
   
                             8 
5 Shut down the services  
  

                                                                                             CLONING                                                                                      (ORACLE EBS)  
   
                             9 
6 Copy the Source System to the Target System  
6.1  Copy the Database Node file system  
$cp -RH /u01/oracle/VIS/db /u01/oracle/DESTINATION  
Copy the database (.dbf) files from the Source System to the Target System 
Copy the Source System database ORACLE_HOME to the Target System  
6.2 Copy apps Tier EBSapps dir. from Source “Run Edition” to Target “Run Edition” 
$cp -RH /u02/oracle/VIS/fs1/EBSapps /u02/oracle/DESITINATINO • <APPL_TOP> 
• <COMMON_TOP> 
• <OracleAS Tools 10.1.2 ORACLE_HOME>  
• The Source “Run Edition File System” has the following values: 
• $RUN_BASE= /u02/oracle/VIS/fs1 
• $PATCH_BASE =/u02/oracle/VIS/fs2 
Copy the Source “Run Edition File System” into the Target/u02/oracle/VIS/fs1 directory. 
  

                                                                                             CLONING                                                                                      (ORACLE EBS)  
   
                             10 
7 Configure the Target System  
7.1 Configure the Target System database server  
Log on to the Target System as the ORACLE user and enter the following commands: 
oracle@k2> cd $ORACLE_HOME/appsutil/clone/bin oracle@k2> perl adcfgclone.pl dbTier    
Enter the APPS password :  
Provide the values required for creation of the new Database Context file.  
Target System Hostname (virtual or normal) [k2] :  Target Instance is RAC (y/n) [n] : n  
Target System Database SID : VIS  
Target System Base Directory : /u01/oracle/VIS/  Target System utl_file_dir Directory List : /usr/tmp Number of DATA_TOP's on the Target System [1] :  
Target System DATA_TOP Directory 1 [/u01/oracle/VIS/data] :  
Target System RDBMS ORACLE_HOME Directory [/u01/oracle/VIS/11.2.0] :  
Do you want to preserve the Display [null] (y/n)  : y  
Do you want the target system to have the same port values as the source system (y/n) [y] ? : n  
Target System Port Pool [0-99] : 1  
Checking the port pool 1 done: Port Pool 1 is free Report file locate /u01/oracle/VIS/11.2.0/appsutil/temp/portpool.lst 
Backing up /u01/oracle/VIS/11.2.0/appsutil/VIS_r2.xml to 
/u01/oracle/VIS/11.2.0/appsutil/VIS_r2.xml.bak  
Creating the new Database Context file from : 
  /u01/oracle/VIS/11.2.0/appsutil/template/adxdbctx.tmp 
The new database context file has been created : 
  /u01/oracle/VIS/db/11.2.0/appsutil/VIS_k2.xml 
Log file located at /u01/oracle/VIS/11.2.0/appsutil/clone/bin/CloneContext_0106093406.log 

                                                                                             CLONING                                                                                      (ORACLE EBS)  
   
                             11 
Check Clone Context logfile /u01/oracle/VIS/11.2.0/appsutil/clone/bin/CloneContext_0106093406.log 
for details. 
Running Rapid Clone with command: 
Running: 
perl /u01/oracle/VIS/11.2.0/appsutil/clone/bin/adclone.pl 
java=/u01/oracle/VIS/11.2.0/appsutil/clone/bin/../jre mode=apply 
stage=/u01/oracle/VIS/11.2.0/appsutil/clone component=dbTier method=CUSTOM 
dbctxtg=/u01/oracle/VIS/11.2.0/appsutil/TEST_r1223.xml showProgress contextValidated=true 
/u01/oracle/VIS/11.2.0/appsutil/clone/bin/../jre/bin/java -Xmx600M -DCONTEXT_VALIDATED=true  
Doracle.installer.oui_loc=/u01/oracle/VIS/11.2.0/oui -classpath 
/u01/oracle/VIS/11.2.0/appsutil/clone/jlib/xmlparserv2.jar: 
/u01/oracle/VIS/11.2.0/appsutil/clone/jlib/ojdbc6.jar: 
/u01/oracle/VIS/11.2.0/appsutil/clone/jlib/java: 
/u01/oracle/VIS/11.2.0/appsutil/clone/jlib/oui/OraInstaller.jar: 
/u01/oracle/VIS/11.2.0/appsutil/clone/jlib/oui/ewt3.jar: 
/u01/oracle/VIS/11.2.0/appsutil/clone/jlib/oui/share.jar: 
/u01/oracle/VIS/11.2.0/appsutil/clone/jlib/oui/srvm.jar: 
/u01/oracle/VIS/11.2.0/appsutil/clone/jlib/ojmisc.jar   oracle.apps.ad.clone.ApplyDBTier -e 
/u01/oracle/VIS/11.2.0/appsutil/VIS_k2.xml -stage /u01/oracle/VIS/11.2.0/appsutil/clone   
showProgress 
APPS Password : Log file located at 
/u01/oracle/VIS/11.2.0/appsutil/log/VIS_k2/ApplyDBTier_01060934.log 
  /      0% completed        
Beginning database tier Apply - Tue Jan  6 09:34:39 2015 
Completed Apply... 
Tue Jan  6 09:41:30 2015 
Starting database listener for VIS: 
Running: 
/u01/oracle/VIS/11.2.0/appsutil/scripts/VIS_k2/addlnctl.sh start k2 
Logfile: /u01/oracle/VIS/11.2.0/appsutil/log/VIS_k2/addlnctl.txt 

                                                                                             CLONING                                                                                      (ORACLE EBS)  
   
                             12 
You are running addlnctl.sh version 120.4 
Starting listener process VIS ... 
Listener VIS has already been started. 
addlnctl.sh: exiting with status 0 
addlnctl.sh: check the logfile /u01/oracle/VIS/11.2.0/appsutil/log/VIS_k2/addlnctl.txt for more 
information . 
7.2 Configure the Target System Application Tier server nodes 
Log on to the “Run Edition File System” in the Target System as the APPLMGR user and enter the following commands: $ cd <COMMON_TOP>/clone/bin 
$ perl adcfgclone.pl appsTier  [applmgr@k2 bin]$ pwd 
/u02/oracle/VIS/fs1/EBSapps/comn/clone/bin 
[applmgr@k2 bin]$ perl adcfgclone.pl appsTier Copyright (c) 2011 Oracle Corporation 
Redwood Shores, California, USA 
Oracle E-Business Suite Rapid Clone 
Version 12.2 
adcfgclone Version 120.63.12020000.7 
Enter the APPS password : <password> 
Enter the Weblogic AdminServer password : <password> 
Running: 
/u02/oracle/VIS/fs1/EBSapps/comn/clone/bin/../jre/bin/java -Xmx600M -classpath /u02/oracle/VIS/fs1/EBSapps/comn/clone/jlib/obfuscatepassword.jar: 

                                                                                             CLONING                                                                                      (ORACLE EBS)  
   
                             13 
/u02/oracle/VIS/fs1/EBSapps/comn/clone/jlib/ojmisc.jar: /u02/oracle/VIS/fs1/EBSapps/comn/clone/jlib/javaoracle.apps.ad.clone.util.OPWrapper /u02/oracle/VIS/fs1/EBSapps/comn/clone/bin/../FMW/tempinfo.txt Running: 
/u02/oracle/VIS/fs1/EBSapps/comn/clone/bin/../jre/bin/java -Xmx600M -classpath /u02/oracle/VIS/fs1/EBSapps/comn/clone/jlib/obfuscatepassword.jar: /u02/oracle/VIS/fs1/EBSapps/comn/clone/jlib/ojmisc.jar: /u02/oracle/VIS/fs1/EBSapps/comn/clone/jlib/javaoracle.apps.ad.clone.util.OPWrapper /u02/oracle/VIS/fs1/EBSapps/comn/clone/bin/../FMW/EBSDataSource Do you want to add a node (yes/no) [no] : 
Running: 
/u02/oracle/VIS/fs1/EBSapps/comn/clone/bin/../jre/bin/java -Xmx600M -cp /u02/oracle/VIS/fs1/EBSapps/comn/clone/jlib/java: /u02/oracle/VIS/fs1/EBSapps/comn/clone/jlib/xmlparserv2.jar: /u02/oracle/VIS/fs1/EBSapps/comn/clone/jlib/ojdbc5.jaroracle.apps.ad.context.CloneContext -e  /u02/oracle/VIS/fs1/EBSapps/comn/clone/bin/../context/apps/CTXORIG.xml -validate -pairsfile /tmp/adpairsfile_11292.lst -stage  /u02/oracle/VIS/fs1/EBSapps/comn/clone  2> /tmp/adcfgclone_11292.err; echo $? > /tmp/adcfgclone_11292.res Log file located at /u02/oracle/VIS/fs1/EBSapps/comn/clone/bin/CloneContext_1003143503.log 
Target System File Edition type [run] : 
Log file located at /u02/oracle/VIS/fs1/EBSapps/comn/clone/bin/CloneContext_1003143503.log 
Target System File Edition type [run] : 
Provide the values required for creation of the new APPL_TOP Context file. 
Target System Hostname (virtual or normal) [k2] : 
Target System Database SID : VIS 
Target System Database Server Node [k2] : 
Target System Database Domain Name [tcldomain.com] : 

                                                                                             CLONING                                                                                      (ORACLE EBS)  
   
                             14 
Target System Base Directory : /u02/oracle/VIS 
Target System Base Directory set to /u02/oracle/VIS/ 
Target System Run File System Base set to /u02/oracle/VIS/fs1 
Target System Patch File System Base set to /u02/oracle/VIS/fs2 
Target System Fusion Middleware Home set to /u02/oracle/VIS/fs1/FMW_Home 
Target System Web Oracle Home set to /u02/oracle/VIS/fs1/FMW_Home/webtier 
Target System Appl TOP set to /u02/oracle/VIS/fs1/EBSapps/appl 
Target System COMMON TOP set to /u02/oracle/VIS/fs1/EBSapps/comn 
Target System Instance Home Directory [/u02/oracle/VIS] : 
Target System Instance Top set to /u02/oracle/VIS/fs1/inst/apps/VIS_k2 
Do you want to preserve the Display [:0.0] (y/n)  : n 
Target System Display [rp:0.0] : 
Target System Root Service [enabled] : 
Target System Web Administration [enabled] : 
Target System Web Entry Point Services [enabled] : 
Target System Web Application Services [enabled] : 
Target System Batch Processing Services [enabled] : 
Target System Other Services [disabled] : 
Target System Port Pool [0-99] : 1 
Checking the port pool 1 

                                                                                             CLONING                                                                                      (ORACLE EBS)  
   
                             15 
done: Port Pool 1 is free 
Report file located at /u02/oracle/VIS/fs1/inst/apps/VIS_k2/admin/out/portpool.lst Complete port information available at /u02/oracle/VIS/fs1/inst/apps/VIS_k2/admin/out/portpool.lst UTL_FILE_DIR on database tier consists of the following directories. 
1. /usr/tmp 
2. /usr/tmp 
3. /u01/oracle/VIS/11.2.0/appsutil/outbound/VIS_k2 
4. /usr/tmp 
Choose a value which will be set as APPLPTMP value on the target node [1] :1 
7.3 Run adpreclone.pl on the “Run Edition File System” in the Target System at APPS NODE  
[applmgr@k2 scripts]$  echo $FILE_EDITION 
Run 
Redwood Shores, California, USA 
Oracle E-Business Suite Rapid Clone 
Version 12.2 
adpreclone Version 120.31.12020000.3 
Enter the Weblogic AdminServer password : 
Checking the status of the Oracle WebLogic Administration Server…. 
Running perl /u02/oracle/VIS/fs1/EBSapps/appl/ad/12.0.0/patch/115/bin/adProvisionEBS.plebs-get-serverstatus 
-contextfile=/u02/oracle/VIS/fs1/inst/apps/ECLN_shore/appl/admin/VIS_k2.xml-servername=AdminServer 
promptmsg=hide 
The Oracle WebLogic Administration Server is up. 

                                                                                             CLONING                                                                                      (ORACLE EBS)  
   
                             16 
Running: 
perl /u02/oracle/VIS/fs1/EBSapps/appl/ad/12.0.0/bin/adclone.pljava= 
/u02/oracle/VIS/fs1/FMW_Home/jrockit32 mode=stage stage=/u02/oracle/VIS/fs1/EBSapps/comn/clone 
component=appsTier method= 
appctx=/u02/oracle/VIS/fs1/inst/apps/ECLN_shore/appl/admin/ECLN_shore.xmlshowProgress 
Beginning application tier Stage – Thu Oct  3 16:39:01 2013 
/u02/oracle/VIS/fs1/FMW_Home/jrockit32/bin/java -Xmx600M -DCONTEXT_VALIDATED=false  
Doracle.installer.oui_loc=/oui -classpath /u02/oracle/VIS/fs1/FMW_Home/webtier/lib/xmlparserv2.jar: 
/u02/oracle/VIS/fs1/FMW_Home/webtier/jdbc/lib/ojdbc6.jar: 
/u02/oracle/VIS/fs1/EBSapps/comn/java/classes: 
/u02/oracle/VIS/fs1/FMW_Home/webtier/oui/jlib/OraInstaller.jar: 
/u02/oracle/VIS/fs1/FMW_Home/webtier/oui/jlib/ewt3.jar: 
/u02/oracle/VIS/fs1/FMW_Home/webtier/oui/jlib/share.jar: 
/u02/oracle/VIS/fs1/FMW_Home/webtier/oui/jlib/srvm.jar: 
/u02/oracle/VIS/fs1/FMW_Home/webtier/jlib/ojmisc.jar: 
/u02/oracle/VIS/fs1/FMW_Home/wlserver_10.3/server/lib/weblogic.jar: 
/u02/oracle/VIS/fs1/FMW_Home/oracle_common/jlib/obfuscatepassword.jar oracle.apps.ad.clone.StageAppsTi
er -e /u02/oracle/VIS/fs1/inst/apps/ECLN_shore/appl/admin/ECLN_shore.xml -stage 
/u02/oracle/VIS/fs1/EBSapps/comn/clone -tmp /tmp -method CUSTOM   -showProgress -nopromptmsg 
Log file located at /u02/oracle/VIS/fs1/inst/apps/ECLN_shore/admin/log/StageAppsTier_10031639.log 
|      0% completed   

                                                                                             CLONING                                                                                      (ORACLE EBS)  
   
                             17 
7.4 Copy apps tier EBSapps dir. from “Run Edition  to  “Patch Edition" File System in Target System 
[applmgr@k2 VIS]$ ls 
 [applmgr@k2 VIS]$ mkdir fs2 
 [applmgr@k2 VIS]$ cp -RH fs1/EBSapps /fs2   
7.5 Clone  the target system Run Edition to Patch Edition 
Log on to the “Patch Edition File System” in the Target System as the APPLMGR user and enter the following commands: $ cd <COMMON_TOP>/clone/bin 
$ perl adcfgclone.pl appsTier NOTE: “Location of Run System Context File”, enter the absolute path to the Context File for the “Run Edition File System”  
 [applmgr@k2 bin]$ perl adcfgclone.pl appsTier Copyright (c) 2011 Oracle Corporation 
Redwood Shores, California, USA 
Oracle E-Business Suite Rapid Clone 
Version 12.2 
adcfgclone Version 120.63.12020000.7 
Enter the APPS password : 
Enter the Weblogic AdminServer password : 
Running: 
/u02/oracle/VIS/fs2/EBSapps/comn/clone/bin/../jre/bin/java -Xmx600M -classpath /u02/oracle/VIS/fs2/EBSapps/comn/clone/jlib/obfuscatepassword.jar: /u02/oracle/VIS/fs2/EBSapps/comn/clone/jlib/ojmisc.jar: /u02/oracle/VIS/fs2/EBSapps/comn/clone/jlib/javaoracle.apps.ad.clone.util.OPWrapper /u02/oracle/VIS/fs2/EBSapps/comn/clone/bin/../FMW/tempinfo.txt 

                                                                                             CLONING                                                                                      (ORACLE EBS)  
   
                             18 
Running: 
/u02/oracle/VIS/fs2/EBSapps/comn/clone/bin/../jre/bin/java -Xmx600M -classpath /u02/oracle/VIS/fs2/EBSapps/comn/clone/jlib/obfuscatepassword.jar: /u02/oracle/VIS/fs2/EBSapps/comn/clone/jlib/ojmisc.jar: /u02/oracle/VIS/fs2/EBSapps/comn/clone/jlib/javaoracle.apps.ad.clone.util.OPWrapper /u02/oracle/VIS/fs2/EBSapps/comn/clone/bin/../FMW/EBSDataSource Do you want to add a node (yes/no) [no] : 
Running: 
/u02/oracle/VIS/fs2/EBSapps/comn/clone/bin/../jre/bin/java -Xmx600M -cp /u02/oracle/VIS/fs2/EBSapps/comn/clone/jlib/java: /u02/oracle/VIS/fs2/EBSapps/comn/clone/jlib/xmlparserv2.jar: /u02/oracle/VIS/fs2/EBSapps/comn/clone/jlib/ojdbc5.jaroracle.apps.ad.context.CloneContext -e  /u02/oracle/VIS/fs2/EBSapps/comn/clone/bin/../context/apps/CTXORIG.xml -validate -pairsfile /tmp/adpairsfile_6140.lst -stage  /u02/oracle/VIS/fs2/EBSapps/comn/clone  2> /tmp/adcfgclone_6140.err; echo $? > /tmp/adcfgclone_6140.res Log file located at /u02/oracle/VIS/fs2/EBSapps/comn/clone/bin/CloneContext_1003171029.log 
Target System File Edition type [run] :patch Location of Run File System context file : /u02/oracle/VIS/fs1/inst/apps/VIS_k2/appl/admin/VIS_k2.xml Provide the values required for creation of the new APPL_TOP Context file. 
Target System Fusion Middleware Home set to /u02/oracle/VIS/fs2/FMW_Home 
Target System Web Oracle Home set to /u02/oracle/VIS/fs2/FMW_Home/webtier 
Target System Appl TOP set to /u02/oracle/VIS/fs2/EBSapps/appl 
Target System COMMON TOP set to /u02/oracle/VIS/fs2/EBSapps/comn 
Target System Instance Top set to /u02/oracle/VIS/fs2/inst/apps/VIS_k2 
Target System Port Pool [0-99] : 2 
Patch file system should have different port pool than Run file system.. 

                                                                                             CLONING                                                                                      (ORACLE EBS)  
   
                             19 
Target System Port Pool [0-99] : 2 
Checking the port pool 2 
done: Port Pool 2 is free 
Report file located at /u02/oracle/VIS/fs2/inst/apps/VIS_k2/admin/out/portpool.lst Complete port information available at /u02/oracle/VIS/fs2/inst/apps/VIS_k2/admin/out/portpool.lst UTL_FILE_DIR on database tier consists of the following directories. 
1. /usr/tmp 
2. /usr/tmp 
3. /u01/oracle/VIS/11.2.0/appsutil/outbound/VIS_k2 
4. /usr/tmp 
Choose a value which will be set as APPLPTMP value on the target node [1] : 1 
Creating the new APPL_TOP Context file from : 
/u02/oracle/VIS/fs2/EBSapps/appl/ad/12.0.0/admin/template/adxmlctx.tmp The new APPL_TOP context file has been created : 
/u02/oracle/VIS/fs2/inst/apps/VIS_k2/appl/admin/VIS_k2.xml Log file located at /u02/oracle/VIS/fs2/EBSapps/comn/clone/bin/CloneContext_1003171029.log 
Check Clone Context logfile /u02/oracle/VIS/fs2/EBSapps/comn/clone/bin/CloneContext_1003171029.log for details. 
Running Rapid Clone with command: 
Running: 
perl /u02/oracle/VIS/fs2/EBSapps/comn/clone/bin/adclone.pljava= /u02/oracle/VIS/fs2/EBSapps/comn/clone/bin/../jre mode=apply stage=/u02/oracle/VIS/fs2/EBSapps/comn/clone component=appsTier method=CUSTOM 

                                                                                             CLONING                                                                                      (ORACLE EBS)  
   
                             20 
appctxtg=/u02/oracle/VIS/fs2/inst/apps/ECLN_shore/appl/admin/ECLN_shore.xmlshowProgress contextValidated=true FMW Pre-requisite check log file location : /u02/oracle/VIS/fs2/EBSapps/comn/clone/FMW/logs/prereqcheck.log Running: /u02/oracle/VIS/fs2/EBSapps/comn/clone/FMW/t2pjdk/bin/java -classpath /u02/oracle/VIS/fs2/EBSapps/comn/clone/prereq/webtier/Scripts/ext/jlib/engine.jar: /u02/oracle/VIS/fs2/EBSapps/comn/clone/prereq/webtier/oui/jlib/OraPrereq.jar: /u02/oracle/VIS/fs2/EBSapps/comn/clone/prereq/webtier/oui/jlib/OraPrereqChecks.jar: /u02/oracle/VIS/fs2/EBSapps/comn/clone/prereq/webtier/oui/jlib/OraInstaller.jar: /u02/oracle/VIS/fs2/EBSapps/comn/clone/prereq/webtier/oui/jlib/OraInstallerNet.jar: /u02/oracle/VIS/fs2/EBSapps/comn/clone/prereq/webtier/oui/jlib/srvm.jar: /u02/oracle/VIS/fs2/EBSapps/comn/clone/prereq/webtier/Scripts/ext/jlib/ojdl.jar: /u02/oracle/VIS/fs2/EBSapps/comn/clone/prereq/webtier/Scripts/ext/jlib/ojdl2.jar: /u02/oracle/VIS/fs2/EBSapps/comn/clone/prereq/webtier/Scripts/ext/jlib/ojdl-log4j.jar: /u02/oracle/VIS/fs2/EBSapps/comn/clone/prereq/webtier/oui/jlib/xmlparserv2.jar: /u02/oracle/VIS/fs2/EBSapps/comn/clone/prereq/webtier/oui/jlib/share.jar: /u02/oracle/VIS/fs2/EBSapps/comn/clone/jlib/javaoracle.apps.ad.clone.util.FMWOracleHomePreReqC heck -prereqCheckFMW -e /u02/oracle/VIS/fs2/inst/apps/ECLN_shore/appl/admin/ECLN_shore.xml stage /u02/oracle/VIS/fs2/EBSapps/comn/clone -log /u02/oracle/VIS/fs2/EBSapps/comn/clone/FMW/logs/prereqcheck.log /u02/oracle/VIS/fs2/EBSapps/comn/clone/bin/../jre/bin/java -Xmx600M DCONTEXT_VALIDATED=true  -Doracle.installer.oui_loc=/oui -classpath /u02/oracle/VIS/fs2/EBSapps/comn/clone/jlib/xmlparserv2.jar: /u02/oracle/VIS/fs2/EBSapps/comn/clone/jlib/ojdbc6.jar: /u02/oracle/VIS/fs2/EBSapps/comn/clone/jlib/java: /u02/oracle/VIS/fs2/EBSapps/comn/clone/jlib/oui/OraInstaller.jar: /u02/oracle/VIS/fs2/EBSapps/comn/clone/jlib/oui/ewt3.jar: /u02/oracle/VIS/fs2/EBSapps/comn/clone/jlib/oui/share.jar: /u02/oracle/VIS/fs2/EBSapps/comn/clone/jlib/oui/srvm.jar: /u02/oracle/VIS/fs2/EBSapps/comn/clone/jlib/ojmisc.jar: /u02/oracle/VIS/fs2/FMW_Home/wlserver_10.3/server/lib/weblogic.jar: /u02/oracle/VIS/fs2/EBSapps/comn/clone/jlib/obfuscatepassword.jar oracle.apps.ad.clone.ApplyApps Tier -e /u02/oracle/VIS/fs2/inst/apps/VIS_k2/appl/admin/VIS_k2.xml -stage /u02/oracle/VIS/fs2/EBSapps/comn/clone    -showProgress -nopromptmsg Log file located at /u02/oracle/VIS/fs2/inst/apps/VIS_k2/admin/log/ApplyAppsTier_10031713.log /      0% completed 
Oracle Support Document Cloning Oracle E-Business Suite Release 12.2 with Rapid Clone (Doc ID 1383621.1)