5 Replies Latest reply on Oct 31, 2015 11:56 AM by Srini Chavali-Oracle

    Which environment to execute while applying adop online patches

    3009053

      Hi,

       

      I am using Oracle EBS 12.2.4. I need to apply adop patches. Which environment should I execute before applying adop patch. According to Oracle Maintenance Guide we have to execute "RUN" environment. In few MOS documents I saw that it ask to execute "PATCH" environment.

       

      Your expert advise required from....

       

      Regards,

      Salahuddin.

        • 1. Re: Which environment to execute while applying adop online patches
          Chiranjeevi M A

          Hello

           

          You need to follow the adop life cycle to apply patch in 12.2.

          The patching cycle REQUIRES you to apply the patch to the patch edition and then perform a cut over.

           

          -Chiranjeevi M A

          • 2. Re: Which environment to execute while applying adop online patches
            3009053

            Hi Chiranjeevi M A,

            Thanks for correction.

             

            I am going to paste the text from Oracle Documentation. It is mentioned that

             

            You can confirm that the environment is properly set by examining the relevant

            environment variables:

            $ echo $FILE_EDITION

            run

            $ echo $TWO_TASK

            dbSID

            If you had sourced the incorrect environment file (i.e. from the patch file system),

            the environment variables would show as:

            $ echo $FILE_EDITION

            patch

            $ echo $TWO_TASK

            dbSID_patch

             

            Documentation reference follow.

             

            Oracle® E-Business Suite

            Maintenance Guide

            Release 12.2

            Part No. E22954-14

             

             

            Exact text follow.

             

            Online Patching Cycle Steps - Prepare Phase:

             

             

            Page Number : 3-14 Oracle E-Business Suite Maintenance Guide,

            Patching Procedures 3-13 -14

             

             

            1. Set the environment by executing (sourcing) the run file system environment file:

            $ source <EBS install base>/EBSapps.env run

            For more information, see Setting the Environment in Running AD Utilities, page 7-

            52

            You can confirm that the environment is properly set by examining the relevant

            environment variables:

            $ echo $FILE_EDITION

            run

            $ echo $TWO_TASK

            dbSID

            If you had sourced the incorrect environment file (i.e. from the patch file system),

            the environment variables would show as:

            $ echo $FILE_EDITION

            patch

            $ echo $TWO_TASK

            dbSID_patch

            2. Download the patches to be applied, and place them in a central location on the

            non-editioned file system:

            $NE_BASE/EBSapps/patch

            This is the 'patchtop' location, to which you will download all the patches you want

            to apply.

            3. Unzip the patch:

            $ unzip p99999999.zip

            4. Prepare the instance for patching by running the following command to create the

            new database edition:

            $ adop phase=prepare

            In this step, the patch file system APPL_TOP is synchronized with the run file

            system APPL_TOP. This can be done by either of two methods, the first of which is

            the default:

             

            ..........................

             

            Regards,

            Salahuddin.

            • 3. Re: Which environment to execute while applying adop online patches
              Chiranjeevi M A

              Hello,

               

              Please refer following MOS :Oracle E-Business Suite Release 12.2: Online Patching FAQ (Doc ID 1583902.1)  - Section 2 : Q) How does Online Patching work on the application tier? .

              I hope this will answer your question.

               

              -Chiranjeevi M A

              • 4. Re: Which environment to execute while applying adop online patches
                3009053

                Hi Chiranjeevi M A,

                 

                "How does Online Patching work on the application tier? " gives an overview of the the patch process.

                 

                This document is a good resource for Adop patching, but again this document do not clear my question. I am quoting 2 more resources from Oracle Documentation (Oracle® E-Business Suite Maintenance Guide) which say to execute "RUN" file system before using adop.

                 

                 

                ===============Another reference from Oracle Documentation =======

                Oracle® E-Business Suite

                Maintenance Guide

                Release 12.2

                Part No. E22954-14

                 

                 

                Chapter 2: Patching Utilities 2-23

                Page 51

                 

                 

                Preparing your System for Patching

                 

                 

                It is metioned in another chapter in Oracle Documentation (Maintenance Guide) page 51

                 

                 

                In Release 12.2, it is more appropriate to think in terms of a patching cycle than a single

                patching operation. The online patching cycle consists of a number of phases:

                1. Prepare

                2. Apply

                3. Finalize

                4. Cutover

                5. Cleanup

                 

                 

                First, you must set the environment by executing (sourcing) the run file system

                environment file:

                $ source <run APPL_TOP path>/APPS<CONTEXT_NAME>.env

                 

                 

                For more information, see Setting the Environment in Running AD Utilities, page 7-52.

                You are now ready to invoke the adop utility, specifying the phase or phases you wish

                to run. The actions taken in these phases are described in Oracle E-Business Suite

                Concepts. This and the next chapter of this book provide details of the available options.

                 

                 

                 

                 

                =======================Another reference=============================

                Oracle® E-Business Suite

                Maintenance Guide

                Release 12.2

                Part No. E22954-14

                 

                 

                Chapter 2 : Patching Utilities Page 30

                2-2 Oracle E-Business Suite Maintenance Guide

                 

                 

                Be aware of the following important points about adop:

                • The adop utility always runs from the run edition file system. It automatically sets its

                environment correctly, regardless of the edition it is run from. Editions are

                described in more detail later.

                 

                 

                 

                 

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

                 

                 

                Reagrds,

                Salahuddin.

                • 5. Re: Which environment to execute while applying adop online patches
                  Srini Chavali-Oracle

                  Follow the instructions in the official patching doc - you need to invoke the RUN file system and then execute the various adop phases.