Verifying software components version

You can use the following commands to verify which versions of software components are installed on your system.

About this task

Procedure

  • Use ap version to view Cloud Pak for Data System version.
  • Use ap version -s to view a detailed list of software components that are installed on the system with their versions, and whether the versions are in sync on all the nodes in the system. The list also includes security patches and interim fixes that are installed.
    ap version -s
    Sample output:
    [root@e1n2 ~]# ap version -s
    Appliance software version is 1.0.7.6
    
    All component versions are synchronized.
    
    +-----------------------------+-----------------------------------------------------------------+
    | Component Name              | Version                                                         |
    +-----------------------------+-----------------------------------------------------------------+
    | Appliance VM software       | 1.0.7.6-20210115112945b15418                                    |
    | Appliance platform software | 1.0.7.6-20210119054453b15600                                    |
    | Appliance services software | ips_console                         : 0.1.0.0                   |
    |                             | cpd_lite                            : 3.5.0.0                   |
    |                             | rhos_containers                     : 3.11.188                  |
    |                             | portworx                            : 2.6.2.0                   |
    |                             | rhos_repo                           : 3.11.188                  |
    |                             | yosemite_console                    : 1.0.9-9                   |
    | afmdr                       | 0.1.0.0                                                         |
    | aposcomms                   | ibm-apos-named-config               : 1.0.4.4-1                 |
    |                             | ibm-apos-chrony-config              : 1.0.0.1-3                 |
    |                             | ibm-apos-network-tools              : 1.2.6.0-1                 |
    |                             | ibm-apos-udev-rules-config          : 1.0.3.1-1                 |
    |                             | ibm-apos-network-config             : 1.1.5.0-1                 |
    |                             | ibm-apos-pvm-config                 : 0.1.0.0                   |
    |                             | ibm-apos-dhcpd-config               : 1.0.3.5-1                 |
    |                             | ibm-apos-common                     : 1.0.7.3-1                 |
    | appmgnt                     | 0.1.0.0                                                         |
    | apupgrade                   | 1.0.25.0-20210118131309b15561                                   |
    | callhome                    | 1.1.25.0-20201111073938b15                                      |
    | containerapi                | 1.0.23.0-20201013202047b9156                                    |
    | docker_upgrade              | oci-umount                          : 2.5.0.0-3                 |
    |                             | oci-systemd-hook                    : 0.2.0.0-1                 |
    |                             | docker-rhel-push-plugin             : 1.13.1.0-161              |
    |                             | docker-common                       : 1.13.1.0-161              |
    |                             | containers-common                   : 0.1.40.0-11               |
    |                             | docker-client                       : 1.13.1.0-161              |
    |                             | oci-register-machine                : 0.0.0.0-6                 |
    |                             | atomic-registries                   : 1.22.1.0-29               |
    |                             | container-storage-setup             : 0.11.0.0-2                |
    |                             | container-selinux                   : 2.107.0.0-3               |
    |                             | docker                              : 1.13.1.0-161              |
    |                             | docker-debuginfo                    : 1.13.1.0-161              |
    |                             | python-pytoml                       : 0.1.14.0-1                |
    | gpfs                        | 5.0.5.0-4                                                       |
    | gpfsconfig                  | 0.1.0.0                                                         |
    | hpi                         | hpicfg                              : 2.0.4.3-20210107073827b41 |
    |                             | hpi-lenovo-node-firmware            : 1.2.1.1-b2                |
    |                             | hpi-cumulus-fabspine-firmware       : 1.1.0.0-b2                |
    |                             | dct                                 : 0.1.0.0                   |
    |                             | hpi-dell-node-firmware              : 1.1.0.0-b3                |
    |                             | hpiutils                            : 2.0.4.3-20201118223028b23 |
    |                             | hpi-software                        : 1.0.7.6-20210115231051b65 |
    |                             | hpi-x86_64-image                    : 2.0.4.3-20210108112820b30 |
    |                             | hpi-cumulus-fabsw-firmware          : 1.1.0.0-b2                |
    |                             | hpi-cumulus-switch-firmware         : 1.2.0.0-b2                |
    |                             | hpi-cumulus-mgtsw-firmware          : 1.1.0.0-b2                |
    | magneto                     | 1.0.24.6-20210119123745b15594                                   |
    | mellanox                    | 0.1.0.0                                                         |
    | mvcli                       | 0.1.0.0                                                         |
    | nodeos                      | 1.0.7.6-20210119021542b15589                                    |
    | platformbackups             | 1.0.20.0-20201014160502b9401                                    |
    | psklm                       | 1.0.20.0-20201015123139b6                                       |
    | solarflare                  | 0.1.0.0                                                         |
    | supporttools                | 1.0.23.5-20201231163342b14684                                   |
    +-----------------------------+-----------------------------------------------------------------+
    Note, that if the software on some of the nodes is out of sync, you might see the following message:
    The following component is unsynchronized: vm.
    Check 'ap version -d' to verify which nodes are outdated.
  • Use ap version -d command to view software components installed on specific nodes with their versions, and identify the node for which the upgrade might have failed (as on e1n2-1-control in the following example):
    +-----------------------------+----------------+-----------------------------------------------------------------+
    | Component Name              | Node           | Version                                                         |
    +-----------------------------+----------------+-----------------------------------------------------------------+
    | Appliance VM software       | e1n1-1-control | 1.0.7.6-20210115112945b15418                                    |
    | Appliance VM software       | e1n2-1-control | 1.0.7.5-20210115112945b15418                                    |
    | Appliance VM software       | e1n3-1-control | 1.0.7.6-20210115112945b15418                                    |
    | Appliance VM software       | e1n4-1-worker  | 1.0.7.6-20210115112945b15418                                    |
    | Appliance VM software       | e2n1-1-worker  | 1.0.7.6-20210115112945b15418                                    |
    | Appliance VM software       | e2n2-1-worker  | 1.0.7.6-20210115112945b15418                                    |
    | Appliance VM software       | e2n3-1-db2wh   | 1.0.7.6-20210115112945b15418                                    |