Verifying the integrity of Liberty installation

You can use the command utilities to verify the installation integrity of Liberty.

About this task

After you have installed Liberty, you must make sure that the installation is completed successfully and that all required features or interim fixes are installed. The productInfo command provides different options to complete the following tasks:
  • Compare the differences between APAR fixes and the current installation.
  • Validate the MD5 checksum file for server installation and each feature.
  • Verify the version information of the current installation.
  • Verify the feature list on the current installation.

Procedure

  • Run the productInfo compare command to compare the differences between APAR fixes and the current installation.
    For example, the following command compares the current Liberty installation with the version in the newInstall.jar file and outputs the results to the compareOutput.txt file.
    productInfo compare --target=C:\wlp\newInstall.jar --output=C:\wlp\compareOutput.txt
  • Run the productInfo validate command to validate the MD5 checksum file for server installation and each feature.
    If a feature is not valid, the command outputs an error and lists the manifest file for the affected feature. The following example validates the features for the current installation and outputs the results to the validate.txt file.
    productInfo validate --output=C:\wlp\validate.txt
  • Run the productInfo version command to verify the version information of the current installation.
    For example, the following command outputs detailed information about the installed version to the version.txt file.
    productInfo version --verbose --output=C:\wlp\version.txt
  • Run the productInfo featureInfo command to verify the feature list on the current installation.
    For example, the following command outputs a list of the installed features and their versions to the featureInfo.txt file.
    productInfo featureInfo --output=C:\wlp\featureInfo.txt