Patch Manager

This chapter covers the following topics:

Introduction

Patch Manager allows you to deploy Oracle-delivered patches or customizations across Oracle E-Business Suite instances. You can create a patch run definition and run it multiple times on multiple instances and you can copy a patch procedure and modify it to suit your business needs. Also, you can easily access details on patch runs, correct errors if necessary, and continue the patch runs.

Note: If you will use Patch Manager with Oracle E-Business Suite Release 12.2, you should be familiar with Online Patching concepts before using Patch Manager. Refer to Oracle E-Business Suite Concepts and Oracle E-Business Suite Maintenance Guide for information on Online Patching.

Key Features

Patch Manager has the following features:

With Patch Manager, you can accomplish the following tasks:

Patch Manager Home

The Patch Manager home page provides an overview of the patch deployment procedures. You can use the Personalize Page icon to hide, show, or reorder the regions on the page. For example, if you are patching Release 12.2 targets primarily, you can personalize the page to display the Online Patching region first and also display the Abort Runs and Cutover Runs regions.

The default Patch Manager home page displays following regions:

Two other regions are available, but are hidden by default. Customers running Oracle E-Business Suite Release 12.2 or higher should enable these two hidden regions.

the picture is described in the document text

Patch Promotion Policies

Patch Manager delivers the capability to enforce user-defined patch promotion policies to ensure changes are made sequentially to pre-production instances (such as test or QA), and then promoted to production systems. These policies can be used to specify that patches must be applied to pre-production systems before applying them to production systems. This feature provides Audit Trail visibility and enhanced internal controls for patch application.

By default, the patch promotion policy feature is not enabled out of the box. Administrators can enable the promotion policy by setting the preference "Enforce Patch Promotion Policy". Once it is enabled, administrators can define various patch promotion policies including multiple Oracle E-Business Suite targets and enforce the sequence in which the patches are promoted. Approvals are required for each Oracle E-Business Suite target before patches can be applied. Requests for approval will be generated when a patch is submitted. A Super Administrator can decide not to use the patch promotion policy for emergency patching or can choose not to include a specific Oracle E-Business Suite target instance in any patch promotion policy. In the case of emergency patching, Patch Manager sends out a notification of the patch promotion violation as a warning. For example, the patch promotion policy for a customization could have the patch proceed from development to testing and user acceptance, then to quality assurance testing and finally to production.

Example of a Sequence of a Patch Promotion Policy

the picture is described in the document text

Setting up a Patch Promotion Policy

To create a new patch promotion policy, navigate to Patch Manager Home > Action (menu) > Configure Promotion Policies. Then follow these steps:

  1. Select the Create icon.

  2. Provide a name for your policy.

  3. Enter the targets for your policy.

    Important: A target may belong to only one active policy. Because a given production system generally has multiple supporting instances that are clones of the production system, it would not make sense to put a supporting environment in two different patch promotion policies.

    Note: You should ensure that all the targets are of same release while configuring a patch promotion policy.

  4. Specify the promotion order number.

  5. Click Save to save your work.

the picture is described in the document text

Patch Promotion Policy Region

the picture is described in the document text

The Patch Promotion Policy region on the home page displays patches and their statuses on various targets. This table dynamically changes based upon the policy displayed. You can select multiple rows within the table in order to promote patches to the next target defined in the policy.

For example, several developers might submit patches to a development environment. During the promotion of these patches to the next environment, an administrator has the capability to bundle the multiple patches into a single deployment procedure.

You can select the patches they want to promote and click on Promote to apply the patches to the next Oracle E-Business Suite target instance in the patch promotion policy. The Patch Manager interview is then pre-populated with the selected patches and the target information.

A check mark in each target column indicates that the patch has been applied to the specified Oracle E-Business Suite instance. An 'X' mark indicates that the patch has not been applied to that target Oracle E-Business Suite instance. You can also access the patch readme file and Deployment Details from this region.

