SlideShare une entreprise Scribd logo
1  sur  11
PATCHING
AutoPatch is a utility that applies patches and adds new products and languages to an Oracle Applications
installation.
Patches are released in the following formats:
Stand-alone : Fixes a specific issue or provides new functionality.
High-priority : Having an impact is broad enough to merit application by all customers who have
installed the affected product.
Mini-pack : A consolidation of all patches for a product.
Family-pack : A consolidation of set of Mini-packs and other patches for a product family.
Family consolidated upgrade patch : All upgrade-related,high-priority patches consolidated from
all products with in a product family.
Maintenance pack : A consolidation of all product mini-packs.A maintenance pack updates a
system to a new point release of Oracle Applications, such as 11.5.8.
Patch Structure :
Patches generally have a top-level directory,several files in the top level directory and
one or more subdirectories.
-The README.txt file contains the important information about the patch.
-A patch may contain one or more of the following patch drivers.
-Copy driver c<patch number>.drv
-Contains commands to change Oracle applications files.
-Database driver d<patch number>.drv
-Contains command to change Oracle applications database
objects.
-Generate driver g<patch number>.drv
-Contains commands to generate forms,reports,graphics or
message files.
-Unified driver u<patch number>.drv
The unified driver replaces the above three drivers.
Patch Application Modes :
Autopatch can apply patches in two specialised modes
-Test Mode :
# With Test mode,the effects of applying a ptch on the system can be seen before applying the patch.
#Autopatch doesnot apply the patch,instead it lists each file it would have copied,relinked and
executed.
$adpatch apply=no
-Pre-install mode :
# It is generally used during the upgrade process to update AD utilities.
# Pre-install mode performs the following actions :
* Version checking.
* File copy actions
* Relink FND and AD executables.
* Save patch history information to the file system.
$adpatch preinstall=y
AutoPatch can be run in two ways :
1.Interactive Mode :
- Patch can be applied in Interactive mode by typing adpatch at the prompt.
- In the interactive mode the patch application prompts for the input of some values such as
1.APPL_TOP
2.Log file name (default is adpatch.log).
3.Database name.
4.SYSTEM password.
5.AOL user password.
6. Patch Driver file name.
Log file is cerated at $APPL_TOP/admin/<SID>/log/
2.Non-Interactive mode:
-Non-interactive mode is a way to avoid some of the prompts and automate the
patching process.
-A defults file is created by any of the following ways :
-Creating a defults file running AutoPatch interactively with a pecific command line
option.
-Copy $APPL_TOP/admin/adalldefaults.txt to $APPL_TOP/admin/<SID>/<new-
file>.txt and edit as needed.
-Provide the created file as a value for the parameter 'defaultsfile '.
Ex:adpatch defaultsfile=<new-file>.txt
Log file is created at $APPL_TOP/admin/log/
Restarting AutoPatch Session :
-If a AutoPatch session is aborted or it did not run to completion, the aborted session can be restarted.
-AutoPatch prompts for the name of the log file.If the log file of the aborted session is provided,the
AutoPatch asks whether to continue the previous session by saying that it did not run to completion.
-If the value provided is 'yes' then the AutoPatch continues from the previous session.
-If the value provided is 'No',then it prompts for confirmation whether to start a new session and starts a
new session if given 'yes'.
AutoPatch command line arguments :
●
Preinstall : Tells adpatch whether to run in pre-install mode.Pre-install mode is
used to update AD Utilities before an upgrade and to apply family consolidated
upgrade patches.
Ex:adpatch preinstall=y, default value is n.
●
Apply : Tells adpatch whether to run in test mode.
Ex : adpatch apply=n, default is y, meaning should not run in test mode.
●
Patchtop : Tells adpatch the top-level directory for the curent patch.This is
normally used in non-interactive mode.
Ex : adpatch patchtop=/<patchnumber>, default is none and prompts for
patch directory.
●
Driver : Tells adpatch the name of patch driver file.It is valid onlywhen the
patchtop option is also used.
Ex : adpatch patchtop=/<patch number> driver=<driver file name1>,<driver file2>
●
options : Specifies the generic options passed to adpatch.
●
check_exclusive : if the concurrent sessions feature is enabled,tells adpatch
whether print a warning message when another adpatch session is currently running
against this APPL_TOP.
Ex:adpatch options=check_exclusive or nocheck_exclusive,default is
nocheck_exclusive
●
Checkfile : Tells adpatch to either skip running exec,SQL commands if they are recorded as already run,or
to record them as having run after runing them.
Ex:adpatch options=nocheckfile, default is checkfile.It provides significant performance benefits.
●
Compiledb : tells adpatch to automatically compile invalid objects in the database after running actions
normally found in the database driver.
Default:compiledb for standard patches;nocompiledb for standard patch translations,documentation
patches and documentation patch translations.
Ex:adpatch options=compiledb
●
Compilejsp : Tells adpatch whether to automatically compile out-of-date JSP files.JSP files are compiled
if the patch contains copy actions for atleast one JSP file.
Default : compilejsp for standard patches;nocompilejsp for standard patch translations,documentation
patches and documentation patch translations.
Ex: adpatch options=nocompilejsp
●
Copyportion : tells adpatch whether to run commands normally found in a copy driver.nocopyportion tell
the adpatch not to perform copy driver actions.
Ex : adpatch options=nocopyportion, default is copyportion.
●
Databaseportion : tells adpatch whether to run commands normally found in a database driver.
nodatabaseportion tell the adpatch not to perform copy driver actions.
Ex : adpatch options=nodatabaseportion, default is databaseportion.
●
Generateportion : Tells adpatch whether to run commands normally found in a generate
driver.nogenerateportion tells adpatch not to perform generate driver actions..
Ex adpatch options=nogenerateportion. Default is generateportion.
●
Integrity : Tells adpatch whether to perform patch integrity checking which verifies that the version
of each file referenced in a copy action matches the version present in the patch.
Ex:adpatch options=integrity, deafult is nointegrity
●
Maintainmrc : Tells adpatch whether to automatically maintain the MRC schema after running
actions that update the database.the MRC schema is maintained only if you have converted
to MRC.
Default : maintainmrc for standard patches and nomaintainmrc for standard patch
translations,documentatuion patches and documentation patch translations.
Ex:adpatch options=nomaintainmrc
●
Parallel : Tells adpatch whether to run actions that update the database in parallel and actions that
generate files in parallel.noparallel tells adpatch to run actions serially.
●
Prereq : Tells adpatch whether to perform prerequisite patch checking prior to running patch driver
files that contain actions normally found in the copy driver.
Ex:adpatch options=noprereq, noprereq turns off the prerequisite checking.
●
Validate :Tells adpatch whether to connect to all registered oracle Applications schemas at the start
of the patch.
Ex: adpatch options=novalidate, default is novalidate.
AD Merge Patch (admrgpch) :
-Each time autopatch starts,it prompts for information and attempts to connect to Oracle applications system.
-There may be duplicate link,generate and database tasks in a collection of patches.when patches are applied
individually,these tasks are repeated.
-Ad Merge patch utility merges such patches and applies them as one and thus eliminates redundant system
verification and duplicate patch tasks.
-admrgpch is an executable located in AD_TOP/bin.
-It merges multiple autopatch compatible patches into a single,integrated patch.
-It reads the patch driver files for each patch in the source directory and merges them to create patch driver
files in the destination directory.
-It merges the set of files contained in the individual patches under the source directory according to file
revision and copies them to destination directory.If a file exists in more than one source patch,only the
highest revision of the file is copied to the destination.
-The source and the destination directories cannot be child or parent directories of each other.
SOURCE DIRECTORY : Contains all patches to be merged as immediate child directories.The Patch
directory structure should be as below
SYNTAX for admrgpch :
admrgpch -s <source directory> -d <destination directory> -merged_name merge
-Run the command from the TOP directory.
PATCH LOG FILES :
adpatch.log -main AutoPatch log file $APPL_TOP/admin/<SID>/log
adworkxxx.log -for database operations run in parallel mode.
adpatch.lgi -for AutoPatch informational messages

