Wednesday, May 20, 2015

adop concepts

  • What is Online Patching?
    Online patching is a new patching mechanism that allows the application of patches while the system is up and running, and the users are working as normal.
  • Which Oracle E-Business Suite releases can Online Patching be used with?
    Online patching is used with Oracle E-Business Suite 12.2 and higher.
  • What types of patch are applied online?
    All Oracle E-Business Suite Release 12.2 patches are applied online. This includes one-off patches, patch rollups, consolidated updates and security patches.
  • What is the Online Patching cycle?
    The Online Patching cycle is a sequence of inter-related steps (phases) used to apply patches to an Oracle E-Business Suite system.
  • What tool is used to apply online patches?
    The AD Online Patching (adop) command-line utility is used to manage the Online Patching cycle.
  • Is there any downtime in Online Patching?
    There is a short period of downtime when the application tier services are shut down and restarted. The database remains open all the time. For more details of these topics, see the Online Patching Concepts section below.
  • Do I upgrade to Release 12.2 with Online Patching?
    No. After you upgrade to Oracle E-Business Suite Release 12.2, you will enable Online Patching.
  • Once I upgrade to Release 12.2, can I still apply patches in the traditional way?
    No. All patches for Release 12.2 will be online patches. The traditional, pre-12.2 method of applying patches will not work.
  • Can I still use adpatch in the Release 12.2 Online Patching environment?
    No. While the Oracle tools may internally invoke the adpatch utility, direct user invocation of adpatch is not allowed.
  • Are there any plans to make Online Patching available with pre-12.2 releases?
    No. Online patching can only be used with Release 12.2.
  • What is the Online Patching infrastructure?
    The Online Patching infrastructure is the Oracle E-Business Suite Release 12.2 mechanism that allows Oracle E-Business Suite patches to be applied online, while the system is running and users are working as normal. This infrastructure includes database objects and file system components.
  • Does Online Patching require the 11gR2 Oracle Database Edition Based Redefinition (EBR) feature?
    Yes. Online patching depends on the Edition Based Redefinition (EBR) feature that was introduced in the Oracle 11gR2 Database. Most notably, EBR allows editioning of code objects in the database. To do this, it provides new object types such as editions, editioning views, and cross-edition triggers, all of which are part of the Online Patching infrastructure.
  • What are the phases that make up the Online Patching cycle?
    The Online Patching cycle consists of the following phases:
    1. Prepare a virtual copy (patch edition) of the running application (run edition).
    2. Apply patches to the patch edition of the application.
    3. Finalize the system in readiness for the cutover phase.
    4. Cutover to the patch edition and make it the new run edition.
    5. Cleanup obsolete definitions or data to recover space.
  • What downtime is required during an Online Patching cycle?
    The cutover phase requires a short period of downtime (typically a few minutes) for transition tasks such as a restart of the application tier services.
  • Is any downtime required for the database tier?
    No. In fact, the database needs to be up and running during each phase of the Online Patching cycle. However, non-Oracle E-Business Suite delivered database clients need to re-establish their database connection after the Online Patching cutover phase is performed. This includes connections from ODI Agent and Discoverer Server, as well as connection pools from Oracle SOA Suite and any other third party software connected to the Oracle E-Business Suite database.
  • How does Online Patching work on the application tier?
    During Release 12.2 installation, Rapid Install will lay down two copies of the application tier file system. One of the copies will be labeled as the run file system, and the other as the patch file system. Subsequently, when a patch is applied, adop will:
      1. Synchronize the contents of the run file system to the patch file system. This happens during the prepare phase.
      2. Perform patching actions on the patch file system. This happens during the apply phase.
      3. Finally, during the cutover phase, the adop utility restarts the application tier services. The patch file system is then promoted to be the new run file system, and the old run file system becomes the patch file system for the next patching cycle.
Note that a third file system, the non-editioned file system (fs_ne), is created to store files containing data that is needed across all file systems,such as log files.
  • How do I apply Oracle Fusion Middleware patches in Oracle E-Business Suite Release 12.2?
    During the apply phase of an Online Patching cycle, you apply Oracle Fusion Middleware patches to the Oracle homes of the patch edition file system. Then, after the cutover phase is complete, you synchronize the file systems by performing an fs_clone operation. (Also see My Oracle Support Knowledge Document 1355068.1, as listed in Appendix A.)
  • Is it possible to apply patches in advance of the downtime period required by cutover?
    Yes, you can apply online patches at any time in advance of a suitable cutover point, and then run in that state (with cutover pending) for as long as you need to.
  • Is Online Patching used in a test environment?
    Yes. It is required in all Oracle E-Business Suite environments.
  • Can I use the patch edition for testing purposes?
    As a specialized component of the Online Patching infrastructure, the patch edition is not supported for use as a test environment. You should continue to employ a separate, dedicated test environment.
  • Does the hotpatch option still exist in an Online Patching environment?
    Yes. However, the hotpatch option can only be used to apply patches specifically designed to support it. You should avoid using hotpatch mode unless the patch readme explicitly states it is supported, or an Oracle representative instructs you to use it.
  • Can Online Patching be used with database technologies such as Active Dataguard and Flashback?
    Yes. Online patching can be used alongside Active Dataguard and Flashback.
What are the key differences between the DBA_OBJECTS, DBA_OBJECTS_AE, and AD_OBJECTS tables?
  • DBA_OBJECTS shows object information for the current edition, but the STATUS column in this view may show the object as VALID even if the object actually needs to be compiled before use. This is a side effect of how the database handles objects in old editions that have been inherited into the current edition. The issue is tracked in database Bug 17777718.
  • DBA_OBJECTS_AE is similar to DBA_OBJECTS, but shows object information across all editions. This has the drawback of showing objects in old editions that are no longer accessible to the application.
  • AD_OBJECTS is the Oracle E-Business Suite workaround to the unreliable STATUS column in DBA_OBJECTS. AD_OBJECTS shows the correct status for each object visible in the current edition. It also shows whether the object is “actual” (a real object) in the current edition, or a "stub" object (the object definition was inherited from a previous edition). You can query AD_OBJECTS to locate objects that need to be recompiled before use: </span>
SQL>select owner, object_name, object_type
from ad_objects
where status = 'INVALID'
order by 1,2,3
/

The same logic can be applied by running the script: SQL>sqlplus apps/apps @$AD_TOP/sql/ADZDSHOWINVALID

No comments:

Post a Comment