SlideShare a Scribd company logo
1 of 56
Use Oracle Applications AD Utilities
Objectives ,[object Object],[object Object],[object Object],[object Object],[object Object],[object Object]
Module Overview ,[object Object],[object Object],[object Object],[object Object],[object Object],[object Object],[object Object],[object Object],[object Object],[object Object],[object Object]
AD Utilities Oracle  Database Oracle Applications File System AD Utilities
AD Utilities ,[object Object],[object Object],[object Object],[object Object],[object Object]
Configuration and Environment Files APPL_TOP/admin applterr.txt APPL_TOP/admin applprod.txt APPL_TOP/admin adalldefaults.txt APPL_TOP/admin adconfig.txt Location Name
Configuration and Environment Files APPL_TOP/admin adovars.env/cmd APPL_TOP <context name>.env/cmd APPL_TOP APPS<context name>.env/cmd APPL_TOP/admin applorau.txt APPL_TOP/admin applora.txt Location Name
Setting the Environment ,[object Object],[object Object],[object Object],[object Object],[object Object]
The AD Utilities Manages parallel workers in AD Administration, and AutoPatch. AD Controller Applies patches and adds new languages and products. AutoPatch Performs maintenance tasks on the Oracle Applications file system and database. AD Administration Description AD Utility
The AD Utilities Registers off-cycle products. AD Splicer Merges multiple patches into a single, integrated patch. AD Merge Patch Relinks Oracle Applications executable programs with the Oracle server product libraries. AD Relink Description AD Utility
The AD Utilities Provides timing summary reports for jobs run by parallel workers. AD Job Timing Report Converts a file from one character set to another. File Character Set Converter Reports standard information about the installed configuration of Oracle Applications. AD Configuration Identifies the version of an Oracle Applications file. AD File Identification Description AD Utility
The Web-based Utilities Licenses products, country-specific functionalities, or languages. License Manager Updates the Applications context with new system configuration and helps manage the system configuration files. AutoConfig Description Utility
The Web-based Utilities Determines patches that have not been applied, but that should be applied to keep the system current. Downloads and merges patches from Oracle MetaLink . Patch Wizard Stores patch history information and allows you to query patch and file history information. Applied Patches Description Utility
Running the AD Utilities ,[object Object],[object Object],[object Object],[object Object],[object Object]
Command Line Arguments ,[object Object],[object Object],[object Object],[object Object],[object Object]
Command Line Arguments ,[object Object],[object Object],adpatch options=nocopyportion,nogenerateportion adpatch printdebug=y adpatch options=nocopyportion, nogenerateportion adpatch OPTIONS=NOCOPYPORTION,NOGENERATEPORTION
Command Line Arguments - abandon n Default y or n Values Example Purpose Used by abandon AD Administration, AutoPatch adpatch interactive=n abandon=y Tells AD utilities to abandon an existing non-interactive session. Can be used only when interactive=n is also specified.
Command Line Arguments - defaultsfile None, meaning that no defaults file is used. Default A fully-qualified filename. Must be under the APPL_TOP/admin/<SID> directory. Values Example Purpose Used by defaultsfile AD Administration, AutoPatch adpatch defaultsfile=/d1/apps/prodappl/admin/prod1/prod_def.txt Specifies the defaults file, which stores answers to interactive AD utility questions. Normally used in non-interactive mode.
Command Line Arguments - help n Default y or n Values Example Purpose Used by help All AD Utilities adpatch help=y Summarizes available command line options.
Command Line Arguments - interactive y, meaning that the utility runs in interactive mode Default y or n Values Example Purpose Used by interactive AD Administration, AutoPatch adpatch interactive=n Tells AD utilities whether to run in interactive mode or non-interactive mode.
Command Line Arguments - localworkers Defaults to the value of the workers argument, which means all workers run on the primary node. Default 1 to the maximum supported by your database, but not more than 999, Inclusive Values Example Purpose Used by localworkers AD Administration, AutoPatch adpatch workers=8 localworkers=3 Specifies the number of workers to run on the primary node in a Distributed AD environment.
Command Line Arguments - logfile None, meaning that the utility will prompt for the log file name. Default A file name (not a fully-qualified path name) Values Example Purpose Used by logfile All AD Utilities adpatch logfile=test.log Tells AD utilities what log file to use. Normally used in non-interactive mode.
Command Line Arguments - menu_option n/a Default Varies. See utility specific section for details Values Example Purpose Used by menu_option AD Administration, AD Controller adctrl interactive=n defaultsfile=$APPL_TOP/admin/prod/defs.txt menu_option=SHOW_STATUS When running one of these utilities non-interactively, used to connect the actions in a defaults file with a specific menu item.
Command Line Arguments - parallel_index_threshold 20000; meaning a threshold of 20,000 blocks. Default 0 to 2147483647; if set to 0, indexes are created with parallel workers and serial DML Values Example Purpose Used by parallel_index_threshold AD Administration, AutoPatch adpatch parallel_index_threshold=15000 Specifies the number of blocks in a table.
Command Line Arguments - printdebug n Default y or n Values Example Purpose Used by printdebug All AD Utilities adpatch printdebug=y Tells AD programs to display extra debugging information. In some cases, the amount of extra debugging information is substantial.
Command Line Arguments - restart n, meaning that the utility run in non-interactive mode will expect to run a completely new session. Default y or n Values Example Purpose Used by restart AD Administration, AutoPatch adpatch interactive=n restart=y Tells AD utilities to restart an existing session in non-interactive mode. Only valid when interactive=n is also specified.
Command Line Arguments - wait_on_failed_job n Default y or n Values Example Purpose Used by wait_on_failed_job AD Administration, AutoPatch adpatch wait_on_failed_job=yes Directs the utilities to wait for user input in a non-interactive session when a job fails.
Command Line Arguments - workers None, meaning that the program will prompt for the number of workers to run. Default 1 to 999, inclusive Values Example Purpose Used by workers AD Administration, AutoPatch adpatch workers=6 Specifies the number of workers to run. Normally used in non-interactive mode.
Command Line Arguments - flags None, meaning that no flags have been passed. Default Information about specific flags are covered on the following pages. Values Example Purpose Used by flags All AD Utilities adpatch flags=hidepw Generic flags passed to AD utilities. Information about specific flags are covered on the following pages.
AD Utilities Flags - hidepw By default, lines in an AD utility log file containing passwords are modified to hide the passwords Comments Default Purpose flags=hidepw Directs the utilities to either hide or show passwords in AD Utility log files. hidepw
AD Utilities Flags - logging Use of NOLOGGING when creating indexes may increase performance. However, it also makes database media recovery incomplete, and does not work with standby databases. Comments Default Purpose flags=logging Tells the AD Utility whether to create indexes using the logging or nologging mode. logging
AD Utilities Flags - trace RDBMS trace files created while running an AD utility may aid debugging. Comments Default Purpose flags=trace Tells the AD Utility whether to log all database operations to a trace file. notrace
AD Utilities Features ,[object Object],[object Object],[object Object],[object Object],[object Object]
AD Feature Versions ,[object Object],[object Object],[object Object]
AD Feature Versions The status of various features in this run of AD Administration is: <-- Feature version in --> Feature  Active?  APPLTOP  Data model  -----------------  -------  ------- ------------- CHECKFILE  Yes  1  1  PREREQ  Yes  6  6 CONCURRENT_SESSIONS  No  2  2 PATCH_TIMING  Yes  2  2 PATCH_HIST_IN_DB  Yes  5  5 SCHEMA_SWAP  Yes  1  1
AD Prompts ,[object Object],[object Object],[object Object],[object Object]
Parallel Processing ,[object Object],[object Object],[object Object],[object Object],[object Object]
Parallel Processing - Managers ,[object Object],[object Object],[object Object],[object Object],[object Object],[object Object],[object Object]
Parallel Processing - Workers ,[object Object],[object Object],[object Object],[object Object],[object Object]
Parallel Processing - Deferred Jobs ,[object Object],[object Object],[object Object],[object Object]
Database Processing Phases ,[object Object],[object Object],[object Object],[object Object],[object Object]
Database Processing Phases ,[object Object],There are now 16217 jobs remaining (current phase=con): 4 running, 42 ready to run, and 16171 waiting. Completed: file hrobsakw.sql on worker 2 for product per username HR. Time is: Tue Nov 17 2007 18:24:30 Assigned: file pjmcon1.drv  on worker 2 on product pjm username PJM. Time is: Tue Jul 17 2007 18:24:30 This example shows that the AD utility has 16,217 jobs remaining, and that it is in the con phase
Distributed AD – Introduction ,[object Object],[object Object],[object Object],AD AD AD AD Node array
Distributed AD – Requirements ,[object Object],[object Object],AD AD AD AD AD AD
Distributed AD – Usage ,[object Object],[object Object],[object Object],[object Object],[object Object],[object Object]
Log Files AD Administration records your AD Administration session in a text file you specify. Enter your AD Administration log file name or press [Return] to accept the default name shown in brackets. Filename [adadmin.log] :
Worker Log Files ,[object Object],[object Object],[object Object]
Restart Files ,[object Object],[object Object],[object Object],[object Object]
Manager and Worker Log Messages Assigned: file ad_wait1sec.sql on worker 1 for product ad username APPLSYS. FAILED: file ad_wait1sec.sql on worker 1 for product ad username APPLSYS. ATTENTION: All workers either have failed or are waiting:
Manager and Worker Log Messages ,[object Object],[object Object],FAILED: file adcjmdt.sql on worker 1 for product ad username APPLSYS.
Maintenance Mode – Introduction ,[object Object],[object Object],[object Object]
Maintenance Mode ,[object Object],[object Object]
Restricted Mode ,[object Object],[object Object],[object Object],Patch
Module Summary ,[object Object],[object Object],[object Object],[object Object],[object Object],[object Object]
Module Discussion ,[object Object],[object Object],[object Object]
Module Practice ,[object Object]

