Monday, 10 April 2017

Oracle EBS R12.2.6 Cloning with Step by Step

DB Tier Cloning

1. Prepare source node for Cloning

1.1 Prepare source node for  Database Cloning

cd /u01/oracle/CRP/12.1.0/appsutil/scripts/CRP_qb
[orauat@qb scripts]$ perl adpreclone.pl dbTier

1.2 Prepare Souce Node for Application Cloning

Run adpreclone.pl from RUN File System

cd /u02/oracle/CRP/fs1/inst/apps/CRP_qb/admin/scripts

[appluat@qb scripts]$ adpreclone.pl appsTier

                     Copyright (c) 2011, 2014 Oracle Corporation
                        Redwood Shores, California, USA

                        Oracle E-Business Suite Rapid Clone

                                 Version 12.2

                      adpreclone Version 120.31.12020000.20

Enter the APPS User Password:
Enter the Weblogic AdminServer password :

Checking the status of the Oracle WebLogic Administration Server....

Running perl /u01/oracle/UAT/fs1/EBSapps/appl/ad/12.0.0/patch/115/bin/adProvisi onEBS.pl ebs-get-serverstatus - contextfile=/u01/oracle/UAT/fs1/inst/apps/UAT_qbuat//appl/admin/
/UAT_qb.xml -servername=AdminServer -promptmsg=hide

The Oracle WebLogic Administration Server is up.

Running:
perl /u01/oracle/UAT/fs1/EBSapps/appl/ad/12.0.0/bin/adclone.pl java=/u01/oracle/UAT/fs1/EBSapps/comn/util/jdk64 mode=stage stage=/u01/oracle/UAT/fs1/EBSapps/comn /clone component=appsTier method appctx=/u01/oracle/UAT/fs1/inst/apps/UAT_qbuat/appl/admin/UAT_qb.xml showProgress

Setting the wls environment

Beginning application tier Stage - Thu Apr  6 12:53:24 2017

/u01/oracle/UAT/fs1/EBSapps/comn/util/jdk64/bin/java-Xmx600M-DCONTEXT_VALIDATED_ =false-Doracle.installer.oui_loc=/oui-classpath
/lib/xmlparserv2.jar:/u01/oracle/UAT/fs1/FMW_Home/webtier/jdbc/lib/ojdbc6.jar:/u01/oracle/UAT/fs1/EBSapps/comn/java/classes:/u01/oracle/UAT/fs1/FMW_Home/webtier/oui/jlib/OraInstaller.jar:/u01/oracle/UAT/fs1/FMW_Home/webtier/oui/jlib/ewt3.jar:/u01/oracle/UAT/fs1/FMW_Home/webtier/oui/jlib/share.jar:/u01/oracle/UAT/fs1/FMW_Home/webtier/../Oracle_EBS-/app1/oui/jlib/srvm.jar:/u01/oracle/UAT/fs1/FMW_Home/webtier/jlib/ojmisc.jar:/u01/oracle/UAT/fs1/FMW_Home/wlserver_10.3/server/lib/weblogic.jar:/u01/oracle/UAT/fs1/FMW_Home/oracle_common/jlib/obfuscatepassword.jaroracle.apps.ad.clone.e/u01/oracle/UAT/fs1/inst/apps/UAT_qbuat/appl/admin/UAT_qb.xml -stage /u01/oracle/UAT/fs1/EBSapps/comn/clone -tmp /tmp -method CUSTOM   -showProgress -nopromptmsg  

Log file located at /u01/oracle/UAT/fs1/inst/apps/UAT_qb/admin/log/clone/StageAppsTier_04061253.log                       

  \     20% completed

Completed Stage...
Thu Apr  6 12:59:21 2017
[appluat@qb scripts]$

2. Shutdown Application and DB

Application:

[appluat@qb ]$ cd $ADMIN_SCRIPTS_HOME
[appluat@qb scripts]$ sh adstpall.sh 

Database:

