This Demo Shows How To Apply/Install Patch Using BSU Utility Command Line
==> The purpose of applying patch to BEA_HOME OR WLS_HOME Is To Fix Bugs.
==> BSU Utility is shipped with weblogic product
==> Oracle Releases PSU(Patch Set Update) OR CPU(Critical Patch Update) Patches Quarterly (January - April - July - October), As PSU patches Are Cumulative and all bug fixes are available hence it is highly recommended to apply psu quarterly
Summary
- Download The PSU From Oracle Support
- Create Directory cache_dir inside $MW_HOME/utils/bsu
- Copy The Downloaded Patch To $MW_HOME/utils/bsu/cache_dir Using WinScp
- Unzip The Copied Zip Patch File
- Set The Environment Using setWLSEnv.sh
- Run The Patch Install Command Using bsu.sh
- Verify Whether Patch Applied To The BEA_HOME
1. Download The PSU From Oracle Support
- Login To My Oracle Support http://support.oracle.com
- Click on "Patches & Update" Tab
- Click on Search ==> Click on "Recommended Patch Advisor"
- Select Product: Oracle Weblogic Server
- Select Release 10.3.6.0 OR Any of your prefered wls version
- Platform Select Any
- Click on Search
- Result will lists latest available PSU
- Click on "Patch Name" 20780171
- Click on Download
2. Create Directory cache_dir inside $MW_HOME/utils/bsu
3. Copy The Downloaded Patch To $MW_HOME/utils/bsu/cache_dir Using WinScp
4. Unzip The Copied Zip Patch File
5. Set The Environment Using setWLSEnv.sh
6. Run The Patch Install Command Using bsu.sh
cd /oracle/Middleware1036/utils/bsu/
./bsu.sh -patch_download_dir=/oracle/Middleware1036/utils/bsu/cache_dir -patchlist=EJUW -prod_dir=/oracle/Middleware1036/wlserver_10.3 -install -log=patch_apply.log -log_priority=trace
./bsu.sh -patch_download_dir=/oracle/Middleware1036/utils/bsu/cache_dir -patchlist=EJUW -prod_dir=/oracle/Middleware1036/wlserver_10.3 -install -log=patch_apply.log -log_priority=trace
cd /oracle/Middleware1036/utils/bsu
View the file bsu_report.log. Below Snap Shot Shows That The Patch ID EJUW is applied
OR
You Can Verify by Checking AdminServer Start up log
You Can Verify by Checking AdminServer Start up log
Sometimes you might to remove a existing patch before you install a new patch. The command to remove a patch is similar to installing a new patch.
ReplyDelete./bsu.sh -remove -patchlist=FCX7 -prod_dir=/psoft/middle/weblogic/10.3.6/wlserver
To see a list of patches that are currently installed use "./bsu.sh -report"
what do you mean by sometimes? can you help us all by elaborating the effects of having or not having to remove the previous/existing patch applied
ReplyDeleteWhen using bsu to apply a new patch, the utility will check if a patch conflict exists, in which case the existing patch needs to be removed before you can move forward with the new patch.
ReplyDeleteis that possible to stop printing the output ? any silent or quiet mode like unzip -q ?
ReplyDeleteNational Institute of Open Schooling has released the admit card of NIOS DElEd Exam.NIOS Deled Admit card has been released online at www.nios.ac.in.
ReplyDeleteThis comment has been removed by the author.
ReplyDeleteery clear and straight forward. You might get the out of memory error exception. In that case just modify the MEM_ARGS parameter in the bsu.sh file as follows
ReplyDeleteMEM_ARGS="-Xms1024m -Xmx2048m"="-Xms1024m -Xmx2048m"
How to check a particular patch is applied aren't in wls 10.3
ReplyDeleteVery Well Explained on WebLogic Patch. Thanks for such a wonderful article.
ReplyDeleteSimply wish to say your article is as astonishing. The clarity in your post is simply great, and I could assume you are an expert on this subject. Same as your blog i found another one Oracle WebLogic .Actually I was looking for the same information on internet for Oracle WebLogic and came across your blog. I am impressed by the information that you have on this blog. Thanks a million and please keep up the gratifying work.
ReplyDeleteVery good article.
ReplyDelete