SlideShare una empresa de Scribd logo
1 de 7
ADPATCH Options




You can execute adpatch by logging in as the applications OS user and sourcing
the appropriate environment file.

#su – applmgr
$cd SAMAPPL
$. ./APPSORA.env
$adpatch

By default adpatch does not take any clause, but there are some clauses that
you could use with adpatch

Running a patch in test mode
You can use the apply clause with adpatch to specify weather to run the patch in
TEST mode or not, when you run the patch in test mode it does not do any
changes but runs generates a log fiule with all the actions it would have
performed.

$adpatch apply=n|y
The default is apply=y

Pre-install Mode
You can also run a patch in pre install mode, this would be done normally during
an upgrade or consolidated update. When a patch is applied in a preinstall mode
the all the AD utilities are updated before the upgrade or update.

$adpatch preinstall=y
The default is preinstall=n
Other Options with adpatch
You can use the options clause to specify some of the other options available
with adpatch.

Autoconfig
You can use the options=noautoconfig top specify autopatch that you do not
wish to run autoconfig as a part of the patch application. This can be useful
when applying a large number of patches when they are not merged. By default
autoconfig is run as a part of adpatch.

$adpatch options=noautoconfig Checkfile
The chekfile option of adpatch tells adpathc to check for already executed exec,
SQL, and exectier commands.You can use options=nocheckfile skips this
check, however this can cause performance overheds so should be used only
when specified.

$adpatch options=nocheckfile

Compile Database
By defaulty autopatch compiles the invalid objects after the patch application, in
case you wish not to do so you can specify options=nocompiledb along with
autopatch.

$adpatch options=nocompiledb

Compile JSP
By defaulty autopatch compiles the java server pages (jsp) after the patch
application, in case you wish not to do so you can specify
options=nocompilejsp along with autopatch.

$adpatch options=nocompilejsp
Copy Portion
If you wish adpatch not to execute the commands present in the copy driver
portion of the patch you can use the options=nocopyportion .

$adpatch options=nocopyportion

Database Portion
If you wish adpatch not to execute the commands present in the database driver
portion of the patch you can use the options=nodatabaseportion .

$adpatch options=nodatabaseportion

Generate Portion
If you wish adpatch not to execute the commands present in the generate driver
portion of the patch you can use the options=nogenerateportion


$adpatch options=nogenerateportion

Maintenance                                                                Mode
If you wish to apply a patch regardless of the system being in maintenance mode
you can use options=hotpatch .

$adpatch options=hotpatch

Integrity                                                                 Check
If you wish to check the integrity of the patch you can use the options=integrity.
Since metalink patches are pre checked for their integrity it is generally not
required to do an explicit check and the default value is nointegrity.

$adpatch options=integrity

Maintain MRC
You can use the maintainmrc option to specify weather you wish adpatch to
execute the Maintain MRC schema as a part of the patch application or not. By
default maintain MRC is done for standard patches and is disbaled for tarnslation
and documentation patches.

$adpatch options=nomaintainmrc

Pre requisite Patch Check
If you wish adpatch not to check for pre requisite patches before application of
the main patch you can use options=noprereq .By default pre requsite
checking is enabled.

$adpatch options=noprereq


Validate Schemas
If you wish adpatch to explicitly validate all the registed schems by making a
connection you can use options=validate . By default this validation is not
performed.

$adpatch options=validate

Java Classes
If you wish adpatch not to copy new java classes from the patch you can use
options=nojcopy.By default java classes are copied.

$adpatch options=nojcopy

Force Copy
By default adpatch copies the files without check the version of the existing files
already present on the system.If you do not wish the newer version of the file to
be replaced by the older version contained in the patch use
options=noforcecopy .

$adpatch options=noforcecopy
Relinking
If you wish adpatch not do perform relinking you can use options=nolink .

$adpatch options=nolink

Generate Forms
If you wish adpatch not to generate the forms files you can specify
options=nogenform .

$adpatch options=nogenform

Generate Reports
If you wish adpatch not to generate the report files you can specify
options=nogenrep .

$adpatch options=nogenrep

