You are on page 1of 4

AD UTILITIES

AD also called as Application DBA.

AD_TOP is product in Aplication, which is under directory APPL_TOP/ad/11.5.0.

This top contains Utilities & program code, which is very frequently used by DBA's. So
where are these utilities or program are in file system AD_TOP/bin.

Some of the AD Utilties are:

AD Utility
AD Utilities are a group of tools designed to install, upgrade, maintain, and patch
applications.

ADPATCH
is a utility that is used to apply individual patches, mini-packs, or maintenance packs to
an Oracle Applications instance.

ADADMIN
AD Administration (adadmin) is used performs maintenance/administration tasks on an
Oracle Appls Instance. Task associated with adadmin are divided into two broad
categories database and file system task.

You can run adadmin by typing adadmin at the command pront after seeting the
environment.
$adadmin
At the time of execution adadmin prompts you to verify and enter several information
pertaining to your applications installation like APPL_TOP location, ORACLE_HOME,
adadmin log file name, batch size etc.

Adadmin can also be run in a non-interactive mode. This is accomplished by creating a


defaults file. The defaults file must be place at the location $APPL_TOP/admin/[sid]/

You can create the defaults file with the following syntax
$adadmin deafultsfile=$APPL_TOP/admin/[sid]/samtask.txt
Next time you can run adadmin for the same task by specifying the interactive=no option.
adadmin \
defaultsfile=APPL_TOP/admin/vis/samtask.txt \
logfile=adadmin_091306.log workers=9 \
interactive=no

If your previous session of adadmin had encountred with problems adadmin promts you
to either continue with your old session or start with a frest session as show below
Your previous AD Administration session did not run to completion.
Do you wish to continue with your previous AD Administration session [Yes]?

The main menu of adadmin presents you with the following six choices
AD Administration Main Menu
--------------------------------------------------
1. Generate Applications Files menu
2. Maintain Applications Files menu
3. Compile/Reload Applications Database Entities menu
4. Maintain Applications Database Entities menu
5. Change Maintenance Mode
6. Exit AD Administration
First two options are related to maintaining applications file system the second two
options relate to database activities, the fifth option here is used to put the system in
maintenance mode and bring it back from maintenance mode.

Under the Generate Applications Files Menu you can perform the following tasks
Generate Applications Files
----------------------------------------
1. Generate message files
2. Generate form files
3. Generate report files
4. Generate graphics files
5. Generate product JAR files
6. Return to Main Menu

Under the Maintain Applications Files menu you can perform the following tasks
Maintain Applications Files
----------------------------------------
1. Relink Applications programs
2. Create Applications environment file
3. Copy files to destinations
4. Convert character set
5. Maintain snapshot information
6. Check for missing files
7. Return to Main Menu

Under the Compile/Reload Applications Database Entities menu you can perform the
following tasks
Compile/Reload Applications Database Entities
---------------------------------------------------
1. Compile APPS schema
2. Compile menu information
3. Compile flexfields
4. Reload JAR files to database
5. Return to Main Menu

Under the Maintain Applications Database Entities menu you can perform the
following tasks
Maintain Applications Database Entities
---------------------------------------------------
1. Validate APPS schema
2. Re-create grants and synonyms for APPS schema
3. Maintain multi-lingual tables
4. Check DUAL table
5. Maintain Multiple Reporting Currencies schema
6. Return to Main Menu

Under the Change Maintenance Mode you can do the following

Change Maintenance Mode


----------------------------------------
Maintenance Mode is currently: [Disabled].

Maintenance mode should normally be enabled when patching


Oracle Applications and disabled when users are logged on
to the system. See the Oracle Applications Maintenance
Utilities manual for more information about maintenance mode.

Please select an option:


1. Enable Maintenance Mode
2. Disable Maintenance Mode
3. Return to Main Menu
If you noitice the message this menu selection also shows the maintenance status
(disabled in our case) of the system.
You can also forcefully exit adadmin at any point of time by typing 'abort'. This will
however result in a unclean exit of adadmin and the next time when you run adadmin you
will be prompted with the option to start fresh or continue with the previous session as
described earlier.

Location of log files –$APPL_TOP/admin/<SID>/log.

ADCTRL
Utility to determine status of worker (started by adpatch, adadmin) and to control
(restart/drop/skip) workers.

Reviewing Worker Status


When you select option 1 to show worker status, AD Controller displays a summary of
current worker activity. Here is an example:
Control
Worker Code Context Filename Status
------- -------- --------------------------- ----------- --------
1 Run Installing at R115 afasdfa.dat Running
2 Run Installing at R115 aftxt.drv Failed
3 Run Installing at R115 afatsaf2.sql Running
4 Run Installing at R115 Wait
5 Run Installing at R115 Wait

ADRELINK
Used to relink apps executables with product libraries, if some library defination is
changed or executable is corrupted.

ADMRGPCH
To merge different patches & create single patch. This is helpful when you have too many
patch, you can merge them & apply in one shot.

ADCLONE
Utility to clone Insatnce from Test to Prod, Vice Versa

ADCONFIG
To configure different components in Aplications like changing port number or
domainname or incresing number of JVM's

ADIDENT
utility to find version of a file in oracle applications (Identification)

ADLICMGR
To license a product in applications, you might have license to use only 10 products
initially then later decided to use 5 more so license them first by this utility

ADSPLICE
You add a product in application, by default you might have 90-105 ( may be more )
products like AP, GL, AR and now oracle released one more product so add this product
using this utility .

You might also like