Contenu connexe

Tendances

Analysis of merge requests in GitLab using PVS-Studio for C#
Analysis of merge requests in GitLab using PVS-Studio for C#Analysis of merge requests in GitLab using PVS-Studio for C#
Analysis of merge requests in GitLab using PVS-Studio for C#Andrey Karpov
 
Running and Developing Tests with the Apache::Test Framework
Running and Developing Tests with the Apache::Test FrameworkRunning and Developing Tests with the Apache::Test Framework
Running and Developing Tests with the Apache::Test Frameworkwebhostingguy
 
Developing IT infrastructures with Puppet
Developing IT infrastructures with PuppetDeveloping IT infrastructures with Puppet
Developing IT infrastructures with PuppetAlessandro Franceschi
 
"Introduction to JMeter" @ CPTM 3rd Session
"Introduction to JMeter" @ CPTM 3rd Session"Introduction to JMeter" @ CPTM 3rd Session
"Introduction to JMeter" @ CPTM 3rd SessionTharinda Liyanage
 
Debugging over tcp and http
Debugging over tcp and httpDebugging over tcp and http
Debugging over tcp and httpKaniska Mandal
 
Unlock The Mystery Of PHPUnit (Wave PHP 2018)
Unlock The Mystery Of PHPUnit (Wave PHP 2018)Unlock The Mystery Of PHPUnit (Wave PHP 2018)
Unlock The Mystery Of PHPUnit (Wave PHP 2018)ENDelt260
 
Containerize your Blackbox tests
Containerize your Blackbox testsContainerize your Blackbox tests
Containerize your Blackbox testsKevin Beeman
 