You could specify multiple options at the command line using the , delimiter.

$adpatch options=hotpatch,nojcopy
autoconfig        Purpose: Tells AutoPatch to run AutoConfig automatically. Default: autoconfig. Use
                  options=noautoconfig if you are applying a number of patches in sequence and want to
                  run AutoConfig once, after applying the last patch of the sequence. Comments: The more
                  common method is to merge the patches first with AD Merge Patch.

checkfile         Purpose: Tells AutoPatch to either skip running EXEC, SQL, and EXECTIER
                  commands if they are recorded as already run, or to record them as having
                  run after running them.
                  Default: checkfile.
                  Use options=nocheckfile to turn off the checkfile feature.
                  Comments: checkfile provides significant performance benefits.

compiledb         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.
                  Use options=nocompiledb to save time when multiple non-merged patches
                  are applied in a maintenance window.
                  Comments: Merging multiple patches and applying a single merged patch is
                  usually a better strategy.

compilejsp        Purpose: Tells AutoPatch whether to automatically compile out-of-date JSP
                  files. JSP files are only compiled if the patch contains copy actions for at least
                  one JSP file.
                  Default: compilejsp for standard patches. nocompilejsp for standard patch
                  translations, documentation patches, and documentation patch translations.
                  Use options=nocompilejsp to save time when multiple non-merged patches
                  are applied in a maintenance window.
                  Comments: Merging multiple patches and applying a single merged patch is
                  usually a better strategy

copyportion       Purpose: Tells AutoPatch whether to run commands normally found in a
                  copy driver.
                  Default: copyportion.
                  Use options=nocopyportion to tell AutoPatch not to perform copy driver
                  actions.
                  Comments: Useful mostly with unified drivers.

databaseportion   Purpose: Tells AutoPatch whether to run commands normally found in a database driver.
                  Default: databaseportion. Use options=nodatabaseportion to tell AutoPatch not to perform
                  database driver actions. Comments: Useful mostly with unified drivers.

generateportion   Purpose: Tells AutoPatch to apply a patch regardless of whether the Oracle
                  Applications system is in maintenance mode. AutoPatch aborts the patching
                  session if maintenance mode is disabled and the options=hotpatch command
                  is not used.
Default: nohotpatch.

integrity   Purpose: Tells AutoPatch whether to verify that the version of each file
            referenced in a copy action matches the version present in the patch.
            Default: nointegrity
            Comments: Using options=nointegrity is safe and avoids some AutoPatch
            overhead.

parallel    Purpose: Tells AutoPatch whether to run actions that update the database in
            parallel (like sql) and actions that generate files in parallel (like genform).
            Default: parallel
            Comments: We do not recommend changing the default, as Oracle
            Applications patches are tested on systems using parallel processing.

phtofile    Purpose: Tells AutoPatch whether to upload patch history information to the database
            after applying the patch or to write it to the patch history files in the file system. Default:
            nophtofile Use options=phtofile to tell AutoPatch not to upload patch history information to
            the database. Comments: Using phtofile allows you to defer the uploading of patch history
            information to the database until after the system downtime. Use the adpatch uploadph=y
            command to upload patch history information from the patch history files to the database
            during uptime.

prereq      Purpose: Tells AutoPatch whether to check that prerequisite patches have been applied
            prior to running patch driver files that contain actions normally found in the copy driver.
            Default: noprereq Use options=prereq to turn on prerequisite patch checking. Comments:
            options=prereq prevents you from applying a patch without first applying all required
            prerequisite patches.

validate    Purpose: Tells AutoPatch whether to connect to all registered Oracle Applications
            schemas at the start of the patch. Default: novalidate. Use options=validate to validate
            password information for all Oracle Applications schemas. Comments: Useful for finding
            problems with incorrectly registered Oracle Applications schemas or schemas with invalid
            passwords.

Más contenido relacionado

La actualidad más candente

Testing in-python-and-pytest-framework
Testing in-python-and-pytest-frameworkTesting in-python-and-pytest-framework
Testing in-python-and-pytest-frameworkArulalan T
 