More Related Content

What's hot

R12 d49656 gc10-apps dba 03
R12 d49656 gc10-apps dba 03R12 d49656 gc10-apps dba 03
R12 d49656 gc10-apps dba 03zeesniper
 
R12 d49656 gc10-apps dba 01
R12 d49656 gc10-apps dba 01R12 d49656 gc10-apps dba 01
R12 d49656 gc10-apps dba 01zeesniper
 
R12 d49656 gc10-apps dba 16
R12 d49656 gc10-apps dba 16R12 d49656 gc10-apps dba 16
R12 d49656 gc10-apps dba 16zeesniper
 
R12 d49656 gc10-apps dba 27
R12 d49656 gc10-apps dba 27R12 d49656 gc10-apps dba 27
R12 d49656 gc10-apps dba 27zeesniper
 
R12 d49656 gc10-apps dba 19
R12 d49656 gc10-apps dba 19R12 d49656 gc10-apps dba 19
R12 d49656 gc10-apps dba 19zeesniper
 
R12 d49656 gc10-apps dba 02
R12 d49656 gc10-apps dba 02R12 d49656 gc10-apps dba 02
R12 d49656 gc10-apps dba 02zeesniper
 
R12 d49656 gc10-apps dba 13
R12 d49656 gc10-apps dba 13R12 d49656 gc10-apps dba 13
R12 d49656 gc10-apps dba 13zeesniper
 
R12 d49656 gc10-apps dba 24
R12 d49656 gc10-apps dba 24R12 d49656 gc10-apps dba 24
R12 d49656 gc10-apps dba 24zeesniper
 
R12 d49656 gc10-apps dba 22
R12 d49656 gc10-apps dba 22R12 d49656 gc10-apps dba 22
R12 d49656 gc10-apps dba 22zeesniper
 
R12 d49656 gc10-apps dba 23
R12 d49656 gc10-apps dba 23R12 d49656 gc10-apps dba 23
R12 d49656 gc10-apps dba 23zeesniper
 
R12 d49656 gc10-apps dba 20
R12 d49656 gc10-apps dba 20R12 d49656 gc10-apps dba 20
R12 d49656 gc10-apps dba 20zeesniper
 
R12 d49656 gc10-apps dba 00
R12 d49656 gc10-apps dba 00R12 d49656 gc10-apps dba 00
R12 d49656 gc10-apps dba 00zeesniper
 
R12 d49656 gc10-apps dba 06
R12 d49656 gc10-apps dba 06R12 d49656 gc10-apps dba 06
R12 d49656 gc10-apps dba 06zeesniper
 
Less16 Recovery
Less16 RecoveryLess16 Recovery
Less16 Recoveryvivaankumar
 
Less11 Security
Less11 SecurityLess11 Security
Less11 Securityvivaankumar
 
Configuration of sap net weaver for oracle grid infrastructure 11.2 with orac...
Configuration of sap net weaver for oracle grid infrastructure 11.2 with orac...Configuration of sap net weaver for oracle grid infrastructure 11.2 with orac...
Configuration of sap net weaver for oracle grid infrastructure 11.2 with orac...Graciete Martins
 
17398351 sap-system-copy-homcopyv1
17398351 sap-system-copy-homcopyv117398351 sap-system-copy-homcopyv1
17398351 sap-system-copy-homcopyv1Mmusi Dithotse
 
Oracle Concurrent Program Setup document
Oracle Concurrent Program Setup  documentOracle Concurrent Program Setup  document
Oracle Concurrent Program Setup documentvenkatesh gurusamy
 
Sap system copy procedure
Sap system copy procedureSap system copy procedure
Sap system copy procedureGraciete Martins
 

What's hot (20)

R12 d49656 gc10-apps dba 03
R12 d49656 gc10-apps dba 03R12 d49656 gc10-apps dba 03
R12 d49656 gc10-apps dba 03
 
R12 d49656 gc10-apps dba 01
R12 d49656 gc10-apps dba 01R12 d49656 gc10-apps dba 01
R12 d49656 gc10-apps dba 01
 
R12 d49656 gc10-apps dba 16
R12 d49656 gc10-apps dba 16R12 d49656 gc10-apps dba 16
R12 d49656 gc10-apps dba 16
 
R12 d49656 gc10-apps dba 27
R12 d49656 gc10-apps dba 27R12 d49656 gc10-apps dba 27
R12 d49656 gc10-apps dba 27
 
R12 d49656 gc10-apps dba 19
R12 d49656 gc10-apps dba 19R12 d49656 gc10-apps dba 19
R12 d49656 gc10-apps dba 19
 
R12 d49656 gc10-apps dba 02
R12 d49656 gc10-apps dba 02R12 d49656 gc10-apps dba 02
R12 d49656 gc10-apps dba 02
 
R12 d49656 gc10-apps dba 13
R12 d49656 gc10-apps dba 13R12 d49656 gc10-apps dba 13
R12 d49656 gc10-apps dba 13
 
R12 d49656 gc10-apps dba 24
R12 d49656 gc10-apps dba 24R12 d49656 gc10-apps dba 24
R12 d49656 gc10-apps dba 24
 
R12 d49656 gc10-apps dba 22
R12 d49656 gc10-apps dba 22R12 d49656 gc10-apps dba 22
R12 d49656 gc10-apps dba 22
 
R12 d49656 gc10-apps dba 23
R12 d49656 gc10-apps dba 23R12 d49656 gc10-apps dba 23
R12 d49656 gc10-apps dba 23
 
R12 d49656 gc10-apps dba 20
R12 d49656 gc10-apps dba 20R12 d49656 gc10-apps dba 20
R12 d49656 gc10-apps dba 20
 
R12 d49656 gc10-apps dba 00
R12 d49656 gc10-apps dba 00R12 d49656 gc10-apps dba 00
R12 d49656 gc10-apps dba 00
 
R12 d49656 gc10-apps dba 06
R12 d49656 gc10-apps dba 06R12 d49656 gc10-apps dba 06
R12 d49656 gc10-apps dba 06
 
Chapter09
Chapter09Chapter09
Chapter09
 
Less16 Recovery
Less16 RecoveryLess16 Recovery
Less16 Recovery
 
Less11 Security
Less11 SecurityLess11 Security
Less11 Security
 
Configuration of sap net weaver for oracle grid infrastructure 11.2 with orac...
Configuration of sap net weaver for oracle grid infrastructure 11.2 with orac...Configuration of sap net weaver for oracle grid infrastructure 11.2 with orac...
Configuration of sap net weaver for oracle grid infrastructure 11.2 with orac...
 
17398351 sap-system-copy-homcopyv1
17398351 sap-system-copy-homcopyv117398351 sap-system-copy-homcopyv1
17398351 sap-system-copy-homcopyv1
 
Oracle Concurrent Program Setup document
Oracle Concurrent Program Setup  documentOracle Concurrent Program Setup  document
Oracle Concurrent Program Setup document
 