[orauat@qb ~]$ sqlplus / as sysdba
SQL> shutdown immediate; 

3. Copy db directory from source to target


scp -r /u01/oracle/CRP/db <targetIP>:/u01/oracle/UAT

4. Switch user who own the db binary file system


su - orauat

5. Configure target DB Tier


[orauat@qb bin]$ cd /u01/oracle/UAT/12.1.0/appsutil/clone/bin

[orauat@qb bin]$ perl adcfgclone.pl dbTier

                     Copyright (c) 2002, 2015 Oracle Corporation
                          Redwood Shores, California, USA

                        Oracle E-Business Suite Rapid Clone

                                 Version 12.2

                      adcfgclone Version 120.63.12020000.56

Enter the APPS password :

Running: Context clone...

Log file located at /u01/oracle/UAT/12.1.0/appsutil/clone/bin/CloneContext_0406101541.log

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

Target System Hostname (virtual or normal) [qb] :

Target Instance is RAC (y/n) [n] :

Target System Database SID : UAT

Target System Base Directory :  /u01/oracle/UAT

Target System utl_file_dir Directory List : /tmp

Number of DATA_TOP's on the Target System [1] :

Target System DATA_TOP Directory 1 [/u01/oracle/UAT/data] :

Target System RDBMS ORACLE_HOME Directory [/u01/oracle/UAT/12.1.0] :

Do you want to preserve the Display [null] (y/n)  : n

Target System Display [qb:0.0] :

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] : 11

Checking the port pool 11
done: Port Pool 11 is free
Report file located at /u01/oracle/UAT/12.1.0/appsutil/temp/portpool.lst
The new database context file has been created :
  /u01/oracle/UAT/12.1.0/appsutil/UAT_qb.xml
Check Clone Context logfile /u01/oracle/UAT/12.1.0/appsutil/clone/bin/CloneContext_0406101541.log for details.

Running Rapid Clone with command:
Running:
perl /u01/oracle/UAT/12.1.0/appsutil/clone/bin/adclone.pl java=/u01/oracle/UAT/12.1.0/appsutil/clone/bin/../jre mode=apply stage=/u01/oracle/UAT/12.1.0/appsutil/clone component=dbTier method=CUSTOM dbctxtg=/u01/oracle/UAT/12.1.0/appsutil/UAT_qb.xml showProgress contextValidated=true

Beginning database tier Apply - Thu Apr  6 10:16:12 2017

/u01/oracle/UAT/12.1.0/appsutil/clone/bin/../jre/bin/java -Xmx600M -DCONTEXT_VALIDATED=true -Doracle.installer.oui_loc=/u01/oracle/UAT/12.1.0/oui -classpath /u01/oracle/UAT/12.1.0/appsutil/clone/jlib/xmlparserv2.jar:/u01/oracle/UAT/12.1.0/appsutil/clone/jlib/ojdbc6.jar:/u01/oracle/UAT/12.1.0/appsutil/clone/jlib/java:/u01/oracle/UAT/12.1.0/appsutil/clone/jlib/oui/OraInstaller.jar:/u01/oracle/UAT/12.1.0/appsutil/clone/jlib/oui/ewt3.jar:/u01/oracle/UAT/12.1.0/appsutil/clone/jlib/oui/share.jar:/u01/oracle/UAT/12.1.0/appsutil/clone/jlib/oui/srvm.jar:/u01/oracle/UAT/12.1.0/appsutil/clone/jlib/ojmisc.jar   oracle.apps.ad.clone.ApplyDBTier -e /u01/oracle/UAT/ 12.1.0/appsutil/UAT_qb.xml -stage /u01/oracle/UAT/12.1.0/appsutil/clone   
-showProgress                     
APPS Password : Log file located at /u01/oracle/UAT/12.1.0/appsutil/log/UAT_qb /ApplyDBTier_04061016.log
  \     15% completed

Completed Apply...
Thu Apr  6 10:20:54 2017

