Beruflich Dokumente
Kultur Dokumente
Maintenance Wizard
User Guide
Release 2
Preface.......................................................................................................................................1
About Utilities.........................................................................................................................35
About Reporting.....................................................................................................................65
Appendix C: Examples for Using the OS Command and SQL Query Utility...............95
Page ii
Preface
This document describes how to use Maintenance Wizard, version 2. Maintenance
Wizard includes the following features:
• Includes many post-upgrade bug fixes. The R12 post upgrade patch list now
includes the contents of the Recommended Patch List (RPL), which starts the
instance out on the latest code.
• Enables you to use secured remote access (SSH) or remote shell (RSH)
communications between nodes.
• Enables you to view logs for each step performed, as well as live progress
reports, historical data, and timing reports.
• Provides Web-based access to run UNIX commands and to run SQL Query
commands to check and view the Oracle E-Business Suite database settings.
Note: The screenshots displayed in this document are for illustrative purposes only.
Page 1
Maintenance Wizard Overview
Maintenance Wizard:
• Provides project management utilities to record the time taken for each task
and its completion status
• Provides different user types, each with its own responsibilities and
permissions.
Page 2
Architecture Components
Maintenance Wizard uses one of following products to assist you in your upgrade
procedure:
Use this product to upgrade Oracle E-Business Suite customers who are
currently using a 12.0.x version to a later 12.0.x version. It contains all of the
steps from the 12.0.x Release Update Pack readme file. The possible upgrade
path is as follows:
Use this product to upgrade Oracle E-Business Suite customers to the Release
12 version of the software. It contains all of the steps from the Oracle
Applications Upgrade Guide: Release 11i to Release 12.0.4 manual as well as the
release notes. The possible upgrade path is as follows:
Use this product to upgrade Oracle E-Business Suite customers who are
currently using the 11i version to the latest available 11i version. It contains
all of the steps from the 11.5.10.2 Maintenance Pack readme file. The possible
upgrade path is as follows:
Page 3
o 10.7 SmartClient --> 11.5.10.2
o 8i -> 10.2.0.3
o 9i -> 10.2.0.3
• System Administrators
• Project Administrators
• Upgrade Engineers
Upgrade Engineers complete the actions that are a part of the upgrade. An
individual engineer might be responsible for performing all the steps of the
upgrade or just some selected steps. Usually, each project has multiple
Upgrade Engineers.
Page 4
About Categories, Product Families, Tasks, and Steps
• Categories
• Product Families
• Tasks
• Steps
Steps are the actions that must be completed during the project. Each step
includes one or more of the following substeps:
1. Setup
3. Validate
Every step must include an Execute substep. Setup and Validate substeps are
not required but can be used to prepare the environment (Setup) and verify
the results (Validate) for the Execute substep.
Page 5
Before You Begin
Read this section carefully; it contains important information about Maintenance
Wizard.
When using Maintenance Wizard, do not use the Reload or Refresh feature of your
Web browser in the EOF Script Executer window. Clicking Reload or Refresh causes
Maintenance Wizard to execute the current step again. If you click Reload or Refresh
a number of times, then you will have dozens of processes running, with each
process trying to accomplish the same task. This is a common mistake when running
a long-running step!
1. Close the Script Executer window by clicking X in the upper right corner.
2. Right-click the Step Action Run window and select Refresh periodically
until the step has completed.
If you are using Internet Explorer 6.0, you must setup the browser settings as follows
before you install Maintenance Wizard:
2. From the Microsoft Internet Explorer menu, select Tools, then Internet
Options.
5. Click OK twice.
If you are using Internet Explorer 7, there are additional options to set:
1. From the Microsoft Internet Explorer menu, select Tools, Internet Options,
then Security.
Page 6
Set Up Tasks for Maintenance Wizard
Before running Maintenance Wizard, you must perform some set up tasks, such as
associating customers with projects, and assigning responsibilities to users.
Maintenance Wizard comes with one default System Administrator user (sysadmin).
When you create a new project, you base it on Maintenance Wizard products.
Step 1: Logging In
3. Click Login.
The Customer Maintenance page appears, similar to Figure 2.
Page 7
Step 2: Creating New Customers
3. In the Add Customer table, in the Customer Name field, enter the name of
the new customer.
4. Click Add.
The customer is added to the Customer list.
2. Click Modify.
Page 8
Step 3: Creating a Project
To perform the upgrade, you must create a project. A project is used for a single
iteration of the upgrade process. As you progress through the various test upgrades,
you will create new projects each time.
Maintenance Wizard provides a Master project. The Master project populates each
new project with data. You can also copy data from a previous project if you have
customized it. To view existing projects, click Configuration, then click the Projects
subtab. The Project Maintenance page appears similar to Figure 3.
2. In the Add Project table, from the Customer Name list, select the customer
for whom you are creating the project.
3. In the Project Name field, assign the project a brief but concise name. It
should be unique with each Customer Name.
4. From the Product list, select the product that corresponds to the type of
upgrade you are performing.
Note: It is very important that you choose the correct product because you
cannot change it later. For more information about these products, see About
Maintenance Wizard Products.
Page 9
5. Click More Details. Depending on the selected product, the Add Project
table displays additional options.
6. From the Source Version list, select the version from which you are
upgrading.
7. From the Destination Version list, select the version to which you are
upgrading.
8. In the Remote EOF_HOME field, enter the name of the directory where the
EOF_HOME directory is stored on each tier. This is a directory name and not
a directory path. Maintenance Wizard creates a directory with the same
name on each remote tier.
Note: This value must be unique.
9. From the Copy Steps from list, select the existing project from which you
want to populate the new project. Select the Master project to populate the
new project with data. If you added steps to a previous project or you want
to copy notes from a previous project, then you can select that previous
project.
Note: To delete a project, go to the Administration tab and click the Delete
button next to the appropriate project name in the Delete Project table.
Page 10
Figure 4 Add a New User
3. In the User Name field, enter a user name for the new user. For example,
jsmith.
4. In the Full name field, enter the full name of the user. For example, John
Smith.
5. In the Email Address field, enter an e-mail address for the user. For example,
john.smith@acme.com
8. In the Description field, enter a description for the user. For example,
Financials System Analyst.
9. In the Phone Number field, enter a phone number for the user.
Page 11
Step 5: Assigning a Project Administrator
The first type of user required is a Project Administrator. The Project Administrator is
responsible for assigning specific tasks to Upgrade Engineers.
2. Click User Admin, then click the Assign Proj Admins subtab.
The Assign Proj Admin page appears, similar to Figure 5.
4. From the Select user to assign list, select the user that you require for Project
Administrator.
5. Click Assign.
A message appears stating that the user was successfully assigned.
Note: From the List Administrators for Selected Project table, select a project to
view the Project Administrators assigned to that project. Click Remove to delete
a Project Administrator from a project.
Page 12
Step 6: Registering Nodes for the Project
A Project Administrator must register nodes for the project before performing any
other tasks.
2. Click Roles.
The Role page appears similar to Figure 6.
Page 13
Figure 7 Project Maintenance Page
4. Check that the initial project setup is correct. Click Edit to make any changes.
Note: In general, you can use any combination of the three methods to define the
nodes in your project. However, some node types cannot use all three methods.
For example, some node types cannot be defined by the AutoConfig file.
Page 14
To manually specify node attributes, complete the following:
1. From Node Source Type list, select Manually specify node attributes.
The Manually Enter Node(s) page appears, similar to Figure 9.
2. In the Fully Qualified Hostname field, enter the name of the host on which
the nodes will reside. Ensure that you include the domain name of the host.
3. In the Username field, enter the operating system (OS) user name for the
host specified in step .
Note: If you have multiple OS users (for example a user that owns the
database and another user that owns the Applications), you must specify
those nodes separately.
5. From the Remote Access Type list, select whether you want to use remote
shell or secure shell for remote execution.
6. Select the type of node that you are defining. Ensure that the selected node is
owned by the OS user specified in step .
Note: To select multiple for the same host, use SHIFT+select or CTRL+select.
7. Click Save.
The Attributes page appears similar to Figure 10.
Page 15
Figure 10 Attributes Page
8. In the Attributes table, enter a value for each of the attributes. The displayed
attributes depend on the nodes that you selected in step .
9. Click Save.
The Registered Nodes table appears.
10. Click Configure to define the nodes when you have registered all the node
types using any combination of the methods as described in step on page 14.
Note: You must define data for all node types before you can continue. If the
Configure button is not available, then you have not defined all the required node
types completely.
To copy From Existing Project, complete the following:
1. From the Node Source Type list, select Copy from existing customer/project.
The Copy Node(s) page appears.
2. From the Copy Node Attributes from customer/project list, select the project
from which you want to copy the node attributes.
3. From the Node TYPE(s) list, select the type of node that you are defining.
Note: To select multiple nodes for the same host, use SHIFT+select or
CTRL+select.
4. Click Copy.
The Registered Nodes table appears
5. Click Configure to define the nodes when you have registered all the node
types using any combination of the methods as described in step on page 14
Note: You must define data for all node types before you can continue. If the
Configure button is not available, then you have not defined all the required node
types completely.
Page 16
To define the nodes automatically by reading the AutoConfig file, complete the
following:
1. From the Node Source Type list, select Read from AutoConfig.
The Administration Node Autoconfig Setup page appears.
2. In the Fully Qualified Hostname field, enter the name of the host on which
the nodes will reside. Ensure that you include the domain name of the host.
3. In the Username field, enter the operating system (OS) user name for the
host specified in step .
Note: If you have multiple OS users (for example, a user that owns the
database and another user that owns the Applications), you must specify
those nodes separately.
4. In the Autoconfig Path field, enter the full path of the AutoConfig utility.
Note: Do not use any environment variables. Ensure that you enter the full
path such as /u01/foo/applmgr/apps/apps_st/appl/admin/PROD1.xml.
6. From the Remote Access Type list, select either remote shell or secure shell
7. From the Node Type(s) list, select the type of node that you are defining.
Some node types that are not registered yet may not appear in this list
because they are cannot be configured using this method. Ensure that the
selected node is owned by the OS user specified in step .
Note: To select multiple nodes for the same host, use SHIFT+select or
CTRL+select
8. Click Next.
The nodes appear in the Registered Node(s) table. A window may appear to
indicate that Maintenance Wizard could not retrieve some values from
AutoConfig file. If this occurs, you must edit the attributes for the nodes
displayed in the window and correct the values assigned to those attributes
before proceeding.
9. Click Configure to define the nodes when you have registered all the node
types using any combination of the methods as described in step on page 14.
Note: You must define data for all node types before you can continue. If the
Configure button is not available, then you have not defined all the required
node types completely.
Page 17
Step 7: Assigning Responsibilities to Users
3. From the User Name list, select the name of the required engineer.
Note: If the required engineer does not appear in the list, see Step 4: Creating
New Users.
The Responsibilities page appears similar to Figure 11.
Figure 11 Responsibilities
Page 18
4. For each Category on the page, click the plus sign (+) to expand the list and
view the product families and tasks associated with that category.
5. Click the check box beside an entry to assign it to the selected engineer. You
can assign any combination of the Category, Product Family, or Task levels.
If you assign a higher-level entry to a user, then Maintenance Wizard
includes all entries below that level in the hierarchy.
Note: To assign all tasks to the selected engineer, click Assign All at the
bottom of the page. This option ignores any previous selections and forces a
save.
c. To enable the engineer to access the SQL Query feature for this
project, click SQL Query Access. Ensure that the option is only
granted to users with database query access to the Applications data.
You can now update your own personal profile settings for the current project that
you are logged into. You may manually specify a value or reset it to the default
value. To update your profile, complete the following:
Page 19
Figure 12 Update Profile Screen
3. Modify the desired Attribute Value field and click Save or click Reset to
restore an Attribute Value to its default setting
Page 20
Customizing Maintenance Wizard
Note: Skip this section if you do not require additional categories, product families,
tasks or steps.
Add new categories, product families, tasks, or steps in the following order:
1. Categories
2. Product Families
3. Tasks
4. Steps
Add Categories
Note: You must have development responsibility for the current project to add
categories. For more information about granting development responsibility, see step
5 of Step 7: Assigning Responsibilities to Users.
You can insert new categories or update existing categories that you created.
Note: You cannot update or delete predefined categories that come seeded in
Maintenance Wizard.
Page 21
Figure 13 Process Steps
3. Click the Customize tab, then from the Select Action list, select Category.
The Category table appears similar to Figure 14.
Note: You may not see all of the categories displayed in Figure 13 because
the categories depend on your configuration. The Action column is not
available for Oracle seeded categories because you cannot modify these
categories.
Page 22
4. Scroll down to the empty row in the Category table, then enter the new
category name. The category name is limited to 20 characters.
You can insert new product families or update existing product families.
Note: You cannot update or delete predefined product families that come with
Maintenance Wizard.
Page 23
6. In the Product Family field, enter the name in the empty row.
7. In the Order By field, specify where to place the new product family.
Add Tasks
Note: You must have development responsibility for the current project to add tasks.
For more information about granting development responsibility, see step 5 of Step 7:
Assigning Responsibilities to Users.
Page 24
7. In the empty field in the Task column, enter a name of the new task.
8. In the Order By column, enter the position as an integer where the new task
appears in the list of steps.
Add Steps
Note: You must have development responsibility for the current project to add steps.
For more information about granting development responsibility, see step 5 of Step 7:
Assigning Responsibilities to Users.
For additional information about writing scripts to use with Maintenance Wizard, see
Maintenance Wizard Scripting Language (OracleMetaLink Note: 291888.1).
Note: You may not see all of the steps because the steps depend on your
configuration. The Action column is not available for Oracle seeded entries
because you cannot modify these entries.
Page 25
Figure 17 Add a step
Field Description
Order By Enter the position as an integer where the new task appears in the list of
steps.
Step Num Provide a number for the new step.
This number must be unique within the particular task and indicate the
sequence of the steps. For example, the first step has a value of 1 and the
third step has a value of 3; the new step to appear between these steps is
given the value of 2. If you want to insert a step between 2 existing steps,
you must renumber the current step and all subsequent steps, then insert
the new one. For example:
Renumber
Original Existing Steps Insert New Step
Step 1: Do A… Step 1: Do A… Step 1: Do A…
Step 2: Do B… Step 2: Do D…
Step 3: Do C… Step 3: Do B… Step 3: Do B…
Step 4: Do C… Step 4: Do C…
Step Condition Click the Notebook icon to specify whether the step is required, optional,
recommended, or conditionally required.
Source Click the Notebook icon to select C for custom.
Documentation
ID
Apps Short Click the Notebook icon to select the Application short name. Only
Name Applications that are installed in your Applications environment appear
in the list.
Install Status Click the Notebook icon to select the install status. The step is displayed if
you select one of the following:
I – Product is installed
S – Shared only
IS – Product is installed or shared
Note: You must specify this value by selecting the Notebook icon or by
using uppercase. If you specify the value in lowercase, Maintenance
Wizard displays an error message.
Version ·Specify the version from which you are upgrading. You must enclose the
Page 26
Field Description
11. Click the Preview icon at the bottom right of the screen to view the
information contained in the Setup, Execute, and Validate script notes.
Figure 19 shows an example of this content.
The new categories, product families, tasks, and steps are available within
Maintenance Wizard. Verify that each new element appears as intended.
Page 27
Running Steps in Maintenance Wizard
Note: Before you start a project, refer to the Before You Begin section of this guide.
When running steps, perform all steps in the order in which they are specified. If you
do not complete steps in the required order, the success of the project could be
compromised.
3. From the Select Category list, select a category from the list. The
Configuration category prepares your system to run Maintenance Wizard
and comes with Maintenance Wizard. The other available categories depend
on your set up and configuration.
Important Notes:
• To view the full list of categories applicable to your installation, you must
complete all of the steps in the Configuration category. When you complete
these steps, you must refresh the lower left pane of your Web browser. The
entire list of categories appears. If, after completing the configuration tasks,
you still do not see the entire expected list, please refer to the Maintenance
Wizard FAQ (OracleMetaLink Note: 407085).
The following table provides a list of the icons that enable you to scan the list of tasks
and steps for each category and product family to determine the status of each step.
Green Check Mark in Circle (Complete) Indicates that the step has been
automatically executed and the
user indicated that the step
finished successfully
Blue Box in Circle (Incomplete) Indicates that the step has never
been completed or has been
reported as a step requiring
execution again.
Red X in Circle (Under Execution) Indicates that the step was
executed automatically but the
user did not indicate the success or
redo of the step.
The window was closed without
clicking Success or Redo. Steps
that take a long time to run often
display this icon.
Page 28
Icon Icon Name Description
Blue Man with Check (Manually Complete) Indicates a step that was manually
completed by the user.
Red Circle with Slash (Auto Skipped) Indicates that Maintenance Wizard
automatically skipped the step.
The tool determined that the user
does not have to perform this
portion of the step. Usually the
Note field contains the reason for
skipping the step.
Each step has a minimum of one and a maximum of three required substeps. These
substeps are called Setup, Execute, and Validate. For manual steps, the text should
indicate the commands that you are required to perform. However, many actions
include scripts that automate the process.
Action Description
Setup The Setup substep runs a process that verifies the following:
(This substep is • If execution of that step is required
optional) • If the data is ready for the Execute substep to process
Specifically, it details the Oracle Applications navigation steps, additional
details, objects to be checked, and criteria for checking them.
Execute The Execute substep either runs the script provided with Maintenance
(This substep is Wizard or it displays the navigation required to perform the step manually.
mandatory) Specifically, it details the action for the actual work that is required.
Note: Every step must have an Execute substep.
Validate The Validate substep verifies that the step is complete and it is OK to
(This substep is continue with the next step. Specifically, it attempts to determine whether
optional) the Execute substep was successful and details specific objects to be checked
and the criteria for checking them.
You have the option to perform any step manually as displayed in Figure 17.
• Manual: Manual step execution requires you to perform the work manually.
You must record the success or redo of the step upon completion. Enter the
hours and minutes required to complete the step, then click Manual. The
step window appears similar to Figure 20.
Page 29
Figure 20 Executing a Step Manually
Note: You can always run an automatic step manually by clicking Manual.
Page 30
Figure 21 Executing a Step Automatically
Note: If you want to include multiple sets of parameters, you can run the automated
steps multiple times. To do this, select Redo even if it runs successfully, then run the
step again with the next set of parameters. Keep selecting Redo and re-running it
with the new set of parameters until each set has been included. Mark the step a
success after you have run the last set of parameters. The log file for each execution is
saved and available through the Audit window.
Upon the completion of each substep (Setup, Execute or Validate), you must click
either Success or Redo as shown in Figure 22.
Page 31
Figure 22 Completing a Step
Depending on the choice you make, the status of the step is marked either Complete
or Not Run.
• Redo: Record the step as Not Run if it does not complete at all, or if it
completes with problems.
Sometimes a step takes longer to execute than the framework can wait; this is called
"timing out". To refresh a step, close the Script Executer window using the X in the
upper right corner, then right-click and select Refresh on the Step Action Run
window periodically until the step is complete.
Figure 23 shows an example of the online documentation that is available within the
tool:
Page 32
Figure 23 Online Help
• User Note: The Edit User Note button and the Notepad icon beside each step
enable you to record information for each step. Use this feature to facilitate
the next test or go-live project. Add your notes in the text box and click Save
to exit. Click the link again to add more information. As each test is
performed, this becomes another part of the documentation that customizes
your project.
• Task Help: For some tasks, you can click the task name and context-sensitive
information is displayed.
Maintenance Wizard captures log files for all substeps that have been automatically
executed. To view the most recent log file for a particular substep, click the status
icon for that step. If the step has been run, the log file is displayed in the step status
window. To view all log files for a particular substep, click the Audit icon beside that
step, and then click Notebook icon in the Log column. The Audit window appears
similar to Figure 24 and Figure 25 shows the contents of a log file.
Page 33
Figure 24 Audit Window
Page 34
About Utilities
The Maintenance Wizard Patching Tool provides a single interface to apply, monitor,
and restart adpatch. It also facilitates the running of key SQL queries and the
viewing of all related ad log files. The key features of this tool incude the following:
1. Login as an Engineer
2. From the Process tab click the Utilities subtab.
The Utilities page appears similar to Figure 26
Page 35
3. Click the Run Patching Tool link under Ebiz Support. The patching tool gets
loaded on the screen as shown in the Figure 27.
Note: You can also launch the patching tool from the patching steps under the
Utilities subtab. On doing so, the patch number will be automatically set.
To run this patching tool from the patching step, complete the following:
1. Login as an Engineer
2. From the Process tab select the Utilities subtab.
3. Run the execute step for any of the three steps under “TASK: Patching for all
releases”
4. After you supply the required runtime parameter and after clicked the Run
button, the new Script Executer window opens
5. Click the Run Patching Tool for <patch number> button to launch the
patching tool from the patching step.
Two key values must be set properly before running any feature of this tool:
Page 36
To set the Active node, complete the following:
Note: The exception to this is for the Patching Alerts feature that automatically
figures out the current active patching node (if multi-node) and returns output
based on that node’s logs for the text of the Alerts.
The following points outline the functions of the Maintenance Wizard Patching Tool
menus:
o Patch Logs – Use this menu to view all key patching logs and configuration files,
such as adalldefaults.txt, autoconfig’s config.xml, and APPSORA.env. You can also
use the Options menu to set the tail size for viewing and to automatically refresh the
view.
o Monitoring – This menu lists key UNIX commands to monitor the OS and Database
tables related to patching.
o AD Workers – This is the place to control and monitor the adworker processes
during patching.
o Services – This menu provides a means to check that status or start/stop 11i or R12
Services defined for this project
o Options – Use this menu to change default file tail size, font size, active tier, node,
and automatic refresh settings.
o Help - Most of the help options are links to key documents and web sites
supporting MW, EBS, or researching patch issues.
Applying Patches
The features in this menu provide the option to download a patch, apply the patch, and
verify for the proper application of the patch. It provides a means to check the patch
history, current patch log, and entire list of files included within the patch top. It also
has an option to monitor the adpatch processes, workers, and database settings.
Page 37
Figure 28 Applying Patches
1. Adpatch
2. Workers
3. SQL Monitoring
Page 38
Adpatch Monitoring
Click the gray arrow to reveal the following different options associated with
monitoring Adpatch:
• Processes
This option lists the adpatch processes that are currently running on the
corresponding node. It includes the information for each process, including the
current system time, the elapsed time for that process, the process id, and its
CPU utilisation.
• tail <patch number>.log
This option lists out the last 30 lines of the adpatch patch log file for the patch
number.
• Restart Files
This option lists out all the restart files that are present under directory
$APPL_TOP/admin/$TWO_TASK/restart
• CPU
This option reports CPU utilization for each second. Three lines are displayed.
• Summarize
This option summarizes the Adpatch actions
Worker Monitoring
Click the gray arrow to reveal the following different options associated with
monitoring Workers:
• Processes
This option lists the worker processes that are currently running on the
corresponding node.
• Ls Adworker Log
This option lists out the log files that are present under the directory
$APPL_TOP/admin/$TWO_TASK/log.
• adwork0*.log
All the adwork0*.log options display the last 30 lines of the corresponding
worker log files.
• Summarize
This option lists the summary of all the above options, it displays the list of all
the worker processes and then shows the last 10 lines of all the worker logs.
Page 39
SQL Monitoring
Click the gray arrow to reveal the following different options associated with
monitoring SQL:
• Applied Patches
This option lists out all the patches that are applied in the corresponding node.
The patch information includes Patch name, Application Short Name, the Patch
Type, Patch Level, and Applied date.
• AD Workers
This section shows the SQL output from FND_INSTALL_PROCESSES, which
includes the control-codes and status along with what file each worker is
currently processing.
• AD Sessions R12
This option can be seen only for Upgrade to R12 product. This option lists out
the AD Session details of an R12 environment.
• AD Job Details
This option lists the AD Job Details.
• DB Settings
This option lists out the following database settings:
• NLS Parameters
• NON-DEFAULT init.ora SETTINGS
• DEFAULT init.ora
• DB Sessions
This option lists information about database sessions. This includes the
following:
Date Report Run – tells the date the report was run.
Current Active database sessions – lists all the database sessions that are
currently active.
Session Counts – lists the database session counts by:
♦ Status
♦ OS User
♦ Module
• DB Locks
This option lists the type of locks applied for the database objects, their status,
the db object’s name, process id, UNIX/database username, etc.
• DB Space
This options displays
• Free space available on each database tablespace
• Size of each datafile of all the tablespaces.
• DB Invalids
This option lists the database invalid objects. This involves the following:
Date Report Run
Invalids Count by Type
Invalid Packages
Invalid Views
Invalid Synonyms
Invalid Triggers
Page 40
Monitor Active Patch
This option displays the log information associated with the application of a patch.
Clicking this sub-menu displays a table with two columns called File and Info. The File
column contains entries for the Current patch log, Restart Files, AD Worker logs, and
AD Table Statistics. The Info column lists the Last updated date, the size in bytes if it is
file, and the place where it is run if it’s a query.
• Current Patch Log – Displays the last 10 lines of the adpatch log
• AD_TABLES statistics – If patch application is complete, displays the date and
time the patch was applied based on AD_APPLIED_PATCHES and AD_BUGS
tables.
• Restart Files – lists the restart files under $APPL_TOP/admin/
$TWO_TASK/restart
• Worker Status – Displays the workers status.
Click the Refresh button to refresh the contents of the file you selected to display. You
can automatically refresh its content by setting Options > Automatic Refresh for the
time frame required.
Patches History
This option describes the patch history for the particular patch, which includes listing
AD Patches that are currently running, AD Worker Processes, Recent Worker logs, and
Patch Top files for the active patch.
Patch Action
The Patch Action sub-menu displays the list of actions that can be taken on patching,
which includes patch download, patch application, verifying application, restarting the
patch application, and resetting it.
Page 41
• Reset – Resets the patch application.
• Maintenance Mode – This has two options:
On Enable – This turns on / enables the maintenance mode
Off Disable – This turns off / disables the maintenance mode.
If you are upgrading to R12, then the following options also appears:
If you are upgrading Oracle Applications from 10.7/11.0 to 11i, the following options
will also appear along with the 11i options above.
Page 42
The menu options provide the following features:
• Start Alert
Starts patch monitoring and sends you an email or SMS message alert for every
frequency period set.
• Stop Alert
Stops patch monitoring and sending of the alert messages.
• Status of Alert
Shows the status of the alert. This also shows the user-defined values and the
default values for each attribute in the User Preferences screen.
The following table lists Patch Alert attributes. You can define or modify an attribute
value in the Update Profile screen. For more information on this screen, see Updating a
User Profile.
For example, if all attribute values were set to default, a typical flow would be:
1. Apply patch with monitoring set to YES for automatic e-mail notification
(“Patching Alert Email” > “Start Alert”.)
2. Monitoring runs every five minutes (for example), finds that adpatch has shut
down and e-mails a message similar to that shown in figure 29 with the details
of any adpatch and adworker jobs.
3. You find the problem, restart adpatch, and go back to the end of the e-mail and
click the restart link or use the Patch Monitor to restart the current “Patching
Alert Email”.
4. Repeat as needed.
The e-mail report will show the patch number and the failure type in the subject. A link
at the end of the report will allow you to restart monitoring.
Page 43
Figure 32 Email Report
HEADER
SUBJECT: Patch Monitoring Report for: 3649470, Type:
WORKER_OR_ADPATCH_STOPS
FROM: mwteam@drilnx7.us.oracle.com
DATE: 2:14 PM
TO: steve.andrew@oracle.com
ADPATCH
This section shows if the apatch process is up or not, i.e. the number of adpatch
processes running 1 or 0
ADWORKER
This section shows SQL output from FND_INSTALL_PROCESSES, which includes the
control-codes and status, along with the files currently being processed.
Worker Control_Code Status Command Phase FileName
Start_Time
------ ------------ --------------- -------------------- -----
------------------------------ ------------------
4 E-Error F-Failed UNDEF 0 UNDEF
1 W-Waiting F-Failed UNDEF 0 UNDEF
3 W-Waiting R-Running UNDEF 0 UNDEF
2 W-Waiting W-Waiting UNDEF 0 UNDEF
Page 44
WORKER LOG FILE
##
## Each of the adworkXX.log files tailed below with file size last update date.
##
################################################################################
## Tail File: /vis1155/applmgr/apps/admin/VIS1155/log/adwork01.log
## File Details: Jun 13 16:20: 6921831 bytes
################################################################################
Killed
NOTE: Any patching errors will be converted to links for direct searches to metalink.
Initial login will be required to establish an existing web session! This allows for one
click error searches on any errors in the log files.
SSA_TESTING: "https://metalink.oracle.com/metalink/plsql/f?
p=130:10:3574787221834337847::::ALLTEXT,KNOWLEDGE,ARCHIVE,BUG,FORUMS,ANYTEXT,EXCT
EXT,NONTEXT,DOCID,PRODUCT_ID,PLATFORM_ID,UPDATE,NUMHITS:,TRUE,FALSE,TRUE,TRUE,ORA
-00942: FND_INSTALLED_PROCESSES rest%20AND%203649470,,,,-1,-1,-1,100" REF:
ORA-00942: FND_INSTALLED_PROCESSES rest of line text
…
Warning: Package created with compilation errors.
Time when worker failed: Mon Apr 02 2007 18:26:11
################################################################################
################################################################################
## Tail File: /vis1155/applmgr/apps/admin/VIS1155/log/adwork02.log
## File Details: Apr 2 2007: 6193387 bytes
################################################################################
AD Worker is complete.
for errors.
################################################################################
END OF REPORT
######################################
QUICK SUMMARY:
MW Monitor# PATCH: 3649470 ADPATCH_STATUS: Not_Running WORKERS_FAILED: 2
WORKERS_RUN: 1
######################################
## RESUBMIT_STATUS=NO
Page 45
Current Patches log
This option displays the last n lines of the current adpatch log, where n is the option
selected under Options > View File Options. The log file is displayed in pages. There are
four buttons that take you the page you wanted to view. The four buttons are
Other than this, there are two buttons below the text area where the log is displayed.
Patch Readme
This option displays the README.txt file of the patch.
There are four KM-links, which will help you in getting additional information about
the patch
Metalink Articles
This opens the metalink site to list all the articles in the Metalink that are related to this
patch.
Download Site
This will open the Patch home page at updates.oracle.com from where you can
download the patch.
Page 46
Patch Logs
This menu gives the option to list all sorts of log files related to patching. All the log files
that are displayed will just display the last n lines, where n is the number of lines you set
in Options > View File Options. Figure 33 shows the options available under this Patch
Logs menu.
Worker Log
This option displays the worker log information. Clicking this sub-menu displays a table
with two columns, File and Info. The File column lists the name of all AD Worker logs.
The Info column describes the Last updated date and the sizes (in bytes) of all log files.
Click the rows of File column to display their contents. Figure 34 shows the Worker Log
table.
Page 47
Figure 34 Workers Log Table
Click the Refresh button to refresh the contents of the file you selected to display. You
can automatically refresh its content by setting Options > Automatic Refresh to the time
frame you need.
Last 10 CM Requests
This option displays a table similar to the Workers Log table, but will contain the
information related to the Concurrent Requests. The contents of the File column show
the log file names of recently applied 10 CM requests. You can click on the CM request
log file names to display its contents.
Page 48
Monitoring
This menu can be used to monitor both remote and local machines running processes,
CPU utilisation, disk space, list files in /tmp, and netstat. Figure 35 shows the different
menu options associated with the Monitoring Menu.
• Remote Running Processes – Displays the processes running for the current user
on the remote node
• Remote 5 second sar – Displays the CPU Utilisation details each second for five
seconds
• Remote Disk Space – Displays the remote node’s disk space details
• Remote Uptime Report – Displays days and time information on how long the
remote node is up
• Remote /tmp listing – Lists all the files and directories in the /tmp directory of
remote node.
• Remote netstat – Executes the netstat command on the remote node and
displays the result.
• Other OS Commands
• Local Running Processes – Displays the processes running for the current user
on the local Maintenance Wizard node
• Local 5 second sar – Displays the CPU Utilisation details each second for five
seconds
• Local Disk Space – Displays the local node’s disk space details
• Local /tmp listing – Lists all the files and directories in the /tmp directory.
• Local netstat – Executes the netstat command on the local node and displays the
result.
Page 49
SQL
This menu is the place to monitor the database and its related settings. Figure 36 shows
the various menu options available.
Page 50
AD Workers
This is the place to control and monitor the adworker processes during patching. Figure
37 shows the options available under this menu.
Figure 37 AD Workers Menu Options
AD Controller Menu
---------------------------------------------------
Page 51
4. Tell manager that a worker failed its job
7. Exit
• Show Status
This option runs the AD Controller script (adctrl) with option 1to show the
worker status and display its output. AD Controller with option 1 displays a
summary of current worker activity.
• Tell Worker to Restart (fix, restart)
This option runs the AD Controller with option 2, which tells the worker to
restart a failed job.
• Tell worker to shutdown/quit
This option runs the AD Controller with option 3, which tells the worker to
shutdown/quit.
• Tell manager Worker failed its job
This option runs the AD Controller with option 4, which tells the manager
that a worker failed its job.
• Tell Manager worker acknowledges quit
This option runs the AD Controller with option 5, which tells the manager
that a worker acknowledges quit.
• Tell Manager to start a shutdown worker
This option runs the AD Controller with option 6, which tells the manager to
restart a worker on the current machine.
• Tell adpatch to skip workers current job
This option tells the adpatch to skip the workers current job.
Services
You can use this menu to start, stop, or show the status of your application services and
database services, such as the forms server, apps listener, reports listener, concurrent
manager, apache web server, reports review agent, fulfilment server, OA CORE OC4J,
OAFM OC4J, and database listener. It also provides options to start and stop the
database. Figure 38 shows the various options associated with the Services menu.
Based on the project you create, this tool populates the respective node’s services option.
For example if your project is to upgrade 11i to R12 the following options will appear.
Page 52
• 11i Services
• R12 Services
• Database Services
• 11i Services
• Database Services
• 11i Services
• Database Services
Following are the Services available under each of the above category:
Forms Server
Apache Web Server
• 11i Services
Forms Server
Apps Listener
Reports Listener
Concurrent Manager
Apache Web Server
Start All Services / Stop All Services
• R12 Services
Forms Server
Report Review Agent
Reports Server
Concurrent Manager
Apache Web Server
Applications Listener
Fulfilment Server
OACORE OC4J
OAFM OC4J
• Database Services
DB Listener Status
DB Listener Start
DB Listener Stop
11i DB Start
11i DB Stop
Page 53
Actions performed on these services:
Based on the project you use, you can choose the action that needs to be
performed on each of the above services.
Options
This menu allows for changing default file tail size, font size, active tier, or node to run
command. Figure 39 shows the options avialable under this menu.
• Pick Node
Pick node options will let you to pick the appropriate node to run the rest of
the commands on. You should do this before before you start running any of
this tool’s commands. Based on the project, the following options appear
under this sub-menu.
Apps
Conc. Mgr
Forms
Web
Database
Active Patching Node
Page 54
To set the Active node, complete the following:
• Last 20 Lines
• Last 100 Lines
• Last 200 Lines
• Last 500 Lines
• Last 1000 Lines
• Last 5000 Lines
• Show Full File
• Automatic Refresh
This sub-menu can be used to set an automatic refresh of the log file you are
viewing, which is particularly useful when viewing the status of the patch
you are currently applying. You can select any of the following refresh rates:
• Start Refresh
Starts the log file view refresh for the period set using the Automatic Refresh
utility. You can use key 4 to start the refresh. Once you start the refresh, a
refresh counter will be displayed which shows the number of times the
refresh has been performed.
• Stop Refresh
Stops the log file view refresh. You can also use key 6 to stop the refresh.
• Single refresh
If you want to refresh the log file view only once, you can select this option.
You can also use Key 5 to select this option.
• Font Size
Font Size menu is used to set the font size of the log files that are viewed.
Page 55
Help
Most of the help options are links to key documents and web sites supporting MW, EBS,
or the researching of patch issues. Figure 40 shows the options available under this
menu.
Documentation links that are relevant to the upgrade being performed are displayed.
• EBS Docs
• EBS – Using Rapind Install
• EBS – Maintenance Procedures
• EBS – Maintenance Utilities
• EBS – Upgrade Guide
• EBS – eTRM
Page 56
Troubleshooting Maintenance Wizard
1. Check that the Apache server is up and running. Enter the following URL in
a Web browser:
http://yourhost.yourdomain:yourport
The Oracle Application Server page appears similar to Figure 41. If this page
does not appear, follow the next step to start the Apache server.
2. The Apache server must be running before you can log in to Maintenance
Wizard. To start the Apache server, enter the following URL in the Web
browser:
http://yourhost.yourdomain:yourport/EOF/
http://yourhost.yourdomain:yourport/pls/EOF/Eof_Http.html_frames?
p_frame_set_id=LOGIN
The Maintenance Wizard Login page appears. If the Login page does not
appear, then you do not have a successful installation. To troubleshoot this
issue, use the Maintenance Wizard collector script as described in the next
section.
Page 57
• Use the Collector Script to Gather Debug Information for Installation Issues
$ ./cant_login.sh
The script prompts you for the following information as illustrated in Figure
42:
Page 58
Figure 43 Collector Output
• Use the Collector Script to Gather Debug Information for Project Configuration
Issues
$ ./cant_config.sh
Page 59
Figure 44 Running the Collector Script
Page 60
Using the OS and SQL Utilities
You can use the OS and SQL utilities integrated in Maintenance Wizard to perform
various remote commands in a simple and convenient way. This saves time and
effort because you do not have to open a separate tool, log in, source the correct
environment files, and enter the relevant command to view a specific file or to check
the results of a query.
To run the OS Commands utility or SQL Query utility, complete the following:
Depending on the utility that you want to use, select one of the following:
• Run OS C ommands
• Run SQL
• Run OS Commands
2. In the Command field, enter the OS command that you want to run.
Page 61
3. From the Host list, select the node on which you want to run the OS
command and click Submit.
The OS Command page appears similar to Figure 47.
Page 62
2. In the Run SQL text field, enter the SQL query that you want to perform. For
information about SQL Queries, see the example following this section.
3. From the Flip columns list, select the format in which to view the results,
then click Submit.
For a detailed description of these utilities, see Appendix C: Examples for Using the
OS Command and SQL Query Utility.
Applications patching provides an example of when and how to use the OS and SQL
utilities.
These utilities can be helpful during the execution of a long patch or in trying to
diagnose a patch that has failed or is stuck.
from fnd_install_processes@REMOTE
from ad_applied_patches@REMOTE
order by 1
ls –lrt $APPL_TOP/admin/$TWO_TASK/log/
$ORACLE_HOME/bin/tnsping $TWO_TASK
tnsping $TWO_TASK
ls –l$APPL_TOP/admin
Page 63
About Reporting
Use the Configuration page to create system and project administration reports.
3. From the Select Report list, select the report that you want to view:
Note: The reports available to you depend on your role.
• Customer Projects: Displays the status of each project for each customer.
• Audit Trail: Displays the main events that occurred for the sleeted
project.
Page 64
• Monitor Logins: Displays the number of logins to the selected project for
the duration of 1 day, 2 days, a week, or the lifetime of the project. Select
the duration from the No of Days list.
• Monitor Upgrades: Displays the progress of the upgrade for the selected
project
Upgrade Engineers can view a List of Assigned Steps report, which displays all of the
steps that are currently assigned to the engineer. Steps that appear in red indicate
that the step was not marked as Success or Redo and must be addressed.
Page 65
Running Live Patch and Live Update
You can use Live Patch and Live Update to maintain the latest version of
Maintenance Wizard as follows:
The Maintenance Wizard Live Patch enables you to upgrade the current version of
Maintenance Wizard without overwriting any configuration information previously
gathered.
If the version numbers are the same or the current is higher, then no automated LP is
available.
Page 66
3. If a later version of LivePatch for Maintenance Wizard is required, click Run
Automatic LivePatch now.
Note: If the Latest Live Patch Version has a value of UNKNOWN, it is possible that
you may not have provided valid information during installation and you made need
to manually fix the .nertc file. Alternatively, you may be experiencing Internet
access issues.
For more information about LivePatch, see How to Perform a Live Patch in Metalink
note 291887.1
Note: You must run Live Update after a LivePatch to view the effects. For
information about LiveUpdate, see Update Existing Projects Using Live Update.
Only System Administrators can update existing projects with Live Update.
Page 67
Figure 52 Liveupdate Page
3. From the Project to Liveupdate list, select the project that you wish to update
and then select the source project from which you wish to update. Select the
Master project, unless you have a customized project that you want to
replicate. Then click Liveupdate. Alternatively, click LiveUpdate All to
update all projects.
If a Live Update or Live Patch fails, you must restore your project from the back up
that you created. Contact Oracle Support for assistance when performing the restore.
Page 68
Administering Maintenance Wizard
Note: When you update an administration option, it affects all users and projects.
• Filtering steps
From the Step Filter list, select Use Filter to omit steps that are not applicable
to your upgrade project. If you do not use the Step Filter feature, then you
will see many steps in your projects that do not apply to your project.
Usually, this is only used for debugging purposes. Click Save to save your
options.
From the Icon for “Automatically Completed” Steps list, select Show symbols
to enable Maintenance Wizard to display the Red Circle with Slash icon
described in About the Maintenance Wizard Interface. If you do not select
this option, there will be no icons under the Setup, Execute, and Validate
columns on the Process tab for Automatically Completed steps. Click Save to
save your options.
• Setting Debug
From the System level DEBUG option list, select Show debugging to display
debug information for all projects. Otherwise, select Hide debugging to hide
the debug information. Click Save to save your options.
Note: You can override this setting at the Project level. For more information,
see Debug Task on page 82.
From the Mask passwords in output list, select Mask passwords to hide or
obfuscate passwords in the Maintenance Wizard output. Otherwise, select
Show passwords to display passwords in the Maintenance Wizard output.
Click Save to save your options.
Note: When Maintenance Wizard hides your password, it hides all
occurrences of that word. If your password is a common word, then
Maintenance Wizard hides all occurrences of that word in the Maintenance
Wizard output.
From the Delete Customer table, beside the customer that you want to
delete, click Delete. Click OK to confirm your action.
From the Delete Project table, beside the project that you want to delete,
click Delete. Click OK to confirm your action.
Page 69
Appendix A: Maintenance Wizard Common Tools
The traditional approach for upgrading on UNIX is to perform all upgrade steps
manually using information from the Upgrading Oracle Applications Manual, Release
Notes and the Upgrade Assist Worksheet. The person performing the upgrade must do
the following:
• Manually gather and submit all applicable log files with SRs (if necessary)
Maintenance Wizard guides you through the Oracle Application Upgrade process.
The tool presents the upgrade as a step-by-step process by consolidating all upgrade
references together. It enables the validation of each step, tracks the completion of the
step, and maintains a log and status. It is a multi-user tool that enables the System
Administrator to give different users upgrade assignments based on any combination
of category, product family, or task level. It also provides upgrade project
management utilities to record the time taken for each task, completion status, and
project reporting.
The tool does not replace any code in the current or future Oracle e-Business
Applications code.
The upgrade may require more database server resources than normal runtime
usage. You can improve performance by installing the administration server on a
different machine than the database server, thereby allowing more CPUs to
participate in the upgrade.
System Preparation
Page 70
Merge and Apply Patches
This version of Maintenance Wizard includes a patch application tool that can
download and apply patches on both the source and target project. If a step requires
you to apply a patch, the tool is used in the Setup-Execute-Validate framework to
perform the following:
• Setup
The patch tool checks to see if the patch has already been applied. If the
patch is already applied, then no further action is necessary. You can mark
the Setup, Execute and Validate portions of this step as successfully
completed. If the patch has not yet been applied, then this step downloads
the patch and copies it to all relevant nodes for installation. It then unzips the
patch and displays the readme.txt file. Read readme.txt carefully to
determine if there are any manual actions that you need to perform.
Maintenance Wizard checks these manual actions by running admsi.pl and
then displays the results in a newly-generated readme file based on the
existing system.
Note: Patches are loaded in order, so all prerequisites for a patch are applied
in previous steps. Errors encountered during the Setup phase are usually due
to one of the following:
• Execute
The patch tool applies the patch to all appropriate nodes. Review the log file
for this step carefully to ensure that the patch applied without errors. If there
are errors in the log file and the cause of the errors can be corrected, restart
the patch application as follows:
Page 71
Figure 53 Utilities Page
Note: You can also choose to have the DBA manually reapply the patch
using the adpatch utility. When this is complete, mark the Execute step as
manually completed, and proceed to the Validate step.
• Validate
The patch tool verifies that the patch was successfully applied. If the log file
shows the patch was not successfully applied, then have the DBA manually
reapply this patch using the adpatch utility. When this is complete, repeat
this Validate step. Do not proceed to the next step until the script shows that
the patch has been successfully applied.
Merge Patches
The tools also include a patch merge utility. Merging makes it easier to apply the
large number of patches required by Maintenance Wizard, because it considers
prerequisites already and applies the patches in the correct order. It also saves a lot of
time by eliminating duplicate jobs that would normally run once per individual
patch, but now run only once per merged patch. Often, multiple patches required for
the upgrade are dynamically grouped into merged patches, then each merged patch
is applied. This capability reduces the time required to apply the patches.
Page 72
About the Utilities Category
The Utilities Category contains a collection of steps that you can use to perform
activities such as applying a patch, recompiling invalid objects, and starting or
stopping a service. You are not required to use this category to perform the upgrade.
However, these steps are provided to assist you in special cases where you need to
perform a general command that is not specifically listed in the Upgrade manual. The
Utilities Category steps are divided into four types:
• Patching
• Administer Services
• View Information
• MW Tool
o Verifies that the patch has been downloaded to the EOF node and
has been copied to the specified target node(s),
o Downloads the patch to the EOF node and copies it to the specified
target node(s). If successful, it displays the readme.txt file. Then
Maintenance Wizard runs the Manual Step Infrastructure script
(admsi.pl) to generate the final readme after checking for any
completed manual steps. Prompt/Parameters are:
Page 73
• STEP 2 - Apply a patch
This step applies a patch that has already been downloaded. It includes a
Parameter to restart a failed patch. Prompt/Parameters are as follows:
2. Patch Number
1. Setup
The setup step downloads the given list of patches and merges them into
one big patch. It then copies the newly created merged patch to all
appropriate nodes and unzips it. This utility takes the following
parameters:
Page 74
Patch Version; either 11i or 12
A flag that indicates if you want to force the download, even if the
patch is already applied
Prompt/Parameters are:
2. Execute
This script applies a merged patch that was previously downloaded and
unzipped on the remote tiers via the setup step.
Prompt/Parameters are:
This step alters the maintenance mode setting. You must provide the
required parameters to indicate the version of the Applications and to enable
or disable the maintenance mode setting. Prompt/Parameters are:
1. For which release do you wish to change Maintenance Mode? (11i, 12)
1. For what release do you wish to control the adworker? (11i, 12)
2. Which action do you wish to perform? (Show worker status, Tell worker
to restart a failed job, Tell worker to quit, Tell manager that a worker
failed its job, Tell manager that a worker acknowledges quit, Restart a
Page 75
worker on the current machine, Tell worker to skip the current job (only
with Support approval)
The group of steps under the task Administer services for the database enables you
to perform basic service functions.
This step either stops or starts the database automatically. You must provide
two parameters. The first tells it whether to start or stop the service. If you
choose to stop the database, then you must also specify whether to shutdown
in normal, immediate or abort mode. If you do not specify a shutdown
mode, it uses normal mode. Prompt/Parameters are:
This step stops or starts the database listener automatically. You must
provide one parameter to start, stop, or show the status of the service.
Prompt/Parameters are:
Page 76
About Administer Services
The group of steps under the task Administer services enables you to perform basic
service functions.
This step administers the Release 10.7 concurrent manager. You can specify
whether to start, stop or show the status of the service. If you choose stop,
you must specify a valid Applications username with permission to shut
down the concurrent manager. Prompt/Parameters are:
2. If you choose “Stop” enter a username that has the System Administrator
responsibility
This step administers the forms listener automatically. You must provide one
parameter, which starts, stops or shows the status of the service.
Prompt/Parameters are:
1. What action do you want to do to the forms listener? (Show Status, Start,
Stop)
This step will administer the Release 10.7 OWS listener. Specify whether to
start, stop or show the status of the service. Prompt/Parameters are:
1. What action do you want to do to the OWS listener? (Show Status, Start,
Stop)
This step will administer the Release 11 OWS listener. Specify whether to
start, stop or show the status of the service. Prompt/Parameters are:
1. What action do you want to do to the OWS listener? (Show Status, Start,
Stop)
This step administers the forms listener automatically. You must provide one
Page 77
parameter, which starts, stops or shows the status of the service.
Prompt/Parameters are:
1. What action do you want to do to the forms listener? (Show Status, Start,
Stop)
This step administers the Release 11 concurrent manager. You can specify
whether to start, stop or show the status of the service. If you choose stop,
you must specify a valid Applications username with permission to shut
down the concurrent manager. Prompt/Parameters are:
2. If you choose “Stop” enter a username that has the System Administrator
responsibility
This step either stops or starts the Apache service automatically. You must
provide one parameter that starts, stops, bounces (stops and restarts), or gets
the status of the service. If you choose either the start or bounce option, it
also clears the cache before starting Apache. Prompt/Parameters are as
follows:
This step administers the forms listener automatically. You must provide one
parameter, which starts, stops or shows the status of the service.
Prompt/Parameters are:
1. What action do you want to do to the forms listener? (Show Status, Start,
Stop)
This step administers the reports listener automatically. You must provide
one parameter, which starts, stops or shows the status of the services.
Prompt/Parameters are:
Page 78
• STEP 4 - Administer the concurrent manager for Rel 11i
This step stops or starts all of the Release 11i services automatically. You
must provide one start or stop parameter. Prompt/Parameters are as follows:
This step either stops or starts the Apache service automatically. You must
provide a parameter to start, stop, bounce, or get the status of the Apache
service. Prompt/Parameters are as follows:
This step administers the forms listener automatically. You must provide
one parameter that starts, stops, or gets the status of the service.
Prompt/Parameters are as follows:
1. What action do you want to do to the forms listener? (Show status, Start,
Stop)
This step administers the OACORE OC4J automatically. You must provide
one parameter that starts, stops, or gets the status of the service.
Prompt/Parameters are as follows:
Page 79
• STEP 4 – Administer the OAFM OC4J for Rel 12
This step administers the OAFM OC4J automatically. You must provide one
parameter that starts, stops, or gets the status of the service.
Prompt/Parameters are as follows:
1. What action do you want to do to the OAFM OC4J? (Show status, Start,
Stop)
This step administers the Fulfillment server automatically. You must provide
one parameter that starts or stops the service. Prompt/Parameters are as
follows:
This group of steps enables you to view concurrent request and logs files.
Concurrent Request
These steps enable you to view the concurrent request output and logs:
This utility shows you the concurrent request output file for a concurrent job.
Page 80
You must enter the concurrent request ID as a parameter, as well as the
version of the Applications to which the job was submitted
1. What release is the concurrent request for? (10.7, 11, 11i, 12)
This utility shows you the concurrent request log file for a concurrent job.
You must enter the concurrent request ID as a parameter, as well as the
version of the Applications to which the job was submitted.
1. What release is the concurrent request for? (10.7, 11, 11i, 12).
Log Files
These steps enable you to view the patch and worker logs:
This utility displays a patch application log file. It requires two parameters:
the patch number and the node location of the log file. This utility does not
work for 10.7 Smart Client patches. Prompt/Parameters are as follows:
3. Node to view the log for? (Applications node, Forms node, Concurrent
Manager node, Apache node)
This utility displays a worker log file. It requires four parameters: the worker
number, the node on which you were running the AD utility, the amount of
the file you wish to have displayed, and whether the worker is a pre-upgrade
or post-upgrade worker. Prompt/Parameters are as follows:
Page 81
2. Enter the worker number
4. How much of the file do you wish to see? (50 lines, 100 lines, 500 lines,
1000 lines, Entire file – not recommended)
Database Queries
This step displays the value of any database parameter in the v$parameter
table.
1. Choose which database parameter to view the value for (Select from
LOV prompt)
About MW Tool
Debug Task
This step assists with debugging:
This step toggles the debug flag for the current project only. This setting
overrides the system level debug setting. When set to Yes, additional
diagnostic messages are recorded in the log during execution.
Prompt/Parameters are as follows:
MW Setup Task
This step assists with setting up Maintenance Wizard:
This step changes the password for the database user EOFUSER and for all
the associated configuration files that require updating. It restarts Oracle
Process Management and Notification (OPMN) for the new data to take
effect. Prompt/Parameters are as follows:
Note: Maintenance Wizard does not display the password when you enter it
on the page.
Page 82
• STEP 2: Change number of workers for AD Utilities
Note: This value is set at the project level, so if you wish to change the
default number of workers for a different project, please run this Utility from
that project's responsibility.
Page 83
Appendix B: Product Specific Information for Maintenance Wizard
When you create your upgrade project, you specify that your source version is 10.7.
At this point, the tool does not ask whether you are NCA, SC or character. You are
not prompted for this information until you have completed project definition and
are actually in the Configuration category of the tool. When you begin node
definition, you are prompted for the following values, which are only applicable to
NCA customers:
If you are an NCA customer, fill in the appropriate values., otherwise, enter any non-
null value (such as X) into these fields, as they will not be used once you specify your
10.7 type.
PRODUCT_ID #Product ID
INSTANCE_ID #Project ID
TNS_ADMIN
HOME #$EOF_HOME/config
Page 84
LD_LIBRARY_PATH #The LD_LIBRARY_PATH on the remote node
APPLSYSUSER
APPLSYSPASSWORD
APPSUSER
APPSPASSWORD
SYSTEMUSER
SYSTEMPASSWORD
REMOTE115_APP_HOME #APPL_TOP
REMOTE115_APP_NODE #Machine
REMOTE115_APP_USER #User
REMOTE115_APP_PLATFORM #Platform
REMOTE115_CM_HOME #APPL_TOP
REMOTE115_CM_NODE #Machine
REMOTE115_CM_USER #User
REMOTE115_CM_PLATFORM #Platform
Page 85
REMOTE115_CM_ENV_FILE #Applications environment filename
REMOTE115_FRM_HOME #APPL_TOP
REMOTE115_FRM_NODE #Machine
REMOTE115_FRM_USER #User
REMOTE115_FRM_PLATFORM #Platform
REMOTE115_WEB_HOME #APPL_TOP
REMOTE115_WEB_NODE #Machine
REMOTE115_WEB_USER #User
REMOTE115_WEB_PASSWORD #Password
Page 86
REMOTE115_WEB_PLATFORM #Platform
REMOTE115_DB_USER #User
REMOTE115_DB_NODE #Machine
REMOTE115_DB_PLATFORM #Platform
Page 87
REMOTEPOST_DB_USER #User
REMOTEPOST_DB_NODE #Machine
REMOTEPOST_DB_PLATFORM #Platform
REMOTEPRE_DB_USER #User
REMOTEPRE_DB_NODE #Machine
REMOTEPRE_DB_PLATFORM #Platform
Page 88
REMOTEPRE_DB_CPEXE #rcp or scp
REMOTE12_APP_HOME #APPL_TOP
REMOTE12_APP_NODE #Machine
REMOTE12_APP_PLATFORM #Platform
REMOTE12_APP_USER #User
REMOTE12_CM_HOME #CM_HOME
REMOTE12_CM_NODE #Machine
REMOTE12_CM_PLATFORM #Platform
REMOTE12_CM_USER #User
Page 89
REMOTE12_CM_ENV_FILE #Applications environment file
REMOTE12_FRM_HOME #APPL_TOP
REMOTE12_FRM_NODE #Machine
REMOTE12_FRM_PLATFORM #Platform
REMOTE12_FRM_USER #User
REMOTE12_WEB_HOME #APPL_TOP
REMOTE12_WEB_NODE #Machine
REMOTE12_WEB_PLATFORM #Platform
Page 90
REMOTE12_WEB_USER #User
REMOTE_APP_HOME #APPL_TOP
REMOTE_APP_NODE #Machine
REMOTE_APP_USER #User
REMOTE_APP_PLATFORM #Platform
REMOTE_FRM_HOME #APPL_TOP
REMOTE_FRM_NODE #Machine
REMOTE_FRM_USER #User
REMOTE_FRM_PLATFORM #Platform
Page 91
REMOTE_FRM_ORAWEB_HOME #OWS $ORAWEB_HOME path
REMOTE_CM_HOME #APPL_TOP
REMOTE_CM_NODE #Machine
REMOTE_CM_USER #User
REMOTE_CM_PLATFORM #Platform
REMOTE_APP_HOME #APPL_TOP
REMOTE_APP_NODE #Machine
REMOTE_APP_USER #User
REMOTE_APP_PLATFORM #Platform
Page 92
REMOTE_WEB_ORAWEB_HOME #OWS $ORAWEB_HOME path
REMOTE_APP_HOME #APPL_TOP
REMOTE_APP_NODE #Machine
REMOTE_APP_USER #User
REMOTE_APP_PLATFORM #Platform
REMOTE_CM_HOME #APPL_TOP
REMOTE_CM_NODE #Machine
REMOTE_CM_USER #User
REMOTE_CM_PLATFORM #Platform
Page 93
Appendix C: Examples for Using the OS Command and SQL Query Utility
Applications patching provides an example of when and how to use the OS and SQL
utilities. This appendix provides these examples as a guide to patching. For a detailed
tutorial on patching see Oracle® Applications Maintenance Utilities Release 12(Part No.
B31568-01) and Oracle® Applications Patching Procedures Release 12 (Part No.
B31567-01) from the Oracle Applications Documentation Web site.
A manager assigns each worker a unique ID and inserts a row for each worker in the
FND_INSTALL_PROCESSES table. The manager creates this table to serve as a
staging area for job information, and as a way to communicate with the worker.
Communication is accomplished using two columns: CONTROL_CODE and
STATUS.
The manager updates the table with a subset of the list of jobs, one job per worker.
For example, if there are five workers, then the table holds five jobs (even though
there may be 100 or more jobs involved in the complete action). The manager starts
the workers and uses the CONTROL_CODE and STATUS columns to assign tasks. It
polls these two columns continuously, looking for updates from the workers. As a
worker finishes their assignment, the manager updates each row with the next task in
the list, and leaves another message for the worker.
The above information can be helpful during the execution of a long patch or in
trying to diagnose a patch that has failed or is stuck.
The following are a number of useful SQL examples for the above example:
from fnd_install_processes@REMOTE
from ad_applied_patches@REMOTE
order by 1
The deferred job feature uses the AD_DEFERRED_JOBS table. This table is created
when the FND_INSTALL_PROCESSES table is created, and is dropped when the
FND_INSTALL_PROCESSES table is dropped.
Page 94
Worker Log Files
In addition to the information recorded in the utility name.log file, utilities that
process jobs in parallel write details about errors to worker log files. The
adworknumber.log files (adwork001.log, adwork002.log, and so on) reside in the
$APPL_ TOP/admin/SID/log directory, where SID is the value of the ORACLE_SID
or TWO_TASK variable (UNIX).
ls –lrt $APPL_TOP/admin/$TWO_TASK/log/
$ORACLE_HOME/bin/tnsping $TWO_TASK
By default, adpatch names the log files adpatch.log but the Maintenance Wizard
standard is to have one log file for each patch and indicate that it was a patch
executed by Maintenance Wizard.
$APPL_TOP/admin/$TWO_TASK/{BugNumber_adpatch.log}
or
$APPL_TOP/admin/R12_DIAG/log/5362928_patchit12.log
Maintenance Wizard runs the patches in “non-interactive” mode. For this to work,
the defaults file must be setup in the $APPL_TOP/admin/$TWO_TASK/ directory.
For more information, see Oracle® Applications Patching Procedures Release 12 (Part No.
B31567-01) from the Oracle Applications Documentation Web site.
tnsping $TWO_TASK
ls –l$APPL_TOP/admin
Page 95