7 Replies Latest reply on Jun 7, 2017 3:28 AM by Beauty_and_dBest

    Cloning from fs2 run edition folder?

    Beauty_and_dBest

      Hi ALL,

       

      EBS R12.2.4

      OL6

       

      Our current PROD run edition is switch to fs2 after I applied a patch.

      Then I am  cloning it to UAT  it using fs2 folder but I am confused why it is defaulting to fs1? as its run edition?

       

      Target System Base Directory : /oracle/appuat/UAT

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

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

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

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

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

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

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

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

       

      Target System Instance Top set to /oracle/appascp/ASCP/fs1/inst/apps/ASCP_ebizascp

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

      Target System Display [ebizascp: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] :

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

       

      Progress -nopromptmsg

      Log file located at /oracle/appascp/ASCP/fs1/inst/apps/ASCP_ebizascp/admin/log/clone/ApplyAppsTier_06061824.log

        |      0% completed

      ERROR while running Apply...

      Tue Jun  6 18:24:45 2017

      ==================

      #############################################################

      Started ApplyAppsTier at Tue Jun 06 18:24:45 PHT 2017

      Version:

              ApplyAppsTier.java      :       120.11.12020000.6

      #############################################################

       

      START: Creating the FMW Home from ApplyAppsTier

      FMW JDK version in use: 1.7.0_67

       

      START: Creating FMW Home.

      Running /oracle/appuat/UAT/fs2/EBSapps/comn/clone/FMW/pasteBinary.sh -javaHome /oracle/appuat/UAT/fs1/EBSapps/comn/util/jdk64 -al /oracle/appuat/UAT/fs2/EBSapps/comn/clone/FMW/FMW_Home.jar -tl /oracle/appuat/UAT/fs1/FMW_Home -invPtrLoc /etc/oraInst.loc -ldl /oracle/appuat/UAT/fs1/inst/apps/UAT_ebizUAT/admin/log/clone/fmwT2PApply -silent true -debug true -executeSysPrereqs false

      Script Executed in 201 milliseconds, returning status 1

      ERROR: Script failed, exit code 1

       

      ERROR: Failed to execute /oracle/appascp/ASCP/fs2/EBSapps/comn/clone/bin/adclone.pl

      ============

       

       

       

      Please help....

       

       

      Kind regards,

      jc

       

      Message was edited by: Beauty_and_dBest Updated Version from 12.2.6 to 12.2.4

        • 1. Re: Cloning from fs2 run edition folder?
          mdtaylor

          Hi jc,

           

          When you backup PRD apps, you should be in /oracle/appuat/PRD, then backup fs2/EBSapps into a zip or tar file.

           

          Then copy that backup file to /oracle/appuat/UAT.  When you uncompress it, you will only have a fs2 filesystem if your source run was fs2.  You must clone from and to the same fs number.

           

          When you answer the rapid clone questions, it should look like this:

           

          cd /u01/oracle/vcp1226/fs2/EBSapps/comn/clone/bin

          [applmgr@ichain1226 bin]$ perl adcfgclone.pl appsTier dualfs

           

                               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 :

           

          Enter the Weblogic AdminServer password :

           

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

           

           

          Running: Context clone...

           

          Log file located at /u01/oracle/vcp1226/fs2/EBSapps/comn/clone/bin/CloneContext_0222194531.log

           

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

           

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

           

          Target System Database SID : vcp1226

           

          Target System Database Server Node [ichain1226] :

           

          Target System Database Domain Name [ichain.local] :

           

          Target System Base Directory : /u01/oracle/vcp1226

           

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

           

          Target System Current File System Base set to /u01/oracle/vcp1226/fs2

           

          Target System Other File System Base set to /u01/oracle/vcp1226/fs1

           

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

          Target System Other File System Fusion Middleware Home set to /u01/oracle/vcp1226/fs1/FMW_Home

           

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

          Target System Other File System Web Oracle Home set to /u01/oracle/vcp1226/fs1/FMW_Home/webtier

           

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

          Target System Other File System Appl TOP set to /u01/oracle/vcp1226/fs1/EBSapps/appl

           

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

          Target System Other File System COMMON TOP set to /u01/oracle/vcp1226/fs1/EBSapps/comn

           

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

           

          Regards,

          Michael

          • 2. Re: Cloning from fs2 run edition folder?
            Beauty_and_dBest

            Thanks Michael,

             

            Maybe I forgot to run adpreclone

             

            Is there a remedy for it? I have the cold fullbackup but forgot to run the adpreclone on it

             

             

            Please help....

            • 3. Re: Cloning from fs2 run edition folder?
              mdtaylor

              Hi jc,

               

              If you forget to preclone, you should be able to zip/tar the fs2/EBSapps/comn/clone directory on the source and copy it to the target.

               

              Regards,

              Michael

              • 4. Re: Cloning from fs2 run edition folder?
                Beauty_and_dBest

                Yes that is exactly what I did

                 

                Wait I run it again and post the output....brb

                • 5. Re: Cloning from fs2 run edition folder?
                  Beauty_and_dBest

                  Hi Michael,

                   

                  I can not used dualfs mode, because I retained only the fs2 folder, I do not know whats the purpose of it

                  I have used to do cloning without the dualfs option. What is it for?

                   

                  [appascp@ebizascp ~]$ cd /oracle/appascp/ASCP/fs2/EBSapps/comn/clone/bin

                  [appascp@ebizascp bin]$ perl adcfgclone.pl appsTier dualfs

                   

                                       Copyright (c) 2011 Oracle Corporation

                                          Redwood Shores, California, USA

                   

                                          Oracle E-Business Suite Rapid Clone

                   

                                                   Version 12.2

                   

                                        adcfgclone Version 120.63.12020000.37

                  Can't open dualfs:

                  No such file or directory

                  ===============

                   

                  But if I omit dualfs , it would proceed....

                   

                  [appascp@ebizascp 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.37

                   

                  Enter the APPS password :

                  Running:

                  /oracle/appascp/ASCP/fs2/EBSapps/comn/clone/bin/../jre/bin/java -Xmx600M -classpath /oracle/appascp/ASCP/fs2/EBSapps/comn/clone/jlib/obfuscatepassword.jar:/oracle/appascp/ASCP/fs2/EBSapps/comn/clone/jlib/ojmisc.jar:/oracle/appascp/ASCP/fs2/EBSapps/comn/clone/jlib/java:/oracle/appascp/ASCP/fs2/EBSapps/comn/clone/jlib/emCfg.jar oracle.apps.ad.clone.util.OPWrapper -encryptpwd /oracle/appascp/ASCP/fs2/EBSapps/comn/clone/bin/../FMW/tempinfoApps.txt

                   

                  Enter the Weblogic AdminServer password :

                  Running:

                  /oracle/appascp/ASCP/fs2/EBSapps/comn/clone/bin/../jre/bin/java -Xmx600M -classpath /oracle/appascp/ASCP/fs2/EBSapps/comn/clone/jlib/obfuscatepassword.jar:/oracle/appascp/ASCP/fs2/EBSapps/comn/clone/jlib/ojmisc.jar:/oracle/appascp/ASCP/fs2/EBSapps/comn/clone/jlib/java:/oracle/appascp/ASCP/fs2/EBSapps/comn/clone/jlib/emCfg.jar oracle.apps.ad.clone.util.OPWrapper /oracle/appascp/ASCP/fs2/EBSapps/comn/clone/bin/../FMW/tempinfo.txt

                  Running:

                  /oracle/appascp/ASCP/fs2/EBSapps/comn/clone/bin/../jre/bin/java -Xmx600M -classpath /oracle/appascp/ASCP/fs2/EBSapps/comn/clone/jlib/obfuscatepassword.jar:/oracle/appascp/ASCP/fs2/EBSapps/comn/clone/jlib/ojmisc.jar:/oracle/appascp/ASCP/fs2/EBSapps/comn/clone/jlib/java:/oracle/appascp/ASCP/fs2/EBSapps/comn/clone/jlib/emCfg.jar oracle.apps.ad.clone.util.OPWrapper /oracle/appascp/ASCP/fs2/EBSapps/comn/clone/bin/../FMW/EBSDataSource

                   

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

                   

                  Running:

                  /oracle/appascp/ASCP/fs2/EBSapps/comn/clone/bin/../jre/bin/java -Xmx600M -cp /oracle/appascp/ASCP/fs2/EBSapps/comn/clone/jlib/java:/oracle/appascp/ASCP/fs2/EBSapps/comn/clone/jlib/xmlparserv2.jar:/oracle/appascp/ASCP/fs2/EBSapps/comn/clone/jlib/ojdbc6.jar:/oracle/appascp/ASCP/fs2/EBSapps/comn/clone/jlib/obfuscatepassword.jar:/oracle/appascp/ASCP/fs2/EBSapps/comn/clone/jlib/ojmisc.jar:/oracle/appascp/ASCP/fs2/EBSapps/comn/clone/jlib/java:/oracle/appascp/ASCP/fs2/EBSapps/comn/clone/jlib/emCfg.jar oracle.apps.ad.context.CloneContext -e /oracle/appascp/ASCP/fs2/EBSapps/comn/clone/bin/../context/apps/CTXORIG.xml -validate -pairsfile /tmp/adpairsfile_500.lst -stage /oracle/appascp/ASCP/fs2/EBSapps/comn/clone  2> /tmp/adcfgclone_500.err; echo $? > /tmp/adcfgclone_500.res

                   

                  Log file located at /oracle/appascp/ASCP/fs2/EBSapps/comn/clone/bin/CloneContext_0607104204.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) [ebizascp] :

                   

                  Target System Database SID : ASCP

                   

                  Target System Database Server Node [ebizascp] :

                   

                  Target System Database Domain Name [flex.com.ph] :

                   

                  Target System Base Directory : /oracle/appascp/ASCP

                   

                  Target System Base Directory set to /oracle/appascp/ASCP

                   

                  Target System Current File System Base set to /oracle/appascp/ASCP/fs1

                   

                  Target System Other File System Base set to /oracle/appascp/ASCP/fs2

                   

                  Target System Fusion Middleware Home set to /oracle/appascp/ASCP/fs1/FMW_Home

                   

                  Target System Web Oracle Home set to /oracle/appascp/ASCP/fs1/FMW_Home/webtier

                   

                  Target System Appl TOP set to /oracle/appascp/ASCP/fs1/EBSapps/appl

                   

                  Target System COMMON TOP set to /oracle/appascp/ASCP/fs1/EBSapps/comn

                   

                  Target System Instance Home Directory [/oracle/appascp/ASCP] :

                   

                  RC-00217: Warning: Configuration home directory (s_config_home) evaluates to /oracle/appascp/ASCP/fs1/inst/apps/ASCP_ebizascp. A directory with this name already exists and is not empty.

                   

                  Do you want to continue (y/n)   : y

                   

                  Target System Instance Top set to /oracle/appascp/ASCP/fs1/inst/apps/ASCP_ebizascp

                   

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

                   

                  Target System Display [ebizascp: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] :

                   

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

                   

                  Checking the port pool 0

                  done: Port Pool 0 is free

                  Report file located at /oracle/appascp/ASCP/fs1/inst/apps/ASCP_ebizascp/admin/out/portpool.lst

                  Complete port information available at /oracle/appascp/ASCP/fs1/inst/apps/ASCP_ebizascp/admin/out/portpool.lst

                   

                  UTL_FILE_DIR on database tier consists of the following directories.

                   

                  1. /usr/tmp

                  2. /tmp

                  3. /oracle/oraascp/ASCP/11.2.0/appsutil/outbound/ASCP_ebizascp

                  4. /usr/tmp

                  Choose a value which will be set as APPLPTMP value on the target node [1] :

                   

                  Backing up /oracle/appascp/ASCP/fs1/inst/apps/ASCP_ebizascp/appl/admin/ASCP_ebizascp.xml to /oracle/appascp/ASCP/fs1/inst/apps/ASCP_ebizascp/appl/admin/ASCP_ebizascp.xml0.bak

                   

                  Creating the new APPL_TOP Context file from :

                    /oracle/appascp/ASCP/fs2/EBSapps/comn/clone/context/apps/adxmlctx.tmp

                   

                  The new APPL_TOP context file has been created :

                    /oracle/appascp/ASCP/fs1/inst/apps/ASCP_ebizascp/appl/admin/ASCP_ebizascp.xml

                   

                  Log file located at /oracle/appascp/ASCP/fs2/EBSapps/comn/clone/bin/CloneContext_0607104204.log

                  Check Clone Context logfile /oracle/appascp/ASCP/fs2/EBSapps/comn/clone/bin/CloneContext_0607104204.log for details.

                   

                  Running Rapid Clone with command:

                  Running:

                  perl /oracle/appascp/ASCP/fs2/EBSapps/comn/clone/bin/adclone.pl java=/oracle/appascp/ASCP/fs2/EBSapps/comn/clone/bin/../jre mode=apply stage=/oracle/appascp/ASCP/fs2/EBSapps/comn/clone component=appsTier method=CUSTOM appctxtg=/oracle/appascp/ASCP/fs1/inst/apps/ASCP_ebizascp/appl/admin/ASCP_ebizascp.xml showProgress contextValidated=true

                   

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

                   

                  Running: /oracle/appascp/ASCP/fs2/EBSapps/comn/clone/FMW/t2pjdk/bin/java -classpath /oracle/appascp/ASCP/fs2/EBSapps/comn/clone/prereq/webtier/Scripts/ext/jlib/engine.jar:/oracle/appascp/ASCP/fs2/EBSapps/comn/clone/prereq/webtier/oui/jlib/OraPrereq.jar:/oracle/appascp/ASCP/fs2/EBSapps/comn/clone/prereq/webtier/oui/jlib/OraPrereqChecks.jar:/oracle/appascp/ASCP/fs2/EBSapps/comn/clone/prereq/webtier/oui/jlib/OraInstaller.jar:/oracle/appascp/ASCP/fs2/EBSapps/comn/clone/prereq/webtier/oui/jlib/OraInstallerNet.jar:/oracle/appascp/ASCP/fs2/EBSapps/comn/clone/prereq/webtier/oui/jlib/srvm.jar:/oracle/appascp/ASCP/fs2/EBSapps/comn/clone/prereq/webtier/Scripts/ext/jlib/ojdl.jar:/oracle/appascp/ASCP/fs2/EBSapps/comn/clone/prereq/webtier/Scripts/ext/jlib/ojdl2.jar:/oracle/appascp/ASCP/fs2/EBSapps/comn/clone/prereq/webtier/Scripts/ext/jlib/ojdl-log4j.jar:/oracle/appascp/ASCP/fs2/EBSapps/comn/clone/prereq/webtier/oui/jlib/xmlparserv2.jar:/oracle/appascp/ASCP/fs2/EBSapps/comn/clone/prereq/webtier/oui/jlib/share.jar:/oracle/appascp/ASCP/fs2/EBSapps/comn/clone/jlib/java oracle.apps.ad.clone.util.FMWOracleHomePreReqCheck -prereqCheckFMW -e /oracle/appascp/ASCP/fs1/inst/apps/ASCP_ebizascp/appl/admin/ASCP_ebizascp.xml -stage /oracle/appascp/ASCP/fs2/EBSapps/comn/clone -log /oracle/appascp/ASCP/fs2/EBSapps/comn/clone/FMW/logs/prereqcheck.log

                   

                  Beginning application tier Apply - Wed Jun  7 10:44:46 2017

                   

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

                  Log file located at /oracle/appascp/ASCP/fs1/inst/apps/ASCP_ebizascp/admin/log/clone/ApplyAppsTier_06071044.log

                    |      0% completed

                  ERROR while running Apply...

                  Wed Jun  7 10:44:47 2017

                   

                  ERROR: Failed to execute /oracle/appascp/ASCP/fs2/EBSapps/comn/clone/bin/adclone.pl

                   

                  Please check logfile.

                  • 6. Re: Cloning from fs2 run edition folder?
                    mdtaylor

                    Hi jc,

                     

                    Are you sure the source is 12.2.6?  The dualfs option was created in 12.2.5 or AD/TXK.Delta 7 for cloning run and patch filesystems in a single rapid clone pass.

                     

                    https://oracledbamasters.wordpress.com/2016/08/13/adcfgclone-pl-appstier-dualfs/

                     

                    Regards,

                    Michael

                    • 7. Re: Cloning from fs2 run edition folder?
                      Beauty_and_dBest

                      Opps Sorry, I am mixed up now.

                       

                      It is 12.2.4