Starting database listener for UAT:
Running:
/u01/oracle/UAT/12.1.0/appsutil/scripts/UAT_qb/addlnctl.sh start UAT

Logfile: /u01/oracle/UAT/12.1.0/appsutil/log/UAT_qb/addlnctl.txt

You are running addlnctl.sh version 120.4

Starting listener process UAT ...

Listener UAT has already been started.

addlnctl.sh: exiting with status 0

addlnctl.sh: check the logfile /u01/oracle/UAT/12.1.0/appsutil/log/UAT_qb/addlnctl.txt for more information ...

Do you want to change the password for all EBS Schemas? (y/n) [n]) :

Do you want to change the password for sysadmin user? (y/n) [n]) :

Do you want to change the apps password? (y/n) [n]) :

Do you want to change the sys and system passwords? (y/n) [n]) :

Running ETCC to check status of DB technology patches...


          +==============================================+
                      Copyright (c) 2005, 2016 Oracle and/or its affiliates.                 
                                            All rights reserved.                                                      
                               Oracle E-Business Suite Release 12.2                               
                        Database EBS Technology Codelevel Checker                    
          +==============================================+

Using context file from command line argument:
/u01/oracle/UAT/12.1.0/appsutil/UAT_qb.xml

Starting Database EBS Technology Codelevel Checker, Version 120.40
Thu Apr  6 10:22:10 EAT 2017
Log file for this session : /u01/oracle/UAT/12.1.0/appsutil/etcc/checkDBpatch_26387.log

Bugfix XML file version: 120.0.12020000.33
This file will be used for identifying missing bugfixes.

Mapping XML file version: 120.0.12020000.6
This file will be used for mapping bugfixes to patches.


[WARNING] DB-ETCC: Bugfix XML file (/u01/oracle/UAT/12.1.0/appsutil/etcc/txk_R1220_DB_base_bugs.xml) in current directory is more than 30 days old.
 Check if a newer version is available in patch 17537119.

Identifying database release.
Database release set to 12.1.0.2.

Connecting to database.
Database connection successful.

Database UAT is in READ WRITE mode.

Identifying APPS and APPLSYS schema names.
- APPS schema : APPS
- APPLSYS schema : APPLSYS

Checking for DB-ETCC results table.
Table to store DB-ETCC results already exists in the database.

Checking if InMemory option is enabled.
InMemory option is not enabled in the Database.

Checking Bugfix XML file for 12.1.0.2

Obtained list of bugfixes to be applied and the list to be rolled back.
Now checking Database ORACLE_HOME.

The opatch utility is version 12.1.0.1.10.
DB-ETCC is compatible with this opatch version.

Found patch records in the inventory.

Checking Mapping XML file for 12.1.0.2

All the required one-off bugfixes are present in Database ORACLE_HOME.

Stored Technology Codelevel Checker results in the database UAT successfully.

Finished prerequisite patch testing : Thu Apr  6 10:22:22 EAT 2017

Log file for this session: /u01/oracle/UAT/12.1.0/appsutil/etcc/checkDBpatch_26387.log

Apps Tier Cloning



1. Copy EBSapps directory from source to target (no need to copy FMW_Home and inst Directories)

Create  a directory 

mkdir -p /u01/oracle/UAT/fs1/
mkdir -p /u01/oracle/UAT/fs2/
mkdir -p /u01/oracle/UAT/fs_ne/

Copy EBSapps directory from source to target

scp -r /u01/oracle/CRP/fs1/EBSapps <targetIP>:/u01/oracle/UAT/fs1

2.After finishing the copy CONFIGURE TARGET RUN FILE SYSTEM

Go to clone directory

cd /u01/oracle/UAT/fs1/EBSapps/comn/clone/bin

[appluat@qb bin]$ perl adcfgclone.pl appsTier

                     Copyright (c) 2002, 2015 Oracle Corporation
                        Redwood Shores, California, USA

                        Oracle E-Business Suite Rapid Clone

                                 Version 12.2

                      adcfgclone Version 120.63.12020000.56

                *********************************************************************************
       In AD-TXK Delta 7, we recommend you clone the run and patch
       file systems in a single operation using the 'dualfs' option.
       Separate cloning of the run and patch file systems will be deprecated
                *********************************************************************************