Analysis of commits and pull requests in Travis CI, Buddy and AppVeyor using ...
Analysis of commits and pull requests in Travis CI, Buddy and AppVeyor using ...Analysis of commits and pull requests in Travis CI, Buddy and AppVeyor using ...
Analysis of commits and pull requests in Travis CI, Buddy and AppVeyor using ...Andrey Karpov
 
Server Independent Programming
Server Independent ProgrammingServer Independent Programming
Server Independent ProgrammingZendCon
 
Can you upgrade to Puppet 4.x?
Can you upgrade to Puppet 4.x?Can you upgrade to Puppet 4.x?
Can you upgrade to Puppet 4.x?Martin Alfke
 
Organizing Machine Learning Projects - Repository Organization
Organizing Machine Learning Projects - Repository OrganizationOrganizing Machine Learning Projects - Repository Organization
Organizing Machine Learning Projects - Repository OrganizationHao-Wen (Herman) Dong
 
Virtual Bolt Workshop - March 16, 2020
Virtual Bolt Workshop - March 16, 2020Virtual Bolt Workshop - March 16, 2020
Virtual Bolt Workshop - March 16, 2020Puppet
 
Essential applications management with Tiny Puppet
Essential applications management with Tiny PuppetEssential applications management with Tiny Puppet
Essential applications management with Tiny PuppetAlessandro Franceschi
 
Basics of QTP Framework
Basics of QTP FrameworkBasics of QTP Framework
Basics of QTP FrameworkAnish10110
 
Laravel 4 package development
Laravel 4 package developmentLaravel 4 package development
Laravel 4 package developmentTihomir Opačić
 
Zend Framework 1.8 workshop
Zend Framework 1.8 workshopZend Framework 1.8 workshop
Zend Framework 1.8 workshopNick Belhomme
 

Tendances (20)

Analysis of merge requests in GitLab using PVS-Studio for C#
Analysis of merge requests in GitLab using PVS-Studio for C#Analysis of merge requests in GitLab using PVS-Studio for C#
Analysis of merge requests in GitLab using PVS-Studio for C#
 
Running and Developing Tests with the Apache::Test Framework
Running and Developing Tests with the Apache::Test FrameworkRunning and Developing Tests with the Apache::Test Framework
Running and Developing Tests with the Apache::Test Framework
 
Developing IT infrastructures with Puppet
Developing IT infrastructures with PuppetDeveloping IT infrastructures with Puppet
Developing IT infrastructures with Puppet
 
"Introduction to JMeter" @ CPTM 3rd Session
"Introduction to JMeter" @ CPTM 3rd Session"Introduction to JMeter" @ CPTM 3rd Session
"Introduction to JMeter" @ CPTM 3rd Session
 
Perl 20tips
Perl 20tipsPerl 20tips
Perl 20tips
 
Debugging over tcp and http
Debugging over tcp and httpDebugging over tcp and http
Debugging over tcp and http
 
Troubleshooting Puppet
Troubleshooting PuppetTroubleshooting Puppet
Troubleshooting Puppet
 
Unlock The Mystery Of PHPUnit (Wave PHP 2018)
Unlock The Mystery Of PHPUnit (Wave PHP 2018)Unlock The Mystery Of PHPUnit (Wave PHP 2018)
Unlock The Mystery Of PHPUnit (Wave PHP 2018)
 
Containerize your Blackbox tests
Containerize your Blackbox testsContainerize your Blackbox tests
Containerize your Blackbox tests
 
Analysis of commits and pull requests in Travis CI, Buddy and AppVeyor using ...
Analysis of commits and pull requests in Travis CI, Buddy and AppVeyor using ...Analysis of commits and pull requests in Travis CI, Buddy and AppVeyor using ...
Analysis of commits and pull requests in Travis CI, Buddy and AppVeyor using ...
 
Server Independent Programming
Server Independent ProgrammingServer Independent Programming
Server Independent Programming
 
Can you upgrade to Puppet 4.x?
Can you upgrade to Puppet 4.x?Can you upgrade to Puppet 4.x?
Can you upgrade to Puppet 4.x?
 
Organizing Machine Learning Projects - Repository Organization
Organizing Machine Learning Projects - Repository OrganizationOrganizing Machine Learning Projects - Repository Organization
Organizing Machine Learning Projects - Repository Organization
 
Virtual Bolt Workshop - March 16, 2020
Virtual Bolt Workshop - March 16, 2020Virtual Bolt Workshop - March 16, 2020
Virtual Bolt Workshop - March 16, 2020
 
Puppet evolutions
Puppet evolutionsPuppet evolutions
Puppet evolutions
 
Essential applications management with Tiny Puppet
Essential applications management with Tiny PuppetEssential applications management with Tiny Puppet
Essential applications management with Tiny Puppet
 
Basics of QTP Framework
Basics of QTP FrameworkBasics of QTP Framework
Basics of QTP Framework
 
Easy install
Easy installEasy install
Easy install
 
