Weblogic Patching on OBIEE Linux Node:
1) How to check the weblogic version?
To verify or check the weblogic version you need to follow below mention steps:
a) First navigate to the location :<ORACLE_MIDDLEWARE_HOME>/wlserver_10.3/server/bin
b) Run the following script to set Envirnoment Varaible : . ./setWLSEnv.sh
c) Then Navigate to location: <ORACLE_MIDDLEWARE_HOME>/utils/bsu
d) Then there are two ways to check the weblogic version:
i) You can fire the below command also:
java weblogic.version
ii) Or you can fire this command also:
./bsu.sh -prod_dir=<ORACLE_MIDDLEWARE_HOME>/wlserver_10.3 -status=applied -verbose -view
From the above steps you will get the weblogic version and the patches applied to it.
2) How to apply the patch in weblogic:
a)Downlaod the patch and unzip the patch and place in the folder <ORACLE_MIDDLEWARE_HOME>/utils/bsu/cache_dir
b) Rename the patch-catalog_XXX.XML file to patch-catalog.xml
c) First navigate to the location :<ORACLE_MIDDLEWARE_HOME>/wlserver_10.3/server/bin
d) Run the following script to set Envirnoment Varaible : . ./setWLSEnv.sh
e) Then Navigate to location: <ORACLE_MIDDLEWARE_HOME>/utils/bsu
f) Use the below command to apply the patch:
./bsu.sh -install -patch_download_dir=<ORACLE_MIDDLEWARE_HOME>/utils/bsu/cache_dir -patchlist=PATCHID -prod_dir=<ORACLE_MIDDLEWARE_HOME>/wlserver_10.3
3) How to Roll Back the patches if it has a conflict with the existing patches?
Weblogic patches are cumulative patches i.e. sometime we need to roll back few patches and apply the new patch.
./bsu.sh -prod_dir=<ORACLE_MIDDLEWARE_HOME>/wlserver_10.3 -patchlist=<PATCHID having conflict> -verbose -remove
Please update the details or any more info that you may need for weblogic patching.