This action might not be possible to undo. Are you sure you want to continue?
Patch is a program (set of instructions) to fix a particular problem or enhance/ add a particular feature in existing program/product/software. Patching is one of Jobs Apps DBA do frequently, so we should clear with patch basics and process. Like Database patch, we apply using opatch, similarly for Apps patch we will use adpatch. AD Utility & executables relating to patching reside under product AD and is also called as Application DBA product. There are different types of Patches. The major application patches are as follows: Standalone/One-off Patch - This patch is created to fix/resolve a particular bug. Minipack Patch - This patch is the collection of one-off patches.It means it contains group of patches to fix bug in a particular group like GL, AP. The alphabetic characters implies the version of minipack version for the module.For an example 11i.GL.E means E version of GL product is released.Minipack patch is cumulative that means 11i.GL.E includes 11i.GL.A, 11i.GL.B…….11i.GL.D,11i.GL.E. Family Pack Patch - This patch is the collection of minipack patches for a particular family group of application modules.These are usually named as 11i_PF. For an example 11i.SCM_PF.G ,here PF indicates product family pack. Maintenance Pack – This patch is the collections of family packs that serves as point level release upgrade. Oracle Application 11.5.10 is an example of a Maintenance pack.
Author – A.Kishore/Sachin http://appsdba.info
PATCHIN G STEPS
Step 1 : Set Environment Variables by executing APPSORA.env Login as Oracle user. In R11i we will do as follows: $ cd /d01/oracle/prodappl $. ./APPSORA.env Step 2 : Stop Apps Services In R11i we will do as follows: $ cd /d01/oracle/prodcomn/admin/scripts/PROD_erp Execute the following script $./adstpall.sh apps/appspassword
The script prompts are shown below for 11i Please Note : Database and Database Listener Should be up.
Author – A.Kishore/Sachin http://appsdba.info
Kishore/Sachin http://appsdba.info 4 .Author – A.
info 5 .Author – A.Kishore/Sachin http://appsdba.
0/bin $.5.Enable Maintenance Mode We need to run adadmin to change maintenance mode as shown below. In R11i we will do as follows: $ cd /d01/oracle/prodappl/ad/11.Author – A.info Step 3 ./adadmin 6 .Kishore/Sachin http://appsdba.
Author – A.info After running adadmin.Kishore/Sachin http://appsdba. below screen will appear 7 .
Author – A.Kishore/Sachin http://appsdba.info 8 .
info Enter Password Of SYSTEM and APPS: 9 .Kishore/Sachin http://appsdba.Author – A.
Kishore/Sachin http://appsdba.info ADADMIN main screen will appear now .as shown below 10 .Author – A.
Author – A.info Select option 5 and press Enter Key to change maintenance mode 11 .Kishore/Sachin http://appsdba.
Kishore/Sachin http://appsdba.info Select option 1 and press Enter key to enable maintenance mode 12 .Author – A.
Author – A.info Select option 3 and press Enter key to return to main menu as shown below 13 .Kishore/Sachin http://appsdba.
Author – A.info Select option 6 and press Enter to exit ADADMIN 14 .Kishore/Sachin http://appsdba.
info Step 4 .html of the patch we are going to apply. previously patch had three files to apply with prefixes (c.html file from unzipped patch folder. 15 .Kishore/Sachin http://appsdba. d.drv.html of patch # 6502082 for 11i. g). Read the following readme.Patching using adpatch Unzip the downloaded patch from metalink.Oracle has changed the patch files and now only one file is included that has prefixed as u<patch number> . Open readme. We need to follow the steps mentioned in readme.drv.Author – A. Here we have the patch contains the u6502082.
0/bin $.Author – A.5./adpatch Run adpatch as shown below 16 .Kishore/Sachin http://appsdba.info In R11i we will do as follows: Change directory $ cd /do1/oracle/prodappl/ad/11.
Kishore/Sachin http://appsdba.Author – A.info 17 .
Kishore/Sachin http://appsdba.info 18 .Author – A.
Kishore/Sachin http://appsdba.info 19 .Author – A.
info 20 .Author – A.Kishore/Sachin http://appsdba.
Author – A.info 21 .Kishore/Sachin http://appsdba.
If there are more than one patches then all patches should be applied before proceeding to the next disabling maintenance mode step. while all other steps are same.info The status is showing AutoPatch is complete. Just we need to select 2 instead of 1 to disable maintenance mode. Step 6 . as shown above means the patch applied successfully.Start Apps Services In R11i we will do as follows: $ cd /d01/oracle/prodcomn/admin/scripts/PROD_erp $.sh apps/appspassword 22 ./adstrtal.Check the below slide. Step 5 .Author – A.Kishore/Sachin http://appsdba.Disabling Maintenance Mode The disabling steps are just same as enabling maintenance mode as shown above.
Kishore/Sachin http://appsdba.info 23 .Author – A.
Kishore/Sachin http://appsdba.Author – A.info 24 .
info 25 .Kishore/Sachin http://appsdba.Author – A.
info 26 .Author – A.Kishore/Sachin http://appsdba.
info 27 .Author – A.Kishore/Sachin http://appsdba.
info Now status showing all application services are up.Kishore/Sachin http://appsdba. 28 .Author – A. we can now access oracle apps.
info Verify Oracle Apps After Patching Login as sysadmin as shown below Click on System Administrator as shown below 29 .Author – A.Kishore/Sachin http://appsdba.
Author – A.info 30 .Kishore/Sachin http://appsdba.
Kishore/Sachin http://appsdba.Author – A.info Click on Concurrent : Manager -> Administer Above screen showing Internal Manager is up. 31 .
Kishore/Sachin http://appsdba.Author – A. Click on Concurrent -> Request as shown below 32 .info Now We need to run a request to verify that Internal Managers are working.
33 .Kishore/Sachin http://appsdba.info Below Screen wil be displayed.Author – A. Select the request button to select the request ‘Active Users’.
info Search for Active Users Request and click on Find button as shown below 34 .Author – A.Kishore/Sachin http://appsdba.
as shown below and click on OK button Click on Submit button as shown below 35 .Kishore/Sachin http://appsdba.Author – A.info Select Active Users Request .
Kishore/Sachin http://appsdba.info Click on OK button to Continue Below Screen will appear and click on Refresh Button 36 .Author – A.
37 .info Now Request is completed. click the View Output button to check the output of the request We checked that Internal Managers are up and working well.Author – A.Kishore/Sachin http://appsdba.