Enter the APPS password :

Enter the Weblogic AdminServer password :

Do you want to add a node (yes/no) [no] :

Running: Context clone...

Log file located at /u01/oracle/UAT/fs1/EBSapps/comn/clone/bin/CloneContext_0406111013.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) [qb] :

Target System Database SID : UAT

Target System Database Server Node [qb] :

Target System Database Domain Name [qb.com] :

Target System Base Directory : /u01/oracle/UAT

Target System Base Directory set to /u01/oracle/UAT

Target System Current File System Base set to /u01/oracle/UAT/fs1

Target System Other File System Base set to /u01/oracle/UAT/fs2

Target System Fusion Middleware Home set to /u01/oracle/UAT/fs1/FMW_Home

Target System Web Oracle Home set to /u01/oracle/UAT/fs1/FMW_Home/webtier

Target System Appl TOP set to /u01/oracle/UAT/fs1/EBSapps/appl

Target System COMMON TOP set to /u01/oracle/UAT/fs1/EBSapps/comn

Target System Instance Home Directory [/u01/oracle/UAT] :

Target System Instance Top set to /u01/oracle/UAT/fs1/inst/apps/UAT_qb

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

Target System Display [qb:0.0] :

Target System Root Service [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] :

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] : 11

Checking the port pool 11
done: Port Pool 11 is free
Report file located at /u01/oracle/UAT/fs1/inst/apps/UAT_qb/admin/out/portpool.lst

UTL_FILE_DIR on database tier consists of the following directories.

1. /usr/tmp
2. /tmp
3. /u01/oracle/UAT/12.1.0/appsutil/outbound/UAT_qb
4. /usr/tmp
Choose a value which will be set as APPLPTMP value on the target node [1] :
The new APPL_TOP context file has been created :
/u01/oracle/UAT/fs1/inst/apps/UAT_qb/appl/admin/UAT_qb.xml
Check Clone Context logfile /u01/oracle/UAT/fs1/EBSapps/comn/clone/bin/CloneContext_0406111013.log for details.

Running Rapid Clone with command:

Running:
perl /u01/oracle/UAT/fs1/EBSapps/comn/clone/bin/adclone.pl java=/u01/oracle/UAT/fs1/EBSapps/comn/clone/bin/../jre mode=apply stage=/u01/oracle/UAT/fs1/EBSapps/comn/clone component=appsTier method=CUSTOM appctxtg=/u01/oracle/UAT/fs1/inst/apps/UAT_qb/appl/admin/UAT_qb.xml showProgress contextValidated=true

FMW Pre-requisite check log file location : /u01/oracle/UAT/fs1/EBSapps/comn/clone/FMW/logs/prereqcheck.log

Running: /u01/oracle/UAT/fs1/EBSapps/comn/clone/FMW/t2pjdk/bin/java /u01/oracle/UAT/fs1/EBSapps/comn/clone/prereq/webtier/Scripts/ext/jlib/engine.jar:/u01/oracle/UAT/fs1/EBSapps/comn/clone/prereq/webtier/oui/jlib/OraPrereq.jar:/u01/oracle/UAT/fs1/EBSapps/comn/clone/prereq/webtier/oui/jlib/OraPrereqChecks.jar:/u01/oracle/UAT/fs1/EBSapps/comn/clone/prereq/webtier/oui/jlib/OraInstaller.jar:/u01/oracle/UAT/fs1/EBSapps/comn/clone/prereq/webtier/oui/jlib/OraInstallerNet.jar:/u01/oracle/UAT/fs1/EBSapps/comn/clone/prereq/webtier/oui/jlib/srvm.jar:/u01/oracle/UAT/fs1/EBSapps/comn/clone/prereq/webtier/Scripts/ext/jlib/ojdl.jar:/u01/oracle/UAT/fs1/EBSapps/comn/clone/prereq/webtier/Scripts/ext/jlib/ojdl2.jar:/u01/oracle/UAT/fs1/EBSapps/comn/clone/prereq/webtier/Scripts/ext/jlib/log4j.jar:/u01/oracle/UAT/fs1/EBSapps/comn/clone/prereq/webtier/oui/jlib/xmlparserv2.jar:/u01/oracle/UAT/fs1/EBSapps/comn/clone/prereq/webtier/oui/jlib/share.jar:/u01/oracle/UAT/fs1/EBSapps/comn/clone/jlib/java/oracle.apps.ad.clone.util.FMWOracleHomePreReqCheck/u01/oracle/UAT/fs1/inst/apps/UAT_qb/appl/admin/UAT_qb.xml -stage /u01/oracle/UAT/fs1/EBSapp s/EBSapps/comn/clone/FMW/logs/prereqcheck.log 

