Saturday, December 7, 2013

FS_CLONE Phase Scenario - R12.2 Online Patching Cycle

Scenario

You have noticed that the on the patch edition there are lot of patches applied. You did the cutover and now customer wants to begin the next patching cycle. Since there are lots of patches applied you decided to do file system cloning.





Before we start, the basic requirement of the /tmp file system should be +10GB for the cloning.
Unfortunately not all servers can expand /tmp , so to work around you can redirect the temporary location using the below parameter.

$ export T2P_JAVA_OPTIONS="-Djava.io.tmpdir=/inst122i/product/tmp"
$ adop phase=fs_clone

Enter the APPS password:
Enter the SYSTEM password:
Enter the WLSADMIN password:

 Please wait. Validating credentials...


RUN file system context file: /inst122i/applmgr/fs2/inst/apps/INST122I_testserver01/appl/admin/INST122I_testserver01.xml
PATCH file system context file: /inst122i/applmgr/fs1/inst/apps/INST122I_testserver01/appl/admin/INST122I_testserver01.xml

************* Start of  session *************
 version: 12.2.0
 started at: Sat Nov 16 2013 22:06:44

APPL_TOP is set to /inst122i/applmgr/fs2/EBSapps/appl
  [START 2013/11/16 22:07:12] adzdoptl.pl run
    ADOP Session ID: 8
    Phase: fs_clone
    Log file: /inst122i/applmgr/fs_ne/EBSapps/log/adop/8/adop_20131116_220620.log
        [EVENT]     [START 2013/11/16 22:07:19] CLONE Patch File System from Run File System
          [EVENT]     Calling: /inst122i/applmgr/fs2/EBSapps/appl/ad/12.0.0/patch/115/bin/txkADOPPreparePhaseSynchronize.pl

Program :  started @ Sat Nov 16 22:07:22 2013

*** Log File = /inst122i/applmgr/fs_ne/EBSapps/log/adop/8/fs_clone_20131116_220620/INST122I_testserver01/TXK_SYNC_create_Sat_Nov_16_22_07_22_2013/txkADOPPreparePhaseSynchronize_Sat_Nov_16_22_07_22_2013.log



Beginning application tier FSCloneApply - cloneContext Sat Nov 16 22:07:30 2013

This block prepares the instance for cloning by validating the PATCH and the RUN environment.

/inst122i/applmgr/fs2/FMW_Home/webtier/jdk/bin/java -Xmx600M -DCONTEXT_VALIDATED=false -Doracle.installer.oui_loc=/oui -classpath /inst122i/applmgr/fs1/FMW_Home/webtier/lib/xmlparserv2.jar:/inst122i/applmgr/fs1/FMW_Home/webtier/jdbc/lib/ojdbc6.jar:/inst122i/applmgr/fs2/EBSapps/comn/java/classes:/inst122i/applmgr/fs1/FMW_Home/webtier/oui/jlib/OraInstaller.jar:/inst122i/applmgr/fs1/FMW_Home/webtier/oui/jlib/ewt3.jar:/inst122i/applmgr/fs1/FMW_Home/webtier/oui/jlib/share.jar:/inst122i/applmgr/fs1/FMW_Home/webtier/../Oracle_EBS-app1/oui/jlib/srvm.jar:/inst122i/applmgr/fs1/FMW_Home/webtier/jlib/ojmisc.jar:/inst122i/applmgr/fs2/FMW_Home/wlserver_10.3/server/lib/weblogic.jar:/inst122i/applmgr/fs2/EBSapps/comn/clone/jlib/obfuscatepassword.jar  oracle.apps.ad.clone.FSCloneApplyAppsTier -e /inst122i/applmgr/fs2/inst/apps/INST122I_testserver01/appl/admin/INST122I_testserver01.xml -targ /inst122i/applmgr/fs1/inst/apps/INST122I_testserver01/appl/admin/INST122I_testserver01.xml -stage /inst122i/applmgr/fs2/EBSapps/comn/clone -tmp /tmp -nodbac -component cloneContext -nopromptmsg
Log file located at /inst122i/applmgr/fs2/inst/apps/INST122I_testserver01/admin/log/FSCloneApplyAppsTier_11162207.log

Log file located at /inst122i/applmgr/fs2/inst/apps/INST122I_testserver01/admin/log/FSCloneApplyAppsTier_11162207.log

Target System Fusion Middleware Home set to /inst122i/applmgr/fs1/FMW_Home

Target System Web Oracle Home set to /inst122i/applmgr/fs1/FMW_Home/webtier

Target System Appl TOP set to /inst122i/applmgr/fs1/EBSapps/appl

Target System COMMON TOP set to /inst122i/applmgr/fs1/EBSapps/comn

Target System Instance Top set to /inst122i/applmgr/fs1/inst/apps/INST122I_testserver01