Sap system copy procedure
Sap system copy procedureSap system copy procedure
Sap system copy procedure
 

Viewers also liked

R12 d49656 gc10-apps dba 08
R12 d49656 gc10-apps dba 08R12 d49656 gc10-apps dba 08
R12 d49656 gc10-apps dba 08zeesniper
 
R12 d49656 gc10-apps dba 21
R12 d49656 gc10-apps dba 21R12 d49656 gc10-apps dba 21
R12 d49656 gc10-apps dba 21zeesniper
 
Oracle App's DBA Training Noida Delhi NCR
Oracle App's DBA Training Noida Delhi NCROracle App's DBA Training Noida Delhi NCR
Oracle App's DBA Training Noida Delhi NCRShri Prakash Pandey
 
R12 d49656 gc10-apps dba 25
R12 d49656 gc10-apps dba 25R12 d49656 gc10-apps dba 25
R12 d49656 gc10-apps dba 25zeesniper
 
R12 d49656 gc10-apps dba 17
R12 d49656 gc10-apps dba 17R12 d49656 gc10-apps dba 17
R12 d49656 gc10-apps dba 17zeesniper
 
R12 d49656 gc10-apps dba 04
R12 d49656 gc10-apps dba 04R12 d49656 gc10-apps dba 04
R12 d49656 gc10-apps dba 04zeesniper
 
Developer & Fusion Middleware 2 _ Scott Robertson _ SOA, Portals and Enterpri...
Developer & Fusion Middleware 2 _ Scott Robertson _ SOA, Portals and Enterpri...Developer & Fusion Middleware 2 _ Scott Robertson _ SOA, Portals and Enterpri...
Developer & Fusion Middleware 2 _ Scott Robertson _ SOA, Portals and Enterpri...InSync2011
 
OOW15 - Online Patching with Oracle E-Business Suite 12.2
OOW15 - Online Patching with Oracle E-Business Suite 12.2OOW15 - Online Patching with Oracle E-Business Suite 12.2
OOW15 - Online Patching with Oracle E-Business Suite 12.2vasuballa
 
R12 d49656 gc10-apps dba 07
R12 d49656 gc10-apps dba 07R12 d49656 gc10-apps dba 07
R12 d49656 gc10-apps dba 07zeesniper
 

Viewers also liked (9)

R12 d49656 gc10-apps dba 08
R12 d49656 gc10-apps dba 08R12 d49656 gc10-apps dba 08
R12 d49656 gc10-apps dba 08
 
R12 d49656 gc10-apps dba 21
R12 d49656 gc10-apps dba 21R12 d49656 gc10-apps dba 21
R12 d49656 gc10-apps dba 21
 
Oracle App's DBA Training Noida Delhi NCR
Oracle App's DBA Training Noida Delhi NCROracle App's DBA Training Noida Delhi NCR
Oracle App's DBA Training Noida Delhi NCR
 
R12 d49656 gc10-apps dba 25
R12 d49656 gc10-apps dba 25R12 d49656 gc10-apps dba 25
R12 d49656 gc10-apps dba 25
 
R12 d49656 gc10-apps dba 17
R12 d49656 gc10-apps dba 17R12 d49656 gc10-apps dba 17
R12 d49656 gc10-apps dba 17
 
R12 d49656 gc10-apps dba 04
R12 d49656 gc10-apps dba 04R12 d49656 gc10-apps dba 04
R12 d49656 gc10-apps dba 04
 
Developer & Fusion Middleware 2 _ Scott Robertson _ SOA, Portals and Enterpri...
Developer & Fusion Middleware 2 _ Scott Robertson _ SOA, Portals and Enterpri...Developer & Fusion Middleware 2 _ Scott Robertson _ SOA, Portals and Enterpri...
Developer & Fusion Middleware 2 _ Scott Robertson _ SOA, Portals and Enterpri...
 
OOW15 - Online Patching with Oracle E-Business Suite 12.2
OOW15 - Online Patching with Oracle E-Business Suite 12.2OOW15 - Online Patching with Oracle E-Business Suite 12.2
OOW15 - Online Patching with Oracle E-Business Suite 12.2
 
R12 d49656 gc10-apps dba 07
R12 d49656 gc10-apps dba 07R12 d49656 gc10-apps dba 07
R12 d49656 gc10-apps dba 07
 

Similar to R12 d49656 gc10-apps dba 09

Oracle applications 11i dba faq
Oracle applications 11i dba faqOracle applications 11i dba faq
Oracle applications 11i dba faqirshadulla kayamkhani
 
Oracle EBS Release 12: Tips for Patching
Oracle EBS Release 12: Tips for PatchingOracle EBS Release 12: Tips for Patching
Oracle EBS Release 12: Tips for PatchingScott Jenner
 
AppDynamics Administration - AppSphere16
AppDynamics Administration - AppSphere16AppDynamics Administration - AppSphere16
AppDynamics Administration - AppSphere16AppDynamics
 
Db Triggers05ch
Db Triggers05chDb Triggers05ch
Db Triggers05chtheo_10
 
InduSoft Web Studio Driver Overview – SITIA and ABCIP
InduSoft Web Studio Driver Overview – SITIA and ABCIPInduSoft Web Studio Driver Overview – SITIA and ABCIP
InduSoft Web Studio Driver Overview – SITIA and ABCIPAVEVA
 
Developing Drizzle Replication Plugins
Developing Drizzle Replication PluginsDeveloping Drizzle Replication Plugins
Developing Drizzle Replication PluginsPadraig O'Sullivan
 
Oracle DBA interview_questions
Oracle DBA interview_questionsOracle DBA interview_questions
Oracle DBA interview_questionsNaveen P
 
CMake Tutorial
CMake TutorialCMake Tutorial
CMake TutorialFu Haiping
 
Basic information of function in cpu
Basic information of function in cpuBasic information of function in cpu
Basic information of function in cpuDhaval Jalalpara
 
ATG Framework,Formhandlers,Pricing
ATG Framework,Formhandlers,PricingATG Framework,Formhandlers,Pricing
ATG Framework,Formhandlers,Pricingpraveen chinnam
 
Basic of oracle application Login steps
Basic of oracle application Login stepsBasic of oracle application Login steps
Basic of oracle application Login stepsGirishchandra Darvesh
 
Yaetos Tech Overview
Yaetos Tech OverviewYaetos Tech Overview
Yaetos Tech Overviewprevota
 
Watch Re-runs on your SQL Server with RML Utilities
Watch Re-runs on your SQL Server with RML UtilitiesWatch Re-runs on your SQL Server with RML Utilities
Watch Re-runs on your SQL Server with RML Utilitiesdpcobb
 
Sahana Eden - Introduction to the Code
Sahana Eden - Introduction to the CodeSahana Eden - Introduction to the Code
Sahana Eden - Introduction to the CodeAidIQ
 
Adpatch options
Adpatch optionsAdpatch options
Adpatch optionsDeepti Singh
 

Similar to R12 d49656 gc10-apps dba 09 (20)

11i Logs
11i Logs11i Logs
11i Logs
 
Pacthing
PacthingPacthing
Pacthing
 
Oracle applications 11i dba faq
Oracle applications 11i dba faqOracle applications 11i dba faq
Oracle applications 11i dba faq
 
Oracle EBS Release 12: Tips for Patching
Oracle EBS Release 12: Tips for PatchingOracle EBS Release 12: Tips for Patching
Oracle EBS Release 12: Tips for Patching
 
AppDynamics Administration - AppSphere16
AppDynamics Administration - AppSphere16AppDynamics Administration - AppSphere16
AppDynamics Administration - AppSphere16
 
Db Triggers05ch
Db Triggers05chDb Triggers05ch
Db Triggers05ch
 
Test automation process
Test automation processTest automation process
Test automation process
 
Test automation process _ QTP
Test automation process _ QTPTest automation process _ QTP
Test automation process _ QTP
 
InduSoft Web Studio Driver Overview – SITIA and ABCIP
InduSoft Web Studio Driver Overview – SITIA and ABCIPInduSoft Web Studio Driver Overview – SITIA and ABCIP
InduSoft Web Studio Driver Overview – SITIA and ABCIP
 
Developing Drizzle Replication Plugins
Developing Drizzle Replication PluginsDeveloping Drizzle Replication Plugins
Developing Drizzle Replication Plugins
 
Oracle DBA interview_questions
Oracle DBA interview_questionsOracle DBA interview_questions
Oracle DBA interview_questions
 
