Monday, February 4, 2013

Patching Fusion Applications Using Smart Update

PATCHING FUSION APPLICATIONS USING SMART UPDATE

Smart Update is used to Patch the weblogic server's in the fusion application it can be used in the command line as well as the GUI mode to apply the patches in the weblogic server in offline mode
Download the necessary Patches from the  MOS with the Patch catalog ,, once the necessary patches are downloaded from the MOS place it in the cache_dir  <base_dir>/products/fusionapps/utils/bsu/cache_dir

Step 1
Download the necessary patches metalink and place it in the cache_dir
cache_dir is located at the </basedir>/products/fusionapps/utils/bsu/
[orafapp@fahtestapp bsu]$ ls
bsu.jar  bsu.sh  cache_dir  patch-client.jar  smartupdate.ico

Copy the Patch and it's patch_catalog contents to the cache_dir

[orafapp@fahtestapp weblogic]$ cd generic/
7AAZ.jar   9264.jar   patch-catalog_17011.xml  patch-catalog_17300.xml  patch-catalog.xml
7YZB.jar   F6G7.jar   patch-catalog_17066.xml  patch-catalog_18333.xml  README.txt

 copy all the files from the patch_top except README.txt to the cache_dir
[orafapp@fahtestapp generic]$ cp * /<base_dir>/products/fusionapps/utils/bsu/cache_dir

Step 2
Navigate to the  </base_dir>/products/fusionapps/utils/bsu/
Launch the smart update utlity from the ./bsu.sh


Step 2
When we have already Place the patches and the patch_catalog xml files the smart update utility identified the new patches need to be installed


Step 3
Select the necessary Patch and  green arrow mark to apply the patch into the server
 

Step 4
Once the Patch validation is completed it applies the patch to the server


Step 5
 Repeat the steps until all the patches are applied 

Step 6


Step 7
 Conform all the patches are applied

Step 8
 We can use the command lime utility also to apply the patches here we are using the ./bsu to identify the stauts of the applied Patches to the weblogic server
Syntax : ./bsu.sh -view -status=applied -prod_dir=<weblogic_directory>
[orafapp@fahtestapp bsu]$ ./bsu.sh -view -status=applied -prod_dir=/u03/oracle/fa/products/fusionapps/wlserver_10.3
ProductName:       WebLogic Server
ProductVersion:    10.3 MP6
Components:        WebLogic Server/Core Application Server,WebLogic Server/Admi
                   nistration Console,WebLogic Server/Configuration Wizard and
                   Upgrade Framework,WebLogic Server/Web 2.0 HTTP Pub-Sub Serve
                   r,WebLogic Server/WebLogic SCA,WebLogic Server/WebLogic JDBC
                    Drivers,WebLogic Server/Third Party JDBC Drivers,WebLogic S
                   erver/WebLogic Server Clients,WebLogic Server/WebLogic Web S
                   erver Plugins,WebLogic Server/UDDI and Xquery Support,WebLog
                   ic Server/Evaluation Database,WebLogic Server/Workshop Code
                   Completion Support
BEAHome:           /u03/oracle/fa/products/fusionapps
ProductHome:       /u03/oracle/fa/products/fusionapps/wlserver_10.3
PatchSystemDir:    /u03/oracle/fa/products/fusionapps/utils/bsu
PatchDir:          /u03/oracle/fa/products/fusionapps/patch_wls1036
Profile:           Default
DownloadDir:       /u03/oracle/fa/products/fusionapps/utils/bsu/cache_dir
JavaVersion:       1.6.0_29
JavaVendor:        Sun

Patch ID:          3BBT
Patch ID:          56MM
Patch ID:          6D9T
Patch ID:          9887
Patch ID:          E9FL
Patch ID:          F89C (13787444)
Patch ID:          IH4D
Patch ID:          JZED
Patch ID:          UDN7
Patch ID:          Z4W7
Patch ID:          7AAZ
Patch ID:          7YZB
Patch ID:          9264
Patch ID:          F6G7 (14261891)