Laravel 4 package development
Laravel 4 package developmentLaravel 4 package development
Laravel 4 package development
 
Zend Framework 1.8 workshop
Zend Framework 1.8 workshopZend Framework 1.8 workshop
Zend Framework 1.8 workshop
 

Similaire à PATCHING Oracle Applications with AutoPatch

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 20
R12 d49656 gc10-apps dba 20R12 d49656 gc10-apps dba 20
R12 d49656 gc10-apps dba 20zeesniper
 
R12 d49656 gc10-apps dba 22
R12 d49656 gc10-apps dba 22R12 d49656 gc10-apps dba 22
R12 d49656 gc10-apps dba 22zeesniper
 
Oracle Release 12 E-Business Suite Patching Best Practices
Oracle Release 12 E-Business Suite Patching Best PracticesOracle Release 12 E-Business Suite Patching Best Practices
Oracle Release 12 E-Business Suite Patching Best PracticesScott Jenner
 
R12 d49656 gc10-apps dba 09
R12 d49656 gc10-apps dba 09R12 d49656 gc10-apps dba 09
R12 d49656 gc10-apps dba 09zeesniper
 
RHEL Log-files, RPM, Backup & Recovery
RHEL Log-files, RPM, Backup & RecoveryRHEL Log-files, RPM, Backup & Recovery
RHEL Log-files, RPM, Backup & RecoveryAneesa Rahman
 
CMake Tutorial
CMake TutorialCMake Tutorial
CMake TutorialFu Haiping
 
Software management in linux
Software management in linuxSoftware management in linux
Software management in linuxnejadmand
 
Practical%2006%20Big%20data%20analytics.pptx
Practical%2006%20Big%20data%20analytics.pptxPractical%2006%20Big%20data%20analytics.pptx
Practical%2006%20Big%20data%20analytics.pptxSanketPatel295815
 
Autoconfig r12
Autoconfig r12Autoconfig r12
Autoconfig r12techDBA
 
Extending OpenShift Origin: Build Your Own Cartridge with Bill DeCoste of Red...
Extending OpenShift Origin: Build Your Own Cartridge with Bill DeCoste of Red...Extending OpenShift Origin: Build Your Own Cartridge with Bill DeCoste of Red...
Extending OpenShift Origin: Build Your Own Cartridge with Bill DeCoste of Red...OpenShift Origin
 
Basics of Ansible - Sahil Davawala
Basics of Ansible - Sahil DavawalaBasics of Ansible - Sahil Davawala
Basics of Ansible - Sahil DavawalaSahil Davawala
 
How To Install Openbravo ERP 2.50 MP43 in Ubuntu
How To Install Openbravo ERP 2.50 MP43 in UbuntuHow To Install Openbravo ERP 2.50 MP43 in Ubuntu
How To Install Openbravo ERP 2.50 MP43 in UbuntuWirabumi Software
 
create_patch_file_v3a.pdf
create_patch_file_v3a.pdfcreate_patch_file_v3a.pdf
create_patch_file_v3a.pdfvilaylala
 
Linux Troubleshooting
Linux TroubleshootingLinux Troubleshooting
Linux TroubleshootingKeith Wright
 
Debugging Python with gdb
Debugging Python with gdbDebugging Python with gdb
Debugging Python with gdbRoman Podoliaka
 

Similaire à PATCHING Oracle Applications with AutoPatch (20)

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 20
R12 d49656 gc10-apps dba 20R12 d49656 gc10-apps dba 20
R12 d49656 gc10-apps dba 20
 
R12 d49656 gc10-apps dba 22
R12 d49656 gc10-apps dba 22R12 d49656 gc10-apps dba 22
R12 d49656 gc10-apps dba 22
 
Oracle Release 12 E-Business Suite Patching Best Practices
Oracle Release 12 E-Business Suite Patching Best PracticesOracle Release 12 E-Business Suite Patching Best Practices
Oracle Release 12 E-Business Suite Patching Best Practices
 
R12 d49656 gc10-apps dba 09
R12 d49656 gc10-apps dba 09R12 d49656 gc10-apps dba 09
R12 d49656 gc10-apps dba 09
 
RHEL Log-files, RPM, Backup & Recovery
RHEL Log-files, RPM, Backup & RecoveryRHEL Log-files, RPM, Backup & Recovery
RHEL Log-files, RPM, Backup & Recovery
 
Linux Presentation
Linux PresentationLinux Presentation
Linux Presentation
 
CMake Tutorial
CMake TutorialCMake Tutorial
CMake Tutorial
 
Software management in linux
Software management in linuxSoftware management in linux
Software management in linux
 
Practical%2006%20Big%20data%20analytics.pptx
Practical%2006%20Big%20data%20analytics.pptxPractical%2006%20Big%20data%20analytics.pptx
Practical%2006%20Big%20data%20analytics.pptx
 
Ubuntu
UbuntuUbuntu
Ubuntu
 
