8 Replies Latest reply on Sep 7, 2015 7:58 AM by 2951958

    R12.2.4 while adding second application node adcfgclone is failing with "FMW Home already exists"

    2951958

      I am doing a R12.2.4 clone.

      In the clone I am using 3 different node

      1 db node

      2 Primary app node  FS1(RUN) and FS2(PATCH) successfully working.

      3 Secondary app node adcfgclone.sh  FS1(RUN) successfully completed but FS2(PATCH) failing

       

      [applmgr@ebsapps02 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.41

       

      Enter the APPS password :

      Running:

      /u01/clone/applprod/fs2/EBSapps/comn/clone/bin/../jre/bin/java -Xmx600M -classpath /u01/clone/applprod/fs2/EBSapps/comn/clone/jlib/obfuscatepassword.jar:/u01/clone/applprod/fs2/EBSapps/comn/clone/jlib/ojmisc.jar:/u01/clone/applprod/fs2/EBSapps/comn

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

       

       

      Log file located at /u01/clone/applprod/fs2/EBSapps/comn/clone/bin/CloneContext_0727110047.log

       

      Target System File Edition type [run] : patch

       

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

       

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

       

      Target System Base Directory set to /u01/clone/applprod

       

      Target System Current File System Base set to /u01/clone/applprod/fs1

       

      Target System Other File System Base set to /u01/clone/applprod/fs2

       

      Target System Fusion Middleware Home set to /u01/clone/applprod/fs1/FMW_Home

       

      Target System Web Oracle Home set to /u01/clone/applprod/fs1/FMW_Home/webtier

       

      Target System Appl TOP set to /u01/clone/applprod/fs1/EBSapps/appl

       

      Target System COMMON TOP set to /u01/clone/applprod/fs1/EBSapps/comn

       

      Target System Instance Home Directory [/u01/clone/applprod] :

       

      RC-00217: Warning: Configuration home directory (s_config_home) evaluates to /u01/clone/applprod/fs1/inst/apps/nclone_ebsapps02. 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 /u01/clone/applprod/fs1/inst/apps/nclone_ebsapps02

       

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

       

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

       

      Checking the port pool 4

      done: Port Pool 4 is free

      Report file located at /u01/clone/applprod/fs1/inst/apps/nclone_ebsapps02/temp/portpool.lst

      Complete port information available at /u01/clone/applprod/fs1/inst/apps/nclone_ebsapps02/temp/portpool.lst

       

      UTL_FILE_DIR on database tier consists of the following directories.

       

      1. 1. /usr/tmp
      2. 2. /usr/tmp
      3. 3. /u01/clone/oraprod/11.2.0/appsutil/outbound/nclone_ebsdb01
      4. 4. /usr/tmp

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

       

      Backing up /u01/clone/applprod/fs1/inst/apps/nclone_ebsapps02/appl/admin/nclone_ebsapps02.xml to /u01/clone/applprod/fs1/inst/apps/nclone_ebsapps02/appl/admin/nclone_ebsapps02.xml.bak

       

      Creating the new APPL_TOP Context file from :

      /u01/clone/applprod/fs2/EBSapps/comn/clone/context/apps/adxmlctx.tmp

       

      The new APPL_TOP context file has been created :

      /u01/clone/applprod/fs1/inst/apps/nclone_ebsapps02/appl/admin/nclone_ebsapps02.xml

       

      Log file located at /u01/clone/applprod/fs2/EBSapps/comn/clone/bin/CloneContext_0727110047.log

      Check Clone Context logfile /u01/clone/applprod/fs2/EBSapps/comn/clone/bin/CloneContext_0727110047.log for details.

       

       

      Enabling EBS_LOGON Trigger...

       

      ERROR: Failed to execute /u01/clone/applprod/fs2/EBSapps/comn/clone/bin/adclone.pl

       

      Please check logfile.

       

      [applmgr@ebsapps02 bin]$ more /u01/clone/applprod/fs1/inst/apps/nclone_ebsapps02/admin/log/clone/ApplyAppsTier_07271101.log

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

      Started ApplyAppsTier at Mon Jul 27 11:01:39 AST 2015

      Version:

      ApplyAppsTier.java      :       120.11.12020000.6

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

      Found the directory : /u01/clone/applprod/fs1/FMW_Home

      Exiting cloning as FMW Home already exists..



        • 1. Re: R12.2.4 while adding second application node adcfgclone is failing with "FMW Home already exists"
          2951958

          Please help experts...

           

          I am not using shared file system also.

          • 2. Re: R12.2.4 while adding second application node adcfgclone is failing with "FMW Home already exists"
            Prakasam R

            Hi,

             

            Please take the backup (move) fmw home and try it. it will create the fmw home.

             

            Regards,

            Prakasam R

            • 3. Re: R12.2.4 while adding second application node adcfgclone is failing with "FMW Home already exists"
              2951958

              Hi Prakasam,

               

              Below is my node 1, which has two FMW_home each for RUN file system and PATCH file system...

              [applmgr@ebsapps01 applprod]$ ls fs1

              EBSapps   FMW_Home  inst

              [applmgr@ebsapps01 applprod]$ ls fs2

              EBSapps   FMW_Home  inst

               

              Now I am adding another node to existing EBS setup..

              Cloning Oracle E-Business Suite Release 12.2 with Rapid Clone ( Doc ID 1383621.1 )

              5.3 Adding a New Application Tier Node to an Existing System

               

              here I just need to copy

              APPL_TOP>

              <COMMON_TOP>

              <OracleAS Tools 10.1.2 ORACLE_HOME>

               

              From source to target...

               

              And run the adcfgclone.pl for "RUN" file system and then "PATCH" file system...

              where it will creates the same structure just like i have it on node 1st.... FMW_Homes for fs1 and fs2...

               

              I have done with fs1  successfully...

              [applmgr@ebsapps02 applprod]$ ls fs1

              EBSapps   FMW_Home  inst

               

              When I am running the adcfgclone.pl for fs2 it is taking the directory structure from fs1 insted of fs2...

              • 4. Re: R12.2.4 while adding second application node adcfgclone is failing with "FMW Home already exists"
                Prakasam R

                Hi,

                 

                you run the adpreclone in second node run file system and the copy to patch file system.

                 

                run the adcfgclone in patch file system, it will ask for run file system context file.

                 

                your using two nodes two file system but ADMIN server is running for only one node.

                 

                Regards,

                Prakasam R

                • 5. Re: R12.2.4 while adding second application node adcfgclone is failing with "FMW Home already exists"
                  2951958

                  Hi Prakasam,

                   

                  Thanks for you prompt reply,but the issue still exits.

                  The steps I am using below.

                  1.Run perl adpreclone.pl appsTier on Source run file-system.

                  2.Copy EBSapps folder to target.

                  3.Run perl adcfgclone.pl appsTier to setup RUN file-system, completing with successful.

                  4.Run perl adpreclone.pl on  newly created RUN file system of target.

                  5.Copy EBSapps folder from fs1 to fs2.

                  6.Run perl adcfgclone.pl appsTier.

                  [oraappl@ebsapps02 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.41

                   

                   

                  Enter the APPS password :

                  Running:

                  /u01/prodclone/fs2/EBSapps/comn/clone/bin/../jre/bin/java -Xmx600M -classpath /u01/prodclone/fs2/EBSapps/comn/clone/jlib/obf                                            uscatepassword.jar:/u01/prodclone/fs2/EBSapps/comn/clone/jlib/ojmisc.jar:/u01/prodclone/fs2/EBSapps/comn/clone/jlib/java:/u0                                            1/prodclone/fs2/EBSapps/comn/clone/jlib/emCfg.jar oracle.apps.ad.clone.util.OPWrapper -encryptpwd /u01/prodclone/fs2/EBSapps                                            /comn/clone/bin/../FMW/tempinfoApps.txt

                   

                   

                  Enter the Weblogic AdminServer password :

                  Running:

                  /u01/prodclone/fs2/EBSapps/comn/clone/bin/../jre/bin/java -Xmx600M -classpath /u01/prodclone/fs2/EBSapps/comn/clone/jlib/obf                                            uscatepassword.jar:/u01/prodclone/fs2/EBSapps/comn/clone/jlib/ojmisc.jar:/u01/prodclone/fs2/EBSapps/comn/clone/jlib/java:/u0                                            1/prodclone/fs2/EBSapps/comn/clone/jlib/emCfg.jar oracle.apps.ad.clone.util.OPWrapper /u01/prodclone/fs2/EBSapps/comn/clone/                                            bin/../FMW/tempinfo.txt

                   

                   

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

                   

                   

                   

                   

                  Running:

                  /u01/prodclone/fs2/EBSapps/comn/clone/bin/../jre/bin/java -Xmx256M -classpath /u01/prodclone/fs2/EBSapps/comn/clone/jlib/wlj                                            mxclient.jar:/u01/prodclone/fs2/EBSapps/comn/clone/jlib/wlclient.jar:/u01/prodclone/fs2/EBSapps/comn/clone/jlib/java  oracle                                            .apps.ad.clone.util.CloneUtil -option  checkWLSAdminServerStatus -wlsAdminHost ebsapps01.orasol.com -wlsAdminPort 7011 -wlsA                                            dminUser weblogic -promptmsg hide

                  Running:

                  /u01/prodclone/fs2/EBSapps/comn/clone/bin/../jre/bin/java -Xmx600M -cp /u01/prodclone/fs2/EBSapps/comn/clone/jlib/java:/u01/                                            prodclone/fs2/EBSapps/comn/clone/jlib/xmlparserv2.jar:/u01/prodclone/fs2/EBSapps/comn/clone/jlib/ojdbc6.jar:/u01/prodclone/f                                            s2/EBSapps/comn/clone/jlib/obfuscatepassword.jar:/u01/prodclone/fs2/EBSapps/comn/clone/jlib/ojmisc.jar:/u01/prodclone/fs2/EB                                            Sapps/comn/clone/jlib/java:/u01/prodclone/fs2/EBSapps/comn/clone/jlib/emCfg.jar oracle.apps.ad.context.CloneContext -e /u01/                                            prodclone/fs2/EBSapps/comn/clone/bin/../context/apps/CTXORIG.xml -validate -pairsfile /tmp/adpairsfile_24014.lst -stage /u01                                            /prodclone/fs2/EBSapps/comn/clone  -addappsnode 2> /tmp/adcfgclone_24014.err; echo $? > /tmp/adcfgclone_24014.res

                   

                   

                  Log file located at /u01/prodclone/fs2/EBSapps/comn/clone/bin/CloneContext_0907082943.log

                   

                   

                  Target System File Edition type [run] : patch

                   

                   

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

                   

                   

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

                   

                   

                  Target System Base Directory set to /u01/prodclone

                   

                   

                  Target System Current File System Base set to /u01/prodclone/fs1

                   

                   

                  Target System Other File System Base set to /u01/prodclone/fs2

                   

                   

                  Target System Fusion Middleware Home set to /u01/prodclone/fs1/FMW_Home

                   

                   

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

                   

                   

                  Target System Appl TOP set to /u01/prodclone/fs1/EBSapps/appl

                   

                   

                  Target System COMMON TOP set to /u01/prodclone/fs1/EBSapps/comn

                   

                   

                  Target System Instance Home Directory [/u01/prodclone] :

                   

                   

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

                   

                   

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

                   

                   

                   

                   

                  Aborting...

                   

                   

                   

                   

                  Check Clone Context logfile /u01/prodclone/fs2/EBSapps/comn/clone/bin/CloneContext_0907082943.log for details.

                   

                   

                  ERROR: Context creation not completed successfully.

                  For additional details review the file /tmp/adcfgclone_24014.err if present.

                  • 6. Re: R12.2.4 while adding second application node adcfgclone is failing with "FMW Home already exists"
                    2951958

                    FYI I am not setting any environment variable before running adcfgclone.pl for patch file system.

                    • 7. Re: R12.2.4 while adding second application node adcfgclone is failing with "FMW Home already exists"
                      Bashar.

                      Hi,

                       

                      You should provide the full path to the RUN context file, not entering the options in adcfgclone.

                      Refer to section 3.2, point 3.2.3 in the cloning document:

                       

                      Cloning Oracle E-Business Suite Release 12.2 with Rapid Clone (Doc ID 1383621.1)

                       

                      Regards,

                      Bashar

                      • 8. Re: R12.2.4 while adding second application node adcfgclone is failing with "FMW Home already exists"
                        2951958

                        At the below stage while running adcfgclone.pl for patch file system, I am not able to provide the CONTEXT file here.

                        Directly its jumping to next entry "Target System Hostname (virtual or normal) [ebsapps02] :"

                        I cannot put manually the entry for CONTEXT file.

                         

                        Target System File Edition type [run] : patch

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

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