genVersionReport command

The genVersionReport command generates the versionReport.html report file in the bin directory on Linux and UNIX-based platforms, or on Windows platforms. The report includes the list of components, fixes, and fix packs.

 

Product version and history information

The /properties/version directory in the installation root contains important data about the product and its installed components, such as the build version and build date. This information is included in [product].product and [component].component files. The /properties/version/history directory in the installation root contains a collection of records for installed interim fixes and fix packs. This information is included in [interim fixID].efixApplied, [interim fixID].efixDriver, [fix packID].ptfApplied, and [fix packID].ptfDriver files. A driver file has useful information about the entire contents of an interim fix or fix pack. The applied file has relevant information about the interim fixes or fix packs that are currently applied. Event.history files are also present. They contain a detailed log about updates you have applied, either successfully or unsuccessfully. Time-stamped, detailed logs record each update process in the /properties/version/log directory of the installation root.

You can view product information by examining files in the properties/version directory, including the properties/version/history directory. WAS also provides the ability to generate two types of reports about the data in the files, Version reports and History reports.

Product version reports

The following report generation scripts extract data from XML data files in the properties/version folder...

 

Location of the command file

The command file is a script. On Linux and UNIX platforms, the command file is named genVersionReport.sh in the $WAS_HOME/bin directory. On Windows platforms, the command file is named genVersionReport.bat in the $WAS_HOME\bin directory.

 

Syntax for the versionInfo command on a Linux or UNIX-based platform

The command syntax is

genVersionReport.sh 
Issue the command from the $WAS_HOME/bin directory.

 

Syntax for the versionInfo command on a Windows platform

The command syntax is

genVersionReport.bat
Issue the command from the $WAS_HOME\bin directory.

 

Logging

As the tool runs, it creates the versionReport.html report file instead of log entries.

 Creating the reportbin

D:\Program Files\WebSphere\DeploymentManager\bin>genVersionReport
WVER0011I: WAS Release 5.0
WVER0012I: VersionInfo reporter version 1.14, dated 5/9/03

When the Network Deployment product has no interim fixes or fix packs applied, the genVersionReport.bat script creates the following information in the versionReport.html report file, which is edited to show only the first few components

IBM WAS Product Installation Status Report

----------------------------------------

 Report at date and time 2003-10-05T11:58:40-04:00

 Installation
 Product Directory D:\Program Files\WebSphere\DeploymentManager
 Version Directory ${product.dir}\properties\version
 DTD Directory ${version.dir}\dtd
 Log Directory D:\Program Files\WebSphere\DeploymentManager\logs\update
 Backup Directory ${version.dir}\backup
 TMP Directory D:\DOCUME~1\ADMINI~1\LOCALS~1\Temp


 Installation Platform
 Name IBM WAS
 Version 5.1


 Technology List
 ND installed


 Installed Product
 Name IBM WAS for Network Deployment
 Version 5.1.0
 ID ND
 Build Level b0334.18
 Build Date 8/30/03


 Installed Component
 Component Name activity
 Spec V5
 Build Version b0334.18
 Build Date 8/30/03


 Installed Component
 Component Name activity.impl
 Spec V5
 Build Version b0334.18
 Build Date 8/30/03


 Installed Component
 Component Name activity.session
 Spec V5
 Build Version b0334.18
 Build Date 8/30/03


----------------------------------------

End Installation Status Report

 

See Also

Product version and history information
versionInfo command