Patch Runs

The Patch Runs region of the Patch Manager Home lists the patch runs and their statuses for Oracle E-Business Suite Release 12.1 and earlier.

the picture is described in the document text

You can perform various actions on a patch run depending on its status:

To start a new patch run for Oracle E-Business Suite Release 12.1 and earlier, select "New Deployment". If a user has used the “Create Like” feature for the shipped “Patch Oracle E-Business Suite” deployment procedure then clicking "New Deployment" will prompt you for which deployment procedure you would like to use. Otherwise, clicking "New Deployment" will begin the patch run interview.

By default, all records are displayed in the table. To filter the records by status, use the "Show" list. You can also use the Search button to apply additional filters to control which records are displayed.

Online Patching

The Online Patching region displays patch deployments against Oracle E-Business Suite Release 12.2 targets.

the picture is described in the document text

Note that with Release 12.2, the adop patching process in Patch Manager is separated into two deployment procedures. The first deployment procedure runs the prepare, apply, finalize, and optionally actualize_all phases. The second deployment procedure executes the cutover, cleanup, and optionally fs_clone phases.

You can click "New Deployment" to begin a new online patching interview. You can use the "Create Like" feature to create a copy of an existing deployment.

In this region you can filter by "Latest", "Hidden", and "All". These choices will show only the latest adop sessions, hidden adop sessions, or all of them, respectively.

The records in this region are displayed in a tree format with a parent - child - grandchild relationship. The parent is the target, the child is the adop session, and the grandchildren are the patch deployments. Patch Manager supports multiple patch deployments in a single adop session. If the deployment procedure has not started or has not run through the "prepare" phase then the deployment records will fall under "ADOP Pending Sessions".

Columns in the region are:

Patch Logs

the picture is described in the document text

The Patch Logs region allows you to view and download patching log files across all hosts of an Oracle E-Business Suite system.

To access log files:

  1. First select an Oracle E-Business Suite target to which you have been granted access in Enterprise Manager.

  2. After you choose a target, a list of hosts is displayed in a separate window along with the log file directory for each host.

  3. From this window you can choose the log file(s) you want to view online or download to your computer as a ZIP file.

the picture is described in the document text

Prerequisites for viewing Patch Manager logs

To access the Patch Manager Log Viewer, you must have your preferred credentials set for the Oracle E-Business Suite Node target(s) of all application tier hosts. To set these, the navigation in Enterprise Manager is Setup > Security > Preferred Credentials > Oracle E-Business Suite Node. These credentials are required in addition to the credentials needed to use Patch Manager.

In addition, you must have been granted the privilege to raise a Patch Manager request.

For more information, see: Overview of Credentials and Change Management Privileges.

Abort Deployments

the picture is described in the document text

This region shows all of the executions of the "Abort an Oracle E-Business Suite Online Patch Cycle" deployment procedure.

You can submit a request to run an Abort operation against a specific target using the Submit Abort icon.

This region is hidden by default. Oracle E-Business Suite Release 12.2 customers can display this region on the Patch Manager home page by clicking on the Personalize Page icon on the home page.

Cutover Deployments

the picture is described in the document text

This region displays all executions of the “Cutover Oracle E-Business Suite” deployment procedure. This region is hidden by default. Oracle E-Business Suite Release 12.2 customers can display this cutover region on the Patch Manager home page by clicking on the Personalize Page icon on the home page.

You can submit a request to perform the cutover operation using the Submit Cutover icon.

Records can be filtered by status using the "Show" list. The Pending Patches button displays all patches that have been applied but not cutover.

Patch Manager Prerequisites