Autoconfig r12
Autoconfig r12Autoconfig r12
Autoconfig r12
 
Extending OpenShift Origin: Build Your Own Cartridge with Bill DeCoste of Red...
Extending OpenShift Origin: Build Your Own Cartridge with Bill DeCoste of Red...Extending OpenShift Origin: Build Your Own Cartridge with Bill DeCoste of Red...
Extending OpenShift Origin: Build Your Own Cartridge with Bill DeCoste of Red...
 
SnapDiff
SnapDiffSnapDiff
SnapDiff
 
Basics of Ansible - Sahil Davawala
Basics of Ansible - Sahil DavawalaBasics of Ansible - Sahil Davawala
Basics of Ansible - Sahil Davawala
 
How To Install Openbravo ERP 2.50 MP43 in Ubuntu
How To Install Openbravo ERP 2.50 MP43 in UbuntuHow To Install Openbravo ERP 2.50 MP43 in Ubuntu
How To Install Openbravo ERP 2.50 MP43 in Ubuntu
 
create_patch_file_v3a.pdf
create_patch_file_v3a.pdfcreate_patch_file_v3a.pdf
create_patch_file_v3a.pdf
 
Linux Troubleshooting
Linux TroubleshootingLinux Troubleshooting
Linux Troubleshooting
 
Php Debugger
Php DebuggerPhp Debugger
Php Debugger
 
Debugging Python with gdb
Debugging Python with gdbDebugging Python with gdb
Debugging Python with gdb
 

Dernier

Search Engine Optimization SEO PDF for 2024.pdf
Search Engine Optimization SEO PDF for 2024.pdfSearch Engine Optimization SEO PDF for 2024.pdf
Search Engine Optimization SEO PDF for 2024.pdfRankYa
 
Human Factors of XR: Using Human Factors to Design XR Systems
Human Factors of XR: Using Human Factors to Design XR SystemsHuman Factors of XR: Using Human Factors to Design XR Systems
Human Factors of XR: Using Human Factors to Design XR SystemsMark Billinghurst
 
Gen AI in Business - Global Trends Report 2024.pdf
Gen AI in Business - Global Trends Report 2024.pdfGen AI in Business - Global Trends Report 2024.pdf
Gen AI in Business - Global Trends Report 2024.pdfAddepto
 
Ensuring Technical Readiness For Copilot in Microsoft 365
Ensuring Technical Readiness For Copilot in Microsoft 365Ensuring Technical Readiness For Copilot in Microsoft 365
Ensuring Technical Readiness For Copilot in Microsoft 3652toLead Limited
 
Streamlining Python Development: A Guide to a Modern Project Setup
Streamlining Python Development: A Guide to a Modern Project SetupStreamlining Python Development: A Guide to a Modern Project Setup
Streamlining Python Development: A Guide to a Modern Project SetupFlorian Wilhelm
 
Advanced Test Driven-Development @ php[tek] 2024
Advanced Test Driven-Development @ php[tek] 2024Advanced Test Driven-Development @ php[tek] 2024
Advanced Test Driven-Development @ php[tek] 2024Scott Keck-Warren
 
What's New in Teams Calling, Meetings and Devices March 2024
What's New in Teams Calling, Meetings and Devices March 2024What's New in Teams Calling, Meetings and Devices March 2024
What's New in Teams Calling, Meetings and Devices March 2024Stephanie Beckett
 
WordPress Websites for Engineers: Elevate Your Brand
WordPress Websites for Engineers: Elevate Your BrandWordPress Websites for Engineers: Elevate Your Brand
WordPress Websites for Engineers: Elevate Your Brandgvaughan
 
Integration and Automation in Practice: CI/CD in Mule Integration and Automat...
Integration and Automation in Practice: CI/CD in Mule Integration and Automat...Integration and Automation in Practice: CI/CD in Mule Integration and Automat...
Integration and Automation in Practice: CI/CD in Mule Integration and Automat...Patryk Bandurski
 
My INSURER PTE LTD - Insurtech Innovation Award 2024
My INSURER PTE LTD - Insurtech Innovation Award 2024My INSURER PTE LTD - Insurtech Innovation Award 2024
My INSURER PTE LTD - Insurtech Innovation Award 2024The Digital Insurer
 
Anypoint Exchange: It’s Not Just a Repo!
Anypoint Exchange: It’s Not Just a Repo!Anypoint Exchange: It’s Not Just a Repo!
Anypoint Exchange: It’s Not Just a Repo!Manik S Magar
 
Tampa BSides - Chef's Tour of Microsoft Security Adoption Framework (SAF)
Tampa BSides - Chef's Tour of Microsoft Security Adoption Framework (SAF)Tampa BSides - Chef's Tour of Microsoft Security Adoption Framework (SAF)
Tampa BSides - Chef's Tour of Microsoft Security Adoption Framework (SAF)Mark Simos
 