CMake Tutorial
CMake TutorialCMake Tutorial
CMake Tutorial
 
Basic information of function in cpu
Basic information of function in cpuBasic information of function in cpu
Basic information of function in cpu
 
ATG Framework,Formhandlers,Pricing
ATG Framework,Formhandlers,PricingATG Framework,Formhandlers,Pricing
ATG Framework,Formhandlers,Pricing
 
Basic of Oracle Application
Basic of Oracle ApplicationBasic of Oracle Application
Basic of Oracle Application
 
Basic of oracle application Login steps
Basic of oracle application Login stepsBasic of oracle application Login steps
Basic of oracle application Login steps
 
Yaetos Tech Overview
Yaetos Tech OverviewYaetos Tech Overview
Yaetos Tech Overview
 
Watch Re-runs on your SQL Server with RML Utilities
Watch Re-runs on your SQL Server with RML UtilitiesWatch Re-runs on your SQL Server with RML Utilities
Watch Re-runs on your SQL Server with RML Utilities
 
Sahana Eden - Introduction to the Code
Sahana Eden - Introduction to the CodeSahana Eden - Introduction to the Code
Sahana Eden - Introduction to the Code
 
Adpatch options
Adpatch optionsAdpatch options
Adpatch options
 

Recently uploaded

Student login on Anyboli platform.helpin
Student login on Anyboli platform.helpinStudent login on Anyboli platform.helpin
Student login on Anyboli platform.helpinRaunakKeshri1
 
POINT- BIOCHEMISTRY SEM 2 ENZYMES UNIT 5.pptx
POINT- BIOCHEMISTRY SEM 2 ENZYMES UNIT 5.pptxPOINT- BIOCHEMISTRY SEM 2 ENZYMES UNIT 5.pptx
POINT- BIOCHEMISTRY SEM 2 ENZYMES UNIT 5.pptxSayali Powar
 
mini mental status format.docx
mini    mental       status     format.docxmini    mental       status     format.docx
mini mental status format.docxPoojaSen20
 
Grant Readiness 101 TechSoup and Remy Consulting
Grant Readiness 101 TechSoup and Remy ConsultingGrant Readiness 101 TechSoup and Remy Consulting
Grant Readiness 101 TechSoup and Remy ConsultingTechSoup
 
Paris 2024 Olympic Geographies - an activity
Paris 2024 Olympic Geographies - an activityParis 2024 Olympic Geographies - an activity
Paris 2024 Olympic Geographies - an activityGeoBlogs
 
social pharmacy d-pharm 1st year by Pragati K. Mahajan
social pharmacy d-pharm 1st year by Pragati K. Mahajansocial pharmacy d-pharm 1st year by Pragati K. Mahajan
social pharmacy d-pharm 1st year by Pragati K. Mahajanpragatimahajan3
 
APM Welcome, APM North West Network Conference, Synergies Across Sectors
APM Welcome, APM North West Network Conference, Synergies Across SectorsAPM Welcome, APM North West Network Conference, Synergies Across Sectors
APM Welcome, APM North West Network Conference, Synergies Across SectorsAssociation for Project Management
 
Z Score,T Score, Percential Rank and Box Plot Graph
Z Score,T Score, Percential Rank and Box Plot GraphZ Score,T Score, Percential Rank and Box Plot Graph
Z Score,T Score, Percential Rank and Box Plot GraphThiyagu K
 
Measures of Dispersion and Variability: Range, QD, AD and SD
Measures of Dispersion and Variability: Range, QD, AD and SDMeasures of Dispersion and Variability: Range, QD, AD and SD
Measures of Dispersion and Variability: Range, QD, AD and SDThiyagu K
 
Advance Mobile Application Development class 07
Advance Mobile Application Development class 07Advance Mobile Application Development class 07
Advance Mobile Application Development class 07Dr. Mazin Mohamed alkathiri
 
Nutritional Needs Presentation - HLTH 104
Nutritional Needs Presentation - HLTH 104Nutritional Needs Presentation - HLTH 104
Nutritional Needs Presentation - HLTH 104misteraugie
 
Kisan Call Centre - To harness potential of ICT in Agriculture by answer farm...
Kisan Call Centre - To harness potential of ICT in Agriculture by answer farm...Kisan Call Centre - To harness potential of ICT in Agriculture by answer farm...
Kisan Call Centre - To harness potential of ICT in Agriculture by answer farm...Krashi Coaching
 
Web & Social Media Analytics Previous Year Question Paper.pdf
Web & Social Media Analytics Previous Year Question Paper.pdfWeb & Social Media Analytics Previous Year Question Paper.pdf
Web & Social Media Analytics Previous Year Question Paper.pdfJayanti Pande
 
Beyond the EU: DORA and NIS 2 Directive's Global Impact
Beyond the EU: DORA and NIS 2 Directive's Global ImpactBeyond the EU: DORA and NIS 2 Directive's Global Impact
Beyond the EU: DORA and NIS 2 Directive's Global ImpactPECB
 
Ecosystem Interactions Class Discussion Presentation in Blue Green Lined Styl...
Ecosystem Interactions Class Discussion Presentation in Blue Green Lined Styl...Ecosystem Interactions Class Discussion Presentation in Blue Green Lined Styl...
Ecosystem Interactions Class Discussion Presentation in Blue Green Lined Styl...fonyou31
 
The basics of sentences session 2pptx copy.pptx
The basics of sentences session 2pptx copy.pptxThe basics of sentences session 2pptx copy.pptx
The basics of sentences session 2pptx copy.pptxheathfieldcps1
 
Russian Call Girls in Andheri Airport Mumbai WhatsApp 9167673311 đź’ž Full Nigh...
Russian Call Girls in Andheri Airport Mumbai WhatsApp  9167673311 đź’ž Full Nigh...Russian Call Girls in Andheri Airport Mumbai WhatsApp  9167673311 đź’ž Full Nigh...
Russian Call Girls in Andheri Airport Mumbai WhatsApp 9167673311 đź’ž Full Nigh...Pooja Nehwal
 
Arihant handbook biology for class 11 .pdf
Arihant handbook biology for class 11 .pdfArihant handbook biology for class 11 .pdf
Arihant handbook biology for class 11 .pdfchloefrazer622
 
SOCIAL AND HISTORICAL CONTEXT - LFTVD.pptx
SOCIAL AND HISTORICAL CONTEXT - LFTVD.pptxSOCIAL AND HISTORICAL CONTEXT - LFTVD.pptx
SOCIAL AND HISTORICAL CONTEXT - LFTVD.pptxiammrhaywood
 

Recently uploaded (20)

Student login on Anyboli platform.helpin
Student login on Anyboli platform.helpinStudent login on Anyboli platform.helpin
Student login on Anyboli platform.helpin
 
POINT- BIOCHEMISTRY SEM 2 ENZYMES UNIT 5.pptx
POINT- BIOCHEMISTRY SEM 2 ENZYMES UNIT 5.pptxPOINT- BIOCHEMISTRY SEM 2 ENZYMES UNIT 5.pptx
POINT- BIOCHEMISTRY SEM 2 ENZYMES UNIT 5.pptx
 
mini mental status format.docx
mini    mental       status     format.docxmini    mental       status     format.docx
mini mental status format.docx
 
Grant Readiness 101 TechSoup and Remy Consulting
Grant Readiness 101 TechSoup and Remy ConsultingGrant Readiness 101 TechSoup and Remy Consulting
Grant Readiness 101 TechSoup and Remy Consulting
 
Paris 2024 Olympic Geographies - an activity
Paris 2024 Olympic Geographies - an activityParis 2024 Olympic Geographies - an activity
Paris 2024 Olympic Geographies - an activity
 
social pharmacy d-pharm 1st year by Pragati K. Mahajan
social pharmacy d-pharm 1st year by Pragati K. Mahajansocial pharmacy d-pharm 1st year by Pragati K. Mahajan
social pharmacy d-pharm 1st year by Pragati K. Mahajan
 
APM Welcome, APM North West Network Conference, Synergies Across Sectors
APM Welcome, APM North West Network Conference, Synergies Across SectorsAPM Welcome, APM North West Network Conference, Synergies Across Sectors
APM Welcome, APM North West Network Conference, Synergies Across Sectors
 
Z Score,T Score, Percential Rank and Box Plot Graph
Z Score,T Score, Percential Rank and Box Plot GraphZ Score,T Score, Percential Rank and Box Plot Graph
Z Score,T Score, Percential Rank and Box Plot Graph
 
