1 2 Previous Next 15 Replies Latest reply on Aug 4, 2017 11:47 AM by Beauty_and_dBest

    Cloning EBS R12.2.6 with dualfs

    Beauty_and_dBest

      Hi ALL,

       

      EBS R12.2.6

      OL6

      12c

       

       

      I have clone successfully 12.2.6 without dualfs.

      But when I tried using this option >   perl adcfgclone.pl appsTier dualfs

       

      FMW Pre-requisite check log file location : /u02/appvisn/VISN/fs2/EBSapps/comn/clone/FMW/logs/prereqcheck.log

      Running: FMW pre-req check...

       

      Configuring: Run file system....

      LogFile located at /u02/appvisn/VISN/fs1/inst/apps/VISN_a6dd6a/admin/log/clone/run/RCloneApplyAppstier_08021858.log

       

      ERROR: Failed to configure the target system,

      please check the logfile in : /u02/appvisn/VISN/fs1/inst/apps/VISN_a6dd6a/admin/log/clone

      Enter the APPS password : Enter the APPS password :

      Failed to Instantiate tnsnames.ora independently

      Verifying: if database connection descriptor present

      Database connection desciptor context variable is NULL

      Error while executing /u02/appvisn/VISN/fs2/EBSapps/comn/clone/bin/alter_ebs_logon_trigger.sql

      Failed to enable EBS_LOGON trigger

       

       

      Why is that it seems it can not login to apps/apps?

       

       

      Please help...

       

      Kind regards,

        • 1. Re: Cloning EBS R12.2.6 with dualfs
          Jibu-Oracle

          Please recheck the values defined in the pairsfile Additionally check and provide details from RCloneApplyAppstier_08021858.log for details

          • 2. Re: Cloning EBS R12.2.6 with dualfs
            mdtaylor

            Hi jc,

             

            Please verify apps/apps is working.  If not, reset with alter user as sysdba then rerun FNDCPASS to re-encrypt.  Then attempt the dualfs clone.  It has worked for me fine on 12.2.5 and above.

             

            Regards,

            Michael

            • 3. Re: Cloning EBS R12.2.6 with dualfs
              Beauty_and_dBest

              Thanks Jibu, Michael, and ALL 

               

              As oravisn owner I can connect to apps/apps

               

              [oravisn@a6dd6a ~]$ sqlplus apps/apps

              SQL*Plus: Release 12.1.0.2.0 Production on Thu Aug 3 11:26:27 2017

              Copyright (c) 1982, 2014, Oracle.  All rights reserved.

               

              Last Successful login time: Wed Aug 02 2017 18:58:15 +08:00

               

              Connected to:

              Oracle Database 12c Enterprise Edition Release 12.1.0.2.0 - 64bit Production

              With the Partitioning, OLAP, Advanced Analytics and Real Application Testing options

               

              SQL>

               

              Below is the RCloneApplyAppstier_08021858.log

               

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

              Started RCloneApplyAppstier at Wed Aug 02 18:58:37 PHT 2017

              Version:

                      RCloneApplyAppstier.java        :       120.0.12020000.4

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

               

              START: Calling ApplyAppsTier...

               

              START: Creating the FMW Home from ApplyAppsTier

              FMW JDK version in use: 1.7.0_111

               

              START: Creating FMW Home.

              Running /u02/appvisn/VISN/fs2/EBSapps/comn/clone/FMW/pasteBinary.sh -javaHome /u02/appvisn/VISN/fs1/EBSapps/comn/util/jdk64 -al /u02/appvisn/VISN/fs2/EBSapps/comn/clone/FMW/FMW_Home.jar -tl /u02/appvisn/VISN/fs1/FMW_Home -invPtrLoc /etc/oraInst.loc -ldl /u02/appvisn/VISN/fs1/inst/apps/VISN_a6dd6a/admin/log/clone/run/fmwT2PApply -silent true -debug true -executeSysPrereqs false

              Script Executed in 201 milliseconds, returning status 1

              ERROR: Script failed, exit code 1

               

               

               

              Kind regards,

              • 4. Re: Cloning EBS R12.2.6 with dualfs
                Beauty_and_dBest

                Hi ALL,

                 

                Even the normal cloning have the same error now

                I usually able to clone using the old way, no dualfs option.

                 

                appvisn@] $ perl adcfgclone.pl appsTier

                 

                But now it got the same error:

                 

                Log file located at /u02/appvisn/VISN/fs1/inst/apps/VISN_a6dd6a/admin/log/clone/ApplyAppsTier_08031233.log

                  |      0% completed     

                ERROR while running Apply...

                Thu Aug  3 12:33:33 2017

                 

                ERROR: Failed to execute /u02/appvisn/VISN/fs2/EBSapps/comn/clone/bin/adclone.pl

                 

                Please check logfile.

                 

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

                Started ApplyAppsTier at Thu Aug 03 12:33:32 PHT 2017

                Version:

                        ApplyAppsTier.java      :       120.11.12020000.8

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

                 

                START: Creating the FMW Home from ApplyAppsTier

                FMW JDK version in use: 1.7.0_111

                 

                START: Creating FMW Home.

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

                Script Executed in 200 milliseconds, returning status 1

                ERROR: Script failed, exit code 1

                 

                 

                Please help...

                 

                 

                Kind regards,

                • 5. Re: Cloning EBS R12.2.6 with dualfs
                  Jibu-Oracle

                  Please try to run the failed command manually disabling the silent mode and check to get more details about the failure cause /u02/appvisn/VISN/fs2/EBSapps/comn/clone/FMW/pasteBinary.sh -javaHome /u02/appvisn/VISN/fs1/EBSapps/comn/util/jdk64 -al /u02/appvisn/VISN/fs2/EBSapps/comn/clone/FMW/FMW_Home.jar -tl /u02/appvisn/VISN/fs1/FMW_Home -invPtrLoc /etc/oraInst.loc -ldl /u02/appvisn/VISN/fs1/inst/apps/VISN_a6dd6a/admin/log/clone/fmwT2PApply -silent false -debug true -executeSysPrereqs false

                  • 6. Re: Cloning EBS R12.2.6 with dualfs
                    Beauty_and_dBest

                    Hi Jibu,

                     

                    /u02/appvisn/VISN/fs2/EBSapps/comn/clone/FMW/pasteBinary.sh -javaHome /u02/appvisn/VISN/fs1/EBSapps/comn/util/jdk64 -al /u02/appvisn/VISN/fs2/EBSapps/comn/clone/FMW/FMW_Home.jar -tl /u02/appvisn/VISN/fs1/FMW_Home -invPtrLoc /etc/oraInst.loc -ldl /u02/appvisn/VISN/fs1/inst/apps/VISN_a6dd6a/admin/log/clone/fmwT2PApply -silent false -debug true -executeSysPrereqs false

                    Java home location is invalid as "/u02/appvisn/VISN/fs1/EBSapps/comn/util/jdk64" did not exist.

                     

                     

                    I do not have fs1 yet because my run edition is fs2, so I remove all files under fs1 patch edition.  

                     

                    ***Clone fs2 (run edition)***

                    $ cd /u02/appvisn/VISN

                     

                    Retain only /u02/appvisn/VISN/fs2/EBSapps

                     

                    rm -rf   /u02/appvisn/VISN/fs2/FMW_Home

                    rm -rf   /u02/appvisn/VISN/fs2/inst

                    rm -rf   /u02/appvisn/VISN/fs1/*

                    rm -rf   /u02/appvisn/VISN/fs_ne/*

                     

                     

                    Kind regards,

                    • 7. Re: Cloning EBS R12.2.6 with dualfs
                      Jibu-Oracle

                      If you are on AD/TXK code level 6 or higher, I would suggest you to follow the recommended method .ie using dualfs option.

                      • 8. Re: Cloning EBS R12.2.6 with dualfs
                        Beauty_and_dBest

                        Hi ALL,

                         

                        One thing I noticed is that my db tier has created its own oraInventory folder, under Oracle Home folder. 

                        It also required the inventory to be under OracleHome folder?

                        The database tier did not check the follow the /etc/oraInst.loc?

                         

                        While my apps tier (appvisn) follows the /etc/oraInst.loc inventory

                         

                         

                        Please help...

                         

                        Kind regards,

                        • 9. Re: Cloning EBS R12.2.6 with dualfs
                          Jibu-Oracle

                          You may check the following Note, if it can help. Rapidclone Failed on PATCH File System With 'Java Home location is invalid.' (Doc ID 2244138.1) But I would suggest to use dualfs option if on AD/TXK code level 6 or higher as code will be designed to read the pairsfile and act accordingly

                          • 10. Re: Cloning EBS R12.2.6 with dualfs
                            Beauty_and_dBest

                            Hi Jibu,

                             

                            We are in 12.2.6 so it is AD/TXK code level 7.

                             

                            I am able to clone it via old way in my previous cloning.

                            But I want to try the dualfs option  as well.

                             

                            I have followed this blog for my dualfs cloning.

                            Oracle Applications: adcfgclone.pl appsTier dualfs

                             

                             

                            1. At source Instance run edition, run adprelclone.

                             

                              E-Business Suite Environment Information

                              ----------------------------------------

                              RUN File System           : /u02/appvisn/VISN/fs2/EBSapps/appl

                              PATCH File System         : /u02/appvisn/VISN/fs1/EBSapps/appl

                              Non-Editioned File System : /u01/install/APPS/fs_ne

                             

                              DB Host: a6dd6a.compute-a467305.oraclecloud.internal  Service/SID: VISN

                             

                              Sourcing the RUN File System ...

                             

                            2.  cd $INST_TOP/admin/scripts

                            3. perl adpreclone.pl appsTier

                            4. copy /u02/appvisn/VISN/fs2/EBSapps  to target folder.

                            At target:

                            5. Create owner appvisn and change ownership.

                            login appvisn

                            6. cd  /u02/appvisn/VISN/fs2/EBSapps/comn/clone/bin

                            7. copy EBSapps to both fs1 and fs2  <<<important

                            8. perl adcfgclone.pl appsTier dualfs

                             

                            error encountered above.

                            • 11. Re: Cloning EBS R12.2.6 with dualfs
                              Beauty_and_dBest

                              Hi ALL

                               

                              (Doc ID 2244138.1) resolved my issues

                               

                              But why is that after cloning dualfs the file edition system switch places? why run edition which is fs2 is now fs1?

                              Is this the normal behavior of dualfs?

                               

                               

                              Kind regards,

                              • 12. Re: Cloning EBS R12.2.6 with dualfs
                                Jibu-Oracle

                                The dualfs option by default do not switch file edition in Cloning

                                Cloning will be do exactly same as your source configuration.

                                If a Cloning switched file it may needs detailed review on values feeded while running Cloning

                                • 13. Re: Cloning EBS R12.2.6 with dualfs
                                  Beauty_and_dBest

                                  Hi Jibu, Michael, Shaik, and ALL

                                   

                                  The dualfs option by default do not switch file edition in Cloning.

                                   

                                  Ouch! so my cloning might not be correct

                                   

                                  If a Cloning switched file it may needs detailed review on values feeded while running Cloning

                                   

                                  What log do I need to check?

                                   

                                  The Note above is for 12.2.4 issue which says the fs1 run edition was successful, but got error on the patch edition.

                                   

                                  So for my case run edition is not yet cloned. What I did is copy the folder EBSapps to both fs1 and fs2. Is this acceptable procedure?

                                   

                                   

                                  I can start good the database and apps tier with all status 0,  But I can not access the apps

                                   

                                  Capture.PNG

                                  [appvisn@a6dd6a ~]$ ./start

                                   

                                  You are running adstrtal.sh version 120.24.12020000.11

                                   

                                  stty: standard input: Inappropriate ioctl for device

                                   

                                  Enter the WebLogic Server password: stty: standard input: Inappropriate ioctl for device

                                   

                                  The logfile for this session is located at /u02/appvisn/VISN/fs1/inst/apps/VISN_a6dd6a/logs/appl/admin/log/adstrt

                                  al.log

                                   

                                  Executing service control script:

                                  /u02/appvisn/VISN/fs1/inst/apps/VISN_a6dd6a/admin/scripts/jtffmctl.sh start

                                  Timeout specified in context file: 100 second(s)

                                   

                                  script returned:

                                  ****************************************************

                                   

                                  You are running jtffmctl.sh version 120.3.12020000.4

                                   

                                  Validating Fulfillment patch level via /u02/appvisn/VISN/fs1/EBSapps/comn/java/classes

                                  Fulfillment patch level validated.

                                  Starting Fulfillment Server for VISN on port 9360 ...

                                   

                                  jtffmctl.sh: exiting with status 0

                                   

                                   

                                  .end std out.

                                   

                                  .end err out.

                                   

                                  ****************************************************

                                  Executing service control script:

                                  /u02/appvisn/VISN/fs1/inst/apps/VISN_a6dd6a/admin/scripts/adopmnctl.sh start

                                  Timeout specified in context file: 100 second(s)

                                   

                                  script returned:

                                  ****************************************************

                                   

                                  You are running adopmnctl.sh version 120.0.12020000.2

                                   

                                  Starting Oracle Process Manager (OPMN) ...

                                   

                                  adopmnctl.sh: exiting with status 0

                                   

                                  adopmnctl.sh: check the logfile /u02/appvisn/VISN/fs1/inst/apps/VISN_a6dd6a/logs/appl/admin/log/adopmnctl.txt for

                                  more information ...

                                   

                                  .end std out.

                                   

                                  .end err out.

                                   

                                  ****************************************************

                                  Executing service control script:

                                  /u02/appvisn/VISN/fs1/inst/apps/VISN_a6dd6a/admin/scripts/adapcctl.sh start

                                  Timeout specified in context file: 100 second(s)

                                   

                                  script returned:

                                  ****************************************************

                                  You are running adapcctl.sh version 120.0.12020000.6

                                   

                                  Starting OPMN managed Oracle HTTP Server (OHS) instance ...

                                   

                                  adapcctl.sh: exiting with status 0

                                   

                                  adapcctl.sh: check the logfile /u02/appvisn/VISN/fs1/inst/apps/VISN_a6dd6a/logs/appl/admin/log/adapcctl.txt for m

                                  ore information ...

                                   

                                  .end std out.

                                   

                                  .end err out.

                                   

                                  ****************************************************

                                  Executing service control script:

                                  /u02/appvisn/VISN/fs1/inst/apps/VISN_a6dd6a/admin/scripts/adnodemgrctl.sh start -nopromptmsg

                                  Timeout specified in context file: -1 second(s)

                                   

                                  script returned:

                                  ****************************************************

                                  You are running adnodemgrctl.sh version 120.11.12020000.12

                                   

                                  Calling txkChkEBSDependecies.pl to perform dependency checks for ALL MANAGED SERVERS

                                  Perl script txkChkEBSDependecies.pl got executed successfully

                                   

                                   

                                  Starting the Node Manager...

                                  Refer /u02/appvisn/VISN/fs1/inst/apps/VISN_a6dd6a/logs/appl/admin/log/adnodemgrctl.txt for details

                                   

                                  NodeManager log is located at /u02/appvisn/VISN/fs1/FMW_Home/wlserver_10.3/common/nodemanager/nmHome1

                                   

                                  adnodemgrctl.sh: exiting with status 0

                                   

                                  adnodemgrctl.sh: check the logfile /u02/appvisn/VISN/fs1/inst/apps/VISN_a6dd6a/logs/appl/admin/log/adnodemgrctl.t

                                  xt for more information ...

                                   

                                   

                                  .end std out.

                                  *** ALL THE FOLLOWING FILES ARE REQUIRED FOR RESOLVING RUNTIME ERRORS

                                  *** Log File = /u02/appvisn/VISN/fs1/inst/apps/VISN_a6dd6a/logs/appl/rgf/TXK/txkChkEBSDependecies_Fri_Aug_4_14_00

                                  _31_2017/txkChkEBSDependecies_Fri_Aug_4_14_00_31_2017.log

                                   

                                  .end err out.

                                   

                                  ****************************************************

                                  Executing service control script:

                                  /u02/appvisn/VISN/fs1/inst/apps/VISN_a6dd6a/admin/scripts/adalnctl.sh start

                                  Timeout specified in context file: 100 second(s)

                                   

                                  script returned:

                                  ****************************************************

                                   

                                  adalnctl.sh version 120.3.12020000.4

                                   

                                  Checking for FNDFS executable.

                                  Starting listener process APPS_VISN.

                                   

                                  adalnctl.sh: exiting with status 0

                                   

                                  adalnctl.sh: check the logfile /u02/appvisn/VISN/fs1/inst/apps/VISN_a6dd6a/logs/appl/admin/log/adalnctl.txt for m

                                  ore information ...

                                   

                                   

                                  .end std out.

                                   

                                  .end err out.

                                   

                                  ****************************************************

                                  Executing service control script:

                                  /u02/appvisn/VISN/fs1/inst/apps/VISN_a6dd6a/admin/scripts/adcmctl.sh start

                                  Timeout specified in context file: 1000 second(s)

                                   

                                  script returned:

                                  ****************************************************

                                  You are running adcmctl.sh version 120.19.12020000.7

                                   

                                  Starting concurrent manager for VISN ...

                                  Starting VISN_0804@VISN Internal Concurrent Manager

                                  Default printer is noprint

                                   

                                  adcmctl.sh: exiting with status 0

                                   

                                  adcmctl.sh: check the logfile /u02/appvisn/VISN/fs1/inst/apps/VISN_a6dd6a/logs/appl/admin/log/adcmctl.txt for mor

                                  e information ...

                                   

                                  .end std out.

                                   

                                  .end err out.

                                   

                                  ****************************************************

                                  Executing service control script:

                                  /u02/appvisn/VISN/fs1/inst/apps/VISN_a6dd6a/admin/scripts/adadminsrvctl.sh start -nopromptmsg

                                  Timeout specified in context file: -1 second(s)

                                   

                                  script returned:

                                  ****************************************************

                                  You are running adadminsrvctl.sh version 120.10.12020000.10

                                   

                                  Starting WLS Admin Server...

                                  Refer /u02/appvisn/VISN/fs1/inst/apps/VISN_a6dd6a/logs/appl/admin/log/adadminsrvctl.txt for details

                                   

                                  AdminServer logs are located at /u02/appvisn/VISN/fs1/FMW_Home/user_projects/domains/EBS_domain_VISN/servers/Admi

                                  nServer/logs

                                   

                                  adadminsrvctl.sh: exiting with status 0

                                  adadminsrvctl.sh: check the logfile /u02/appvisn/VISN/fs1/inst/apps/VISN_a6dd6a/logs/appl/admin/log/adadminsrvctl

                                  .txt for more information ...

                                   

                                  .end std out.

                                   

                                  .end err out.

                                   

                                  ****************************************************

                                  Executing service control script:

                                  /u02/appvisn/VISN/fs1/inst/apps/VISN_a6dd6a/admin/scripts/admanagedsrvctl.sh start forms_server1 -nopromptmsg

                                  Timeout specified in context file: -1 second(s)

                                   

                                  script returned:

                                  ****************************************************

                                  You are running admanagedsrvctl.sh version 120.14.12020000.11

                                   

                                  Starting forms_server1...

                                   

                                  Server specific logs are located at /u02/appvisn/VISN/fs1/FMW_Home/user_projects/domains/EBS_domain_VISN/servers/

                                  forms_server1/logs

                                   

                                  admanagedsrvctl.sh: exiting with status 0

                                   

                                  admanagedsrvctl.sh: check the logfile /u02/appvisn/VISN/fs1/inst/apps/VISN_a6dd6a/logs/appl/admin/log/adformsctl.

                                  txt for more information ...

                                   

                                  .end std out.

                                   

                                  .end err out.

                                   

                                  ****************************************************

                                  Executing service control script:

                                  /u02/appvisn/VISN/fs1/inst/apps/VISN_a6dd6a/admin/scripts/admanagedsrvctl.sh start oafm_server1 -nopromptmsg

                                  Timeout specified in context file: -1 second(s)

                                   

                                  script returned:

                                  ****************************************************

                                  You are running admanagedsrvctl.sh version 120.14.12020000.11

                                   

                                  Starting oafm_server1...

                                   

                                  Server specific logs are located at /u02/appvisn/VISN/fs1/FMW_Home/user_projects/domains/EBS_domain_VISN/servers/

                                  oafm_server1/logs

                                   

                                  admanagedsrvctl.sh: exiting with status 0

                                   

                                  admanagedsrvctl.sh: check the logfile /u02/appvisn/VISN/fs1/inst/apps/VISN_a6dd6a/logs/appl/admin/log/adoafmctl.t

                                  xt for more information ...

                                   

                                  .end std out.

                                   

                                  .end err out.

                                   

                                  ****************************************************

                                  Executing service control script:

                                  /u02/appvisn/VISN/fs1/inst/apps/VISN_a6dd6a/admin/scripts/admanagedsrvctl.sh start oacore_server1 -nopromptmsg

                                  Timeout specified in context file: -1 second(s)

                                   

                                  script returned:

                                  ****************************************************

                                   

                                  You are running admanagedsrvctl.sh version 120.14.12020000.11

                                   

                                  Starting oacore_server1...

                                   

                                  Server specific logs are located at /u02/appvisn/VISN/fs1/FMW_Home/user_projects/domains/EBS_domain_VISN/servers/

                                  oacore_server1/logs

                                   

                                  admanagedsrvctl.sh: exiting with status 0

                                   

                                  admanagedsrvctl.sh: check the logfile /u02/appvisn/VISN/fs1/inst/apps/VISN_a6dd6a/logs/appl/admin/log/adoacorectl

                                  .txt for more information ...

                                   

                                  .end std out.

                                   

                                  .end err out.

                                   

                                  ****************************************************

                                  All enabled services for this node are started.

                                   

                                  adstrtal.sh: Exiting with status 0

                                   

                                  adstrtal.sh: check the logfile /u02/appvisn/VISN/fs1/inst/apps/VISN_a6dd6a/logs/appl/admin/log/adstrtal.log for m

                                  ore information ...

                                   

                                  ]0;appvisn@a6dd6a:~[appvisn@a6dd6a ~]$ exit

                                   

                                   

                                  Kind regards,

                                  • 14. Re: Cloning EBS R12.2.6 with dualfs
                                    Jibu-Oracle

                                    Hi,

                                    From your update, I understand that the Clone procedure is not followed correctly, especially the file copy to target

                                    Hence please refer the following Note for detailed steps, Cloning Oracle E-Business Suite Release 12.2 with Rapid Clone (Doc ID 1383621.1)

                                     

                                    Thanks

                                    Jibu

                                     

                                    1 2 Previous Next