The Future of Software Development - Devin AI Innovative Approach.pdf
The Future of Software Development - Devin AI Innovative Approach.pdfThe Future of Software Development - Devin AI Innovative Approach.pdf
The Future of Software Development - Devin AI Innovative Approach.pdfSeasiaInfotech2
 
Designing IA for AI - Information Architecture Conference 2024
Designing IA for AI - Information Architecture Conference 2024Designing IA for AI - Information Architecture Conference 2024
Designing IA for AI - Information Architecture Conference 2024Enterprise Knowledge
 
Vertex AI Gemini Prompt Engineering Tips
Vertex AI Gemini Prompt Engineering TipsVertex AI Gemini Prompt Engineering Tips
Vertex AI Gemini Prompt Engineering TipsMiki Katsuragi
 
"ML in Production",Oleksandr Bagan
"ML in Production",Oleksandr Bagan"ML in Production",Oleksandr Bagan
"ML in Production",Oleksandr BaganFwdays
 
Are Multi-Cloud and Serverless Good or Bad?
Are Multi-Cloud and Serverless Good or Bad?Are Multi-Cloud and Serverless Good or Bad?
Are Multi-Cloud and Serverless Good or Bad?Mattias Andersson
 
Unraveling Multimodality with Large Language Models.pdf
Unraveling Multimodality with Large Language Models.pdfUnraveling Multimodality with Large Language Models.pdf
Unraveling Multimodality with Large Language Models.pdfAlex Barbosa Coqueiro
 
"Debugging python applications inside k8s environment", Andrii Soldatenko
"Debugging python applications inside k8s environment", Andrii Soldatenko"Debugging python applications inside k8s environment", Andrii Soldatenko
"Debugging python applications inside k8s environment", Andrii SoldatenkoFwdays
 

Dernier (20)

Search Engine Optimization SEO PDF for 2024.pdf
Search Engine Optimization SEO PDF for 2024.pdfSearch Engine Optimization SEO PDF for 2024.pdf
Search Engine Optimization SEO PDF for 2024.pdf
 
Human Factors of XR: Using Human Factors to Design XR Systems
Human Factors of XR: Using Human Factors to Design XR SystemsHuman Factors of XR: Using Human Factors to Design XR Systems
Human Factors of XR: Using Human Factors to Design XR Systems
 
Gen AI in Business - Global Trends Report 2024.pdf
Gen AI in Business - Global Trends Report 2024.pdfGen AI in Business - Global Trends Report 2024.pdf
Gen AI in Business - Global Trends Report 2024.pdf
 
Ensuring Technical Readiness For Copilot in Microsoft 365
Ensuring Technical Readiness For Copilot in Microsoft 365Ensuring Technical Readiness For Copilot in Microsoft 365
Ensuring Technical Readiness For Copilot in Microsoft 365
 
Streamlining Python Development: A Guide to a Modern Project Setup
Streamlining Python Development: A Guide to a Modern Project SetupStreamlining Python Development: A Guide to a Modern Project Setup
Streamlining Python Development: A Guide to a Modern Project Setup
 
Advanced Test Driven-Development @ php[tek] 2024
Advanced Test Driven-Development @ php[tek] 2024Advanced Test Driven-Development @ php[tek] 2024
Advanced Test Driven-Development @ php[tek] 2024
 
What's New in Teams Calling, Meetings and Devices March 2024
What's New in Teams Calling, Meetings and Devices March 2024What's New in Teams Calling, Meetings and Devices March 2024
What's New in Teams Calling, Meetings and Devices March 2024
 
WordPress Websites for Engineers: Elevate Your Brand
WordPress Websites for Engineers: Elevate Your BrandWordPress Websites for Engineers: Elevate Your Brand
WordPress Websites for Engineers: Elevate Your Brand
 
Integration and Automation in Practice: CI/CD in Mule Integration and Automat...
Integration and Automation in Practice: CI/CD in Mule Integration and Automat...Integration and Automation in Practice: CI/CD in Mule Integration and Automat...
Integration and Automation in Practice: CI/CD in Mule Integration and Automat...
 
My INSURER PTE LTD - Insurtech Innovation Award 2024
My INSURER PTE LTD - Insurtech Innovation Award 2024My INSURER PTE LTD - Insurtech Innovation Award 2024
My INSURER PTE LTD - Insurtech Innovation Award 2024
 
Anypoint Exchange: It’s Not Just a Repo!
Anypoint Exchange: It’s Not Just a Repo!Anypoint Exchange: It’s Not Just a Repo!
Anypoint Exchange: It’s Not Just a Repo!
 
Tampa BSides - Chef's Tour of Microsoft Security Adoption Framework (SAF)
Tampa BSides - Chef's Tour of Microsoft Security Adoption Framework (SAF)Tampa BSides - Chef's Tour of Microsoft Security Adoption Framework (SAF)
Tampa BSides - Chef's Tour of Microsoft Security Adoption Framework (SAF)
 
