Product version information
Contents
- Overview
- Product information files
- Reports
- Logs and component backups
- Directory locations
- Operational description
- Data dictionary
Overview
Data about WAS v7 installed components, including build versions and build dates, can be found in...
APP_ROOT/properties/version...in the files...
- WAS.product
- [component].component
Run historyInfo to create a report about installed maintenance packages. Output is written to...
APP_ROOT/properties/version/historyTime-stamped, detailed logs record for each update process can be found in...
APP_ROOT/properties/version/logThis topic describes the XML data files that store product information for WAS products.
By default, the document type declarations (DTDs) for these files are in the properties/version/dtd folder of the APP_ROOT, or the server root directory. See the Directory locations section for more information.
Product information files
XML files in the properties/version directory that store version information:
The following XML files in the properties/version directory represent installed items and installation events such as product edition, version, component, and build information.
XML files in the properties/version/history directory that store version history information files:The following XML files in the properties/version/history directory describe refresh packs, fix packs, and interim fixes that are currently installed. These XML files are related to installation items by the primary ID information, which is shown in the following examples as italicized text.
Reports
WAS provides the ability to generate Version reports and History reports from the data in the files.
The following report-generation scripts are available in the APP_ROOT bin directory.
The following report generation scripts extract data from XML data files in the properties/version folder:
- versionInfo command
Lets you use parameters to create a version report on platforms such as AIX or Linux, or on Windows platforms.
- genVersionReport command
Generates the versionReport.html report file in the bin directory on platforms such as AIX or Linux, or on Windows platforms. The report includes the list of components and installed and uninstalled maintenance packages.
The following report generation scripts extract data from XML data files in the properties/version/history folder:
- historyInfo command
Lets you use parameters to create a history report on platforms such as AIX or Linux, or on Windows platforms.
- genHistoryReport command
Generates the historyReport.html report file in the bin directory on platforms such as AIX or Linux, or on Windows platforms. The report includes the list of components and a history of installed and uninstalled maintenance packages.
Logs and component backups
WAS products use two other directories when performing update operations, for logging and backups:
File naming convention
Update processing might also use a temporary directory if necessary. A Java™ property specifies this directory as described in the next section.
Directory locations
Product information files are located relative to WAS v7 APP_ROOT, or the server root directory.
Default file paths are:
Operational description
WAS products update WAS version history information while performing events that install or uninstall fixes or fix packs. Events that might occur include:
- A WAS product removes an interim fix file from the version directory when it uninstalls the corresponding fix.
- A WAS product adds a file with an extension of .ptf to the version directory to indicate than a refresh pack, a fix pack, or an interim fix is currently installed.
- A WAS product removes a file with an extension of .ptf from the version directory when it uninstalls the corresponding refresh pack, a fix pack, or an interim fix.
- A WAS product adds a driver file with an extension of .ptfDriver to the version/history directory when you run the historyInfo command. A fix pack driver file contains defining information for a fix pack.
- A WAS product adds a fix pack applied file with an extension of .ptfApplied to the version/history directory when you run the historyInfo command. A fix pack application file contains information that identifies component updates that have been applied for a fix pack. The application file also provides links to component log and backup files.
- A WAS product makes entries in the history file, event.history, when it installs or uninstalls a maintenance package.
- A WAS product writes a line about a parent event for each refresh pack, a fix pack, or interim fix that it installs or uninstalls.
- A WAS product stores child component events for each component update that it installs or uninstalls, beneath the corresponding interim fix, fix pack, or refresh pack parent event.
- A WAS product stores one log file in the logs/update directory as it installs or uninstalls one interim fix, fix pack, or refresh pack.
- A WAS product stores one log file in the logs/update directory as it installs or uninstalls an interim fix, fix pack, or refresh pack in response to each component update that occurs.
- A WAS product stores a component backup file in the backup directory for each component update that it installs.
- A WAS product removes a component backup file from the backup directory for each component update that it uninstalls.
Data dictionary
Type Family: WebSphere product family
- File Types:
- websphere
- File Type:
- websphere
- Elements:
name string required version string required- Persistence:
- versionDir/platform.websphere
Type Detail:
The websphere file denotes the presence of WebSphere family products.
Element Detail:
websphere.name The WebSphere product family name. websphere.version The WebSphere product family version.Type Family: product
File Types: product component extension
File Type: product
Persistence: versionDir/WAS.product
Elements: id string required name string required version string required build-info complex required
Type Detail:
A product file is placed to denote the presence of a specific WebSphere family product. WAS ND v7.0 ID is embedded in WAS file name.
Element Detail: product.id The id of WAS ND V7.0. product.name The name of WAS ND V7.0. product.version The version of WAS ND V7.0. product.build-info An element containing build information for WAS ND V7.0.
Element Type: build-info
Elements: date date required level string required
Type Detail:
A build-info instance details the build of a specific installed WebSphere family product.
Element Detail: build-info.date The date on which WAS was build. build-info.level The level code of WAS ND V7.0's build.
File Type: component
Persistence: versionDir/name.component
Elements: name string required spec-version string required build-version string required build-date date required
File Detail:
A component file denotes the presence of a specific component. The component name is embedded in the component file name.
Element Detail: component.name The name of the component. component.spec-version The spec version of the component. component.build-version The build level of the component. component.build-date The build date of the component.
Type Family: update
File Types: ptf ptf-applied
File Type: ptf
Persistence: versionDir/id.ptf
Elements: id string required short-description string required build-version string required build-date date required component-name complex min=1, max=unbounded
Type Detail:
A ptf file denotes the presence of some portion of a specific refresh pack, fix pack, or interim fix.
The id of the refresh pack, fix pack, or interim fix is embedded in the fix pack file name.
A ptf file contains a listing of component updates.
When installing a refresh pack, fix pack, or interim fix, we can omit certain potential component updates, but only when the corresponding component is not installed.
Examine a separate application file to determine the components that a particular refresh pack, fix pack, or interim fix updates.
A refresh pack or fix pack can include updates for a number of interim fixes.
Element Detail: ptf.id The ID of the fix pack. ptf.short-description A short description of the fix pack. ptf.build-version The build version of the fix pack. This is distinct from the build version of component updates contained within the fix pack. ptf-build-date The build date of the fix pack. This is distinct from the build version of the component updates contained within the fix pack. ptf.component-name A list of components.
File Type: ptf-applied
Persistence: versionDir/id.ptfApplied
Elements: ptf-id string required component-applied complex min=0, max=unbounded
Type Detail:
A ptf-applied collection specified what components have been updated for the refresh pack, fix pack, or interim fix as specified by the ID.
Element Detail: ptf-applied.ptf-id The ID of the refresh pack, fix pack, or interim fix for which applieds are recorded. ptf-applied.component-applied The list of recorded applications.
Element Type: component-applied
Elements: component-name string required update-type enum required [enumUpdateType] log-name anyURL required backup-name anyURL required time-stamp date required
Type Detail:
An applied instance is present to indicate the application of an update for a particular interim fix, fix pack, or refresh pack to a particular component. (The particular interim fix, fix pack, or refresh pack is specified by the applied parent.) An applied provides sufficient information to undo itself.
The elements of an applied are copies of values from update events.
Element Detail: component-applied.component-name The name of the component which was updated. component-applied.update-type The type of the component update. component-applied.log-name The name of the log file that was generated by this application. component-applied.backup-name The name of the backup file that was generated by this application. component-applied.time-stamp The time of this application (the ending time of the corresponding update event).
Enum Type: enumUpdateType
Values: 0 add 1 replace 2 remove 3 patch
Type Detail:
An update type instance specifies the type of an update. An 'add' update adds a component into an installation. A 'replace' update replaces a particular version of a component with a different version of that component. A 'remove' update removes a component. A 'patch' update performs a limited update to a component, in particular, without changing the version of the component.
When adding a component, that component may not already be present. When replacing or removing a component, that component must be present. When patching a component, that component must be present.
When replacing or removing a component, or when patching a component, usually, at least one version prerequisite will be specified for the component update.
Value Detail: enumUpdateType.add Specifies that an update adds a component. enumUpdateType.replace Specifies that an update replaces a component. enumUpdateType.remove Specifies that an update removes a component. enumUpdateType.patch Specifies that an update modifies a component, but does not change its version.
Type Family: history
File Type: event.history
Persistence: historyDir/event.history
Elements: update-event complex min=0, max=unbounded
Type Detail:
One event.history is provided for a websphere product family installation. This event.history contains history of update events, corresponding with the actual update events for that product family.
Element Detail: event-history.update-event The list of update events for the websphere product family. The top level events are refresh pack, fix pack, and interim fix events, each containing one or more component events.
Element Type: update-event
Elements: event-type enum required [enumEventType] parent-id string required id string required update-type enum required [enumUpdateType] primary-content anyURI required update-action enum required [enumEventAction] log-name anyURI required backup-name anyURI required start-time-stamp dateTime required result string required update-event complex optional
Type Detail:
An update event denotes a single update action, applying to either a fix, a fix pack, a refresh pack, or a component, according to the set event type.
Element Detail: update-event.event-type The type of this event, either a refresh pack, fix pack, or an interim fix type event, or a component type event. update-event.parent-id This element is present only for component events. The ID of the parent interim fix, fix pack, or refresh pack of this event. update-event.id The ID of the interim fix, fix pack, refresh pack, or component that was updated, interpreted according to the type of the event. update-event.update-type The type of update for an update event. update-event.update-action The type of action for this event. update-event.log-name The name of the log file that was generated for this event. update-event.backup-name The name of the backup file that was generated for this event. update-event.start-time-stamp The XML timestamp of the starting time of the event. This timestamp follows the XML timestamp format, meaning that time zone information is included. update-event.result The result of the update. update-event.update-event A collection of child events. This collection is used for interim fix and fix pack type events. This collection is empty for component type events.
Type Detail:
An event type instance specifies the type of an update event, which is either a refresh pack, fix pack, or interim fix (ptf) event or a component event. The interpretation of particular event elements depends on the set event type.
Value Detail:
EventType.ptf Specifies that an event is for a refresh pack, fix pack, or interim fix update.
EventType.component Specifies that an event is for a component update.
Enum Type: update-action
Values: 0 Install 1 Uninstall
Type Detail:
An event action instance specified the operation performed by an update, which can be an install or uninstall operation.
Value Detail: enumEventAction.install Specifies that an event is an install operation. enumEventAction.uninstall Specifies that an event is an uninstall operation.
Enum Type: enumUpdateType
Values: 0 Add 1 Replace 2 Remove 3 Patch
Type Detail:
An update type instance specifies the type of a component update.
An 'add' update adds a component into an installation.
A 'replace' update replaces a particular version of a component with a different version of that component.
A 'remove' update removes a component.
A 'patch' update performs a limited update to a component, in particular, without changing the version of the component.
To add a new component, the component must not exist. To replace or remove a component, the component must exist. To patch a component, the component must exist.
When replacing or removing a component, or when patching a component, usually, at least one version prerequisite is specified for the component update.
Value Detail: enumUpdateType.add Specifies that an update adds a component. enumUpdateType.replace Specifies that an update replaces a component. enumUpdateType.remove Specifies that an update removes a component. enumUpdateType.patch Specifies that an update modifies a component, but does not change its version.
Enum Type: enumEventResult
Values: 0 Succeeded 1 Failed 2 Cancelled
Type Detail:
An event result instance denotes a particular result for an update event. The result indicates success, failure, or cancellation.
Value Detail: enumEventResult.succeeded Specifies that the operation was successful. enumEventResult.failed Specifies that the operation failed. enumEventResult.cancelled Specifies that the operation was cancelled.
Related tasks
Task overview: Installing