Last week, I was doing some research on Patching Weblogic Web Server for Peoplesoft. I used to apply the patch using manual process. In our production, With Peopletools 8.49.20, we are running Weblogic Web Server Version 9.2 MP3 with Patch 5. Recently, Peoplesoft released a patch 7 for this weblogic and I downloaded and started testing this Patch. Remember, one of the important thing in Weblogic 9.X and later versions is, “self-tuning thread pool”. This concept is new and important for Weblogic Performance Tuning. I will write more about it later.

If you work in a Peoplesoft environment as a Peoplesoft Support Person, you may be already aware that Patching is important. Especially for Weblogic Web Server, applying a patch may be important in many occasions, be it performance related or security fix related or fixing some other issue.

I found something interesting with a new utility called Smat Update for Weblogic Server Installation with Peopletools 8.50 Version. Already there are some patches released for Weblogic Web Server Version 10.3.1 in the Oracle Support Website using Smart Update Utility.

Smart Update Utility comes with Weblogic Server Installation and installed under $WEBLOGIC_HOME/utils/bsu directory. I think “bsu” directory means BEA Smart Update.

I found that this utility is installed on our Weblogic Web Server under the untils/bsu directory. As per the manual, there are two kind of modes this utility can be launched.

  • GUI mode
  • Command line mode

Also, in both the modes, it can work with offline modes. With GUI mode and online mode, the utility connects to a Download Server through Internet and search for Patches. Both the GUI and command line modes support the offline option to install a patch which is already downloaded locally.

I liked the Command line mode because I was looking for some tools to automate the patching process for Weblogic Web Server for Peoplesoft. Actually with the “bsu.sh -help” command you can check the command options for your automation process. Here is the output of “bsu.sh -help” command. Please change the directory to $WEBLOGIC_HOME/utils/bsu and run the command as shown below to view the command options.

The first option I learned is how to view the version of the BEA Smart Update Utility. Here is the command and output:

$ ./bsu.sh -version
BEA Smart Update. Version: 3.1.0.0
$

The second option I tried gave enough information for me to learn this command line utility. with the -help option, this utility displayed the usage information as shown below.

$ ./bsu.sh -help
-help Displays this usage message. REQUIRED
-version Displays version information.
-view View information about applied or downloaded patches. REQUIRED
-profile The name of the profile to utilize.
-patch_download_dir The location of the patch cache directory.
-status Specifies installation status when using the view option. (applied|downloaded) REQUIRED
-verbose Display verbose output
-prod_dir The product installation directory. REQUIRED
-report Generate a report of patches applied in a BEA home. REQUIRED
-bea_home BEA Home to use.
-product_mask [regexp] Restrict report to a matching product(s).
-release_mask [regexp] Restrict report to a matching product release(s).
-profile_mask [regexp] Restrict report to a matching profile(s).
-patch_id_mask [regexp] Restrict report to a matching patch(es).
-output_format Output format. (text|xml)
-output_file Output file (stdout will be used if not specified)
-install Install a patch. REQUIRED
-patchlist The list of patches. REQUIRED
-profile The name of the profile to utilize.
-patch_download_dir The location of the patch cache directory.
-verbose Display verbose output
-prod_dir The product installation directory. REQUIRED
-remove Remove a patch. REQUIRED
-patchlist The list of patches. REQUIRED
-profile The name of the profile to utilize.
-verbose Display verbose output
-prod_dir The product installation directory. REQUIRED
-gui Runs GUI mode. DEFAULT

-log The path to the log file.
-log_priority The log priority. (trace|debug|info|warn|error|fatal)

$

So, there are many options available for this utility.
The Oracle Documentation Library for Smart Update Utility can be found at the below Web Site.

http://download.oracle.com/docs/cd/E14759_01/index.htm

As usual, we need to learn new things all the time, especially when you work in an IT environment. Technology is changing everyday and we need to keep ourselves informed and start using new things in our life “todos los dias”. (todos los dias means “every day” in spanish).

As per the Peoplesoft Support Website, I was trying to test this utility and try to automate the Patching Process for Weblogic Web Server for Peoplesoft using some kind of UNIX Shell Script. I am planning to write more about this once my testing and automating process is completed. Until then.

Vijay Chinnasamy

Posted by Vijayakumar Chinnasamy
Comments (3)
October 13th, 2009

Comments (3)

Pradeep - November 5th, 2009

Hi I am trying to use the smart update (BEA Smart Update. Version: 3.1.0.0) When i run it ....it opens GUI i am able to use it in online mode. But when i am trying to go online for installing maintenance pack it ask me for the credential. I put it correctly ( The oracle support CSI) and then it said "Please wait while we check your credential with bea support." and after that it says "unable to verify your status". When I click on help it takes me to the http://e-docs.bea.com/common/docs100/smart_update/index.html. and this page doesnt exist. So far it seems to me that it is trying to contact http://e-docs.bea.com/common/docs100/smart_update/index.html which doesnt exist .So it seems i need to change this url in some file ( I dont know where) with some other url of oracle. Please help me out, If you have any idea. Thanks Pradeep

ITIL V3 - November 5th, 2009

Hello Vijay, It was very much interesting to know about your experiences working with Peoplesoft Patching and Smart Update Utility for Weblogic.Even I got to learn some thing new.

Settor75 - October 22nd, 2009

Siren you were very lucky to have a professor that good. ,

Comments are closed.