The Future of Software Development - Devin AI Innovative Approach.pdf
The Future of Software Development - Devin AI Innovative Approach.pdfThe Future of Software Development - Devin AI Innovative Approach.pdf
The Future of Software Development - Devin AI Innovative Approach.pdf
 
Designing IA for AI - Information Architecture Conference 2024
Designing IA for AI - Information Architecture Conference 2024Designing IA for AI - Information Architecture Conference 2024
Designing IA for AI - Information Architecture Conference 2024
 
Vertex AI Gemini Prompt Engineering Tips
Vertex AI Gemini Prompt Engineering TipsVertex AI Gemini Prompt Engineering Tips
Vertex AI Gemini Prompt Engineering Tips
 
"ML in Production",Oleksandr Bagan
"ML in Production",Oleksandr Bagan"ML in Production",Oleksandr Bagan
"ML in Production",Oleksandr Bagan
 
Are Multi-Cloud and Serverless Good or Bad?
Are Multi-Cloud and Serverless Good or Bad?Are Multi-Cloud and Serverless Good or Bad?
Are Multi-Cloud and Serverless Good or Bad?
 
Unraveling Multimodality with Large Language Models.pdf
Unraveling Multimodality with Large Language Models.pdfUnraveling Multimodality with Large Language Models.pdf
Unraveling Multimodality with Large Language Models.pdf
 
E-Vehicle_Hacking_by_Parul Sharma_null_owasp.pptx
E-Vehicle_Hacking_by_Parul Sharma_null_owasp.pptxE-Vehicle_Hacking_by_Parul Sharma_null_owasp.pptx
E-Vehicle_Hacking_by_Parul Sharma_null_owasp.pptx
 
"Debugging python applications inside k8s environment", Andrii Soldatenko
"Debugging python applications inside k8s environment", Andrii Soldatenko"Debugging python applications inside k8s environment", Andrii Soldatenko
"Debugging python applications inside k8s environment", Andrii Soldatenko
 