The following are prerequisites to running a patching procedure. Unless otherwise noted, these prerequisites apply to all releases of Oracle E-Business Suite.

  1. To download an Oracle patch directly from My Oracle Support, the following property must be set in the Preferences page.

    • Connect to My Oracle Support for Patches - This box should be checked.

  2. Patches are downloaded to the OMS when they are applied. Set the preference OMS Patch Stage Directory Location to the directory to which the patch should be downloaded.

    Note: If a patch has already been downloaded to the OMS (for example, in a prior patching procedure), then it will not be downloaded again. See: Key Features.

    After a patch is on the OMS, it will then be moved to the target Oracle E-Business Suite system. The exception to this step is the case in which the system detects that an Oracle patch is already on the target; the system will not move the patch from the OMS to the target again. Custom patches, described in the next chapter, will always be moved from the OMS to the target because a developer can change the patch.

  3. The following preferences are set to directories under the APPL_TOP by default. In general, you should leave these set to the default locations. You can override the default locations, but ensure that the Target Patch Directory Location is not shared amongst multiple Oracle E-Business Suite instances. The Target Stage Directory Location can be shared if all users accessing it have read/write permissions for all files.

    • Target Stage Directory Location - The directory to which zipped patches are downloaded.

    • Target Patch Directory Location - The directory to which patches are unzipped and from where the patches are applied.

    For more information, see: Setting Preferences.

  4. (Oracle E-Business Suite Release 12.1 and earlier only) As part of a queueing mechanism for patch runs, set the property Minutes Patch Manager should wait for a down target.

    This setup will make patch manager wait for specified amount of time before failing when Patch Manager detects the target is in blackout state. Patch Manager will check every minute to see if the target has come out of the blackout state; if it has, Patch Manager will continue with the patch run. This property specifies in minutes the maximum length of time Patch Manager will wait before the patch run fails.

  5. Patch Manager uses Preferred Credentials. These must be set prior to running a patch procedure. Navigate to Setup > Security > Preferred Credentials to set these. For more information, see: Overview of Credentials. The Preferred Credentials that might be required are:

    • Oracle E-Business Suite Node credentials must be set to the applmgr account for application tiers and Oracle account for database tiers.

    • Oracle E-Business Suite must have the "AppsDBCredSet" (the APPS schema) and "AppsSysDBCredSet" (the SYSTEM schema) set.

    • Oracle WebLogic Server preferred credentials must be set for Oracle E-Business Suite Release 12.2 targets.

    Note: Database credentials are not required for Oracle E-Business Suite Release 12.2 targets.

Note: In a RAC-based Oracle E-Business Suite Release 12.2 instance, using any Online Patching feature such as patch deployment, cutover, or abort, results in the following error: "Weblogic admin server credential test returned: DB SID passed to getWeblogicDomainName is null."

To work around the problem, follow these steps:

  1. Navigate to Targets from the Enterprise Manager console.

  2. From the list, choose "Oracle E-Business Suite."

  3. Select the instance by clicking on it.

  4. From the instance target menu, choose Target Setup > Monitoring Configuration.

  5. Provide the SID value of the RAC database.

  6. Click OK.

Blackout Periods

During the patching deployment process, the system will try to "black out" the targets associated with an Oracle E-Business Suite system. The user submitting the patch run must have the Operator or Blackout Target privilege to be able to black out the target. The following components of the E-Business Suite system will be blacked out during the patch run:

By default, the blackout time period is one hour. You can control the blackout duration setting the following properties in the Preferences page. Navigate to this page from the Preferences under Administer menu on the Oracle E-Business Suite Instances page.

Creating a Patch Run for Oracle E-Business Suite Release 12.1 and Earlier

To create a patch run for Release 12.1 and earlier, ensure you have completed the prerequisite steps described earlier. Then navigate to Targets > Oracle E-Business Suite > Administer > Change Management > Patch Manager. From the Patch Manager home page, select "New Deployment" in the Patch Runs region.

Note that you can also copy an existing patch run. From the Home page, select the patch run you wish to copy and click the Create Like icon.

Note: In the Patch Run interview you can use the Back button to go back to a previous step; however, entered values on the current page will be lost.