Beginning application tier Apply - Thu Apr  6 11:12:30 2017

/u01/oracle/UAT/fs1/EBSapps/comn/clone/bin/../jre/bin/java -Xmx600M - DCONTEXT _VALIDATED=true -Doracle.installer.oui_loc=/oui -classpath
/u01/oracle/UAT/fs1/EBSapps/comn/clone/jlib/xmlparserv2.jar:/u01/oracle/UAT/fs1/EBSapps/comn/clone/jlib/ojdbc6.jar:/u01/oracle/UAT/fs1/EBSapps/comn/clone/jlib/java:/u01/oracle/UAT/fs1/EBSapps/comn/clone/jlib/oui/OraInstaller.jar:/u01/oracle/UAT/fs1/EBSapps/comn/clone/jlib/oui/ewt3.jar:/u01/oracle/UAT/fs1/EBSapps/comn/clone/jlib/oui/share.jar:/u01/oracle/UAT/fs1/FMW_Home/webtier/../Oracle_EBSapp1/oui/jlib/srvm.jar:/u01/oracle/UAT/fs1/EBSapps/comn/clone/jlib/ojmisc.jar:/u01/oracle/UAT/fs1/FMW_Home/wlserver_10.3/server/lib/weblogic.jar:/u01/oracle/UAT/fs1/EBSapps/comn/clone/jlib/obfuscatepassword.jar  oracle.apps.ad.clone.ApplyAppsTier -e u01/oracle/UAT /fs1/inst/apps/UAT_qb /appl/admin/ /UAT_qb.xml -stage /u01/oracle/UAT/fs1/inst/apps/UAT_qb /appl/admin/UAT_qb.xml -stage /u01/oracle/UAT/fs1/EBSapps/comn/clone-showProgress -nopromptmsg

Log file located at /u01 /oracle/UAT/fs1 /inst /apps/UAT_qb/admin /log /clone ApplyAppsTier _04061112.log
  |    100% completed

Completed Apply...
Thu Apr  6 11:37:54 2017

Do you want to startup the Application Services for UAT? (y/n) [n] :

Services not started
Running:
perl /u01/oracle/UAT/fs1/EBSapps/appl/ad/12.0.0/patch/115/bin/adcleansrccfg.pl context=/u01/oracle/UAT/fs1/inst/apps/UAT_qb/appl/admin/UAT_qb.xml promptmsg=hide logfile=/u01/oracle/UAT/fs1/inst/apps/UAT_qb/admin/log/clone/ApplyAppsTier_04061112.log

*** ALL THE FOLLOWING FILES ARE REQUIRED FOR RESOLVING RUNTIME ERRORS
*** Log File = /u01/oracle/UAT/fs1/inst/apps/UAT_qb/logs /appl/rgf/TXK/ /txkSetOAMReg_Thu_Apr_6_11_40_34_2017.log

Removing SSO/OID references if present...
stty: standard input: Inappropriate ioctl for device
stty: standard input: Inappropriate ioctl for device
Config Cleanup Complete

