+

Search Tips   |   Advanced Search

 

versionInfo command

 

The versionInfo command generates a report from data extracted from XML files in the properties/version folder. The report includes a list of changed components and installed or uninstalled maintenance packages.

 

Product version information

The versionInfo tool displays important data about the product and its installed components, such as the build version and build date. History information for installation and removal of maintenance packages also displays in the report. This tool is particularly useful when working with support personnel to determine the cause of any problem.

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 versionInfo command is a script.

[AIX] [HP-UX] [Linux] [Solaris] The command file is a script named versionInfo.sh in the app_server_root/bin directory.

[Windows] The command file is named versionInfo.bat in the app_server_root\bin directory.

 

Syntax for the versionInfo command

The command syntax is: [AIX] [HP-UX] [Linux] [Solaris]

versionInfo.sh [ -format text | html ]
               [ -file file_name ]
               [ -long ]
               [ -maintenancePackages ]
               [ -maintenancePackageDetail ]
               [ -components ]
               [ -componentDetail ]

 versionInfo [ -help | /help | -? | /? | -usage ]

[Windows]

versionInfo [ -format text | html ]
            [ -file file_name ]
            [ -long ]
            [ -maintenancePackages ]
            [ -maintenancePackageDetail ]
            [ -components ]
            [ -componentDetail ]

 versionInfo [ -help | /help | -? | /? | -usage ]

Issue the command from the bin directory of app_server_root.

 

Parameters

-? or /?

Displays command syntax.

-components

Adds a list of installed components to the report.

-componentDetail

Adds details about installed components to the report.

-file file_name

Specifies the output file name. The report goes to standard output (stdout) by default.

-format text | html

Selects the format of the report. The default is "text".

-help or /help

Displays command syntax.

-long

Creates the long version of the report.

-maintenancePackages

Adds a list of applied maintenance packages to the report.

-maintenancePackageDetail

Adds details about an applied maintenance package to the report.

-usage

Displays command syntax.

 

Report description

The versionInfo command reports the following information:

 

Installation information

Displays the following general information about the current installation:

 

Product list information

Displays a list of installed WebSphere products:

 

Installed product information

This information and the other information topic descriptions are hierarchal for each installed product, component, component update, installed maintenance package, included APARs, and component updates. This section of the report displays the following information:

 

Installed component information

Displays the following component-level information of the installed component from the .component file under the /properties/version directory:

Installed component update information
Displays the general maintenance package information:

Installed maintenance package information
Displays the general maintenance package information:

Included APARs information

Display the list of APARs fixed by this maintenance package.

Component updates information
Displays the following information about each component that is updated by the installed maintenance package:

 

Sample versionInfo report

When the WAS 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 2005-05-18 15:58:40-0400

 Installation
----------------------------------------
 Product Directory:   /opt/WebSphere/AppServer
 VDirectory:   /opt/WebSphere/AppServer/properties/version
 DTD Directory:       /opt/WebSphere/AppServer/properties/version/dtd
 Log Directory:       /opt/WebSphere/AppServer/logs/update
 Backup Directory:    /opt/WebSphere/AppServer/properties/version/backup
 TMP Directory:       /tmp


 Installation Platform
----------------------------------------
 Name                IBM WAS
 V            6.0


 Product List
----------------------------------------
  BASE               installed

Installed Product 
----------------------------------------

Name                 IBM WAS 
V             6.0.1
ID                   BASE
Build Level          m0451.03
Build Date           12/19/2004


 
Installed Component
---------------------------------------------------
Component Name:          activity.impl
Spec Version:                 6.0
Build Version:                m0451.03
Build Date:                   12/19/04

Installed Component Update
----------------------------------------------------
Component Name:                    activity.impl
Update Type:                       maintenance package
Maintenance Package ID:  was60_fp1_linux
Update Effect:                     replace
Log File Name: 
  /opt/WebSphere/AppServer/logs/update/was60_fp1_linux.install/updatelog.txt
Backup File Name:
  /opt/WebSphere/AppServer/properties/version/backup/was60_fp1_linux.pak
Timestamp:                              2004-12-17 18:24:34-0500

Installed Component Update
-----------------------------------------------------
Component Name:                   activity.impl
Update Type:                      maintenance package
Maintenance Package ID: was60_fp2
Update Effect:                    replace
Log File Name: 
  /opt/WebSphere/AppServer/logs/update/was60_fp2_linux.install/updatelog.txt
Backup File Name: 
  /opt/WebSphere/AppServer/properties/version/backup/was60_fp2_linux.pak
Timestamp:                             2004-12-19 06:24:34-0500


Installed Component
-----------------------------------------------------
Component Name:   activity.session
Spec Version:     6.0
Build Level:      m0451.03
Build Date:       12/19/04

Installed Component Update
-----------------------------------------------------
Component Name:          activity.session
Update Type:                       maintenance package
Maintenance Package ID:  was60_fp2
Update Effect:                     replace
Log File Name:
  /opt/WebSphere/AppServer/logs/update/was60_fp2_linux.install/updatelog.txt
Backup File Name:
  /opt/WebSphere/AppServer/properties/version/backup/was60_fp2_linux.pak
Timestamp:               2004-12-19 06:24:34-0500

Installed Maintenance Package
-----------------------------------------------------
Maintenance Package ID:   was60_fp1_linux
Description:              IBM WAS, 
                          V6.0.1 Fix Pack for Linux
Build Date:                           12/17/2004

Included Apars
-----------------------------------------------------
PQ12345
   
Component Updates
----------------------------------------------------- activity       updated        installed on 2004-12-17 06:24:30-0500

Installed Maintenance Package
-----------------------------------------------------
Maintenance Package ID:   was60_fp2
Description:              IBM WAS, 
                          V6.0.2 Fix Pack for Linux
Build Date:               12/19/2004

Included Apars
-----------------------------------------------------
PQ12345
PQ23456
PQ34567

Component Updates
------------------------------------------------------ activity       updated        installed on 2004-12-19 06:24:30-0500 activity.impl       updated installed on 2004-12-19 06:24:30-0500

-----------------------------------------------------
End Installation Status Report
-----------------------------------------------------

 

Summary of V6 changes for the versionInfo command

Changes are in two areas: command syntax and report information.

 

Changes to command syntax

The following changes are in effect:

 

Changes to report information

The following changes are in effect:




 

Related information


Use command line tools
Product version informationgenVersionReport command

 

Reference topic