To create a Patch Deployment for Release 12.1 and earlier

  1. In the Deployment Details page, enter the details below.

    the picture is described in the document text

    • Patch Deployment Name - Enter a user-friendly name for the patch run. You can search on this name later on.

    • Target System Name - Choose the target system.

      Click the Verify Credentials button to test the Preferred Credentials for the applications system.

      Select Override Patch Nodes to choose the hosts on which adpatch will run. The default host name is pre-populated. This option provides support DMZ configurations where some nodes contain a shared APPL_TOP and some nodes do not.

      Note: You can select only one Oracle E-Business Suite target.

    • Workers - The number of workers available on the system. Note that you can change this value.

    • Description

    • Justification

    • Requestor - The default value is the user name with which you are signed in. You can change this to another name.

    • Notification Email(s) - Select the email addresses of users who should be notified of the patch run request.

  2. In the Patch Details page, search for the patch(es) to be applied.

    the picture is described in the document text

    You can search on the following criteria:

    • Patch Number

    • Language - "All installed languages" will return the base (Generic or platform-specific) patch plus any language patches (if they exist) for every language installed on the selected targets. Choosing a specific language from the drop-down list will return its language patch if such patch exists.

    • Created By

    • Platform - Select "Generic Platform" if patch is not port-specific.

      If you are searching for a patch for a specific platform, your search results will return a Generic-platform patch if no platform-specific patch exists.

    From the Patch Search Results table, select patch(es) you wish to apply and click the Add button.

    The search results will include the following for each patch found:

    • Patch Number

    • Platform

    • Language

    • Description

    • Created By

    • Replaced By

    • Patch Name

    • Product

    • Release

    Note: If connectivity to My Oracle Support is not available, then the system will search among the patches that are already downloaded at the OMS stage directory location.

    The following appears for each patch in the Selected Patches table.

    • Order - The order in which the patches should be applied. This will be displayed only when you have more than one patch selected and do not have the Merge Patches button selected. You can then reorder the patches.

    • Patch Number - The patch number.

    • Patch Name

    • Platform - The platform for the patch.

    • Language

    • Description

    • Product - The name of the owning product.

    • README - Click on this icon to review the README file for the patch.

    • Created By - The user who created the patch (for custom patches).

    • Replaced By - The patch number that replaces this patch, if any.

    • Release - The release to which the patch is valid.

    • Files - The files to be downloaded for the patch.

    • Remove - If you want to remove this patch from the list, select the check box and click the Remove button.

    Note: For a controlled-release patch, a password is necessary for downloading the patch. An icon appears, which you can click to enter a password. Passwords expire after a set duration, so for scheduled deployments further in the future, make sure you have already downloaded the patch and staged it.

    Use the Merge Patches button if you wish to merge two or more patches.

    Note: You should merge AD patches separately from non-AD patches.

    Finally, you can check for prerequisites for your patches using the Check Prerequisites button.

  3. Specify a schedule in the Options page.

    the picture is described in the document text

    Choose from the following options:

    • Start Immediately - Patch application will be scheduled to start immediately.

    • Schedule - Patch application will start at the time you specify. Provide the Date, Time, and Time Zone.

    • Indefinite Grace Period - With Indefinite Grace Period enabled, if the patches cannot be applied at the scheduled time, the system will try to apply them as soon as possible, and will keep trying indefinitely. Alternatively, if you provide a defined Grace Period in hours and minutes, the system will only try to start the application of patch for that amount of time.

    The Blackout Length indicates the amount of time the target system will have a blackout status in Enterprise Manager. Set this length to a higher value for large patch runs.

  4. In the same Options page, specify Patch Options.

    the picture is described in the document text

    For more information on many of these options, see: Oracle E-Business Suite Patching Procedures and Oracle E-Business Suite Maintenance Utilities.

    Patching Procedure Options include the following:

    • Create Target Backup Before Patching - Adds a pause after system is prepared for backup allowing for a manual backup.

    • Create Target Backup After Patching - Adds a pause after patch is applied and database is brought back down to allow for a manual backup.

    • Enable HotPatch Mode - Patch will be applied without shutting down the applications or database, disabling archive mode, or enabling maintenance mode.

      In HotPatch mode, AutoPatch applies a patch regardless of whether the Oracle E-Business Suite system is in maintenance mode. Maintenance mode controls the system downtime period by managing user login sessions.

      Note: In HotPatch mode, if the patch application fails, the process will still perform/execute the blackout steps in the "Patch Oracle E-Business Suite" procedure. The blackout notifies other Enterprise Manager administrators that a maintenance procedure is being performed on the environment.

    • Disable Archive Mode - Issues an 'alter database noarchivelog' command.

    • Pause Before AutoPatch Steps - Adds a pause before AutoPatch (adpatch) is run to allow for any necessary manual preparation.

      AutoPatch (adpatch) is the Oracle Applications DBA (AD) tool that applies patches to an Oracle E-Business Suite system.

    • Pause After AutoPatch Steps - Adds a pause immediately after patch is applied to allow for any necessary manual activities.

    • Run AutoConfig - Run AutoConfig, the AD tool that manages configuration changes in an Oracle E-Business Suite system.

    AutoPatch Options include the following:

    • Disable JSP Compilation - Tells adpatch not to automatically compile out-of-date JSP files (nocompilejsp command).

    • Disable Invalid Objects Compilation - Tells adpatch not to compile invalid objects (nocompiledb command).

    • Enable Schema Validation - Tells adpatch to connect to all registered Oracle E-Business Suite schemas at the start of the patching process.

    • Disable File Generation - Tells adpatch not to run commands normally found in generate driver (nogenerateportion command).

    • Disable checkfile feature - Tells adpatch to disable the checkfile feature while running database portion (nocheckfile command).

    AD Administration Options are listed below. These tasks are done to manage database objects (database objects or data in the database related to Oracle E-Business Suite). For example, a patch might add new menu entries or change the setup of a flexfield.

    • Generate Message Files - Creates new message files after the messages have been loaded into the database. The README should instruct you when this is necessary.

    • Compile APPS Schema - Compiles the APPS schema.

    • Compile Menu Information - Compiles menus.

    • Compile Flexfields - Compiles flexfields.

    • Recreate Grants and Synonyms for APPS Schema - Recreates grants and synonyms for the APPS schema.

    • Relink Application Programs

    • Generate Product JAR Files

    • Generate Reports Files

    • Generate Form Files

    For the Notifications region, specify the statuses for which you would like to be notified.

  5. Review your patch deployment.

    the picture is described in the document text

    The Review Page lets you review your patch run details, target list, patch details, patching options, and schedule.