[appluat@qb bin]$

3.Once we are done with everything. Start the application Tier using adstral.sh

RUN the ENV for the Applciation tier

cd $ADMIN_SCRIPTS_HOME

adstral.sh apps/apps

Provide Weblogic Password:

Once application is up do a sample Health Check.

4.RUN adpreclone on TARGET RUN FILESYSTEM


[appluat@qb ]$ cd /u01/oracle/UAT/fs1/inst/apps/CRP_qb/admin/scripts
[appluat@qb scripts]$ adpreclone.pl appsTier

                               Copyright (c) 2011, 2014 Oracle Corporation
                                       Redwood Shores, California, USA

                                   Oracle E-Business Suite Rapid Clone

                                                  Version 12.2

                                adpreclone Version 120.31.12020000.20

Enter the APPS User Password:
Enter the Weblogic AdminServer password :

Checking the status of the Oracle WebLogic Administration Server....

Running perl /u01/oracle/UAT/fs1/EBSapps/appl/ad/12.0.0/patch/115/bin/adProvision               EBS.plebs-get-serverstatus - contextfile =/u01/oracle/UAT /fs1/inst/apps/UAT_qbuat/appl/admin /appl/admin/UAT_qb.xml -servername=AdminServer -promptmsg=hide

The Oracle WebLogic Administration Server is up.

Running:
perl /u01/oracle/UAT/fs1/EBSapps/appl/ad/12.0.0/bin/adclone.pl java=/u01/oracle/UAT/fs1/EBSapps/comn/util/jdk64 mode=stage stage=/u01/oracle/UAT/fs1/EBSapps/comn/clone component=appsTier method= appctx=/u01/oracle/UAT/fs1/inst/apps/UAT_qbuat/appl/admin/UAT_qb.xml showProgress

Setting the wls environment

Beginning application tier Stage - Thu Apr  6 12:53:24 2017

/u01/oracle/UAT/fs1/EBSapps/comn/util/jdk64/bin/java -Xmx600M -DCONTEXT_VALIDATED =false -Doracle.installer.oui_loc=/oui -classpath /u01/oracle/UAT/fs1/FMW_Home/webtier/lib/xmlparserv2.jar:/u01/oracle/UAT/fs1/FMW_Home/webtier/jdbc/lib/ojdbc6 .jar:/u01/oracle/UAT/fs1/EBSapps/comn/ /java/classes:/u01/oracle/UAT/fs1/FMW_Home/webtier/oui/jlib/OraInstaller.jar: /u01/oracle/UAT/fs1/FMW_Home/webtier/oui/jlib/ewt3.jar:/u01/oracle/oui/jlib/share.jar:/u01/oracle/UAT/fs1/FMW_Home/webtier/../Oracle_EBS-app1/oui/jlib/ srvm.jar: /u01/oracle/UAT/fs1/ /FMW_HOME /webtier/jlib/ojmisc.jar:/u01/oracle /UAT/fs1/FMW_Home/wlserver_10.3/server/wlserver_10.3/server/lib/weblogic.jar: /u01/oracle/UAT/fs1/FMW_Home /oracle_commonjlib/ obfuscatepass  word.jar /u01/oracle/UAT/fs1/inst/apps/UAT_qbuat /appl/admin/UAT_qb.xml -stage /u01/oracle/UAT/fs1/EBSapps/comn/clone -tmp /tmp -method CUSTOM   -showProgress -nopromptmsg

Log file located at /u01/oracle/UAT/fs1/inst/apps/UAT_qb/admin/log/clone/                                   StageAppsTier_04061253.log

  \     20% completed

Completed Stage...
Thu Apr  6 12:59:21 2017
[appluat@qb scripts]$

5.Shutdown the Application which is running on RUN File system


cd $ADMIN_SCRIPTS_HOME
adstpal.sh apps/apps
provide Weblogic admin password:

6.Copy the Target RUN File system to Target PATCH File system


make sure you already created the directory structure like