Report file located at /inst122i/applmgr/fs1/inst/apps/INST122I_testserver01/temp/portpool.lst
Complete port information available at /inst122i/applmgr/fs1/inst/apps/INST122I_testserver01/temp/portpool.lst

Creating the new APPL_TOP Context file from :
  /inst122i/applmgr/fs2/EBSapps/comn/clone/context/apps/adxmlctx.tmp

The new APPL_TOP context file has been created :
  /inst122i/applmgr/fs1/inst/apps/INST122I_testserver01/appl/admin/INST122I_testserver01.xml

Log file located at /inst122i/applmgr/fs2/inst/apps/INST122I_testserver01/admin/log/FSCloneApplyAppsTier_11162207.log
contextfile=/inst122i/applmgr/fs1/inst/apps/INST122I_testserver01/appl/admin/INST122I_testserver01.xml
Completed FSCloneApply...
Sat Nov 16 22:07:36 2013



Beginning application tier FSCloneStage - Sat Nov 16 22:07:42 2013

This block zips the required files from the RUN edition and moves it to the stage directory.

/inst122i/applmgr/fs2/FMW_Home/jrockit32/bin/java -Xmx600M -DCONTEXT_VALIDATED=false -Doracle.installer.oui_loc=/oui -classpath /inst122i/applmgr/fs2/FMW_Home/webtier/lib/xmlparserv2.jar:/inst122i/applmgr/fs2/FMW_Home/webtier/jdbc/lib/ojdbc6.jar:/inst122i/applmgr/fs2/EBSapps/comn/java/classes:/inst122i/applmgr/fs2/FMW_Home/webtier/oui/jlib/OraInstaller.jar:/inst122i/applmgr/fs2/FMW_Home/webtier/oui/jlib/ewt3.jar:/inst122i/applmgr/fs2/FMW_Home/webtier/oui/jlib/share.jar:/inst122i/applmgr/fs2/FMW_Home/webtier/../Oracle_EBS-app1/oui/jlib/srvm.jar:/inst122i/applmgr/fs2/FMW_Home/webtier/jlib/ojmisc.jar:/inst122i/applmgr/fs2/FMW_Home/wlserver_10.3/server/lib/weblogic.jar:/inst122i/applmgr/fs2/FMW_Home/oracle_common/jlib/obfuscatepassword.jar  oracle.apps.ad.clone.FSCloneStageAppsTier -e /inst122i/applmgr/fs2/inst/apps/INST122I_testserver01/appl/admin/INST122I_testserver01.xml -targ /inst122i/applmgr/fs1/inst/apps/INST122I_testserver01/appl/admin/INST122I_testserver01.xml -stage /inst122i/applmgr/fs2/EBSapps/comn/clone -tmp /tmp -component appsTier -nopromptmsg
Log file located at /inst122i/applmgr/fs2/inst/apps/INST122I_testserver01/admin/log/FSCloneStageAppsTier_11162207.log
Completed FSCloneStage...
Sat Nov 16 23:38:24 2013



Beginning application tier FSCloneApply - Sat Nov 16 23:41:13 2013

This block unzips the files from the staging directory into the relevant directory under the PATCH edition.
Runs autoconfig and deploys application into the weblogic domain.

/inst122i/applmgr/fs2/EBSapps/comn/clone/FMW/t2pjdk/bin/java -Xmx600M -DCONTEXT_VALIDATED=false -Doracle.installer.oui_loc=/oui -classpath /inst122i/applmgr/fs2/EBSapps/comn/clone/jlib/xmlparserv2.jar:/inst122i/applmgr/fs2/EBSapps/comn/clone/jlib/ojdbc6.jar:/inst122i/applmgr/fs2/EBSapps/comn/clone/jlib/java:/inst122i/applmgr/fs2/EBSapps/comn/clone/jlib/oui/OraInstaller.jar:/inst122i/applmgr/fs2/EBSapps/comn/clone/jlib/oui/ewt3.jar:/inst122i/applmgr/fs2/EBSapps/comn/clone/jlib/oui/share.jar:/inst122i/applmgr/fs1/FMW_Home/webtier/../Oracle_EBS-app1/oui/jlib/srvm.jar:/inst122i/applmgr/fs2/EBSapps/comn/clone/jlib/ojmisc.jar:/inst122i/applmgr/fs2/FMW_Home/wlserver_10.3/server/lib/weblogic.jar:/inst122i/applmgr/fs2/EBSapps/comn/clone/jlib/obfuscatepassword.jar  oracle.apps.ad.clone.FSCloneApplyAppsTier -e /inst122i/applmgr/fs2/inst/apps/INST122I_testserver01/appl/admin/INST122I_testserver01.xml -targ /inst122i/applmgr/fs1/inst/apps/INST122I_testserver01/appl/admin/INST122I_testserver01.xml -stage /inst122i/applmgr/fs2/EBSapps/comn/clone -tmp /inst122i/applmgr/fs2/inst/apps/INST122I_testserver01/appltmp -nodbac -component appsTier -nopromptmsg
Log file located at /inst122i/applmgr/fs2/inst/apps/INST122I_testserver01/admin/log/FSCloneApplyAppsTier_11162341.log