Copying a Patch Run for Oracle E-Business Suite Release 12.1 and Earlier

You might want to copy an existing patch run to change some aspect of it or to rerun it due to changes in the patch or target. To do this, select the patch run in the Patch Manager Home page and click the Create Like icon.

The system will take you through the patch deployment creation pages as if you were creating a new patch run, but with most values copied from the original patch run. Please note the following:

Creating a Patch Deployment Procedure for Oracle E-Business Suite Release 12.2

To create a Patch Deployment

Ensure that you have completed the prerequisite steps described earlier.

Navigate to Targets > Oracle E-Business Suite > Administer > Change Management > Patch Manager. From the Patch Manager home page, select "New Deployment" in the Online Patching region.

  1. On the Deployment Details page, enter the details below.

    • Patch Deployment Name - Enter a user-friendly name for the deployment procedure. You can search on this name later on.

    • Target System Name

    • Verify Credentials - Click this button to check your credentials. This feature ensures that valid preferred credentials are set for you. For information on credentials, see: Overview of Credentials.

      • Oracle E-Business Suite Node credentials (all application tiers; no database tier credentials are required)

      • System schema credentials

      • APPS schema credentials

      • WLS server credentials

    • Description

    • Justification - Enter a justification that can be used by an approver deciding to approve or reject this request for patching.

    • Requester - The default value is the user name with which you are signed in. You can change this to another name.

    • Notification Email(s) - Any users listed here will be notified when the patching deployment request is sent to approval management.

      Note: These notifications are different from notifications sent regarding the status of a submitted deployment procedure.

    the picture is described in the document text

  2. In the Patch Details page, search for the patch to be applied.

    the picture is described in the document text

    You can search for a patch based on the following criteria:

    • Patch Number

    • Language

    • Created By

    • Platform

    Note: You must retrieve the desired patch through the Search region even if you have already downloaded the patch to the stage location (the process will not re-download the patch, however).

    The search works as follows:

    • Custom patches if a patch number greater than 11 characters has been entered or no patch number has been entered.

    • Oracle patches if the patch number is less than 12 characters and the "Connect to My Oracle Support for Patches" preference is checked in the Preferences page. Since the target has already been chosen at this point in the interview process, the search will examine the target and search for only patches that are relevant with respect to languages and platform.

    • Downloaded patches if the patch number is less than 12 characters and the "Connect to My Oracle Support for Patches" preference is unchecked in the Preferences page.

    Selecting the Merge Patches option will merge the patches when running adop later.

    Selecting the Check Prerequisites option will connect to My Oracle Support (MOS), check the prerequisites for all the patches, and then check the target system to see if those patches have been applied. You must have "Connect to My Oracle Support for Patches" enabled in the Preferences page to use this option. If you do not have "Connect to My Oracle Support for Patches" enabled, the Check Pre-requisites button will be disabled and prerequisites for patches cannot be checked.

    The prerequisite patches can also be selected in the pop-up window and then searched and selected to be applied along with the already selected patches.

    The patch application order can be modified by clicking the "Move Up" and "Move Down" arrows.

    Note that this page does not require any patches be selected. With Release 12.2, an "empty" patching cycle is supported in Patch Manager where only prepare, finalize, cutover, and cleanup are run.

    The following appears for each patch in the Patch Search Results Table:

    • Check box for selection

    • Patch Number - The patch number.

    • Platform - The platform for the patch.

    • Language

    • Description

    • Created By

    • Replaced By

    • Patch Name

    • Product - The name of the owning product.

    • Release

    Select the relevant check box(es) and click on the Add button to add the selected patch(es) to your patch deployment. It will appear in the Selected Patches table.

    The following appears for each patch in the Selected Patches table.

    • Remove - Select the check box(es) and click on the Remove button to remove the patch(es) from the list.

    • Order - The order the patches should be applied. Use the Up and Down icons to change the order of the patches.

    • Patch Number- The patch number.

      Note: For a controlled-release patch, a lock icon appears next to the patch number. Click on the icon to enter a password. Passwords expire after a set duration, so for scheduled deployments further in the future, make sure you have already downloaded the patch and staged it.

    • Platform - The platform for the patch.

    • Language

    • Description

    • Readme

    • Created By

    • Replaced By

    • Patch Name

    • Product - The name of the owning product.

    • Release

    • Files - The files to be downloaded for the patch.

  3. Specify Patch Options.

    the picture is described in the document text

    The online patching cycle has five phases. Patch Manager uses two separate deployment procedures to automate these five phases. The first deployment procedure runs the prepare, apply, finalize, and optionally actualize_all phases. The second deployment procedure executes cutover, cleanup, and optionally fs_clone.

    On the options page you determine when each of these deployment procedures are executed. The first deployment procedure (that runs adop prepare, apply, finalize, and optionally actualize_all) can be started immediately upon submission or scheduled. If the "Schedule" option is selected, a date field is dynamically displayed. The grace period is the amount of time Enterprise Manager should wait if the Enterprise Manager job system cannot start the deployment procedure at the intended time.

    Patch Application Deployment Procedure

    Specify the Start Options:

    • Start Immediately - Patch application will be scheduled to start immediately.

    • Schedule - Patch application will start at the time you specify. Provide the Date, Time, and Time Zone.

    • Indefinite Grace Period - With Indefinite Grace Period enabled, if the patches cannot be applied at the scheduled time, the system will try to apply them as soon as possible, and will keep trying indefinitely. Alternatively, if you provide a defined Grace Period in hours and minutes, the system will only try to start the application of patch for that amount of time.

    For the Prepare phase, specify Pause After Prepare. This option will stop execution of the deployment procedure after the adop prepare phase has been run. A user would then need to manually acknowledge the pause for Enterprise Manager to continue with the next step.

    For the Apply phase, specify Pause After Apply. This option will stop execution of the deployment procedure after the adop apply phase has been run. A user would then need to manually acknowledge the pause for Enterprise Manager to continue.

    For the Apply phase, specify Actualize All Objects. This option will run the adop actualize_all phase. If this option is chosen then the cleanup mode is switched to "full".

    For the Apply phase, specify Hotpatch. This option will disable all other adop phases and run adop in hotpatch mode. This option is not supported unless specifically stated in the patch readme. A warning message is also displayed in Patch Manager when this option is chosen.

    For the Finalize phase, specify the Finalize Mode. This option runs adop finalize phase in either Quick or Full mode.

    Also for the Finalize phase, specify Pause After Finalize. This option stops the execution of the deployment procedure after the adop finalize phase has been run. A user would then need to manually acknowledge the pause for Enterprise Manager to continue.

    Cutover Deployment Procedure

    Specify the Cutover Options.

    The Cutover deployment procedure has three options for execution:

    • Start Immediately

    • Schedule

    • No Cutover

    It can start immediately or be scheduled as described above. In this case an immediate start means immediately after the Apply deployment procedure executes. If a user schedules this deployment procedure and the apply deployment procedure is still running after the schedule date, then the apply deployment procedure will fail when it attempts to submit cutover. The cutover deployment procedure can also be skipped entirely with the "No Cutover" option. "No Cutover" may be useful on a development environment where ten developers are patching a single target and they only want to bounce the instance at midnight. Another example may be when a prerequisite patch was missed. In this situation a user could do a patch run through finalize with the missed prerequisite then restart the original failed deployment procedure.

    Check the Indefinite Cutover Grace Period box if you want Enterprise Manager to wait an indefinite amount of time if the Enterprise Manager job system cannot start the deployment procedure at the intended time.

    For the Cutover phase, the Restart Middle Tier is selected by default. When cutover is run, this option controls whether the middle tier is restarted.

    The Pause After Cutover option stops the execution of the deployment procedure after the adop cutover phase has been run. A user would then need to manually acknowledge the pause for Enterprise Manager to continue.

    The Error out if EBS has abandon node(s) option is selected by default. This option controls whether to allow cutover to happen or error out if abandon nodes are detected in the Oracle E-Business Suite instance.

    For the Cleanup phase, choose whether you want the Cleanup Mode be run as Quick or Full.

    For FS Clone, specify if you want to run a full file system synchronization.

    Notifications

    For the Notifications region, specify for which statuses you want notifications to be sent. Users will be notified of a given status if the box is checked and either of the "Apply" or "Cutover" deployment procedures fall into that status.

    Statuses for notifications are:

    • Action Required

    • Problems

    • Succeeded

    • Running

    • Suspended

  4. Review your deployment procedure.

    the picture is described in the document text

    The Review Page lets you review your deployment procedure details.

