11 Replies Latest reply on Feb 18, 2016 3:02 AM by Beauty_and_dBest

    Applied Patch in the run edition

    Beauty_and_dBest

      Hi ALL,

       

      EBS R12.2.4

      11gR2

      RHEL 6.5

       

       

      I am applying a patch,

      At run edition, I run:

      adop phase=prepare

      adop phase=apply patches=21027021 patchtop=/u01/PATCH


      But I forgot to source the patch edition env, so it run on the run edition

      What will be gonna happen to my instance? The patch went successful though.

       

      I am confused how the single command patch handle this?

      If I run a single command patch as:

       

      adop phase=prepare,apply,finalize,cutover,cleanup patches=12345,65789


      Which file edition will I run it?


       

      Kind regards,

        • 1. Re: Applied Patch in the run edition
          al_dba87

          Hi Jenna,

           

          No need to worry. ADOP phases will run on RUN edition only and the patch will be applied on patch edition,ADOP will take care of the correct edition itself.

           

          However, once the cutover is completed it prompts to source the correct edition again as the File edition are changed now..

           

          You can run prepare,apply,finalize,cutover in one command and run the cleanup after sourcing the new RUN edition.

           

          Hope this helps !!

           

           

          Thanks

          Altaf

          1 person found this helpful
          • 2. Re: Applied Patch in the run edition
            Beauty_and_dBest

            Thanks Altaf

             

            So I think anywhere you can run any phase?

            • 3. Re: Applied Patch in the run edition
              Narsi M-Oracle

              Hello Jenna,

               

              You should be able to run "adop phase=prepare,apply,finalize,cutover,cleanup patches=12345,65789" in a single command line.

              ADOP is intelligent enough to recognize on which edition what action needs to be performed.

              There isn't a necessity to run prepare,apply,finalize,cutover in one command and run the cleanup after sourcing the new RUN edition.

              ADOP should take care of it.

               

              For example, refer:

              expertoracle.com/2014/06/04/r12-2-online-patching-adop-parameterscommands/

               

              Regards,

              Narsi

              1 person found this helpful
              • 4. Re: Applied Patch in the run edition
                Narsi M-Oracle

                The most important thing to do is :

                 

                a) source <EBS_ROOT>/EBSapps.env run

                b) adop phase=prepare,apply,finalize,cutover,cleanup patches=12345,65789


                ADOP will take care of the rest


                Regards,


                Narsi

                1 person found this helpful
                • 5. Re: Applied Patch in the run edition
                  al_dba87

                  Hi Jenna,

                   

                  adop utility always runs from the run edition file system. It automatically sets its environment correctly,regardless of the edition it is run from.

                   

                  Thanks

                  Altaf

                  1 person found this helpful
                  • 6. Re: Applied Patch in the run edition
                    Narsi M-Oracle

                    Also, when you use merge=yes, the patches will be merged and applied.

                    If do not use merge=yes, then the patches will be applied serially which could take some additional time.

                     

                    Regards,

                    Narsi

                    1 person found this helpful
                    • 7. Re: Applied Patch in the run edition
                      Beauty_and_dBest

                      Thanks ALL

                       

                       

                      So since adop is intelligent enough, I can also do it in anyway, as in:

                       

                      a) source <EBS_ROOT>/EBSapps.env <patch or run>

                      b) adop phase=prepare,apply,finalize,cutover,cleanup patches=12345,65789

                       

                      ADOP will take care of the rest?



                      I also noticed that (as being intelligent), it also able to populate or clone my newly adsplice custom app XBOL_TOP  from fs1 to fs2.


                      My custom top using add splice has the following subfolders (as per support note)


                      $ env | grep XBOL

                      XBOL_TOP=/u02/appprd/PRD/fs2/EBSapps/appl/xbol/12.0.0

                      $ ls -l $XBOL_TOP

                      total 20

                      drwxr-xr-x. 4 appprd dba 4096 Feb 17 11:06 admin

                      drwxr-xr-x. 2 appprd dba 4096 Feb 17 11:04 log

                      drwxr-xr-x. 2 appprd dba 4096 Feb 17 11:04 mesg

                      drwxr-xr-x. 2 appprd dba 4096 Feb 17 11:04 out

                      drwxr-xr-x. 2 appprd dba 4096 Feb 17 11:06 sql

                       

                       

                      Why is that when I compare it with AP, it has lots of subfolders?

                       

                      $ ls AP

                      admin  bin  forms  help  html  lib  log  mds  mesg  out  patch  reports  sql  xml

                      [appprd@fitr12 12.0.0]$ ls -l

                      total 56

                      drwxr-xr-x.  4 appprd dba 4096 Jan 21 18:01 admin

                      drwxr-xr-x.  2 appprd dba 4096 Jan 21 18:01 bin

                      drwxr-xr-x.  3 appprd dba 4096 Jan 21 18:01 forms

                      drwxr-xr-x.  3 appprd dba 4096 Jan 21 18:01 help

                      drwxr-xr-x.  3 appprd dba 4096 Jan 21 18:01 html

                      drwxr-xr-x.  2 appprd dba 4096 Jan 21 18:01 lib

                      drwxr-xr-x.  2 appprd dba 4096 Jan 21 18:01 log

                      drwxr-xr-x. 14 appprd dba 4096 Jan 21 18:01 mds

                      drwxr-xr-x.  2 appprd dba 4096 Jan 21 18:01 mesg

                      drwxr-xr-x.  2 appprd dba 4096 Jan 21 18:01 out

                      drwxr-xr-x.  3 appprd dba 4096 Jan 21 18:01 patch

                      drwxr-xr-x.  3 appprd dba 4096 Jan 21 18:01 reports

                      drwxr-xr-x.  2 appprd dba 4096 Jan 21 18:01 sql

                      drwxr-xr-x.  6 appprd dba 4096 Jan 21 18:01 xml

                       

                       

                      Can I add more folders to my custom top XBOL_TOP without passing thru ADSPLICE?

                      Will it not be removed when running autoconfig if not done in adsplice?

                       

                       

                      Kind regards,

                      • 8. Re: Applied Patch in the run edition
                        VishnuVinnakota

                        Do not worry about the directories in Custom Top as long as all the Customization required by your team are working. The Custom Images,pages,Java files etc. are there in JAVA_TOP, OA_MEDIA etc. Only forms, some report files might be there in XX TOP. If your environment doesnt have those then its not mandatory.

                         

                        When you upgrade, you need to copy all Custom Top files from 12.1.3 to 12.2 to ensure all customizations will work

                        1 person found this helpful
                        • 9. Re: Applied Patch in the run edition
                          VishnuVinnakota

                          Regarding the ADSPLICE, it will create only mandatory directories not all.

                           

                          Once you splice, it will be like another product and if you follow a proper patching cycle, it will sync the files between run and patch file systems.

                           

                          If you feel something is missing, you always have adop_sync.drv

                          1 person found this helpful
                          • 10. Re: Applied Patch in the run edition
                            Narsi M-Oracle

                            Hello Jenna,

                             

                            When you are working with customizations in EBS 12.2, i.e., when you create files/directories in Standard/Non Standard Locations, it is very important to review

                            Developing and Deploying Customizations in Oracle E-Business Suite Release 12.2 (Doc ID 1577661.1)

                             

                            Review Section 1.5 of above doc for clarity on how to handle customizations.

                             

                             

                            Regards,

                            Narsi

                            1 person found this helpful