Unit Testing Presentation
Unit Testing PresentationUnit Testing Presentation
Unit Testing Presentationnicobn
 
Developing IT infrastructures with Puppet
Developing IT infrastructures with PuppetDeveloping IT infrastructures with Puppet
Developing IT infrastructures with PuppetAlessandro Franceschi
 
Unit Testing using PHPUnit
Unit Testing using  PHPUnitUnit Testing using  PHPUnit
Unit Testing using PHPUnitvaruntaliyan
 
CppUnit using introduction
CppUnit using introductionCppUnit using introduction
CppUnit using introductionIurii Kyian
 
Tdd with python unittest for embedded c
Tdd with python unittest for embedded cTdd with python unittest for embedded c
Tdd with python unittest for embedded cBenux Wei
 
Python testing using mock and pytest
Python testing using mock and pytestPython testing using mock and pytest
Python testing using mock and pytestSuraj Deshmukh
 
Automated Python Test Frameworks for Hardware Verification and Validation
Automated Python Test Frameworks for Hardware Verification and ValidationAutomated Python Test Frameworks for Hardware Verification and Validation
Automated Python Test Frameworks for Hardware Verification and ValidationBarbara Jones
 
Unit testing PHP apps with PHPUnit
Unit testing PHP apps with PHPUnitUnit testing PHP apps with PHPUnit
Unit testing PHP apps with PHPUnitMichelangelo van Dam
 
AUTOMATED TESTING USING PYTHON (ATE)
AUTOMATED TESTING USING PYTHON (ATE)AUTOMATED TESTING USING PYTHON (ATE)
AUTOMATED TESTING USING PYTHON (ATE)Yuvaraja Ravi
 
Pytest - testing tips and useful plugins
Pytest - testing tips and useful pluginsPytest - testing tips and useful plugins
Pytest - testing tips and useful pluginsAndreu Vallbona Plazas
 
Unit Testng with PHP Unit - A Step by Step Training
Unit Testng with PHP Unit - A Step by Step TrainingUnit Testng with PHP Unit - A Step by Step Training
Unit Testng with PHP Unit - A Step by Step TrainingRam Awadh Prasad, PMP
 
Introduction to Unit Testing with PHPUnit
Introduction to Unit Testing with PHPUnitIntroduction to Unit Testing with PHPUnit
Introduction to Unit Testing with PHPUnitMichelangelo van Dam
 
Test Driven Development With Python
Test Driven Development With PythonTest Driven Development With Python
Test Driven Development With PythonSiddhi
 
Test Driven Development with PHPUnit
Test Driven Development with PHPUnitTest Driven Development with PHPUnit
Test Driven Development with PHPUnitMindfire Solutions
 
Advanced PHPUnit Testing
Advanced PHPUnit TestingAdvanced PHPUnit Testing
Advanced PHPUnit TestingMike Lively
 
Getting started with PHPUnit
Getting started with PHPUnitGetting started with PHPUnit
Getting started with PHPUnitKhyati Gala
 

La actualidad más candente (20)

Testing in-python-and-pytest-framework
Testing in-python-and-pytest-frameworkTesting in-python-and-pytest-framework
Testing in-python-and-pytest-framework
 
Unit Testing Presentation
Unit Testing PresentationUnit Testing Presentation
Unit Testing Presentation
 
Developing IT infrastructures with Puppet
Developing IT infrastructures with PuppetDeveloping IT infrastructures with Puppet
Developing IT infrastructures with Puppet
 
Unit Testing using PHPUnit
Unit Testing using  PHPUnitUnit Testing using  PHPUnit
Unit Testing using PHPUnit
 
CppUnit using introduction
CppUnit using introductionCppUnit using introduction
CppUnit using introduction
 
Tdd with python unittest for embedded c
Tdd with python unittest for embedded cTdd with python unittest for embedded c
Tdd with python unittest for embedded c
 
Python testing using mock and pytest
Python testing using mock and pytestPython testing using mock and pytest
Python testing using mock and pytest
 
Troubleshooting Puppet
Troubleshooting PuppetTroubleshooting Puppet
Troubleshooting Puppet
 