Extending Patch Manager Deployment

You can extend Patch Manager procedures using the Deployment Procedure Manager using the steps below. In these steps you create a copy of an existing procedure and extend it in the Deployment Procedure Manager.

  1. Navigate to Enterprise menu > Provisioning and Patching > Procedure Library.

  2. Extensions are supported for the following two patching procedures for Oracle E-Business Suite:

    • "Patch Oracle E-Business Suite" (for Release 12.1 and earlier)

    • "Patch Oracle E-Business Suite Online" (for Release 12.2)

    Note: Extensions are not supported in the deployment procedures for cutover and abort.

  3. Click the Create Like button.

  4. Rename the copy of the original procedure as desired. You can make other updates here as well.

  5. Save your new procedure.

  6. Upon saving, the Deployment Procedure Manager Procedures tab appears. Your new procedure is listed first. You can select this procedure and click Edit to add steps, choose notifications, or make other changes. For example, you might want to add steps to a copy of the shipped Patch Oracle E-Business Suite procedure to automate the following steps: Pre-Patch Application Tier Backup, Post-Patch Database Tier Backup, or Post-Patch Application Tier Backup.

For more information on the Deployment Procedure Manager and provisioning in Enterprise Manager, refer to the Enterprise Manager documentation, including:

Patch Worker Logs, Health Checks, and Troubleshooting

