Beruflich Dokumente
Kultur Dokumente
Rele a se 1 2.1
P ar t Nu m be r E 1 3 6 7 6-0 3 Co n te n Previo u Next
Maintenance
Thi s c h a p te r di sc u s se s t he AD u tilities de signe d to h elp yo u pe rfor m t he ro u ti ne
m ai n te n a n ce t a s k s t h a t will h elp e n s u re t h a t yo u r Or acle E-B u si ne s s S uite sys te m
Thi s c h a p te r cover s t he following to pic s:
• Abo u t Syste m Mai n te n a n ce
• AD Admi ni st r a tio n Overview
• R u n ni ng AD Admi nist r a tio n Inte r ac tively
• Ge ner a ti ng Applicatio n s Files
• Mai n t ai ni ng Applicatio n s Files
• Ma n agi ng D a t a b a se E n tities
• U si ng Mai n te n a n ce Mode
• U si ng AD Relin k
• Relin ki ng AD Exec u t a ble s
AD Administration Overview
AD Admi nis tr a tio n m a n age s m o s t of t he m ai n te n a n ce t a s k s req uire d for yo u r Or acle
E-B u si ne s s S uite sys te m. C u r re n tly, t he se m ai n te n a n ce t a s k s a re gro u pe d by type s
Whe n yo u s t a r t AD Admi ni str a tio n fro m t he co m m a n d line, it p ro m p t s yo u for t he
b a sic sy s te m -s pecific infor m a tio n it n ee d s. For exa m ple, yo u n ee d to s u p ply a n a m e
for t he log file w here p roce s si ng ac tio n s a n d error m e s s age s will be recorde d.
Note: For m o re infor m a tio n, see Pro m p t s in C h a p te r 1.
O nce yo u re s po n d to t he se p ro m p t s, AD Admi ni str a tio n di s pl ays t he m ai n m e n u ,
w hic h se rve s a s t he gatew ay to vario u s s u b m e n u s w he re yo u select t he in divid u al
m ai n te n a n ce t a s k s. For exa m ple, o n t he Ge ne r a te Applic atio n s File s m e n u , yo u c a n
r u n t a s k s t h a t ge ner a te m e s s age files, for m s files, re port files, m e s s age files, or
p ro d u c t JAR files. The se s u b m e n u t a s k s m ay al so req uire yo u to re s po n d to p ro m p t s
to collect t a s k-s pecific infor m a tio n. For exa m ple, so m e t a s k s req uire yo u to e n ter t he
n u m b e r of worke r s yo u wa n t to e m ploy to p roce s s t he job s a s sociate d wit h t he t a s k.
Note: For m o re infor m a tio n, see Proce s si ng Ta s k s in P ar allel in C h a p te r 1.
Whe n yo u re s po n d to AD Admi ni st r a tio n p ro m p t s, yo u a re r u n ni ng t he u tility
inte r ac tively. Howeve r, like AutoP a tc h a n d AD Co n t rolle r, yo u c a n al so r u n AD
Admi ni str a tio n n o n -inter ac tively, s pecifying a p revio u sly cre a te d defa ult s file t h a t
co n t ai n s t he infor m a tio n n ece s s a ry to r u n a s pecific m ai n te n a n ce t a s k wit ho u t u s e r
inte rve n tio n.
Note: For m o re infor m a tio n, see Inter ac tive a n d Non-Inte r ac tive Proce s si ng in C h a p te r
1.
Prompts
In a d ditio n to t he b a sic p ro m p t s de sc ribe d in C h a p te r 1, AD Admi ni str a tio n m ay
req uire a d ditio n al infor m a tio n t h a t is s pecific to o ne of t he s u b m e n u t a s k s. If so, it
di s plays a d ditio n al p ro m p t s. For exa m ple, w he n r u n ni ng t he Ge ner a te Prod u c t JAR
files t a s k fro m t he Ge ne r a te Applic atio n s File s m e n u , AD Admi ni st r a tio n p ro m p t s yo u
a s follows:
Do you wish to force generation of all jar files? [No]:
Available Options
De pe n di ng o n yo u r sy s te m co nfigu r a tio n, t he s u b m e n u s for AD Admi ni st r a tio n m ay
s how slightly differe n t optio n n a m e s a n d n u m be r s fro m t he o ne s di s pl ayed h e re.
Yo u c a n r u n a n y of t he se t a s k s by c hoo si ng it fro m t hi s m e n u .
Relink Applications Programs
Relin k s Or acle E-B u si ne s s S uite exec u t a ble p rogr a m s wit h t he Or acle se rver libr a rie s
so t h a t t hey fu nctio n wit h t he Or acle d a t a b a se. For e ac h p ro d u c t, yo u c a n c hoo se
w het he r to lin k all exec u t a ble s or s pecific o ne s o nly.
The defa ult is to relin k wit ho u t de b ug infor m a tio n. Yo u s ho uld u s e t he de b ug optio n
o nly w he n req u e s te d to do so by Or acle S u p po rt Service s.
Important: AD Admi ni st r a tio n c a n n o t be u s e d to lin k exec u t a ble s for t he AD p ro d u c t s
t he m selves. Yo u m u s t u s e AD Relin k for t hi s. See Relin ki ng AD Exec u t a ble s in Oracle
E-Business Suite Maintenance Procedures.
Yo u r u n t he t a s k s o n t hi s m e n u a n y ti me yo u n ee d to co m pile or relo a d d a t a b a se
object s; for exa m ple, after yo u u plo a d n ew m e n u e n trie s, or a p ply a p a tc h t h a t
c h a n ge s t he se t u p of flexfields. R u n t he se t a s k s o nly o n t he n o de w he re t he core AD
tec h nology directorie s a re loc ate d.
Compile Flexfields
Co m piles flexfield d a t a s t r u c t u re s in Or acle Applicatio n O bject Libr a ry (FND) t a ble s.
C hoo se t hi s t a s k after yo u a p ply a p a tc h t h a t c h a n ge s t he s e t u p of flexfield s. P atc he s
u s u ally in dic a te w he n yo u s ho uld pe rfor m t hi s s te p
Flexfield s a u to m a tic ally co m pile d a t a w he n yo u u s e t he m for t he first ti me, so r u n ni ng
t hi s t a s k is ge ner ally n o t req uire d. Howeve r, co m piling flexfield s a t a s pecific ti me c a n
alleviate po te n ti al r u n ti me pe rfor m a n ce is s u e s. For exa m ple, yo u m ay c hoo se to
co m pile t he m w he n sy s te m u s age is k now n to be low, r a t h e r t h a n a u to m a tic ally o n
first u s e.
Using AD Relink
Yo u u s e AD Relin k to relin k AD exec u t a ble s wit h t he Or acle se rver p ro d u c t libr a rie s
w he n req uire d, to e n s u re t hey will kee p fu nc tio ni ng p ro perly wit h t he Or acle d a t a b a se.
Yo u c a n relin k m ultiple AD exec u t a ble s si m ult a n eo u sly.
Important: AD exec u t a ble s cannot be relin ke d u si ng t he Relin k Applicatio n s
Exec u t a ble s t a s k o n t he AD Admi ni st r a tio n Mai n t ai n Applicatio n s Files s u b m e n u .
Log Files
As yo u r u n AD Relin k, it cre ate s a log file (adrelin k.log) w he re it record s error s a n d
m e s s age s. AD Relin k a p pe n d s infor m a tio n a bo u t t he late s t relin k ac tio n to t he e n d of
t he file. Thi s file is loc ate d in APPL_TOP / a d mi n / log. If a n error occ u r s w hile yo u a re
u si ng AD Relin k, or if yo u a re n o t s u re t h a t t he relin ki ng wa s s u cce s sf ul, review t hi s
file to s ee w h a t is s u e s s ho uld be fixed. It is al so a dvis a ble to review t he file eve n if n o
is s u e s a re s u s pec te d, to co nfir m t he oper a tio n wa s s u cce s sf ul.
Relin ki ng error s e nco u n te re d d u ri ng a n AD Admi ni str a tio n or a n AutoP a tc h se s sio n
a re recor de d in t he m ai n log files for t ho se u tilitie s. See Log Files in C h a p te r 1 .
Tip: To recover di s k s p ace, or si m ply a s good ho u s e kee pi ng p r ac tice, yo u c a n delete
t he a d relin k.log file if yo u do n o t n ee d t he infor m a tio n. A n ew log file is cre a te d e ac h
ti me AD Relin k r u n s.
Relinking AD Executables
Yo u u s e AD Relin k to relin k AD exec u t a ble s wit h t he Or acle se rver p ro d u c t libr a rie s to
kee p t he m fu nc tio ni ng p ro pe rly wit h t he Or acle d a t a b a se. While yo u lin k p ro d u c t
exec u t a ble s u si ng t he Relin k Applicatio n s Exec u t a ble s t a s k o n t he AD Admi ni st r a tio n
Mai n t ai n Applic atio n s File s s u b m e n u , yo u c a n n o t u s e it to reli n k a n AD exec u t a ble.
In s te a d, yo u m u s t relin k AD exec u t a ble s u si ng AD Relin k. Yo u c a n reli n k m u ltiple AD
exec u t a ble s si m ult a n eo u sly.
Log Files
As yo u r u n AD Relin k, it cre ate s a log file (adrelin k.log) w he re it record s error s a n d
m e s s age s. AD Relin k a p pe n d s infor m a tio n a bo u t t he late s t relin k ac tio n to t he e n d of
t he file. Thi s file is loc ate d in APPL_TOP / a d mi n / log. If a n error occ u r s w hile yo u a re
u si ng AD Relin k, or if yo u a re n o t s u re t h a t t he relin ki ng wa s s u cce s sf ul, review t hi s
file to s ee w h a t is s u e s s ho uld be fixed.
Relin ki ng error s e nco u n te re d d u ri ng a n AD Admi ni str a tio n or a n AutoP a tc h se s sio n
a re recor de d in t he m ai n log files for t ho se u tilitie s. See Log Files in C h a p te r 1 .
To recover di s k s p ace, yo u c a n delete t he a d relin k.log file if yo u do n o t n ee d t he
infor m a tio n. A n ew log file is cre ate d e ac h ti me AD Relin k r u n s.
Command Line Arguments
Yo u c a n m o dify or refine t he oper a tio n of AD Relin k wit h t he co m m a n d line a rg u m e n t s
in t he following t a ble.
AD Relin k Co m m a n d Line Argu m e n t s
force Description
P u r po s In dic a te s w hic h exec u t a ble p rogr a m s to relin k
Val u e s • n , (relin k o nly if t he libr a rie s or object files a re m o re rece n t t h a t t he
c u r re n t exec u t a ble p rogr a m)
Windows
C:\> sh adrelink.sh force=n "ad <executable name>"
Note: See Relin ki ng AD Exec u t a ble s in Oracle E-Business Suite Maintenance Procedures
for a co m plete de sc riptio n of r u n ni ng t hi s u tility wit h t he vario u s co m m a n d line
a rg u m e n t s.
Getting Started
Thi s c h a p te r co n t ai n s b a sic infor m a tio n a bo u t Or acle E-B u si ne s s S uite m ai n te n a n ce
u tilitie s, bo t h co m m a n d line a n d We b-b a se d.
Thi s c h a p te r cover s t he following to pic s:
• Or acle E-B u si ne s s S uite Mai n te n a n ce Utilitie s
• Co m m a n d Line Utilities
• R u n ni ng AD Utilitie s
• U si ng P ar allel Proce s si ng
• OAM We b-Ba se d Utilities
Web-Based Utilities
Or acle Applicatio n s Ma n ager (OAM) p rovide s a We b-b a se d interface w here sys te m
a d mi ni s tr a tor s c a n m o nitor sys te m s t a t u s, a d mi ni ster se rvice s, exa mi ne sy s te m
co nfigu r a tio n, m a n age Or acle Wor kflow, view a p plied p a tc he s, a n d m e a s u re sys te m
u s age. It p rovide s a co ncise overview of t he s t a te of yo u r Or acle E-B u si ne s s S uite
sy s te m, a n d se rve s a s a gatew ay to u tilitie s for t a s k s s u c h a s m a n agi ng sy s te m
co nfigu r a tio n, reviewing p a tc h hi s tory, de te r mi ni ng w hic h p a tc he s will b ri ng yo u r
sy s te m u p to d a te, registeri ng a d ditio n al p ro d u c t s a n d la ng u age s, a n d ot he r
m ai n te n a n ce a c tivitie s.
The We b-b a se d m ai n te n a n ce u tilitie s a re liste d in t he following t a ble. Their oper a tio n
is de sc ribe d fully in Oracle E-Business Suite Patching Procedures or Oracle E-Business Suite
System Administrator’s Guide - Configuration .
Or acle Applic atio n s Ma n ager Utilities
OAM Utility
Description
Name
Applied U se s key p a tc h infor m a tio n in t he p a tc h hi s tory d a t a b a se. Yo u c a n
P atc he s** se a rc h t he d a t a b a se to cre ate re port s in sever al for m a t s.
AutoCo nfig* U se to view c u r re n t co n text files, edit p a r a m e ter s co n t ai ne d in t he
co n text files, view p revio u s co n text files, a n d co m p a re c u r re n t
co n text files ag ai n s t p revio u s o ne s.
File History** E n a ble s t he viewing of files t h a t h ave bee n u p d a te d by a p a tc h.
Lice n se Register s a d ditio n al Or acle E-B u si ne s s S uite p ro d u c t s, co u n t ry-
Ma n ager* s pecific fu nc tio n alitie s, or la ng u age s. Yo u c a n al so u s e Lice n se
Ma n ager to c h a n ge t he b a se la ng u age for yo u r sys te m.
P atc h Wizar d** Deter mi ne s p a tc he s t h a t h ave n o t bee n a p plied, b u t t h a t s ho uld be
a p plied to kee p t he sy s te m c u r re n t. Dow nloa d s a n d m e rge s p a tc he s
fro m My Or acle S u p port.
Register U se d to recor d a ny files in w hic h yo u h ave m a de c u s to mizatio n s.
Flagged Files** Replace s t he n ee d to u s e a p plc u s t.txt, w hic h co n t ai ne d t he recor d
for all c u s to mized files in p revio u s rele a se s.
Softw are Provide s a n overview of all p a tc hi ng-relate d infor m a tio n for yo u r
Upd a te s** sy s te m .
Ti mi ng Help s yo u m o nitor job s t h a t a re r u n ni ng or view s t a ti s tic s of
Report s** co m plete d AutoP a tc h a n d AD Admi ni str a tio n m ai n te n a n ce se s sio n s.
* See Oracle E-Business Suite System Administrator’s Guide.
** See Oracle E-Business Suite Patching Procedures.
Online Help
Bot h t he AD u tilities a n d t he OAM u tilities p rovide a h elp fu nc tio n.
Command Line Help
For t he AD co m m a n d line u tilitie s, yo u c a n req u e s t a list of a rg u m e n t s by e n te ri ng t he
u tility n a m e wit h h elp=y a p pe n de d. For exa m ple, to acce s s h elp for AD
Admi ni str a tio n, e n te r t he co m m a n d:
adad min help=y
adadmin
[printdebug=y|n][localworkers=<localworkers>]
[flags=hidepw|trace]
w here
Key to options:localworker s = The n u m be r of worker s to r u n o n t he local m a c hi ne. U se d
in Distrib u te d AD.
flags = Ge neric flags p a s se d to AD u tilitie s. The av ailable val ue s for AD Admi n a re
hi de pw a n d tr ace.
defa ult sfile = The defa ult s file filen a m e, locate d u n d e r $APPL_TOP / a d mi n / SID /
directory.
m e n u_optio n = S kip s t he AD Admi n m e n u a n d exec u te s t he t a s k s u p plied o n t he
co m m a n d line. Valid val ue s a re liste d below.
RELINK Relink Applications programs
GE N_ MESSAGES Generate message files
GE N_FOR MS Generate form files
GE N_REPORTS Generate reports files
GE N_JARS Generate product JAR files
VALIDATE_APPS Validate APPS schema
C MP_INVALID Co mpile APPS schema
C MP_ ME N U Co mpile menu information
CREATE_GRA NTS Recreate grants and synonyms for APPS schema
C MP_FLEXFIELDS Co mpile flexfield data in AOL tables
M AINTAIN_ MLS M aintain m ulti-lingual tables
C HECK_DUAL Check D UAL table
RELOAD_JARS Reload JAR files to database
C OPY_FILES Copy files to destinations
C HECK_FILES Check for missing files
LIST_SNAPS H OTS List snapshots
UPDATE_CURRE NT_VIE W Update current view snapshot
CREATE_SNAPSH OT Create named snapshot
EXPORT_SNAPS H OT Export snapshot to file
IMPORT_SNAPS H OT Import snapshot from file
DELETE_SNAPS H OT Delete na med snapshot(s)
C O NVERT_CHARSET Convert character set
SCA N_APPLTOP Scan the APPLTOP for exceptions
SCA N_CUSTO M_DIR Scan a C USTO M directory for exceptions
E NABLE_ MAINT_ M O DE Enable M aintenance M ode
DISABLE_ MAINT_ M O DE Disable M aintenance M ode
For exa m ple, fro m t he OAM Site Map, OAM di s pl ays p age-s pecific h elp de sc ribi ng t he
feat u re s of t he Site Map p age.
OAM Site Map Help Page
In divid u al h elp to pic s m ay incl u de to pic al e s s ays, p roced u re s, a n d p age de sc riptio n s.
The h elp a s sociate d wit h t he u tilities a n d feat u re s di sc u s se d in t hi s book p rovide s
n avigatio n p a t h s, field definitio n s, a n d ge ne r al infor m a tio n a bo u t u si ng t he p age.
Common AD Operations
Ma ny AD u tilitie s e m ploy si milar feat u re s a n d oper a tio n s a s t hey pe rfor m p roce s si ng
t a s k s. For exa m ple, m o s t rely o n p ro m p t s to gat he r val ue s for sy s te m -s pecific
p roce s se s, a n d all a u to m a tic ally cre a te log files to recor d p roce s si ng ac tio n s. Thi s
sectio n de sc ribe s so m e of t he se co m mo n oper a tio n s.
Note: See Oracle E-Business Suite Patching Procedures for infor m a tio n a bo u t AD
oper a tio n s t h a t a p ply to AutoP a tc h.
Prompts
Ma ny AD u tilitie s p ro m p t for infor m a tio n n ece s s a ry for co m pleti ng a t a s k. Pro m p t s
typic ally incl u de a de sc riptio n of t he infor m a tio n n ee de d, a n d m ay incl u de a defa ult
a n swer (in s q u a re b r ac ket s). Yo u c a n ju s t p re s s t he [Ret u r n] key to a cce pt t he defa ult.
For exa m ple:
The O RACLE username specified below for Application Object Library
uniquely identifies your existing product group: APPLSYS
Log Files
All AD u tilitie s record t heir p roce s si ng ac tio n s a n d a n y error s t h a t t hey e nco u n te r in
log files. Ma ny u tilities p ro m p t yo u for t he n a m e of t he log file t h a t will recor d t he
p roce s si ng se s sio n, wit h a di s play s u c h a s t hi s:
<utility na me> records your <utility na me> session in a text file you specify.
Enter your < <utility name> log file name or press [Return] to accept the
default na me shown in brackets.
The defa ult file n a m e is < u tility n a m e>.log. For exa m ple, for AD Admi ni st r a tio n, t he
defa ult log file is a d a d mi n.log. For AutoP atc h, it is a d p a tc h.log.
AD Admi nis tr a tio n (an d AutoP a tc h) place t heir log files in t he following loc atio n s:
UNIX:
$APPL_TOP / a d mi n / < SID> / log
Windows:
%APPL_TOP% \ a d mi n \ < SID> \ log
So me u tilitie s m ay n o t p ro m p t yo u for a log file n a m e: in s te a d, t hey will write t he log
file in t he directory fro m w hic h t he u tility wa s r u n .
Restart Files
Rest a r t files co n t ai n infor m a tio n a bo u t w h a t p roce s si ng h a s alre a dy bee n co m plete d.
They a re loc ate d in $APPL_TOP / a d mi n / < SID> / r e s t a r t (UNIX) or in %APPL_ TOP
% \ a d mi n \ < SID> \ r e s t a r t (Win dow s).
If a u tility s to p s d u ri ng p roce s si ng d u e to a n erro r, or yo u u s e AD Co n t roller (in t he
c a se of p a r allel p roce s si ng) to s h u t dow n worke r s w hile t hey a re pe rfor mi ng p roce s si ng
t a s k s, yo u c a n re s t a r t t he u tility. If yo u do, it look s for re s t a r t files to de ter mi ne if t he re
w a s a p revio u s se s sio n. If t he files exist, t he u tility p ro m p t s yo u to co n ti n u e w here t he
p roce s si ng left off, or to s t a r t a n ew p roce s s. If yo u c hoo se to co n ti n u e, it re a d s t he
re s t a r t files to see w here t he p roce s s left off, a n d co n ti n u e s t he p roce s s fro m t h a t
poi n t.
Caution: Do n o t m o dify or delete a n y m a n ager or worker re s t a r t files u nle s s s pecifically
directe d to do so by Or acle S u p port Services.
By defa ult, AD u tilities delete t heir re s t a r t files w he n p roce s si ng is co m plete, b u t leave
b ac k u p ver sio n s wit h t he exte n sio n s .b a k, .bk 2, or .b k 3.
Warning: Rest a r t files recor d p a s sword s for yo u r Or acle E-B u si ne s s S uite p ro d u c t s.
Yo u s ho uld re s t rict a cce s s to all re s t a r t files (locate d in
$APPL_TOP / a d mi n / < SID> / r e s t a r t). If yo u a re r u n ni ng a u tility wit h
optio n s= no hide p w, t he log files m ay al so co n t ai n p a s swor d s o n line s p refixed wit h
HIDEPW.
Configuration and Environment Files
Most AD u tilitie s req uire a cce s s to sys te m p a r a m e te r s s tore d in vario u s co nfigu r a tio n
a n d e nviro n m e n t files w he n p roce s si ng m ai n te n a n ce t a s k s. For exa m ple, it m ay be
n ece s s a ry to k now t he loc atio n of a n Or acle Applic atio n Se rver ORACLE_HOME or t he
D a t a b a se (RDBMS) ORACLE_HOME.
Co nfigu r a tio n a n d e nviro n m e n t files a re ge ne r a te d by AutoCo nfig d u ri ng a n
in s t allatio n or u pgr a de. Yo u typic ally do n o t h ave to m a n u ally u p d a te or m ai n t ai n t he
infor m a tio n in t he se files. They a re u p d a te d w he n yo u r u n AutoCo nfig.
Note: For m o re infor m a tio n, see AutoCo nfig in Oracle E-Business Suite Concepts. See al so
My Or acle S u p po rt Knowledge Doc u m e n t 3 8 7 8 5 9. 1, Using AutoConfig to Manage
System Configurations in Release 12.
The following t a ble list s co nfigu r a tio n a n d e nviro n m e n t files co m mo nly u s e d by t he AD
co m m a n d line u tilities, a n d in so me c a se s, by t he OAM We b-b a se d u tilities.
Note: <CONTEXT_NAME> defa ult s to <SID>_< ho st n a m e>.
AutoCo nfig-Ma n age d AD Utility Files
File name Location Description
a dco nfig.txt $APPL_TOP / Co n t ai n s e nviro n m e n t infor m a tio n u s e d by all AD
a d mi n u tilities.
The AD Interface
So me AD u tilitie s a re de signe d to pe rfor m a si ngle fu nc tio n. For exa m ple, yo u r u n AD
Relin k o nly to relin k exec u t a ble s p rogr a m s wit h t he s e rver p ro d u c t libr a rie s. The se
u tilitie s do n o t u s e m e n u s or in p u t s c ree n s. All u s e r inter ac tio n is fro m t he co m m a n d
line in t he for m of p ro m p t s.
Howeve r, ot he r u tilities h ave m ultiple fu nc tio n s, w hic h a re p re se n te d o n m e n u s or
in p u t sc ree n s. For exa m ple, w he n yo u r u n AD Admi ni st r a tio n, t he first sc ree n yo u see
is t he m ai n m e n u .
AD Administration Main Menu
AD Flags Argument
The flags= a rg u m e n t is u s e d by all AD u tilities. It p a s se s o ne of sever al ge ne ric flags to
t he u tility. E n te r o ne flag or a co m m a-se p a r a te d list of flags. The defa ult is None.
flags= Argu m e n t O ptio n s
hidepw Description
Defa ult hi de pw
P u r po se Direct s t he u tilities to eit he r hi de or s how p a s swor d s in AD Utility log
files.
Co m m e n t s By defa ult, line s in a n AD u tility log file co n t ai ni ng p a s sword s a re
m o dified to hi de t he p a s sword s.
Whe n n o hi de pw is s pecified, e ac h line co n t ai ni ng hi d de n p a s sword s is
followed by a corre s po n di ng line p refixed wit h HIDEPW:, s howi ng t he
origin al line wit h p a s swor d s.
Exa m ple a d a d mi n flags= no hide pw
flags= Argu m e n t O ptio n s
logging Description
Defa ult logging
P u r po se Tells t he AD u tility w he t he r to cre a te in dexe s u si ng logging or n ologging.
Co m m e n t s U si ng flags= nologging w he n cre a ti ng in dexe s m ay incre a se pe rfor m a n ce.
Howeve r, flags= nologging m a ke s d a t a b a se m e di a recovery inco m plete
a n d doe s n o t work wit h s t a n d by d a t a b a se s.
Logging is t he defa ult in AutoP a tc h to s u p po rt d a t a b a se m e di a recovery
a n d s t a n d by d a t a b a s e s. We do n o t reco m m e n d u si ng flags= nologging for
p ro d u c tio n sy s te m s u nle s s yo u m a ke a co m plete b ac k u p bot h before a n d
after r u n ni ng AutoP a tc h.
flags= nologging affect s in dexe s cre ate d t h ro ug h ODF o nly, n o t S QL
sc ript s. The XDF u tility alw ays cre a te s in dexe s wit h logging.
Exa m ple a d p a tc h flags=logging
flags= Argu m e n t O ptio n s
trace Description
Defa ult n o t r ace
P u r po se Tells t he AD u tility w het he r to log all d a t a b a se oper a tio n s to a tr ace file.
Co m m e n t s D a t a b a se tr ace files cre ate d w hile r u n ni ng a n AD u tility m ay ai d
de b ugging. The flags=tr ace optio n cre ate s m ultiple t r ace files for t he AD
u tility a n d t he AD worke r s. A n ew tr ace file is cre a te d e ac h ti me t he AD
u tility or a worker reco n n ec t s to t he d a t a b a s e.
Note t h a t flags=tr ace o nly t r ace s d a t a b a se oper a tio n s inter n al to t he AD
u tility itself. D a t a b a se oper a tio n s in SQL sc ript s or exter n al p rogr a m s
r u n by t he AD u tility a re n o t recor de d by flags=tr ace.
Exa m ple a d a d mi n flags=tr ace
Note: Ma ny AD u tilitie s acce pt a d ditio n al a rg u m e n t s to t ho se liste d. Howeve r, t he se
s ho uld be u s e d o nly u n de r t he explicit directio n of Or acle S u p po rt Se rvice s.
Running AD Utilities
To r u n AD u tilities, se t t he e nviro n m e n t to define t he sy s te m co nfigu r a tio n
p a r a m e ter s. For exa m ple, a u tility m ay req uire t he directory p a t h to t he Applic atio n s
ORACLE_HOME. This p a r a m e te r, a n d ot he r s, m a ke u p yo u r sys te m e nviro n m e n t.
Important: Before se t ti ng t he e nviro n m e n t, Win dow s u s e r s m u s t al so co nfigu re
Win dow s s e rvice s.
O nce yo u h ave poi n te d t he u tility to t he correct e nviro n m e n t, yo u s t a r t it by e n teri ng
t he u tility n a m e.
Note: See Co nfigu r a tio n a n d E nviro n m e n t Files in t hi s c h a p te r.
Setting the Environment
To se t t he Or acle E-B u si ne s s S uite e nviro n m e n t, co m plete t he following s te p s. See t he
Oracle Installation and Upgrade Notes for a n y a d ditio n al pla tfor m -s pecific s te p s.
1. Log in a s a p pl mgr (Applic atio n s file sys te m ow ner).
2. R u n t he e nviro n m e n t (UNIX) or co m m a n d (Win dow s) file for t he c u r re n t APPL_
TOP a n d d a t a b a s e.
UNIX:
The e nviro n m e n t file is typic ally APPSCONTEXT_NAME>.e nv, a n d is locate d
u n de r APPL_TO P. Fro m a Bo u r n e, Kor n, or B a s h s h ell, e n ter t he following
co m m a n d:
$ .APPS<C O NTEXT_NA M E >.env
Windows:
U si ng eit he r Win dow s Explorer or t he R u n optio n fro m t he S t a r t m e n u , e n te r t he
co m m a n d:
% APPL_TOP %\envshell.cmd
This cre a te s a co m m a n d win dow wit h t he req uire d e nviro n m e n t se tti ngs for
Or acle E-B u si ne s s S uite. All s u b se q u e n t co m m a n d s s ho uld be r u n in t hi s
win do w.
3. If yo u h ave m a d e a ny c h a n ge s to t he e nviro n m e n t, c hec k t h a t it is correctly se t
by e n teri ng t he following co m m a n d s:
UNIX:
$ echo $T W O_TASK
$ echo $ORACLE_HO M E
$ echo $PATH
Windows:
C:\> echo % L O CAL %
C:\> echo % O RACLE_HO M E %
C:\> echo %PATH %
C:\> echo % APPL_CO NFIG %
Managers
The m a n ager a s sign s e ac h worke r a u niq u e ID a n d in se rt s a row for e ac h worke r in t he
FND_INSTALL_PROCES S E S t a ble. It cre ate s t hi s t a ble to se rve a s a s t agi ng a re a for
job infor m a tio n, a n d a s a way to co m m u nic a te wit h t he worke r. Co m m u nic a tio n is
a cco m plis he d u si ng two col u m n s: CONTROL_CODE a n d STATUS.
The m a n ager u p d a te s t he t a ble wit h a s u b se t of t he list of job s, o ne job pe r worke r. For
exa m ple, if t he re a re five worker s, t he n t he t a ble h old s five job s (even t ho ug h t he re
m ay be 1 0 0 or m o re job s involved in t he co m plete a c tio n). The m a n age r s t a r t s t he
worke r s a n d u s e s t he CONTROL_CODE a n d STATUS col u m n s to a s sign t a s k s. It polls
t he se two col u m n s co n ti n uo u sly, looki ng for u p d a te s fro m t he worker s. As a worker
finis he s its a s sign m e n t, t he m a n ager u p d a te s e ac h row wit h t he n ext t a s k in t he list,
a n d leave s a n o t he r m e s s age for t he worke r.
O nce all job s a re co m plete, t he m a n ager tells t he worker s to s h u t dow n, a n d t he n
d ro p s t he FND_INSTALL_PROCESS ES t a ble (after it is s u re all worker s h ave ac t u ally
s h u t dow n).
Workers
E ac h worker u p d a te s t he S TATUS col u m n , giving t he m a n ager a re port o n its
p rogre s s. As t he jobs a re co m plete d, t he m a n age r u p d a te s t he t a ble wit h t he n ext job
in t he q u e u e, a n d u p d a te s t he CONTROL_CODE a n d STATUS col u m n s telling t he
worke r to s t a r t p roce s si ng. If t he re is a failu re, t he worke r re port s a failed s t a t u s .
For cert ai n t a s k s, so m e worker p roce s se s s p aw n ot he r c hild p roce s se s t h a t do t he
a c t u al work. The s p aw n e d c hild p roce s s ret u r n s a s t a t u s code to t he worke r t h a t
s p aw n e d it. The worker inter p ret s t he code to de te r mi ne if t he job h a s bee n co m plete d
s u cce s sf ully. Exa m ple s of c hild p roce s se s a re S QL*Plu s a n d FNDLOAD.
Deferred Jobs
The first ti me a job fails, t he m a n age r a u to m a tic ally defer s t he job a n d a s sign s a n ew
o ne to t he worke r. If t he deferre d job fails t he seco n d ti me it is r u n , t he m a n age r defer s
it ag ai n o nly if t he tot al r u n ti me of t he job is les s t h a n te n mi n u te s. If t he deferre d job
fails a t hir d ti me (or if t he job’s tot al r u n ti me is n o t les s t h a n te n mi n u te s t he seco n d
ti me it is r u n) t he job s t ay s a t failed s t a t u s a n d t he worke r wait s. At t hi s poi n t, yo u
m u s t a d d re s s t he c a u s e of t he failu re, a n d t he n re s t a r t t he job.
Note: For m o re infor m a tio n, see R u n ni ng AD Co n t roller Inte r ac tively in t hi s c h a p te r.
See al so Tro u ble s hooti ng in Oracle E-Business Suite Maintenance Procedures .
The deferre d job feat u re u s e s t he AD_DEF ERRED_ J OBS t a ble. This t a ble is cre ate d
w he n t he FND_INSTALL_PROCES S E S t a ble is cre a te d, a n d is d ro p pe d w he n t he
FND_INSTALL_PROCES S E S t a ble is d ro p pe d.
The Applications Navigator and the OAM Dashboard and Site Map
Yo u c a n a cce s s OAM fu nc tio n ality in sever al w ays. Yo u begi n fro m t he Navigato r,
w hic h is t he first p age yo u e nco u n te r w he n yo u log in fro m t he OAM Welco me p age.
After yo u c hoo se fro m t he list of re s po n si bilities t h a t define yo u r role for u si ng Or acle
E-B u si ne s s S uite, t he Navigator p re se n t s a list of optio n s u n d e r s ever al h e a di ngs,
b a se d o n yo u r Applic atio n s u s e r role. For exa m ple, t he Sys te m Admi nist r a tio n role
p rovide s a p a t h to t he sever al gro u p s of optio n s, incl u di ng t he Or acle Applic atio n s
Ma n ager a n d relate d u tilities.
The is t he m ai n OAM p age. It p rovide s a "sn a p s ho t" of yo u r sy s te m ac tivity a n d a d ro p-
dow n list to p rovide q uick acce s s to so me of t he m o s t co m mo nly u s e d OAM u tilitie s
a n d t he OAM Site Map. In a d ditio n, it co n t ai n s a lin k to t he OAM Site Map, w hic h
di s plays lin k s to all t he OAM u tilitie s, segregate d o n in divid u al t a b s by fu nc tio n ality.
Page Navigation
Yo u n avigate t h ro ug h OAM p age s o n t he D a s h bo a r d a n d Site Map by clicki ng o n a t a b
t h a t di s pl ays a feat u re s u b se t. O n in divid u al p age s, yo u h ave n avigatio n optio n s, a n d,
w here a p p ro p ri ate, t he re a re d ro p-dow n list s t h a t p rovide lin k s to relate d feat u re s. O n
p age s wit h le ngt hy list s of ite m s, OAM di s plays a s u b se t of t he ite m s for e a sy acce s s.
OAM Interface
The Or acle Applic atio n s Ma n ager D a s h bo a r d p re se n t s a q uic k overview of t he ge ne r al
s t a t u s of yo u r sy s te m . The Site Map p rovide s a cce s s to all t he u tilitie s a n d feat u re s
wit hi n t he OAM fra m ework.
Reviewing System Status
Whe n yo u a cce s s t he OAM D a s h bo a r d, yo u c a n see a ge ner al s u m m a ry of yo u r sys te m
a c tivity.
OAM Dashboard
The OAM D a s h bo a r d se rve s a s a n HTML co n sole, w here sy s te m a d mi ni str a to r s c a n
c hec k t he s t a t u s of t he d a t a b a se, co nc u r re n t m a n ager s a n d ot he r s e rvice s, co nc u r re n t
req u e s t s, a n d Or acle Wor kflow p roce s se s, a s well a s view co nfigu r a tio n infor m a tio n,
s u c h a s initializatio n p a r a m e te r s a n d p rofile optio n s.
The D a s h bo a r d is u s e d in vario u s w ays, m a n y of w hic h a re beyo n d t he sco pe of t hi s
book. The Oracle E-Business Suite System Administrator’s Guide co n t ai n s m o re co m plete
infor m a tio n.
Accessing OAM
Yo u c a n a cce s s t he OAM Welco me p age after logging into Or acle E-B u si ne s s S uite via
t he following URL:
http:.//<server:port>/OA_HT ML/AppsLogin
Getting Started
Thi s c h a p te r co n t ai n s b a sic infor m a tio n a bo u t Or acle E-B u si ne s s S uite m ai n te n a n ce
u tilitie s, bo t h co m m a n d line a n d We b-b a se d.
Thi s c h a p te r cover s t he following to pic s:
• Or acle E-B u si ne s s S uite Mai n te n a n ce Utilitie s
• Co m m a n d Line Utilities
• R u n ni ng AD Utilitie s
• U si ng P ar allel Proce s si ng
• OAM We b-Ba se d Utilities
Web-Based Utilities
Or acle Applicatio n s Ma n ager (OAM) p rovide s a We b-b a se d interface w here sys te m
a d mi ni s tr a tor s c a n m o nitor sys te m s t a t u s, a d mi ni ster se rvice s, exa mi ne sy s te m
co nfigu r a tio n, m a n age Or acle Wor kflow, view a p plied p a tc he s, a n d m e a s u re sys te m
u s age. It p rovide s a co ncise overview of t he s t a te of yo u r Or acle E-B u si ne s s S uite
sy s te m, a n d se rve s a s a gatew ay to u tilitie s for t a s k s s u c h a s m a n agi ng sy s te m
co nfigu r a tio n, reviewing p a tc h hi s tory, de te r mi ni ng w hic h p a tc he s will b ri ng yo u r
sy s te m u p to d a te, registeri ng a d ditio n al p ro d u c t s a n d la ng u age s, a n d ot he r
m ai n te n a n ce a c tivitie s.
The We b-b a se d m ai n te n a n ce u tilitie s a re liste d in t he following t a ble. Their oper a tio n
is de sc ribe d fully in Oracle E-Business Suite Patching Procedures or Oracle E-Business Suite
System Administrator’s Guide - Configuration .
Or acle Applic atio n s Ma n ager Utilities
OAM Utility Description
Name
Applied U se s key p a tc h infor m a tio n in t he p a tc h hi s tory d a t a b a se. Yo u c a n
P atc he s** se a rc h t he d a t a b a se to cre ate re port s in sever al for m a t s.
AutoCo nfig* U se to view c u r re n t co n text files, edit p a r a m e ter s co n t ai ne d in t he
co n text files, view p revio u s co n text files, a n d co m p a re c u r re n t
co n text files ag ai n s t p revio u s o ne s.
File History** E n a ble s t he viewing of files t h a t h ave bee n u p d a te d by a p a tc h.
Lice n se Register s a d ditio n al Or acle E-B u si ne s s S uite p ro d u c t s, co u n t ry-
Ma n ager* s pecific fu nc tio n alitie s, or la ng u age s. Yo u c a n al so u s e Lice n se
Ma n ager to c h a n ge t he b a se la ng u age for yo u r sys te m.
P atc h Wizar d** Deter mi ne s p a tc he s t h a t h ave n o t bee n a p plied, b u t t h a t s ho uld be
a p plied to kee p t he sy s te m c u r re n t. Dow nloa d s a n d m e rge s p a tc he s
fro m My Or acle S u p port.
Register U se d to recor d a ny files in w hic h yo u h ave m a de c u s to mizatio n s.
Flagged Files** Replace s t he n ee d to u s e a p plc u s t.txt, w hic h co n t ai ne d t he recor d
for all c u s to mized files in p revio u s rele a se s.
Softw are Provide s a n overview of all p a tc hi ng-relate d infor m a tio n for yo u r
Upd a te s** sy s te m .
Ti mi ng Help s yo u m o nitor job s t h a t a re r u n ni ng or view s t a ti s tic s of
Report s** co m plete d AutoP a tc h a n d AD Admi ni str a tio n m ai n te n a n ce se s sio n s.
* See Oracle E-Business Suite System Administrator’s Guide.
** See Oracle E-Business Suite Patching Procedures.
Online Help
Bot h t he AD u tilities a n d t he OAM u tilities p rovide a h elp fu nc tio n.
adadmin
[printdebug=y|n][localworkers=<localworkers>]
[flags=hidepw|trace]
w here
Key to options:localworker s = The n u m be r of worker s to r u n o n t he local m a c hi ne. U se d
in Distrib u te d AD.
flags = Ge neric flags p a s se d to AD u tilitie s. The av ailable val ue s for AD Admi n a re
hi de pw a n d tr ace.
defa ult sfile = The defa ult s file filen a m e, locate d u n d e r $APPL_TOP / a d mi n / SID /
directory.
m e n u_optio n = S kip s t he AD Admi n m e n u a n d exec u te s t he t a s k s u p plied o n t he
co m m a n d line. Valid val ue s a re liste d below.
RELINK Relink Applications programs
GE N_ MESSAGES Generate message files
GE N_FOR MS Generate form files
GE N_REPORTS Generate reports files
GE N_JARS Generate product JAR files
VALIDATE_APPS Validate APPS schema
C MP_INVALID Co mpile APPS schema
C MP_ ME N U Co mpile menu information
CREATE_GRA NTS Recreate grants and synonyms for APPS schema
C MP_FLEXFIELDS Co mpile flexfield data in AOL tables
M AINTAIN_ MLS M aintain m ulti-lingual tables
C HECK_DUAL Check D UAL table
RELOAD_JARS Reload JAR files to database
C OPY_FILES Copy files to destinations
C HECK_FILES Check for missing files
LIST_SNAPS H OTS List snapshots
UPDATE_CURRE NT_VIE W Update current view snapshot
CREATE_SNAPSH OT Create named snapshot
EXPORT_SNAPS H OT Export snapshot to file
IMPORT_SNAPS H OT Import snapshot from file
DELETE_SNAPS H OT Delete na med snapshot(s)
C O NVERT_CHARSET Convert character set
SCA N_APPLTOP Scan the APPLTOP for exceptions
SCA N_CUSTO M_DIR Scan a C USTO M directory for exceptions
E NABLE_ MAINT_ M O DE Enable M aintenance M ode
DISABLE_ MAINT_ M O DE Disable M aintenance M ode
Common AD Operations
Ma ny AD u tilitie s e m ploy si milar feat u re s a n d oper a tio n s a s t hey pe rfor m p roce s si ng
t a s k s. For exa m ple, m o s t rely o n p ro m p t s to gat he r val ue s for sy s te m -s pecific
p roce s se s, a n d all a u to m a tic ally cre a te log files to recor d p roce s si ng ac tio n s. Thi s
sectio n de sc ribe s so m e of t he se co m mo n oper a tio n s.
Note: See Oracle E-Business Suite Patching Procedures for infor m a tio n a bo u t AD
oper a tio n s t h a t a p ply to AutoP a tc h.
Prompts
Ma ny AD u tilitie s p ro m p t for infor m a tio n n ece s s a ry for co m pleti ng a t a s k. Pro m p t s
typic ally incl u de a de sc riptio n of t he infor m a tio n n ee de d, a n d m ay incl u de a defa ult
a n swer (in s q u a re b r ac ket s). Yo u c a n ju s t p re s s t he [Ret u r n] key to a cce pt t he defa ult.
For exa m ple:
The O RACLE username specified below for Application Object Library
uniquely identifies your existing product group: APPLSYS
Log Files
All AD u tilitie s record t heir p roce s si ng ac tio n s a n d a n y error s t h a t t hey e nco u n te r in
log files. Ma ny u tilities p ro m p t yo u for t he n a m e of t he log file t h a t will recor d t he
p roce s si ng se s sio n, wit h a di s play s u c h a s t hi s:
<utility na me> records your <utility na me> session in a text file you specify.
Enter your < <utility name> log file name or press [Return] to accept the
default na me shown in brackets.
The defa ult file n a m e is < u tility n a m e>.log. For exa m ple, for AD Admi ni st r a tio n, t he
defa ult log file is a d a d mi n.log. For AutoP atc h, it is a d p a tc h.log.
AD Admi nis tr a tio n (an d AutoP a tc h) place t heir log files in t he following loc atio n s:
UNIX:
$APPL_TOP / a d mi n / < SID> / log
Windows:
%APPL_TOP% \ a d mi n \ < SID> \ log
So me u tilitie s m ay n o t p ro m p t yo u for a log file n a m e: in s te a d, t hey will write t he log
file in t he directory fro m w hic h t he u tility wa s r u n .
Restart Files
Rest a r t files co n t ai n infor m a tio n a bo u t w h a t p roce s si ng h a s alre a dy bee n co m plete d.
They a re loc ate d in $APPL_TOP / a d mi n / < SID> / r e s t a r t (UNIX) or in %APPL_ TOP
% \ a d mi n \ < SID> \ r e s t a r t (Win dow s).
If a u tility s to p s d u ri ng p roce s si ng d u e to a n erro r, or yo u u s e AD Co n t roller (in t he
c a se of p a r allel p roce s si ng) to s h u t dow n worke r s w hile t hey a re pe rfor mi ng p roce s si ng
t a s k s, yo u c a n re s t a r t t he u tility. If yo u do, it look s for re s t a r t files to de ter mi ne if t he re
w a s a p revio u s se s sio n. If t he files exist, t he u tility p ro m p t s yo u to co n ti n u e w here t he
p roce s si ng left off, or to s t a r t a n ew p roce s s. If yo u c hoo se to co n ti n u e, it re a d s t he
re s t a r t files to see w here t he p roce s s left off, a n d co n ti n u e s t he p roce s s fro m t h a t
poi n t.
Caution: Do n o t m o dify or delete a n y m a n ager or worker re s t a r t files u nle s s s pecifically
directe d to do so by Or acle S u p port Services.
By defa ult, AD u tilities delete t heir re s t a r t files w he n p roce s si ng is co m plete, b u t leave
b ac k u p ver sio n s wit h t he exte n sio n s .b a k, .bk 2, or .b k 3.
Warning: Rest a r t files recor d p a s sword s for yo u r Or acle E-B u si ne s s S uite p ro d u c t s.
Yo u s ho uld re s t rict a cce s s to all re s t a r t files (locate d in
$APPL_TOP / a d mi n / < SID> / r e s t a r t). If yo u a re r u n ni ng a u tility wit h
optio n s= no hide p w, t he log files m ay al so co n t ai n p a s swor d s o n line s p refixed wit h
HIDEPW.
Configuration and Environment Files
Most AD u tilitie s req uire a cce s s to sys te m p a r a m e te r s s tore d in vario u s co nfigu r a tio n
a n d e nviro n m e n t files w he n p roce s si ng m ai n te n a n ce t a s k s. For exa m ple, it m ay be
n ece s s a ry to k now t he loc atio n of a n Or acle Applic atio n Se rver ORACLE_HOME or t he
D a t a b a se (RDBMS) ORACLE_HOME.
Co nfigu r a tio n a n d e nviro n m e n t files a re ge ne r a te d by AutoCo nfig d u ri ng a n
in s t allatio n or u pgr a de. Yo u typic ally do n o t h ave to m a n u ally u p d a te or m ai n t ai n t he
infor m a tio n in t he se files. They a re u p d a te d w he n yo u r u n AutoCo nfig.
Note: For m o re infor m a tio n, see AutoCo nfig in Oracle E-Business Suite Concepts. See al so
My Or acle S u p po rt Knowledge Doc u m e n t 3 8 7 8 5 9. 1, Using AutoConfig to Manage
System Configurations in Release 12.
The following t a ble list s co nfigu r a tio n a n d e nviro n m e n t files co m mo nly u s e d by t he AD
co m m a n d line u tilities, a n d in so me c a se s, by t he OAM We b-b a se d u tilities.
Note: <CONTEXT_NAME> defa ult s to <SID>_< ho st n a m e>.
AutoCo nfig-Ma n age d AD Utility Files
File name Location Description
a dco nfig.txt $APPL_TOP / Co n t ai n s e nviro n m e n t infor m a tio n u s e d by all AD
a d mi n u tilities.
The AD Interface
So me AD u tilitie s a re de signe d to pe rfor m a si ngle fu nc tio n. For exa m ple, yo u r u n AD
Relin k o nly to relin k exec u t a ble s p rogr a m s wit h t he s e rver p ro d u c t libr a rie s. The se
u tilitie s do n o t u s e m e n u s or in p u t s c ree n s. All u s e r inter ac tio n is fro m t he co m m a n d
line in t he for m of p ro m p t s.
Howeve r, ot he r u tilities h ave m ultiple fu nc tio n s, w hic h a re p re se n te d o n m e n u s or
in p u t sc ree n s. For exa m ple, w he n yo u r u n AD Admi ni st r a tio n, t he first sc ree n yo u see
is t he m ai n m e n u .
AD Administration Main Menu
AD Flags Argument
The flags= a rg u m e n t is u s e d by all AD u tilities. It p a s se s o ne of sever al ge ne ric flags to
t he u tility. E n te r o ne flag or a co m m a-se p a r a te d list of flags. The defa ult is None.
flags= Argu m e n t O ptio n s
hidepw Description
Defa ult hi de pw
P u r po se Direct s t he u tilities to eit he r hi de or s how p a s swor d s in AD Utility log
files.
Co m m e n t s By defa ult, line s in a n AD u tility log file co n t ai ni ng p a s sword s a re
m o dified to hi de t he p a s sword s.
Whe n n o hi de pw is s pecified, e ac h line co n t ai ni ng hi d de n p a s sword s is
followed by a corre s po n di ng line p refixed wit h HIDEPW:, s howi ng t he
origin al line wit h p a s swor d s.
Exa m ple a d a d mi n flags= no hide pw
flags= Argu m e n t O ptio n s
logging Description
Defa ult logging
P u r po se Tells t he AD u tility w he t he r to cre a te in dexe s u si ng logging or n ologging.
Co m m e n t s U si ng flags= nologging w he n cre a ti ng in dexe s m ay incre a se pe rfor m a n ce.
Howeve r, flags= nologging m a ke s d a t a b a se m e di a recovery inco m plete
a n d doe s n o t work wit h s t a n d by d a t a b a se s.
Logging is t he defa ult in AutoP a tc h to s u p po rt d a t a b a se m e di a recovery
a n d s t a n d by d a t a b a s e s. We do n o t reco m m e n d u si ng flags= nologging for
p ro d u c tio n sy s te m s u nle s s yo u m a ke a co m plete b ac k u p bot h before a n d
after r u n ni ng AutoP a tc h.
flags= nologging affect s in dexe s cre ate d t h ro ug h ODF o nly, n o t S QL
sc ript s. The XDF u tility alw ays cre a te s in dexe s wit h logging.
Exa m ple a d p a tc h flags=logging
flags= Argu m e n t O ptio n s
trace Description
Defa ult n o t r ace
P u r po se Tells t he AD u tility w het he r to log all d a t a b a se oper a tio n s to a tr ace file.
Co m m e n t s D a t a b a se tr ace files cre ate d w hile r u n ni ng a n AD u tility m ay ai d
de b ugging. The flags=tr ace optio n cre ate s m ultiple t r ace files for t he AD
u tility a n d t he AD worke r s. A n ew tr ace file is cre a te d e ac h ti me t he AD
u tility or a worker reco n n ec t s to t he d a t a b a s e.
Note t h a t flags=tr ace o nly t r ace s d a t a b a se oper a tio n s inter n al to t he AD
u tility itself. D a t a b a se oper a tio n s in SQL sc ript s or exter n al p rogr a m s
r u n by t he AD u tility a re n o t recor de d by flags=tr ace.
Exa m ple a d a d mi n flags=tr ace
Note: Ma ny AD u tilitie s acce pt a d ditio n al a rg u m e n t s to t ho se liste d. Howeve r, t he se
s ho uld be u s e d o nly u n de r t he explicit directio n of Or acle S u p po rt Se rvice s.
Running AD Utilities
To r u n AD u tilities, se t t he e nviro n m e n t to define t he sy s te m co nfigu r a tio n
p a r a m e ter s. For exa m ple, a u tility m ay req uire t he directory p a t h to t he Applic atio n s
ORACLE_HOME. This p a r a m e te r, a n d ot he r s, m a ke u p yo u r sys te m e nviro n m e n t.
Important: Before se t ti ng t he e nviro n m e n t, Win dow s u s e r s m u s t al so co nfigu re
Win dow s s e rvice s.
O nce yo u h ave poi n te d t he u tility to t he correct e nviro n m e n t, yo u s t a r t it by e n teri ng
t he u tility n a m e.
Note: See Co nfigu r a tio n a n d E nviro n m e n t Files in t hi s c h a p te r.
Setting the Environment
To se t t he Or acle E-B u si ne s s S uite e nviro n m e n t, co m plete t he following s te p s. See t he
Oracle Installation and Upgrade Notes for a n y a d ditio n al pla tfor m -s pecific s te p s.
1. Log in a s a p pl mgr (Applic atio n s file sys te m ow ner).
2. R u n t he e nviro n m e n t (UNIX) or co m m a n d (Win dow s) file for t he c u r re n t APPL_
TOP a n d d a t a b a s e.
UNIX:
The e nviro n m e n t file is typic ally APPSCONTEXT_NAME>.e nv, a n d is locate d
u n de r APPL_TO P. Fro m a Bo u r n e, Kor n, or B a s h s h ell, e n ter t he following
co m m a n d:
$ .APPS<C O NTEXT_NA M E >.env
Windows:
U si ng eit he r Win dow s Explorer or t he R u n optio n fro m t he S t a r t m e n u , e n te r t he
co m m a n d:
% APPL_TOP %\envshell.cmd
This cre a te s a co m m a n d win dow wit h t he req uire d e nviro n m e n t se tti ngs for
Or acle E-B u si ne s s S uite. All s u b se q u e n t co m m a n d s s ho uld be r u n in t hi s
win do w.
3. If yo u h ave m a d e a ny c h a n ge s to t he e nviro n m e n t, c hec k t h a t it is correctly se t
by e n teri ng t he following co m m a n d s:
UNIX:
$ echo $T W O_TASK
$ echo $ORACLE_HO M E
$ echo $PATH
Windows:
C:\> echo % L O CAL %
C:\> echo % O RACLE_HO M E %
C:\> echo %PATH %
C:\> echo % APPL_CO NFIG %
Managers
The m a n ager a s sign s e ac h worke r a u niq u e ID a n d in se rt s a row for e ac h worke r in t he
FND_INSTALL_PROCES S E S t a ble. It cre ate s t hi s t a ble to se rve a s a s t agi ng a re a for
job infor m a tio n, a n d a s a way to co m m u nic a te wit h t he worke r. Co m m u nic a tio n is
a cco m plis he d u si ng two col u m n s: CONTROL_CODE a n d STATUS.
The m a n ager u p d a te s t he t a ble wit h a s u b se t of t he list of job s, o ne job pe r worke r. For
exa m ple, if t he re a re five worker s, t he n t he t a ble h old s five job s (even t ho ug h t he re
m ay be 1 0 0 or m o re job s involved in t he co m plete a c tio n). The m a n age r s t a r t s t he
worke r s a n d u s e s t he CONTROL_CODE a n d STATUS col u m n s to a s sign t a s k s. It polls
t he se two col u m n s co n ti n uo u sly, looki ng for u p d a te s fro m t he worker s. As a worker
finis he s its a s sign m e n t, t he m a n ager u p d a te s e ac h row wit h t he n ext t a s k in t he list,
a n d leave s a n o t he r m e s s age for t he worke r.
O nce all job s a re co m plete, t he m a n ager tells t he worker s to s h u t dow n, a n d t he n
d ro p s t he FND_INSTALL_PROCESS ES t a ble (after it is s u re all worker s h ave ac t u ally
s h u t dow n).
Workers
E ac h worker u p d a te s t he S TATUS col u m n , giving t he m a n ager a re port o n its
p rogre s s. As t he jobs a re co m plete d, t he m a n age r u p d a te s t he t a ble wit h t he n ext job
in t he q u e u e, a n d u p d a te s t he CONTROL_CODE a n d STATUS col u m n s telling t he
worke r to s t a r t p roce s si ng. If t he re is a failu re, t he worke r re port s a failed s t a t u s .
For cert ai n t a s k s, so m e worker p roce s se s s p aw n ot he r c hild p roce s se s t h a t do t he
a c t u al work. The s p aw n e d c hild p roce s s ret u r n s a s t a t u s code to t he worke r t h a t
s p aw n e d it. The worker inter p ret s t he code to de te r mi ne if t he job h a s bee n co m plete d
s u cce s sf ully. Exa m ple s of c hild p roce s se s a re S QL*Plu s a n d FNDLOAD.
Deferred Jobs
The first ti me a job fails, t he m a n age r a u to m a tic ally defer s t he job a n d a s sign s a n ew
o ne to t he worke r. If t he deferre d job fails t he seco n d ti me it is r u n , t he m a n age r defer s
it ag ai n o nly if t he tot al r u n ti me of t he job is les s t h a n te n mi n u te s. If t he deferre d job
fails a t hir d ti me (or if t he job’s tot al r u n ti me is n o t les s t h a n te n mi n u te s t he seco n d
ti me it is r u n) t he job s t ay s a t failed s t a t u s a n d t he worke r wait s. At t hi s poi n t, yo u
m u s t a d d re s s t he c a u s e of t he failu re, a n d t he n re s t a r t t he job.
Note: For m o re infor m a tio n, see R u n ni ng AD Co n t roller Inte r ac tively in t hi s c h a p te r.
See al so Tro u ble s hooti ng in Oracle E-Business Suite Maintenance Procedures .
The deferre d job feat u re u s e s t he AD_DEF ERRED_ J OBS t a ble. This t a ble is cre ate d
w he n t he FND_INSTALL_PROCES S E S t a ble is cre a te d, a n d is d ro p pe d w he n t he
FND_INSTALL_PROCES S E S t a ble is d ro p pe d.
The Applications Navigator and the OAM Dashboard and Site Map
Yo u c a n a cce s s OAM fu nc tio n ality in sever al w ays. Yo u begi n fro m t he Navigato r,
w hic h is t he first p age yo u e nco u n te r w he n yo u log in fro m t he OAM Welco me p age.
After yo u c hoo se fro m t he list of re s po n si bilities t h a t define yo u r role for u si ng Or acle
E-B u si ne s s S uite, t he Navigator p re se n t s a list of optio n s u n d e r s ever al h e a di ngs,
b a se d o n yo u r Applic atio n s u s e r role. For exa m ple, t he Sys te m Admi nist r a tio n role
p rovide s a p a t h to t he sever al gro u p s of optio n s, incl u di ng t he Or acle Applic atio n s
Ma n ager a n d relate d u tilities.
The is t he m ai n OAM p age. It p rovide s a "sn a p s ho t" of yo u r sy s te m ac tivity a n d a d ro p-
dow n list to p rovide q uick acce s s to so me of t he m o s t co m mo nly u s e d OAM u tilitie s
a n d t he OAM Site Map. In a d ditio n, it co n t ai n s a lin k to t he OAM Site Map, w hic h
di s plays lin k s to all t he OAM u tilitie s, segregate d o n in divid u al t a b s by fu nc tio n ality.
Page Navigation
Yo u n avigate t h ro ug h OAM p age s o n t he D a s h bo a r d a n d Site Map by clicki ng o n a t a b
t h a t di s pl ays a feat u re s u b se t. O n in divid u al p age s, yo u h ave n avigatio n optio n s, a n d,
w here a p p ro p ri ate, t he re a re d ro p-dow n list s t h a t p rovide lin k s to relate d feat u re s. O n
p age s wit h le ngt hy list s of ite m s, OAM di s plays a s u b se t of t he ite m s for e a sy acce s s.
OAM Interface
The Or acle Applic atio n s Ma n ager D a s h bo a r d p re se n t s a q uic k overview of t he ge ne r al
s t a t u s of yo u r sy s te m . The Site Map p rovide s a cce s s to all t he u tilitie s a n d feat u re s
wit hi n t he OAM fra m ework.
Reviewing System Status
Whe n yo u a cce s s t he OAM D a s h bo a r d, yo u c a n see a ge ner al s u m m a ry of yo u r sys te m
a c tivity.
OAM Dashboard
The OAM D a s h bo a r d se rve s a s a n HTML co n sole, w here sy s te m a d mi ni str a to r s c a n
c hec k t he s t a t u s of t he d a t a b a se, co nc u r re n t m a n ager s a n d ot he r s e rvice s, co nc u r re n t
req u e s t s, a n d Or acle Wor kflow p roce s se s, a s well a s view co nfigu r a tio n infor m a tio n,
s u c h a s initializatio n p a r a m e te r s a n d p rofile optio n s.
The D a s h bo a r d is u s e d in vario u s w ays, m a n y of w hic h a re beyo n d t he sco pe of t hi s
book. The Oracle E-Business Suite System Administrator’s Guide co n t ai n s m o re co m plete
infor m a tio n.
Accessing OAM
Yo u c a n a cce s s t he OAM Welco me p age after logging into Or acle E-B u si ne s s S uite via
t he following URL:
http:.//<server:port>/OA_HT ML/AppsLogin