Automated Python Test Frameworks for Hardware Verification and Validation
Automated Python Test Frameworks for Hardware Verification and ValidationAutomated Python Test Frameworks for Hardware Verification and Validation
Automated Python Test Frameworks for Hardware Verification and Validation
 
Unit testing PHP apps with PHPUnit
Unit testing PHP apps with PHPUnitUnit testing PHP apps with PHPUnit
Unit testing PHP apps with PHPUnit
 
AUTOMATED TESTING USING PYTHON (ATE)
AUTOMATED TESTING USING PYTHON (ATE)AUTOMATED TESTING USING PYTHON (ATE)
AUTOMATED TESTING USING PYTHON (ATE)
 
Pytest - testing tips and useful plugins
Pytest - testing tips and useful pluginsPytest - testing tips and useful plugins
Pytest - testing tips and useful plugins
 
Unit Testng with PHP Unit - A Step by Step Training
Unit Testng with PHP Unit - A Step by Step TrainingUnit Testng with PHP Unit - A Step by Step Training
Unit Testng with PHP Unit - A Step by Step Training
 
Introduction to Unit Testing with PHPUnit
Introduction to Unit Testing with PHPUnitIntroduction to Unit Testing with PHPUnit
Introduction to Unit Testing with PHPUnit
 
UPC Testing talk 2
UPC Testing talk 2UPC Testing talk 2
UPC Testing talk 2
 
Php Debugger
Php DebuggerPhp Debugger
Php Debugger
 
Test Driven Development With Python
Test Driven Development With PythonTest Driven Development With Python
Test Driven Development With Python
 
Test Driven Development with PHPUnit
Test Driven Development with PHPUnitTest Driven Development with PHPUnit
Test Driven Development with PHPUnit
 
Advanced PHPUnit Testing
Advanced PHPUnit TestingAdvanced PHPUnit Testing
Advanced PHPUnit Testing
 
Getting started with PHPUnit
Getting started with PHPUnitGetting started with PHPUnit
Getting started with PHPUnit
 

Destacado

Time management and organizational strategies
Time management and organizational strategiesTime management and organizational strategies
Time management and organizational strategiesAziz Driouch
 
Change oracle apps password
Change oracle apps passwordChange oracle apps password
Change oracle apps passwordDeepti Singh
 
Ed psych - vigotsky theory - final
Ed psych - vigotsky theory - finalEd psych - vigotsky theory - final
Ed psych - vigotsky theory - finalAziz Driouch
 
121adpp patching procedures
121adpp patching procedures121adpp patching procedures
121adpp patching proceduresDeepti Singh
 
121admp maintenance procedures
121admp maintenance procedures121admp maintenance procedures
121admp maintenance proceduresDeepti Singh
 
Oracle applications 11i hot backup cloning with rapid clone
Oracle applications 11i hot backup cloning with rapid cloneOracle applications 11i hot backup cloning with rapid clone
Oracle applications 11i hot backup cloning with rapid cloneDeepti Singh
 
Apps tech bootcamp_descriptions
Apps tech bootcamp_descriptionsApps tech bootcamp_descriptions
Apps tech bootcamp_descriptionsDeepti Singh
 
After the civil war and zitkala sa
After the civil war and zitkala saAfter the civil war and zitkala sa
After the civil war and zitkala saAziz Driouch
 
Day to day concerns 2
Day to day concerns 2Day to day concerns 2
Day to day concerns 2Aziz Driouch
 
A presentation on pronouns
A presentation on pronounsA presentation on pronouns
A presentation on pronounsAziz Driouch
 

Destacado (15)

11iadutil
11iadutil11iadutil
11iadutil
 
Protesis provisional
Protesis provisional Protesis provisional
Protesis provisional
 
Cloning 2
Cloning 2Cloning 2
Cloning 2
 
Time management and organizational strategies
Time management and organizational strategiesTime management and organizational strategies
Time management and organizational strategies
 
Change oracle apps password
Change oracle apps passwordChange oracle apps password
Change oracle apps password
 