mkdir -p /u01/oracle/UAT/fs1/
mkdir -p /u01/oracle/UAT/fs2/<------Here We need to copy EBSapps from /u01/oracle/UAT/fs1/
mkdir -p /u01/oracle/UAT/fs_ne/

[appluat@qb ]$ cd /u01/oracle/UAT/fs1/

[appluat@qb  fs1]$ cp EBSapps  /u01/oracle/UAT/fs2/ .

UNSET the application Enviroment.

7.Once Finished copying Start Configuring TARGET PATCH File system

[appluat@qb ]$ cd /u01/oracle/UAT/fs2/EBSapps/comn/clone/bin

[appluat@qb scripts]$ perl adcfgclone.pl appsTier

                             Copyright (c) 2002, 2015 Oracle Corporation
                                     Redwood Shores, California, USA

                             Oracle E-Business Suite Rapid Clone

                                 Version 12.2

                      adcfgclone Version 120.63.12020000.56

                **********************************************************************
                In AD-TXK Delta 7, we recommend you clone the run and patch
                file systems in a single operation using the 'dualfs' option.
                Separate cloning of the run and patch file systems will be deprecated                                                                                        
                **********************************************************************

Enter the APPS password :

Enter the Weblogic AdminServer password :

Do you want to add a node (yes/no) [no] :

Running: Context clone...

Log file located at /u01/oracle/UAT/fs2/EBSapps/comn/clone/bin/CloneContext_0406152616.log

Target System File Edition type [run] : patch

Enter the full path of Run File System Context file : /u01/oracle/UAT/fs1/inst/apps/UAT_qb/appl/admin/UAT_qb.xml

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

Target System Fusion Middleware Home set to /u01/oracle/UAT/fs2/FMW_Home

Target System Web Oracle Home set to /u01/oracle/UAT/fs2/FMW_Home/webtier

Target System Appl TOP set to /u01/oracle/UAT/fs2/EBSapps/appl

Target System COMMON TOP set to /u01/oracle/UAT/fs2/EBSapps/comn

Target System Instance Top set to /u01/oracle/UAT/fs2/inst/apps/UAT_qb

Target System Port Pool [0-99] : 12

Checking the port pool 12
done: Port Pool 12 is free
Report file located at /u01/oracle/UAT/fs2/inst/apps/UAT_qb/admin/out/portpool.lst

The new APPL_TOP context file has been created :
/u01/oracle/UAT/fs2/inst/apps/UAT_qb/appl/admin/UAT_qb.xml

Check Clone Context logfile /u01/oracle/UAT/fs2/EBSapps/comn/clone/bin/CloneContext_0406152616.log for details.

Running Rapid Clone with command:

Running:
perl /u01/oracle/UAT/fs2/EBSapps/comn/clone/bin/adclone.pl java=/u01/oracle/UAT/fs2/EBSapps/comn/clone/bin/../jre mode=apply stage=/u01/oracle/UAT/fs2/EBSapps/comn/clone component=appsTier method=CUSTOM appctxtg=/u01/oracle/UAT/fs2/inst/apps/UAT_qb/appl/admin/UAT_qb.xml showProgress contextValidated=true

FMW Pre-requisite check log file location : /u01/oracle/UAT/fs2/EBSapps/comn/clone/FMW/logs/prereqcheck.log

