Friday, 28 October 2011

Oracle Applications Patching

How to apply the Patch in 11i

We have two types of Patches

1.Cold Patch (Applying the patch after bringing down the Application Services)

2.Hot Patch (Applying the patch during all the Services are up)
Steps for applying the cold adpatch

1. Bring the Applications down

COMMON_TOP/admin/scripts/context_name/adstpall.sh

2. Enable the maintenance mode

3. Download the patch from the Oracle Support and place it in your server
4. Go to the directory where the patch is unzipped
cd <patchnumber>
run
adpatch workers=8 interactive=yes options=novalidate,noautoconfig,nocompilejsp,nocompiledb

or

adpatch

Will prompt for patch location: chose default
Next prompt is for patch driver: enter patchnumber.drv

Once patch is applied check

Select * from ad_applied_patches where patch_name = ‘patchnumber’;

5.disable the maintenance mode

6. Bring up the Applications


Hot Patch

No need to bring the Applications down or enabling the Maintenace mode

adpatch options=hotpatch

1 comment:

  1. Hi Naren,
    How to find hot patch is applied or not in oracle application R12.
    Can you please update the status.

    Regards
    Harikrishna

    ReplyDelete