PATCHING Oracle Applications with AutoPatch

  • 1. PATCHING AutoPatch is a utility that applies patches and adds new products and languages to an Oracle Applications installation. Patches are released in the following formats: Stand-alone : Fixes a specific issue or provides new functionality. High-priority : Having an impact is broad enough to merit application by all customers who have installed the affected product. Mini-pack : A consolidation of all patches for a product. Family-pack : A consolidation of set of Mini-packs and other patches for a product family. Family consolidated upgrade patch : All upgrade-related,high-priority patches consolidated from all products with in a product family. Maintenance pack : A consolidation of all product mini-packs.A maintenance pack updates a system to a new point release of Oracle Applications, such as 11.5.8.
  • 2. Patch Structure : Patches generally have a top-level directory,several files in the top level directory and one or more subdirectories. -The README.txt file contains the important information about the patch. -A patch may contain one or more of the following patch drivers. -Copy driver c<patch number>.drv -Contains commands to change Oracle applications files. -Database driver d<patch number>.drv -Contains command to change Oracle applications database objects. -Generate driver g<patch number>.drv -Contains commands to generate forms,reports,graphics or message files. -Unified driver u<patch number>.drv The unified driver replaces the above three drivers.
  • 3. Patch Application Modes : Autopatch can apply patches in two specialised modes -Test Mode : # With Test mode,the effects of applying a ptch on the system can be seen before applying the patch. #Autopatch doesnot apply the patch,instead it lists each file it would have copied,relinked and executed. $adpatch apply=no -Pre-install mode : # It is generally used during the upgrade process to update AD utilities. # Pre-install mode performs the following actions : * Version checking. * File copy actions * Relink FND and AD executables. * Save patch history information to the file system. $adpatch preinstall=y
  • 4. AutoPatch can be run in two ways : 1.Interactive Mode : - Patch can be applied in Interactive mode by typing adpatch at the prompt. - In the interactive mode the patch application prompts for the input of some values such as 1.APPL_TOP 2.Log file name (default is adpatch.log). 3.Database name. 4.SYSTEM password. 5.AOL user password. 6. Patch Driver file name. Log file is cerated at $APPL_TOP/admin/<SID>/log/ 2.Non-Interactive mode: -Non-interactive mode is a way to avoid some of the prompts and automate the patching process. -A defults file is created by any of the following ways : -Creating a defults file running AutoPatch interactively with a pecific command line option. -Copy $APPL_TOP/admin/adalldefaults.txt to $APPL_TOP/admin/<SID>/<new- file>.txt and edit as needed. -Provide the created file as a value for the parameter 'defaultsfile '. Ex:adpatch defaultsfile=<new-file>.txt Log file is created at $APPL_TOP/admin/log/
  • 5. Restarting AutoPatch Session : -If a AutoPatch session is aborted or it did not run to completion, the aborted session can be restarted. -AutoPatch prompts for the name of the log file.If the log file of the aborted session is provided,the AutoPatch asks whether to continue the previous session by saying that it did not run to completion. -If the value provided is 'yes' then the AutoPatch continues from the previous session. -If the value provided is 'No',then it prompts for confirmation whether to start a new session and starts a new session if given 'yes'.
  • 6. AutoPatch command line arguments : ● Preinstall : Tells adpatch whether to run in pre-install mode.Pre-install mode is used to update AD Utilities before an upgrade and to apply family consolidated upgrade patches. Ex:adpatch preinstall=y, default value is n. ● Apply : Tells adpatch whether to run in test mode. Ex : adpatch apply=n, default is y, meaning should not run in test mode. ● Patchtop : Tells adpatch the top-level directory for the curent patch.This is normally used in non-interactive mode. Ex : adpatch patchtop=/<patchnumber>, default is none and prompts for patch directory. ● Driver : Tells adpatch the name of patch driver file.It is valid onlywhen the patchtop option is also used. Ex : adpatch patchtop=/<patch number> driver=<driver file name1>,<driver file2> ● options : Specifies the generic options passed to adpatch. ● check_exclusive : if the concurrent sessions feature is enabled,tells adpatch whether print a warning message when another adpatch session is currently running against this APPL_TOP. Ex:adpatch options=check_exclusive or nocheck_exclusive,default is nocheck_exclusive
  • 7. ● Checkfile : Tells adpatch to either skip running exec,SQL commands if they are recorded as already run,or to record them as having run after runing them. Ex:adpatch options=nocheckfile, default is checkfile.It provides significant performance benefits. ● Compiledb : tells adpatch to automatically compile invalid objects in the database after running actions normally found in the database driver. Default:compiledb for standard patches;nocompiledb for standard patch translations,documentation patches and documentation patch translations. Ex:adpatch options=compiledb ● Compilejsp : Tells adpatch whether to automatically compile out-of-date JSP files.JSP files are compiled if the patch contains copy actions for atleast one JSP file. Default : compilejsp for standard patches;nocompilejsp for standard patch translations,documentation patches and documentation patch translations. Ex: adpatch options=nocompilejsp ● Copyportion : tells adpatch whether to run commands normally found in a copy driver.nocopyportion tell the adpatch not to perform copy driver actions. Ex : adpatch options=nocopyportion, default is copyportion. ● Databaseportion : tells adpatch whether to run commands normally found in a database driver. nodatabaseportion tell the adpatch not to perform copy driver actions. Ex : adpatch options=nodatabaseportion, default is databaseportion.
  • 8. ● Generateportion : Tells adpatch whether to run commands normally found in a generate driver.nogenerateportion tells adpatch not to perform generate driver actions.. Ex adpatch options=nogenerateportion. Default is generateportion. ● Integrity : Tells adpatch whether to perform patch integrity checking which verifies that the version of each file referenced in a copy action matches the version present in the patch. Ex:adpatch options=integrity, deafult is nointegrity ● Maintainmrc : Tells adpatch whether to automatically maintain the MRC schema after running actions that update the database.the MRC schema is maintained only if you have converted to MRC. Default : maintainmrc for standard patches and nomaintainmrc for standard patch translations,documentatuion patches and documentation patch translations. Ex:adpatch options=nomaintainmrc ● Parallel : Tells adpatch whether to run actions that update the database in parallel and actions that generate files in parallel.noparallel tells adpatch to run actions serially. ● Prereq : Tells adpatch whether to perform prerequisite patch checking prior to running patch driver files that contain actions normally found in the copy driver. Ex:adpatch options=noprereq, noprereq turns off the prerequisite checking. ● Validate :Tells adpatch whether to connect to all registered oracle Applications schemas at the start of the patch. Ex: adpatch options=novalidate, default is novalidate.
  • 9. AD Merge Patch (admrgpch) : -Each time autopatch starts,it prompts for information and attempts to connect to Oracle applications system. -There may be duplicate link,generate and database tasks in a collection of patches.when patches are applied individually,these tasks are repeated. -Ad Merge patch utility merges such patches and applies them as one and thus eliminates redundant system verification and duplicate patch tasks. -admrgpch is an executable located in AD_TOP/bin. -It merges multiple autopatch compatible patches into a single,integrated patch. -It reads the patch driver files for each patch in the source directory and merges them to create patch driver files in the destination directory. -It merges the set of files contained in the individual patches under the source directory according to file revision and copies them to destination directory.If a file exists in more than one source patch,only the highest revision of the file is copied to the destination. -The source and the destination directories cannot be child or parent directories of each other.
  • 10. SOURCE DIRECTORY : Contains all patches to be merged as immediate child directories.The Patch directory structure should be as below SYNTAX for admrgpch : admrgpch -s <source directory> -d <destination directory> -merged_name merge -Run the command from the TOP directory.
  • 11. PATCH LOG FILES : adpatch.log -main AutoPatch log file $APPL_TOP/admin/<SID>/log adworkxxx.log -for database operations run in parallel mode. adpatch.lgi -for AutoPatch informational messages