Log file located at /inst122i/applmgr/fs2/inst/apps/INST122I_testserver01/admin/log/FSCloneApplyAppsTier_11162341.log

Target System Fusion Middleware Home set to /inst122i/applmgr/fs1/FMW_Home

Target System Web Oracle Home set to /inst122i/applmgr/fs1/FMW_Home/webtier

Target System Appl TOP set to /inst122i/applmgr/fs1/EBSapps/appl

Target System COMMON TOP set to /inst122i/applmgr/fs1/EBSapps/comn

Target System Instance Top set to /inst122i/applmgr/fs1/inst/apps/INST122I_testserver01
Report file located at /inst122i/applmgr/fs1/inst/apps/INST122I_testserver01/temp/portpool.lst
Complete port information available at /inst122i/applmgr/fs1/inst/apps/INST122I_testserver01/temp/portpool.lst

Creating the new APPL_TOP Context file from :
  /inst122i/applmgr/fs2/EBSapps/comn/clone/context/apps/adxmlctx.tmp

The new APPL_TOP context file has been created :
  /inst122i/applmgr/fs1/inst/apps/INST122I_testserver01/appl/admin/INST122I_testserver01.xml

Log file located at /inst122i/applmgr/fs2/inst/apps/INST122I_testserver01/admin/log/FSCloneApplyAppsTier_11162341.log
contextfile=/inst122i/applmgr/fs1/inst/apps/INST122I_testserver01/appl/admin/INST122I_testserver01.xml

Log file located at /inst122i/applmgr/fs2/inst/apps/INST122I_testserver01/admin/log/FSCloneApplyAppsTier_11162341.log

Completed FSCloneApply...
Sun Nov 17 00:13:20 2013


cmd = /inst122i/applmgr/fs2/FMW_Home/jrockit32/jre/bin/java -classpath /inst122i/applmgr/fs2/FMW_Home/Oracle_EBS-app1/shared-libs/ebs-appsborg/WEB-INF/lib/ebsAppsborgManifest.jar:/inst122i/applmgr/fs2/EBSapps/comn/java/classes -mx256m  oracle.apps.ad.tools.configuration.ADOPCustomSyncUp -contextFile /inst122i/applmgr/fs2/inst/apps/INST122I_testserver01/appl/admin/INST122I_testserver01.xml -custSyncDrv /inst122i/applmgr/fs_ne/EBSapps/appl/ad/custom/adop_sync.drv -logFile /inst122i/applmgr/fs_ne/EBSapps/log/adop/8/fs_clone_20131116_220620/INST122I_testserver01/TXK_SYNC_create_Sat_Nov_16_22_07_22_2013/txkADOPCustomSyncUp.log -promptmsg 'hide'
Copying PS artifacts from RUN to PATCH fs for exectier
Copying SNO artifacts from RUN to PATCH fs for exectier
ADOP Custom Synchorization successfully run

Program :  completed @ Sun Nov 17 00:42:44 2013

        [EVENT]     [END   2013/11/17 00:42:45] CLONE Patch File System from Run File System
          [EVENT]     [START 2013/11/17 00:43:03] Check and Stop Patch FS Admin Server

You are running adadminsrvctl.sh version 120.10.12020000.4

Stopping WLS Admin Server...
Refer /inst122i/applmgr/fs1/inst/apps/INST122I_testserver01/logs/appl/admin/log/adadminsrvctl.txt for details

adadminsrvctl.sh: exiting with status 0

adadminsrvctl.sh: check the logfile /inst122i/applmgr/fs1/inst/apps/INST122I_testserver01/logs/appl/admin/log/adadminsrvctl.txt for more information ... 

          [EVENT]     [END   2013/11/17 00:43:18] Check and Stop Patch FS Admin Server
    [START 2013/11/17 00:43:23] Generating AD_ZD_LOGS Report
        [EVENT]     Report: /inst122i/applmgr/fs2/EBSapps/appl/ad/12.0.0/sql/ADZDSHOWLOG.sql

        [EVENT]     Output: /inst122i/applmgr/fs_ne/EBSapps/log/adop/8/fs_clone_20131116_220620/INST122I_testserver01/adzdshowlog.out

    [END   2013/11/17 00:43:28] Generating AD_ZD_LOGS Report
  [END   2013/11/17 00:43:29] adzdoptl.pl run
  adop phase=fs_clone - Completed Successfully

  Log file: /inst122i/applmgr/fs_ne/EBSapps/log/adop/8/adop_20131116_220620.log

adop exiting with status = 0 (Success)
$



Popular Posts