Adpatch options
Adpatch optionsAdpatch options
Adpatch options
 
Ed psych - vigotsky theory - final
Ed psych - vigotsky theory - finalEd psych - vigotsky theory - final
Ed psych - vigotsky theory - final
 
121adpp patching procedures
121adpp patching procedures121adpp patching procedures
121adpp patching procedures
 
121admp maintenance procedures
121admp maintenance procedures121admp maintenance procedures
121admp maintenance procedures
 
Oracle applications 11i hot backup cloning with rapid clone
Oracle applications 11i hot backup cloning with rapid cloneOracle applications 11i hot backup cloning with rapid clone
Oracle applications 11i hot backup cloning with rapid clone
 
Apps tech bootcamp_descriptions
Apps tech bootcamp_descriptionsApps tech bootcamp_descriptions
Apps tech bootcamp_descriptions
 
After the civil war and zitkala sa
After the civil war and zitkala saAfter the civil war and zitkala sa
After the civil war and zitkala sa
 
Day to day concerns 2
Day to day concerns 2Day to day concerns 2
Day to day concerns 2
 
Pecha kucha
Pecha kuchaPecha kucha
Pecha kucha
 
A presentation on pronouns
A presentation on pronounsA presentation on pronouns
A presentation on pronouns
 

Similar a Adpatch options

R12 d49656 gc10-apps dba 24
R12 d49656 gc10-apps dba 24R12 d49656 gc10-apps dba 24
R12 d49656 gc10-apps dba 24zeesniper
 
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 22
R12 d49656 gc10-apps dba 22R12 d49656 gc10-apps dba 22
R12 d49656 gc10-apps dba 22zeesniper
 
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 09
R12 d49656 gc10-apps dba 09R12 d49656 gc10-apps dba 09
R12 d49656 gc10-apps dba 09zeesniper
 
Scale Apache with Nginx
Scale Apache with NginxScale Apache with Nginx
Scale Apache with NginxBud Siddhisena
 
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
 
Performance Load Cache
Performance Load CachePerformance Load Cache
Performance Load CacheAltan Khendup
 
DevoxxUK: Optimizating Application Performance on Kubernetes
DevoxxUK: Optimizating Application Performance on KubernetesDevoxxUK: Optimizating Application Performance on Kubernetes
DevoxxUK: Optimizating Application Performance on KubernetesDinakar Guniguntala
 
Adop and maintenance task presentation 151015
Adop and maintenance task presentation 151015Adop and maintenance task presentation 151015
Adop and maintenance task presentation 151015andreas kuncoro
 
The PeriCAT Framework
The PeriCAT FrameworkThe PeriCAT Framework
The PeriCAT FrameworkPERICLES_FP7
 
Apache Traffic Server
Apache Traffic ServerApache Traffic Server
Apache Traffic Serversupertom
 
Strategies For Maintaining App Engine Availability During Read Only Periods
Strategies For Maintaining App Engine Availability During Read Only PeriodsStrategies For Maintaining App Engine Availability During Read Only Periods
Strategies For Maintaining App Engine Availability During Read Only Periodsjasonacooper
 
Cast Iron Cloud Integration Best Practices
Cast Iron Cloud Integration Best PracticesCast Iron Cloud Integration Best Practices
Cast Iron Cloud Integration Best PracticesSarath Ambadas
 
Automated Unit Testing
Automated Unit TestingAutomated Unit Testing
Automated Unit TestingMike Lively
 
Analytics tools and Instruments
Analytics tools and InstrumentsAnalytics tools and Instruments
Analytics tools and InstrumentsKrunal Soni
 
CMake Tutorial
CMake TutorialCMake Tutorial
CMake TutorialFu Haiping
 

Similar a Adpatch options (20)

R12 d49656 gc10-apps dba 24
R12 d49656 gc10-apps dba 24R12 d49656 gc10-apps dba 24
R12 d49656 gc10-apps dba 24
 