This section describes logging, health checks, and troubleshooting features within Patch Manager.

How to Access Patch Logs

The primary way to access log files is using the log viewer in the Patch Logs region of the Patch Manager Home page. See: Patch Logs.

Alternatively, you can drill down into the steps within an online patching deployment procedure execution to see the logs.

How to Restart Failed Workers

For Oracle E-Business Suite Release 12.1 and earlier targets, use the following steps:

  1. Navigate to your patch run using any method in "View a Patch Run".

  2. Click on the Patch Run Name.

  3. Click on the adpatch step (Apply Patch).

  4. Select the check box for the failed target.

  5. Click Update and Retry.

  6. Change the parameter "restart_workers" to YES and click Retry.

Note: These steps are also listed in the AD Patch Log when you have a failed worker.

For Oracle E-Business Suite Release 12.2 and later targets, use similar steps to those above except navigate to your deployment and go to the adop apply phase step. Select the check box for the failed target, click Update, change the parameter "restart" to Yes, and click Retry.

  1. Navigate to your deployment and select it.

  2. Click on the adop apply phase.

  3. Select the check box for the failed target.

  4. Click Update and Retry.

  5. Change the parameter "restart" to YES and click Retry.

How to Change the Patch Run Purge Policy

Enterprise Manager periodically purges Patch Manager deployment procedure execution data. As a result, older patch runs may not be accessible in Patch Manager. To change the purging frequency, run the following PL/SQL block connected to the repository as SYSMAN:

BEGIN
    MGMT_JOBS.drop_purge_policy('SYSPURGE_POLICY');
    MGMT_JOBS.register_purge_policy('SYSPURGE_POLICY', <number of days>,
null);
END;

Troubleshooting Patch Manager Deployment Failures

Access the log files is using the log viewer in the Patch Logs region of the Patch Manager Home page. See: Patch Logs.

To find errors using the Enterprise Manager Provisioning feature, do the following:

  1. Find your patch run or deployment on the Patch Manager Home page.

  2. Click on the status link for the patch run or deployment.

    The Procedure Activity tab of the Deployment Procedure Manager in Provisioning appears.

  3. For a patch run or deployment that failed, click on its Status link.

  4. A list of Procedure Steps in the patch run or deployment is shown. Use the dropdown list to filter on the steps shown; for example, choose "Failed Steps" to see the steps that failed. More information on these steps is shown.

Note: After analyzing the log files, if you are confident that you can ignore any error and move forward, then in the Procedure Activity window, choose the menu item Actions > Ignore. This option allows you to ignore the error and move forward.

Health Checks

Patch Manager validates these servers shutting down and starting up: Listener, Forms server, Apache web services, and Internal Concurrent Manager.