Measures of Dispersion and Variability: Range, QD, AD and SD
Measures of Dispersion and Variability: Range, QD, AD and SDMeasures of Dispersion and Variability: Range, QD, AD and SD
Measures of Dispersion and Variability: Range, QD, AD and SD
 
Advance Mobile Application Development class 07
Advance Mobile Application Development class 07Advance Mobile Application Development class 07
Advance Mobile Application Development class 07
 
Nutritional Needs Presentation - HLTH 104
Nutritional Needs Presentation - HLTH 104Nutritional Needs Presentation - HLTH 104
Nutritional Needs Presentation - HLTH 104
 
Kisan Call Centre - To harness potential of ICT in Agriculture by answer farm...
Kisan Call Centre - To harness potential of ICT in Agriculture by answer farm...Kisan Call Centre - To harness potential of ICT in Agriculture by answer farm...
Kisan Call Centre - To harness potential of ICT in Agriculture by answer farm...
 
Web & Social Media Analytics Previous Year Question Paper.pdf
Web & Social Media Analytics Previous Year Question Paper.pdfWeb & Social Media Analytics Previous Year Question Paper.pdf
Web & Social Media Analytics Previous Year Question Paper.pdf
 
Beyond the EU: DORA and NIS 2 Directive's Global Impact
Beyond the EU: DORA and NIS 2 Directive's Global ImpactBeyond the EU: DORA and NIS 2 Directive's Global Impact
Beyond the EU: DORA and NIS 2 Directive's Global Impact
 
Ecosystem Interactions Class Discussion Presentation in Blue Green Lined Styl...
Ecosystem Interactions Class Discussion Presentation in Blue Green Lined Styl...Ecosystem Interactions Class Discussion Presentation in Blue Green Lined Styl...
Ecosystem Interactions Class Discussion Presentation in Blue Green Lined Styl...
 
The basics of sentences session 2pptx copy.pptx
The basics of sentences session 2pptx copy.pptxThe basics of sentences session 2pptx copy.pptx
The basics of sentences session 2pptx copy.pptx
 
Russian Call Girls in Andheri Airport Mumbai WhatsApp 9167673311 đź’ž Full Nigh...
Russian Call Girls in Andheri Airport Mumbai WhatsApp  9167673311 đź’ž Full Nigh...Russian Call Girls in Andheri Airport Mumbai WhatsApp  9167673311 đź’ž Full Nigh...
Russian Call Girls in Andheri Airport Mumbai WhatsApp 9167673311 đź’ž Full Nigh...
 
Arihant handbook biology for class 11 .pdf
Arihant handbook biology for class 11 .pdfArihant handbook biology for class 11 .pdf
Arihant handbook biology for class 11 .pdf
 
Mattingly "AI & Prompt Design: The Basics of Prompt Design"
Mattingly "AI & Prompt Design: The Basics of Prompt Design"Mattingly "AI & Prompt Design: The Basics of Prompt Design"
Mattingly "AI & Prompt Design: The Basics of Prompt Design"
 
SOCIAL AND HISTORICAL CONTEXT - LFTVD.pptx
SOCIAL AND HISTORICAL CONTEXT - LFTVD.pptxSOCIAL AND HISTORICAL CONTEXT - LFTVD.pptx
SOCIAL AND HISTORICAL CONTEXT - LFTVD.pptx
 

R12 d49656 gc10-apps dba 09

  • 1. Use Oracle Applications AD Utilities
  • 2.
  • 3.
  • 4. AD Utilities Oracle Database Oracle Applications File System AD Utilities
  • 5.
  • 6. Configuration and Environment Files APPL_TOP/admin applterr.txt APPL_TOP/admin applprod.txt APPL_TOP/admin adalldefaults.txt APPL_TOP/admin adconfig.txt Location Name
  • 7. Configuration and Environment Files APPL_TOP/admin adovars.env/cmd APPL_TOP <context name>.env/cmd APPL_TOP APPS<context name>.env/cmd APPL_TOP/admin applorau.txt APPL_TOP/admin applora.txt Location Name
  • 8.
  • 9. The AD Utilities Manages parallel workers in AD Administration, and AutoPatch. AD Controller Applies patches and adds new languages and products. AutoPatch Performs maintenance tasks on the Oracle Applications file system and database. AD Administration Description AD Utility
  • 10. The AD Utilities Registers off-cycle products. AD Splicer Merges multiple patches into a single, integrated patch. AD Merge Patch Relinks Oracle Applications executable programs with the Oracle server product libraries. AD Relink Description AD Utility
  • 11. The AD Utilities Provides timing summary reports for jobs run by parallel workers. AD Job Timing Report Converts a file from one character set to another. File Character Set Converter Reports standard information about the installed configuration of Oracle Applications. AD Configuration Identifies the version of an Oracle Applications file. AD File Identification Description AD Utility
  • 12. The Web-based Utilities Licenses products, country-specific functionalities, or languages. License Manager Updates the Applications context with new system configuration and helps manage the system configuration files. AutoConfig Description Utility
  • 13. The Web-based Utilities Determines patches that have not been applied, but that should be applied to keep the system current. Downloads and merges patches from Oracle MetaLink . Patch Wizard Stores patch history information and allows you to query patch and file history information. Applied Patches Description Utility
  • 14.
  • 15.
  • 16.
  • 17. Command Line Arguments - abandon n Default y or n Values Example Purpose Used by abandon AD Administration, AutoPatch adpatch interactive=n abandon=y Tells AD utilities to abandon an existing non-interactive session. Can be used only when interactive=n is also specified.
  • 18. Command Line Arguments - defaultsfile None, meaning that no defaults file is used. Default A fully-qualified filename. Must be under the APPL_TOP/admin/<SID> directory. Values Example Purpose Used by defaultsfile AD Administration, AutoPatch adpatch defaultsfile=/d1/apps/prodappl/admin/prod1/prod_def.txt Specifies the defaults file, which stores answers to interactive AD utility questions. Normally used in non-interactive mode.
  • 19. Command Line Arguments - help n Default y or n Values Example Purpose Used by help All AD Utilities adpatch help=y Summarizes available command line options.
  • 20. Command Line Arguments - interactive y, meaning that the utility runs in interactive mode Default y or n Values Example Purpose Used by interactive AD Administration, AutoPatch adpatch interactive=n Tells AD utilities whether to run in interactive mode or non-interactive mode.
  • 21. Command Line Arguments - localworkers Defaults to the value of the workers argument, which means all workers run on the primary node. Default 1 to the maximum supported by your database, but not more than 999, Inclusive Values Example Purpose Used by localworkers AD Administration, AutoPatch adpatch workers=8 localworkers=3 Specifies the number of workers to run on the primary node in a Distributed AD environment.
  • 22. Command Line Arguments - logfile None, meaning that the utility will prompt for the log file name. Default A file name (not a fully-qualified path name) Values Example Purpose Used by logfile All AD Utilities adpatch logfile=test.log Tells AD utilities what log file to use. Normally used in non-interactive mode.
  • 23. Command Line Arguments - menu_option n/a Default Varies. See utility specific section for details Values Example Purpose Used by menu_option AD Administration, AD Controller adctrl interactive=n defaultsfile=$APPL_TOP/admin/prod/defs.txt menu_option=SHOW_STATUS When running one of these utilities non-interactively, used to connect the actions in a defaults file with a specific menu item.
  • 24. Command Line Arguments - parallel_index_threshold 20000; meaning a threshold of 20,000 blocks. Default 0 to 2147483647; if set to 0, indexes are created with parallel workers and serial DML Values Example Purpose Used by parallel_index_threshold AD Administration, AutoPatch adpatch parallel_index_threshold=15000 Specifies the number of blocks in a table.
  • 25. Command Line Arguments - printdebug n Default y or n Values Example Purpose Used by printdebug All AD Utilities adpatch printdebug=y Tells AD programs to display extra debugging information. In some cases, the amount of extra debugging information is substantial.
  • 26. Command Line Arguments - restart n, meaning that the utility run in non-interactive mode will expect to run a completely new session. Default y or n Values Example Purpose Used by restart AD Administration, AutoPatch adpatch interactive=n restart=y Tells AD utilities to restart an existing session in non-interactive mode. Only valid when interactive=n is also specified.
  • 27. Command Line Arguments - wait_on_failed_job n Default y or n Values Example Purpose Used by wait_on_failed_job AD Administration, AutoPatch adpatch wait_on_failed_job=yes Directs the utilities to wait for user input in a non-interactive session when a job fails.
  • 28. Command Line Arguments - workers None, meaning that the program will prompt for the number of workers to run. Default 1 to 999, inclusive Values Example Purpose Used by workers AD Administration, AutoPatch adpatch workers=6 Specifies the number of workers to run. Normally used in non-interactive mode.
  • 29. Command Line Arguments - flags None, meaning that no flags have been passed. Default Information about specific flags are covered on the following pages. Values Example Purpose Used by flags All AD Utilities adpatch flags=hidepw Generic flags passed to AD utilities. Information about specific flags are covered on the following pages.
  • 30. AD Utilities Flags - hidepw By default, lines in an AD utility log file containing passwords are modified to hide the passwords Comments Default Purpose flags=hidepw Directs the utilities to either hide or show passwords in AD Utility log files. hidepw
  • 31. AD Utilities Flags - logging Use of NOLOGGING when creating indexes may increase performance. However, it also makes database media recovery incomplete, and does not work with standby databases. Comments Default Purpose flags=logging Tells the AD Utility whether to create indexes using the logging or nologging mode. logging
  • 32. AD Utilities Flags - trace RDBMS trace files created while running an AD utility may aid debugging. Comments Default Purpose flags=trace Tells the AD Utility whether to log all database operations to a trace file. notrace
  • 33.
  • 34.
  • 35. AD Feature Versions The status of various features in this run of AD Administration is: <-- Feature version in --> Feature Active? APPLTOP Data model ----------------- ------- ------- ------------- CHECKFILE Yes 1 1 PREREQ Yes 6 6 CONCURRENT_SESSIONS No 2 2 PATCH_TIMING Yes 2 2 PATCH_HIST_IN_DB Yes 5 5 SCHEMA_SWAP Yes 1 1
  • 36.
  • 37.
  • 38.
  • 39.
  • 40.
  • 41.
  • 42.
  • 43.
  • 44.
  • 45.
  • 46. Log Files AD Administration records your AD Administration session in a text file you specify. Enter your AD Administration log file name or press [Return] to accept the default name shown in brackets. Filename [adadmin.log] :
  • 47.
  • 48.
  • 49. Manager and Worker Log Messages Assigned: file ad_wait1sec.sql on worker 1 for product ad username APPLSYS. FAILED: file ad_wait1sec.sql on worker 1 for product ad username APPLSYS. ATTENTION: All workers either have failed or are waiting:
  • 50.
  • 51.
  • 52.
  • 53.
  • 54.
  • 55.
  • 56.

