BIP 11G Security Patching
1.
Stop BIP and webLogic
server from Weblogic Console
To check if any service is still running use below command and kill it if available
ps –ef | grep BI or
ps –ef| grep weblogic
Kill -9 <PID>
2.
Take backup of BIP
File System before patching:-Make a copy of above folders “user_projects”
and “wlserver_10.3”
cp –rp /u01/BIP_11g/user_projects
/u01/BIP_11g/user_projects_`date +%d.%m.%Y`
cp –rp /u01/BIP_11g/wlserver_10.3
/u01/BIP_11g/wlserver_10.3_`date +%d.%m.%Y`
3.
Get Patch Set Files: - You can get particular/latest patch from:
a.
Download the patch 16088411 for 10.3. from My Oracle Support (MOS). For
more details, please refer to Master Note: How to Locate and Download Patches
for WebLogic Server Using My Oracle Support Note
1302053.1.
b.
Copy from backup Location
4.
Extract the contents
from the zip file: If you are downloading it from oracle Support, you will have a
jar file and patch-catalog_xxx.xml. A readme file may also be included.
5.
Copy Patch Files: -
move
L5TD.jar and the patch-catalog.xml from the zip file to the target machine.
To take backup,Rename cache_dir folder
mv
/u01/BIP_11g/utils/bsu/cache_dir /u01/BIP_11g/utils/bsu/cache_dir_`date
+%d.%m.%Y`
Copy the files to cache_dir
scp -rp sadmin@SERVER_NAME:/u01/DR_Installables/Installers/BIP_SPARC_11g/p16088411_1035_Generic
/u01/BIP_11g/utils/bsu/cache_dir
6.
Check applied
patches as below:- If any patch is already applied, then
fist remove patch then install latest patch.
cd
/u01/BIP_11g/wlserver_10.3/server/bin
./setWLSEnv.sh
cd
/u01/BIP_11g/utils/bsu
./bsu.sh
-prod_dir=/u01/BIP_11g/wlserver_10.3 -status=applied -verbose –view
Output:-
As per output,
SFAP is already applied. Therefore, you have to remove this patch. To remove
patch use below command:-
./bsu.sh
-prod_dir=/u01/BIP_11g/wlserver_10.3 -patchlist=SFAP -verbose -remove
7.
Run the command to
install a new patch:
./bsu.sh
-prod_dir=/u01/BIP_11g/wlserver_10.3 -patchlist=L5TD -verbose -install
8. Run command to check if the patch is installed:
./bsu.sh -prod_dir=/u01/BIP_11g/wlserver_10.3
-status=applied -verbose -view
9.
Cache Clear: - Clear cache by
taking backup of tmp and cache file:
bi_server1
mv
/u01/BIP_11g/user_projects/domains/bifoundation_domain/servers/bi_server1/tmp
/u01/BIP_11g/user_projects/domains/bifoundation_domain/servers/bi_server1/tmp_`date
+%d.%m.%Y`
mv /u01/BIP_11g/user_projects/domains/bifoundation_domain/servers/bi_server1/cache
/u01/BIP_11g/user_projects/domains/bifoundation_domain/servers/bi_server1/cache_`date +%d.%m.%Y`
AdminServer
mv
/u01/BIP_11g/user_projects/domains/bifoundation_domain/servers/AdminServer/tmp
/u01/BIP_11g/user_projects/domains/bifoundation_domain/servers/AdminServer/tmp_`date +%d.%m.%Y`
mv
/u01/BIP_11g/user_projects/domains/bifoundation_domain/servers/AdminServer/cache
/u01/BIP_11g/user_projects/domains/bifoundation_domain/servers/AdminServer/cache_`date +%d.%m.%Y`
10. Restart
WebLogic Server: - login to VNC viewer with sadmin and
execute below commands in separate terminals
To Start Weblogic Admin Console
cd /u01/BIP_11g/user_projects/domains/bifoundation_domain/bin
./startWebLogic.sh
To Start Node Manager
cd
/u01/BIP_11g/wlserver_10.3/server/bin
./startNodeManager.sh
11. Start BI Publisher Server
Login
to WebLogic Console and start bi_server1
12. Access BIP link, it should be up and running