How to Apply an EBS Patch

2
Upon re-entering the Oracle EBS world, I had to once again familiarize myself wi th patching, which, as anyone know, is the cornerstone of all Apps DBA s activitie s:) Challenge is, the web docs on how to perform a simple apps tier patch is not  often easily located, so I thought I would put this out here for others referen ce. 1. Download the patch, as instructed by Oracle Support and also read the Read Me. Verify that the only task is an App Tier patch, which th ese instructions will cover. 2. Once you have SCPd the patch download to the Apps Tier server, unzip it into a directory and ensure it is owned by the Apps Tier OS User. Verify again that you are logged in as apps OS User, on the Apps Tier server. 3. Shutdown apps environment using the adstpall script. ./adstpall.sh apps/<passwrd> 4. Ensure all is apps process are down before you proceed: ps -ef | grep FND | grep <app OS User> ps -ef | grep FND | grep appldesa Note: This may take a while as the processes go defunct and finally stop 5. Put system into maint mode adadmin [return] Take defaults Put in passwords for each login that as requested . Choose option #5 to change into maintenance mode Choose option #1 to enable maint mode Enter twice to choose the defaults and to exit out for now, leaving it in mainte nance mode. 6. After verifying that files are unzipped, cd ov er to the pa tch directory, ti m e to run adpatch copy the name of the driver before running  i.e.u13863902.drv, (You will use this info for the log name and then when prompted or the name of the driver as part o f the patch process.) adpatch[enter] Choose the defaults until you hit the log file name. name log file name after the driver, using .log for the extension. Place in passwords for the system and apps user for the database environment whe n requested. Choose the defaults for choices of number of sessions, array size, etc. and put in the driver name once prompted after verifying the patch directory path name.  7. Once the patch applies, reports succes sful, verify by checking the error log  for the patch. egrep -i error|fail <directory patch>/log/u14208483.log egrep -i error|fail /d01/parches/9004712/log /u9004712.log If no errors outside of metadata not existing, error checks in the log, then app ly any other patches required at this time 8. Once completed with all patch applications, then bring the system back out o f maintenance mode

Transcript of How to Apply an EBS Patch

Page 1: How to Apply an EBS Patch

8/16/2019 How to Apply an EBS Patch

http://slidepdf.com/reader/full/how-to-apply-an-ebs-patch 1/2

Upon re-entering the Oracle EBS world, I had to once again familiarize myself with patching, which, as anyone know, is the cornerstone of all Apps DBAs activities:) Challenge is, the web docs on how to perform a simple apps tier patch is not often easily located, so I thought I would put this out here for others reference.

1. Download the patch, as instructed by Oracle Support and also read the Read Me.  Verify that the only task is an App Tier patch, which these instructions willcover.

2. Once you have SCPd the patch download to the Apps Tier server, unzip it intoa directory and ensure it is owned by the Apps Tier OS User.

Verify again that you are logged in as apps OS User, on the Apps Tier server.

3. Shutdown apps environment using the adstpall script../adstpall.sh apps/<passwrd>

4. Ensure all is apps process are down before you proceed:ps -ef | grep FND | grep <app OS User>ps -ef | grep FND | grep appldesa

Note: This may take a while as the processes go defunct and finally stop

5. Put system into maint mode

adadmin [return]Take defaultsPut in passwords for each login that as requested.Choose option #5 to change into maintenance modeChoose option #1 to enable maint modeEnter twice to choose the defaults and to exit out for now, leaving it in maintenance mode.

6. After verifying that files are unzipped, cd over to the patch directory, time to run adpatchcopy the name of the driver before running i.e.u13863902.drv, (You will use this

info for the log name and then when prompted or the name of the driver as part of the patch process.)adpatch[enter]Choose the defaults until you hit the log file name.name log file name after the driver, using .log for the extension.Place in passwords for the system and apps user for the database environment when requested.Choose the defaults for choices of number of sessions, array size, etc. and putin the driver name once prompted after verifying the patch directory path name.

 7. Once the patch applies, reports successful, verify by checking the error log

 for the patch.

egrep -i error|fail <directory patch>/log/u14208483.logegrep -i error|fail /d01/parches/9004712/log/u9004712.log

If no errors outside of metadata not existing, error checks in the log, then apply any other patches required at this time

8. Once completed with all patch applications, then bring the system back out of maintenance mode

Page 2: How to Apply an EBS Patch

8/16/2019 How to Apply an EBS Patch

http://slidepdf.com/reader/full/how-to-apply-an-ebs-patch 2/2

adadmin [return]take defaultsPut in passwords for each login that is requiredChoose option #5 Change maintenance mode.Choose option #2.Disable maintenance mode.Enter twice to exit out of application again, verifying that maintenance mode has been disabled successfully.

9. Restart the apps environmentChange over to your scripts directory, hope to your application start and stop scripts../adstrtal.sh apps/<passwd>

Look for the successful start message, All enabled services for this node are started.

-

10. After logging into the apps system URL as SYSADMIN,

click on System Administrator> Concurrent> Manager > AdministratorInstall the java client if requested and then a form will appear

If you can check the concurrent mgr, then you have verified the system is up and

 running again.

Patching Complete!