Editor's Notes

  1. ILT Schedule: Timing Topic 40 minutes Lecture 30 minutes Practice 70 minutes Total
  2. &lt;Course name&gt; &lt;Lesson number&gt; -
  3. &lt;Course name&gt; &lt;Lesson number&gt; -
  4. &lt;Course name&gt; &lt;Lesson number&gt; - Overview The AD utilities are a set of tools used to install, upgrade, patch and maintain the Oracle Applications database and file system. This section of the course introduces some of the key AD utilities. We cover many of the utilities in detail and provide a high level overview of others.
  5. &lt;Course name&gt; &lt;Lesson number&gt; - AD Utilities Many of the utilities used for Oracle Applications maintenance are called AD utilities. AD is an abbreviation for Applications DBA. The AD utilities have similar interfaces, operation, input and report format. Much of the discussion about how these utilities work is common to all the AD utilities. In addition to the AD utilities, some maintenance tasks are run from the Oracle Applications Manager (OAM). OAM is a web-based application that provides a subset of System Administrator functions and many other features. Note: See Oracle Applications System Administrator’s Guide for more information on Oracle Applications Manager.
  6. &lt;Course name&gt; &lt;Lesson number&gt; - Configuration and Environment Files The following configuration and environment files are pertinent to, and used by, most of the AD utilities. adconfig.txt: Contains environment information used by all AD utilities. Do not update this file manually. adalldefaults.txt: A template defaults file that contains entries for all defaults-enabled prompts in AD utilities. Can be copied to APPL_TOP/admin/&lt;SID&gt;/&lt;new_name&gt;.txt and edited. Used for AD utilities run in non-interactive mode. applprod.txt: The AD utilities product description file, which is used to identify all products and product dependencies. applterr.txt: The AD utilities territory description file. It contains information on all supported territories and localizations.
  7. &lt;Course name&gt; &lt;Lesson number&gt; - Configuration and Environment Files (cont.) applora.txt: Contains information about required init.ora parameters for runtime. applorau.txt: Contains information about required init.ora parameters for install and upgrade. APPS&lt;CONTEXT_NAME&gt;.env (UNIX) or APPS&lt;CONTEXT_NAME&gt;.cmd (Windows): Calls the appropriate &lt;CONTEXT_NAME&gt;.env (UNIX) or &lt;CONTEXT_NAME&gt;.cmd (Windows) file to set up the Oracle Applications (APPL_TOP) and the Applications technology stack (10.1.2). (Called APPSORA.env in 11 i releases.) &lt;CONTEXT_NAME&gt;.env (UNIX) or &lt;CONTEXT_NAME&gt;.cmd (Windows): The APPL_TOP environment file used to configure the environment to run and maintain Oracle Applications. It is created by AutoConfig. adovars.env (UNIX) or adovars.cmd (Windows): Called by &lt;CONTEXT_NAME&gt;.env (UNIX) or &lt;CONTEXT_NAME&gt;.cmd (Windows) and is used to set environment variables for Java and HTML.
  8. &lt;Course name&gt; &lt;Lesson number&gt; - Setting the Environment Before you start any AD utility, you must first set the Oracle Applications environment: 1. Log in as applmgr (Applications file system owner). 2. Run the environment or command file for the current APPL_TOP and database. Note: See the Oracle Applications Installation Update Notes for any additional steps. UNIX: The environment file is typically APPS&lt;CONTEXT_NAME&gt;.env, and is located under APPL_TOP. From a Bourne or Korn shell, type the following: $ . APPS&lt;CONTEXT_NAME&gt;.env Windows: Run %APPL_TOP%\\envshell&lt;CONTEXT_NAME&gt;.cmd using the Run command from the Start menu. This creates a Command Prompt window that contains the required environment settings for Oracle Applications. Run all subsequent commands in this Command Prompt window. 3. If you have made any changes to the environment, check that they are correctly set by entering the following commands: UNIX: $ echo $TWO_TASK $ echo $ORACLE_HOME $ echo $PATH Windows: C:\\&gt; echo %LOCAL% C:\\&gt; echo %ORACLE_HOME% C:\\&gt; echo %PATH% C:\\&gt; echo %APPL_CONFIG% ORACLE_HOME must be set to the OracleAS 10.1.2 Oracle home, and TWO_TASK or LOCAL must identify the correct database. On Windows, APPL_CONFIG must be set to &lt;CONTEXT_NAME&gt;. 4. Ensure that there is sufficient temporary disk space. You should have at least 50 MB in the temporary directories denoted by $APPLTMP, $APPLPTMP, and $REPORTS_TMP (UNIX) or %APPLTMP%, %APPLPTMP%, and %REPORTS_TMP% (Windows). You should also have space in the operating system’s default temporary directory, which is usually /tmp or /usr/tmp (UNIX) or C:\\temp (Windows). 5. Shut down all concurrent managers if you plan to relink Oracle Applications product files or modify Oracle Applications database objects.
  9. &lt;Course name&gt; &lt;Lesson number&gt; - The AD Utilities The AD utilities perform a variety of tasks, including generating files, updating your system, merging and applying patches, and installing off-cycle products. There are three primary AD utilities: AD Administration and AutoPatch. Several other maintenance utilities were developed for specific Oracle Applications maintenance tasks. As one AD utility runs, it may automatically call one of the other utilities. However, you can also run most utilities directly. The following is a list of AD utilities and their program names. AD Administration: adadmin AutoPatch: adpatch AD Controller: adctrl
  10. &lt;Course name&gt; &lt;Lesson number&gt; - The AD Utilities AD Relink: adrelink AD Merge Patch: admrgpch AD Splicer: adsplice
  11. &lt;Course name&gt; &lt;Lesson number&gt; - The AD Utilities File Character Set Converter: adncnv AD Configuration: adutconf.sql AD File Identification: adident AD Timing Report: adtimrpt.sql
  12. &lt;Course name&gt; &lt;Lesson number&gt; - The AD Utilities The following utilities are run from OAM: AutoConfig: Accessed through OAM and command line (adautocfg.sh or adautocfg.cmd) License Manager: Accessed through OAM
  13. &lt;Course name&gt; &lt;Lesson number&gt; - The AD Utilities Patch Wizard: Accessed through OAM Applied Patches: Accessed through OAM
  14. &lt;Course name&gt; &lt;Lesson number&gt; - Running the AD Utilities To run an AD utility, type the utility’s start command (such as adpatch, adadmin or adaimgr) and answer the prompts. You can exit most utilities by entering abort at any prompt. You can restart by typing the start command for that utility. When you restart, you can enter a new log file name or specify the log file from the previous session. When you reuse a log file, the utility adds the message “Start of &lt;utility name&gt; session” to the end of the file and appends messages from the continued session as it generates them. You can then do one of the following: Continue session (the default) The utility restarts at the point where your last session stopped. Start new session The utility asks you to confirm your choice if you choose not to continue the previous session. It then starts from the beginning. Note: Oracle Applications recommends continuing a prior session to completion.
  15. &lt;Course name&gt; &lt;Lesson number&gt; - Command Line Arguments Enter AD command line arguments in lowercase. The &amp;quot;token&amp;quot; portion of the command is converted to lower-case, but the &amp;quot;value&amp;quot; is not. In some cases, &amp;quot;value&amp;quot; is a comma-separated list. Note that AD command line arguments cannot contain embedded whitespace characters. Note: Not all AD command line arguments are covered in this course as some should only be used when instructed by Oracle Support Services. Instructor Note: There is an Oracle internal-only document available on Oracle MetaLink (Note 233038.1) that describes additional AD command line options.
  16. &lt;Course name&gt; &lt;Lesson number&gt; - Command Line Arguments The first line with invalid syntax contains a space between the arguments. On the second line with invalid syntax, the token (&amp;quot;OPTIONS&amp;quot;) will be converted to lowercase, but the values (NOCOPYPORTION,NOGENERATEPORTION) will not be recognized in uppercase. Example of using multiple command line arguments: adpatch printdebug=y options=validate flags=hidepw
  17. &lt;Course name&gt; &lt;Lesson number&gt; - Command Line Arguments - abandon The default is n, meaning that the last utility run non-interactively did not successfully complete the processing and the incomplete session will not be abandoned. Use abandon=y after a failed non-interactive session or you have aborted a prior session and you want to skip the incomplete non-interactive session and start a new one.
  18. &lt;Course name&gt; &lt;Lesson number&gt; -
  19. &lt;Course name&gt; &lt;Lesson number&gt; - Command Line Arguments - help Using the help argument does not actually run the utility.
  20. &lt;Course name&gt; &lt;Lesson number&gt; -
  21. &lt;Course name&gt; &lt;Lesson number&gt; -
  22. &lt;Course name&gt; &lt;Lesson number&gt; -
  23. &lt;Course name&gt; &lt;Lesson number&gt; -
  24. &lt;Course name&gt; &lt;Lesson number&gt; - Command Line Arguments - parallel_index_threshold If a table contains less blocks than the threshold setting, indexes are created with parallel workers and serial DML. If the table contains more blocks than the threshold setting, indexes are created with one worker and parallel DML.
  25. &lt;Course name&gt; &lt;Lesson number&gt; -
  26. &lt;Course name&gt; &lt;Lesson number&gt; -
  27. &lt;Course name&gt; &lt;Lesson number&gt; -
  28. &lt;Course name&gt; &lt;Lesson number&gt; -
  29. &lt;Course name&gt; &lt;Lesson number&gt; -
  30. &lt;Course name&gt; &lt;Lesson number&gt; - AD Utilities Flags - hidepw Lines in an AD utility log file containing passwords are masked to not display the passwords. When nohidepw is specified, each line containing masked passwords is followed by a corresponding line prefixed with HIDEPW. The HIDEPW line shows the original line with passwords. When hidepw is specified, the HIDEPW: line is not displayed.The hide password functionality now also masks the password on the screen.
  31. &lt;Course name&gt; &lt;Lesson number&gt; - AD Utilities Flags - logging LOGGING is the default in AutoPatch to support database media recovery and standby databases. We do not recommend using flags=nologging for production systems unless you make a complete backup both before and after running AutoPatch. Instructor Note: flags=nologging affects indexes created through ODF only, not SQL scripts. The XDF utility always creates indexes with logging. XDF is the next generation ODF.
  32. &lt;Course name&gt; &lt;Lesson number&gt; - AD Utilities Flags - trace The flags=trace option creates multiple trace files for the AD utility and the AD workers. There is a new trace file each time the utility connects to the database. Note that flags=trace only traces database operations internal to the AD utility itself. Database operations in SQL scripts or external programs run by the AD utility are not recorded by flags=trace.
  33. &lt;Course name&gt; &lt;Lesson number&gt; - AD Utilities Features AutoPatch and AD Administration, and some of the other utilities, employ certain common features. For example, they perform processing tasks in parallel, create log files, and make extensive use of prompts to gather the values for system-specific information.
  34. &lt;Course name&gt; &lt;Lesson number&gt; - AD Feature Versions AD has several major features that require the files on the file system and the tables in the database to match. To ensure this, each major feature now has both a file system and database version, and AD only enables the feature if the file system and database versions match.
  35. &lt;Course name&gt; &lt;Lesson number&gt; - AD Feature Versions During the initial startup of some AD utilities, the Feature Versions information will scroll across your screen. This example shows that the file system and database versions of key AD features are synchronized. The Active column states whether the feature is implemented. Instructor Note: There are six flags to the right of the information in the screen, which look like “Y Y N Y N N.” The meaning of the flags is as follows: First flag: Is the feature enabled in the APPL_TOP? Second flag : Does the feature require an enabling file on the file system? Third flag: Does the enabling file exist? Fourth flag: Does the feature depend on any database objects? Fifth flag: Is the value of the 6th flag relevant? Sixth flag: Is the feature enabled in the database?
  36. &lt;Course name&gt; &lt;Lesson number&gt; - AD Prompts Many of the AD utilities prompt for the information needed to complete a task. Prompts typically include a description of the information needed, and may include a default answer (in square brackets). For example: The ORACLE username specified below for Application Object Library uniquely identifies your existing product group: APPLSYS Enter the ORACLE password of Application Object Library [APPS] : Press Return to accept the default value, or type a new value after the colon and press Return. Attention: Read the prompts carefully to make sure you supply the correct information.
  37. &lt;Course name&gt; &lt;Lesson number&gt; - Parallel Processing Parallel processing is controlled by job managers , which, in turn, direct the actions of worker processes. The workers complete processing tasks assigned to them by the manager. Utilities that use parallel processing determine the list of tasks to be performed and prioritize them for execution. The utility also prompts for the number of workers you want to perform the tasks. For example, when AutoPatch is executing a database driver, it creates a list of database tasks and prompts for the number of workers that should run concurrently to execute these tasks. AutoPatch and AD Administration are the manager processes in this model. The worker processes are instances of the adworker program. The adworker program can only be called by the manager processes and cannot be run stand-alone. The manager creates the FND_INSTALL_PROCESSES table, assigns each worker a unique ID, and inserts a row for each worker. This table serves as a staging area for the job information, and as a way for the manager and the worker to communicate. Communication is accomplished using two columns: CONTROL_CODE and STATUS.
  38. &lt;Course name&gt; &lt;Lesson number&gt; - Parallel Processing - Managers 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 its assignment, the manager updates each row with the next task in the list, and leaves another message for the worker. Once all jobs are complete, the manager tells the workers to shut down, and then drops the FND_INSTALL_PROCESSES table (after it is sure all workers have actually shut down).
  39. &lt;Course name&gt; &lt;Lesson number&gt; - Parallel Processing - Workers Each worker updates the STATUS column, giving the manager a report on its progress. As the jobs are completed, the manager updates the table with the next job in the queue, and updates the CONTROL_CODE and STATUS columns telling the worker to start processing. If there is a failure, the worker reports a failed status. For certain tasks, worker processes spawn other child processes that do the actual work. The spawned child process returns a status code to the worker that spawned it. The worker interprets the code to determine if the job completed successfully. Examples of child processes are SQL*Plus and FNDLOAD. Use AD Controller to determine the status of workers and to control their operation.
  40. &lt;Course name&gt; &lt;Lesson number&gt; - Parallel Processing - Deferred Jobs 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. Instructor Note: Total runtime of the job is the time required to complete the job.
  41. &lt;Course name&gt; &lt;Lesson number&gt; -
  42. &lt;Course name&gt; &lt;Lesson number&gt; - Note: Con is short for disable constraints and foreign keys.
  43. &lt;Course name&gt; &lt;Lesson number&gt; - Distributed AD Many deployments utilize large database servers and multiple, smaller application (middle) tier systems. With the increasing deployment of low cost Linux-based systems, this configuration is becoming more common. A feature that facilitates distribution of work across such a system is therefore useful. Historically, AD has always utilized a job system, where multiple workers are assigned jobs. Information for the job system is stored in the database, and workers receive their assignments based on the contents of the relevant tables. The Distributed AD feature offers improved scalability, performance, and resource utilization, by allowing workers of the same AD session to be started on multiple application tier nodes, utilizing available resources to complete their assigned jobs more efficiently.
  44. &lt;Course name&gt; &lt;Lesson number&gt; - Distributed AD Because the AD workers create and update file system objects as well as database objects, a shared APPL_TOP must be used to ensure the files are created in a single, centralized location. Instructor Note : See Chapter 9 of Oracle Applications Concepts for an introduction to using a shared APPL_TOP and shared application tier file system. For additional details, see Oracle MetaLink Note 384248.1, Sharing the Application Tier File System in Oracle E-Business Suite Release 12.
  45. &lt;Course name&gt; &lt;Lesson number&gt; - Distributed AD On one of the shared APPL_TOP nodes, you start an AutoPatch or AD Administration session, specifying the number of local workers and the total number of workers. While using AutoPatch or AD Administration, you can start a normal AD Controller session from any of the nodes in the shared APPL_TOP environment to perform any standard AD Controller operations, using both local and non-local workers. Instructor Note: The job system can be invoked multiple times during AutoPatch and AD Administration runs. Each time an individual invocation of the job system completes, distributed AD Controller sessions will wait until either the job system is invoked again (at which point it will once again start the local workers) or until the AD utility session ends (at which point distributed AD Controller will exit).
  46. &lt;Course name&gt; &lt;Lesson number&gt; - Log Files All AD utilities record their processing actions and any errors in log files. Many utilities prompt you for the name of the log file that will record the processing session. The default file name is &lt;utility name&gt;.log. For example, for AD Administration, the default log file is adadmin.log. The three primary AD utilities place the log file in $APPL_TOP/admin/&lt;SID&gt;/log, where &lt;SID&gt; is the value of your ORACLE_SID or TWO_TASK variable (UNIX), or in %APPL_TOP%\\admin\\&lt;SID&gt;\\log, where &lt;SID&gt; is the value of the LOCAL variable (Windows). Some utilities may not prompt you for a log file name, and they may write their log file in the directory from which the utility was run. Instructor Note: The location to which each utility writes its log file is covered in the specific utility section.
  47. &lt;Course name&gt; &lt;Lesson number&gt; - Worker Log Files In addition to the information recorded in the &lt;utility name&gt;.log file, utilities that process jobs in parallel mode write details about any errors to worker log files. Review these adwork&lt;number&gt;.log files (adwork001.log, adwork002.log...) for information about any errors. These files are written to the $APPL_TOP/admin/&lt;SID&gt;/log directory, where &lt;SID&gt; is the value of the ORACLE_SID or TWO_TASK variable (UNIX), or in %APPL_TOP%\\admin\\&lt;SID&gt;\\log, where &lt;SID&gt; is the value of ORACLE_SID or LOCAL (Windows). Concurrent requests submitted during an AutoPatch or AD Administration session have their own log files, typically with a file extension of .req.
  48. &lt;Course name&gt; &lt;Lesson number&gt; - Restart Files By default, AD utilities delete their restart files when processing completes, but leave backup versions with the extensions .bak, .bk2, or .bk3. Each worker may also have a restart file called adworkxxx.rf9. These files are stored in $APPL_TOP/admin/&lt;SID&gt;/restart or in %APPL_TOP%\\admin\\&lt;SID&gt; \\restart on Windows. The worker creates the restart file when the manager assigns it a job, and deletes the restart file when it finishes the job. Warning: Do not modify or delete any manager or worker restart files unless specifically told to do so by Oracle Support Services.
  49. &lt;Course name&gt; &lt;Lesson number&gt; - Manager and Worker Log Messages AutoPatch and AD Administration act as managers that coordinate a number of workers and assign them jobs to run during the task. When these utilities are running, you see messages like the following on the screen: Starting phase 0 (A0): first There are now 2 jobs remaining (current phase=A0): 0 running, 2 ready to run and 0 waiting. Assigned: file ad_wait1sec.sql on worker 1 for product ad username APPLSYS. Assigned: file ad_wait2sec.sql on worker 2 for product ad username APPLSYS. FAILED: file ad_wait1sec.sql on worker 1 for product ad username APPLSYS. Deferred: file ad_wait1sec.sql on worker 1 for product ad username APPLSYS. (Defer number 1 for this job) Assigned: file ad_wait1sec.sql on worker 1 for product ad username APPLSYS. Completed: file ad_wait2sec.sql on worker 2 for product ad username APPLSYS. FAILED: file ad_wait1sec.sql on worker 1 for product ad username APPLSYS. Deferred: file ad_wait1sec.sql on worker 1 for product ad username APPLSYS. (Defer number 2 for this job) Assigned: file ad_wait1sec.sql on worker 1 for product ad username APPLSYS. FAILED: file ad_wait1sec.sql on worker 1 for product ad username APPLSYS. ATTENTION: All workers either have failed or are waiting: FAILED: file ad_wait1sec.sql on worker 1. ATTENTION: Please fix the above failed worker(s) so the manager can continue. Restarted: file ad_wait1sec.sql on worker 1 for product ad username APPLSYS. Completed: file ad_wait1sec.sql on worker 1 for product ad username APPLSYS. These messages indicate what each worker is doing. The example shows two workers running SQL scripts for one product, which is identified by its abbreviation (ad).
  50. &lt;Course name&gt; &lt;Lesson number&gt; - Manager and Worker Log Messages In this example, worker 1 failed on the file adcjmdt.sql for Applications DBA (ad). If the job can be deferred, the manager displays a message that the job is deferred and assigns another job to the worker. If the job cannot be deferred, the worker, the failed job, and all jobs that depend on the failed job are idle after a worker fails. The manager continues to assign jobs that are not dependent on the failed job to the other workers. The AutoPatch, or AD Administration session is not complete until all jobs run successfully. When a job fails, determine the cause of failure, fix the problem, and restart the job.
  51. &lt;Course name&gt; &lt;Lesson number&gt; - Maintenance Mode Maintenance mode is a mode of operation in which the Oracle Applications system is made accessible only for patching activities. This provides optimal performance for AutoPatch sessions, and minimizes downtime needed. Administrators can schedule system downtime using Oracle Applications Manager, and send alert messages to users about the impending downtime. When maintenance mode is enabled, users attempting to log on to Oracle Applications are redirected to a system downtime URL. Maintenance downtimes are scheduled through OAM. Maintenance mode is only needed for AutoPatch sessions. Other AD utilities do not require maintenance mode to be enabled. Instructor Note : Maintenance Mode minimizes downtime by shutting down the Workflow Business Events System, which uses the Cache Invalidation Workflow feature to generate Java cache invalidation messages for changes to seed data, and, as a result, impairs the performance of FNDLOAD. As some patch sessions update a significant amount of seed data, and also require running FNDLOAD in the background, disabling Cache Invalidation Workflow improves the performance of AutoPatch sessions.
  52. &lt;Course name&gt; &lt;Lesson number&gt; - Maintenance Mode You can toggle Maintenance Mode between enabled and disabled using the Change Maintenance Mode menu in AD Administration, or the equivalent function in Oracle Applications Manager.
  53. &lt;Course name&gt; &lt;Lesson number&gt; -
  54. &lt;Course name&gt; &lt;Lesson number&gt; -
  55. &lt;Course name&gt; &lt;Lesson number&gt; -
  56. &lt;Course name&gt; &lt;Lesson number&gt; - Refer to Practice - Setting the Applications Environment and Locating the AD Utilities [ LAB41F6Y ]