Oracle applications 11i dba faq
Oracle applications 11i dba faqOracle applications 11i dba faq
Oracle applications 11i dba faq
 
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 22
R12 d49656 gc10-apps dba 22R12 d49656 gc10-apps dba 22
R12 d49656 gc10-apps dba 22
 
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 09
R12 d49656 gc10-apps dba 09R12 d49656 gc10-apps dba 09
R12 d49656 gc10-apps dba 09
 
Scale Apache with Nginx
Scale Apache with NginxScale Apache with Nginx
Scale Apache with Nginx
 
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
 
Performance Load Cache
Performance Load CachePerformance Load Cache
Performance Load Cache
 
DevoxxUK: Optimizating Application Performance on Kubernetes
DevoxxUK: Optimizating Application Performance on KubernetesDevoxxUK: Optimizating Application Performance on Kubernetes
DevoxxUK: Optimizating Application Performance on Kubernetes
 
Adop and maintenance task presentation 151015
Adop and maintenance task presentation 151015Adop and maintenance task presentation 151015
Adop and maintenance task presentation 151015
 
The PeriCAT Framework
The PeriCAT FrameworkThe PeriCAT Framework
The PeriCAT Framework
 
Apache Traffic Server
Apache Traffic ServerApache Traffic Server
Apache Traffic Server
 
Strategies For Maintaining App Engine Availability During Read Only Periods
Strategies For Maintaining App Engine Availability During Read Only PeriodsStrategies For Maintaining App Engine Availability During Read Only Periods
Strategies For Maintaining App Engine Availability During Read Only Periods
 
Cast Iron Cloud Integration Best Practices
Cast Iron Cloud Integration Best PracticesCast Iron Cloud Integration Best Practices
Cast Iron Cloud Integration Best Practices
 
Automated Unit Testing
Automated Unit TestingAutomated Unit Testing
Automated Unit Testing
 
Basics of ANT
Basics of ANTBasics of ANT
Basics of ANT
 
Analytics tools and Instruments
Analytics tools and InstrumentsAnalytics tools and Instruments
Analytics tools and Instruments
 
Balancing Power & Performance Webinar
Balancing Power & Performance WebinarBalancing Power & Performance Webinar
Balancing Power & Performance Webinar
 
CMake Tutorial
CMake TutorialCMake Tutorial
CMake Tutorial
 

Más de Deepti Singh

Oracle apps 11i file system
Oracle apps 11i   file systemOracle apps 11i   file system
Oracle apps 11i file systemDeepti Singh
 
Oracle applications 11i hot backup cloning with rapid clone
Oracle applications 11i hot backup cloning with rapid cloneOracle applications 11i hot backup cloning with rapid clone
Oracle applications 11i hot backup cloning with rapid cloneDeepti Singh
 
File character set converter
File character set converterFile character set converter
File character set converterDeepti Singh
 
File character set converter
File character set converterFile character set converter
File character set converterDeepti Singh
 
Appsdba interview question
Appsdba interview questionAppsdba interview question
Appsdba interview questionDeepti Singh
 
Ad job timing report
Ad job timing reportAd job timing report
Ad job timing reportDeepti Singh
 
Ad job timing report
Ad job timing reportAd job timing report
Ad job timing reportDeepti Singh
 
Ad file identification report
Ad file identification reportAd file identification report
Ad file identification reportDeepti Singh
 
Ad file identification report
Ad file identification reportAd file identification report
Ad file identification reportDeepti Singh
 
Ad configuration report
Ad configuration reportAd configuration report
Ad configuration reportDeepti Singh
 
Ad configuration report
Ad configuration reportAd configuration report
Ad configuration reportDeepti Singh
 

Más de Deepti Singh (16)

Patch
PatchPatch
Patch
 
Oracle apps 11i file system
Oracle apps 11i   file systemOracle apps 11i   file system
Oracle apps 11i file system
 
Oracle applications 11i hot backup cloning with rapid clone
Oracle applications 11i hot backup cloning with rapid cloneOracle applications 11i hot backup cloning with rapid clone
Oracle applications 11i hot backup cloning with rapid clone
 
Ilm
IlmIlm
Ilm
 
File character set converter
File character set converterFile character set converter
File character set converter
 
