Installing Maintenance Updates and Service Packs
![]() |
![]() |
![]() |
![]() |
![]() |
![]() |
This section describes the Smart Update bsu
command, which you can use to apply patches, interactively or via script, that have been downloaded into a patch download directory. When you use bsu
commands in a script, you can create a mechanism for replicating a specific maintenance level of a BEA product that is installed on multiple machines. This capability is especially valuable in production environments, in which the distribution of software updates to machines must be implemented in a controlled, reliable, and reproducible manner.
The following topics are included:
When using the bsu
command, either interactively or via a script, note that this command:
bsu
script (bsu.cmd
on Windows systems, bsu.sh
on UNIX systems) that is located in the BEA_HOME
\utils\bsu
directory. When running the bsu
command, first change to this directory on the machine from which you are running it.The bsu
command can also invoke the Smart Update graphical interface and send messages to a log file.
bsu
command with that installation.Therefore, the restrictions regarding the specific BEA product installations that can be maintained via the bsu
command is the same as for Smart Update's graphical interface.
Note: If you run the Smart Update command-line interface simultaneously with the graphical interface, changes you make to patch profiles via the command-line interface are not visible from the graphical interface when you refresh the view of those patch profiles.
This section describes the bsu
command syntax. Square brackets appearing with a parameter argument indicate that the argument is optional.
A summary of the |
The bsu
command has the parameters and arguments listed and described in Table 8-1.
This section includes the following bsu
command examples:
The following command installs the patch IRZ2 from the patch download directory that has been established for the current machine:
bsu -prod_dir=c:\bea\weblogic91 -patchlist=IRZ2 -verbose -install
When executed, the preceding command displays the following output showing that the patch was successfully applied:
Checking for conflicts.
No conflict(s) detected
Starting installation of Patch ID: IRZ2
Installing C:\bea\download-dir\IRZ2.jar
Result: Success
The following command displays a list of patches that exist in the patch download directory, c:\patchdir:
bsu -prod_dir=c:\bea\weblogic91 -patch_download_dir=c:\patchdir
-status=downloaded -view
When executed, the preceding command generates a display similar to the following:
ProductName: WebLogic Platform
Version: 9.1
Components: WebLogic Server/Server, WebLogic Server/Server Examples,
AquaLogic Service Bus/Service Bus Server, AquaLogic Service
Bus/Data Transformation Tools, AquaLogic Service Bus/Service
Bus Examples,
BEAHome: c:\beahome
ProductHome: c:\beahome\weblogic91
JavaHome: c:\beahome\jrockit90_150_04
JavaVersion: 1.5.0
JavaVendor: BEA
PatchID: patch20_weblogic910
PatchID: patch537_weblogic910
PatchID: patch2004_weblogic910
The following command displays the set of patches for a target installation that have been downloaded to the machine's designated patch download directory:
bsu -prod_dir=c:\bea\weblogic91 -status=downloaded -verbose -view
When executed, the preceding command generates a display similar to the following:
ProductName: WebLogic Platform
ProductVersion: 9.1
Components: WebLogic Server/Server, WebLogic Server/Server Examples, Aqu
aLogic Service Bus/Service Bus Server, AquaLogic Service Bus
/Data Transformation Tools, AquaLogic Service Bus/Service Bu
s Examples
BEAHome: C:\bea
ProductHome: C:\bea\weblogic91
DownloadDir: C:\bea\download-dir
JavaHome: C:\bea\jrockit90_150_04
JavaVersion: 1.5.0_04
JavaVendor: BEA
Patch ID: FZN2
PatchContainer: FZN2.jar
Checksum: -174938558
Component: WebLogic Server
Severity: critical
Category: Security
CR: CRxxyyzz
Restart: false
Description: ATN fix for xxxx
Patch ID: GWQR
PatchContainer: GWQR.jar
Checksum: 1170817068
Component: AquaLogic Service Bus
Severity: optional
Category: Multiple
CR: CRxxyyzz
Restart: true
Description: One more ALSB patch
The following command displays a maintenance snapshot of the default patch profile:
bsu -view -profile=default -status=applied -verbose -prod_dir=c:\bea\weblogic91
When executed, the preceding command generates a display similar to the following:
ProductName: WebLogic Platform
ProductVersion: 9.1
Components: WebLogic Server/Server, WebLogic Server/Server Examples,
AquaLogic Service Bus/Service Bus Server, AquaLogic
Service Bus/Data Transformation Tools, AquaLogic Service
Bus/Service Bus Examples
BEAHome: C:\bea
ProductHome: C:\bea\weblogic91
DownloadDir: C:\bea\patch-download-dir
JavaHome: C:\bea\jrockit90_150_04
JavaVersion: 1.5.0_04
JavaVendor: BEA
Patch ID: QDXN
PatchContainer: QDXN.jar
Checksum: -1137516737
Component: AquaLogic Service Bus
Severity: optional
Category: General
CR:
Restart: false
Description: ext classpath
Patch ID: 4N1M
PatchContainer: 4N1M.jar
Checksum: 979379797
Component: WebLogic Server
Severity: optional
Category: Plugin
CR:
Restart: false
Description: classpath (myWLServer.jar) 3
![]() ![]() |
![]() |
![]() |