Running: /u01/oracle/UAT/fs2/EBSapps/comn/clone/FMW/t2pjdk/bin/java -classpath/prereq UAT /u01/oracle/UAT/fs2/EBSapps/comn/clone/prereq/webtier/Scripts/ext/jlib/engine.jar:/u01/oracle/UAT/fs2/EBSapps/comn/clone/prereq/webtier/oui/jlib/OraPrereq.jar:/u01/oracle/UAT/fs2/EBSapps/comn/clone/prereq/webtier/oui/jlib/OraPrereqChecks.jar:/u01/oracle/UAT/fs2/EBSapps/comn/clone/prereq/webtier/oui/jlib/OraInstaller.jar:/u01/oracle/UAT/fs2/EBSapps/comn/clone/prereq/webtier/oui/jlib/OraInstallerNet.jar:/u01/oracle/UAT/fs2/EBSapps/comn/clone/prereq/webtier/oui/jlib/srvm.jar:/u01/oracle/UAT/fs2/EBSapps/comn/clone/prereq/webtier/Scripts/ext/jlib/ojdl.jar:/u01/oracle/UAT/fs2/EBSapps/comn/clone/prereq/webtier/Scripts/ext/jlib/ojdl2.jar:/u01/oracle/UAT/fs2/EBSapps/comn/clone/prereq/webtier/Scripts/ext/jlib/ojdl- log4j.jar:/u01/oracle/UAT/OraPrereqChecks.jar:log4j.jar:/u01/oracle/
UAT/fs2/EBSapps/comn/clone/prereq/webtier/oui/jlib/xmlparserv2.jar:/u01 .jar:/u01/oracle/UAT/fs2/EBSapps/comn/clone/prereq/webtier/oui/jlib/share.jar:/u01/oracle/UAT/fs2/EBSapps/comn/clone/jlib/java

oracle.apps.ad.clone.util.FMWOracleHomePreReqCheck -prereqCheckFMW -e /u01/oracle/UAT/fs2/inst/apps/UAT_qb/appl/admin/UAT_qb.xml -stage /u01/oracle/UAT/fs2/EBSapps/comn/clone -log /u01/oracle/UAT/fs2/EBSapps/comn/clone/FMW/logs/prereqcheck.log

Beginning application tier Apply - Thu Apr  6 15:26:50 2017

/u01/oracle/UAT/fs2/EBSapps/comn/clone/bin/............................./jre/bin/java -Xmx600M -DCONTEXT_VALIDATED=true -Doracle.installer.oui_loc=/oui -classpath//u01/oracle/UAT/fs2/EBSapps/comn/clone/jlib/xmlparserv2.jar:/u01/oracle/UAT/fs2/EBSapps/comn/clone/jlib/ojdbc6.jar:/u01/oracle/UAT/fs2/EBSapps/comn/clone/jlib/java:/u01/oracle/UAT/fs2/EBSapps/comn/clone/jlib/oui/OraInstaller.jar:/u01/oracle/UAT/fs2/EBSapps/comn/clone/jlib/oui/ewt3.jar:/u01/oracle/UAT/fs2/EBSapps/comn/clone/jlib/oui/share.jar:/u01/oracle/UAT/fs2/FMW_Home/webtier/Oracle_EBS/oui/jlib/srvm.jar:/u01/oracle/UAT/fs2/EBSapps//jlibapp1/fs2/
 /oui/jlib/ojmisc.jar:/u01/oracle/UAT/fs2/EBSapps/jlibapp1/oui/jlib /ojmisc.jar:  /UAT/fs2/FMW_Home/wlserver_10.3/server/lib/weblogic.jar:/u01/oracle/UAT/fs2/EBSapps/comn/clone/jlib/obfuscatepassword.jar oracle.apps.ad.clone Apply
AppsTier -e /u01/oracle/UAT/ fs2/inst/ /apps/UAT_qb/appl/admin/UAT_qb.xml -stage  -showProgress -nopromptmsg 

Log file located at /u01/oracle/UAT/fs2/inst/apps/UAT_qb/admin/log/clone/ApplyAppsTier_04061526.log
  -    100% completed

Completed Apply...
Thu Apr  6 15:55:55 2017

Looking for incomplete CLONE record in ad_adop_session_patches table

The CLONE record status is no rows selected
[appluat@qb bin]$

8.Once we are done with everything. Start the application Tier using adstral.sh


This time set the env to RUN File System

. /u01/oracle/UAT/EBSapps.env run

cd $ADMIN_SCRIPTS_HOME

adstral.sh apps/apps

                                           ***********All the Best*****************


1 comment:

Anonymous said...

thanks Very helpful