File character set converter
File character set converterFile character set converter
File character set converter
 
Cloning 2
Cloning 2Cloning 2
Cloning 2
 
Appsdba interview question
Appsdba interview questionAppsdba interview question
Appsdba interview question
 
Adsplice
AdspliceAdsplice
Adsplice
 
Ad job timing report
Ad job timing reportAd job timing report
Ad job timing report
 
Ad job timing report
Ad job timing reportAd job timing report
Ad job timing report
 
Ad file identification report
Ad file identification reportAd file identification report
Ad file identification report
 
Ad file identification report
Ad file identification reportAd file identification report
Ad file identification report
 
Ad control
Ad controlAd control
Ad control
 
Ad configuration report
Ad configuration reportAd configuration report
Ad configuration report
 
Ad configuration report
Ad configuration reportAd configuration report
Ad configuration report
 

Adpatch options

  • 1. ADPATCH Options You can execute adpatch by logging in as the applications OS user and sourcing the appropriate environment file. #su – applmgr $cd SAMAPPL $. ./APPSORA.env $adpatch By default adpatch does not take any clause, but there are some clauses that you could use with adpatch Running a patch in test mode You can use the apply clause with adpatch to specify weather to run the patch in TEST mode or not, when you run the patch in test mode it does not do any changes but runs generates a log fiule with all the actions it would have performed. $adpatch apply=n|y The default is apply=y Pre-install Mode You can also run a patch in pre install mode, this would be done normally during an upgrade or consolidated update. When a patch is applied in a preinstall mode the all the AD utilities are updated before the upgrade or update. $adpatch preinstall=y The default is preinstall=n
  • 2. Other Options with adpatch You can use the options clause to specify some of the other options available with adpatch. Autoconfig You can use the options=noautoconfig top specify autopatch that you do not wish to run autoconfig as a part of the patch application. This can be useful when applying a large number of patches when they are not merged. By default autoconfig is run as a part of adpatch. $adpatch options=noautoconfig Checkfile The chekfile option of adpatch tells adpathc to check for already executed exec, SQL, and exectier commands.You can use options=nocheckfile skips this check, however this can cause performance overheds so should be used only when specified. $adpatch options=nocheckfile Compile Database By defaulty autopatch compiles the invalid objects after the patch application, in case you wish not to do so you can specify options=nocompiledb along with autopatch. $adpatch options=nocompiledb Compile JSP By defaulty autopatch compiles the java server pages (jsp) after the patch application, in case you wish not to do so you can specify options=nocompilejsp along with autopatch. $adpatch options=nocompilejsp
  • 3. Copy Portion If you wish adpatch not to execute the commands present in the copy driver portion of the patch you can use the options=nocopyportion . $adpatch options=nocopyportion Database Portion If you wish adpatch not to execute the commands present in the database driver portion of the patch you can use the options=nodatabaseportion . $adpatch options=nodatabaseportion Generate Portion If you wish adpatch not to execute the commands present in the generate driver portion of the patch you can use the options=nogenerateportion $adpatch options=nogenerateportion Maintenance Mode If you wish to apply a patch regardless of the system being in maintenance mode you can use options=hotpatch . $adpatch options=hotpatch Integrity Check If you wish to check the integrity of the patch you can use the options=integrity. Since metalink patches are pre checked for their integrity it is generally not required to do an explicit check and the default value is nointegrity. $adpatch options=integrity Maintain MRC You can use the maintainmrc option to specify weather you wish adpatch to
  • 4. execute the Maintain MRC schema as a part of the patch application or not. By default maintain MRC is done for standard patches and is disbaled for tarnslation and documentation patches. $adpatch options=nomaintainmrc Pre requisite Patch Check If you wish adpatch not to check for pre requisite patches before application of the main patch you can use options=noprereq .By default pre requsite checking is enabled. $adpatch options=noprereq Validate Schemas If you wish adpatch to explicitly validate all the registed schems by making a connection you can use options=validate . By default this validation is not performed. $adpatch options=validate Java Classes If you wish adpatch not to copy new java classes from the patch you can use options=nojcopy.By default java classes are copied. $adpatch options=nojcopy Force Copy By default adpatch copies the files without check the version of the existing files already present on the system.If you do not wish the newer version of the file to be replaced by the older version contained in the patch use options=noforcecopy . $adpatch options=noforcecopy
  • 5. Relinking If you wish adpatch not do perform relinking you can use options=nolink . $adpatch options=nolink Generate Forms If you wish adpatch not to generate the forms files you can specify options=nogenform . $adpatch options=nogenform Generate Reports If you wish adpatch not to generate the report files you can specify options=nogenrep . $adpatch options=nogenrep You could specify multiple options at the command line using the , delimiter. $adpatch options=hotpatch,nojcopy
  • 6. autoconfig Purpose: Tells AutoPatch to run AutoConfig automatically. Default: autoconfig. Use options=noautoconfig if you are applying a number of patches in sequence and want to run AutoConfig once, after applying the last patch of the sequence. Comments: The more common method is to merge the patches first with AD Merge Patch. checkfile Purpose: Tells AutoPatch to either skip running EXEC, SQL, and EXECTIER commands if they are recorded as already run, or to record them as having run after running them. Default: checkfile. Use options=nocheckfile to turn off the checkfile feature. Comments: checkfile provides significant performance benefits. compiledb 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. Use options=nocompiledb to save time when multiple non-merged patches are applied in a maintenance window. Comments: Merging multiple patches and applying a single merged patch is usually a better strategy. compilejsp Purpose: Tells AutoPatch whether to automatically compile out-of-date JSP files. JSP files are only compiled if the patch contains copy actions for at least one JSP file. Default: compilejsp for standard patches. nocompilejsp for standard patch translations, documentation patches, and documentation patch translations. Use options=nocompilejsp to save time when multiple non-merged patches are applied in a maintenance window. Comments: Merging multiple patches and applying a single merged patch is usually a better strategy copyportion Purpose: Tells AutoPatch whether to run commands normally found in a copy driver. Default: copyportion. Use options=nocopyportion to tell AutoPatch not to perform copy driver actions. Comments: Useful mostly with unified drivers. databaseportion Purpose: Tells AutoPatch whether to run commands normally found in a database driver. Default: databaseportion. Use options=nodatabaseportion to tell AutoPatch not to perform database driver actions. Comments: Useful mostly with unified drivers. generateportion Purpose: Tells AutoPatch to apply a patch regardless of whether the Oracle Applications system is in maintenance mode. AutoPatch aborts the patching session if maintenance mode is disabled and the options=hotpatch command is not used.
  • 7. Default: nohotpatch. integrity Purpose: Tells AutoPatch whether to verify that the version of each file referenced in a copy action matches the version present in the patch. Default: nointegrity Comments: Using options=nointegrity is safe and avoids some AutoPatch overhead. parallel Purpose: Tells AutoPatch whether to run actions that update the database in parallel (like sql) and actions that generate files in parallel (like genform). Default: parallel Comments: We do not recommend changing the default, as Oracle Applications patches are tested on systems using parallel processing. phtofile Purpose: Tells AutoPatch whether to upload patch history information to the database after applying the patch or to write it to the patch history files in the file system. Default: nophtofile Use options=phtofile to tell AutoPatch not to upload patch history information to the database. Comments: Using phtofile allows you to defer the uploading of patch history information to the database until after the system downtime. Use the adpatch uploadph=y command to upload patch history information from the patch history files to the database during uptime. prereq Purpose: Tells AutoPatch whether to check that prerequisite patches have been applied prior to running patch driver files that contain actions normally found in the copy driver. Default: noprereq Use options=prereq to turn on prerequisite patch checking. Comments: options=prereq prevents you from applying a patch without first applying all required prerequisite patches. validate Purpose: Tells AutoPatch whether to connect to all registered Oracle Applications schemas at the start of the patch. Default: novalidate. Use options=validate to validate password information for all Oracle Applications schemas. Comments: Useful for finding problems with incorrectly registered Oracle Applications schemas or schemas with invalid passwords.