Verifying software components version

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

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.
    ap version -s
    Sample output:
    [root@e1n1 ~]# ap version -s
    Appliance software version is 1.0.7.8
    All component versions are synchronized.
    +-----------------------------+------------------------------------------------------------------+
    | Component Name              | Version                                                          |
    +-----------------------------+------------------------------------------------------------------+
    | Appliance platform software | 1.0.7.8-20220131042341b16255                                     |
    | aposcomms                   | ibm-apos-named-config               : 1.0.4.4-1                  |
    |                             | ibm-apos-chrony-config              : 1.0.0.1-3                  |
    |                             | ibm-apos-network-tools              : 1.3.6.0-1                  |
    |                             | ibm-apos-udev-rules-config          : 1.0.3.1-1                  |
    |                             | ibm-apos-network-config             : 1.1.7.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.4-1                  |
    | appmgnt                     | 0.1.0.0                                                          |
    | apupgrade                   | 1.0.25.0-20220121120616b15509                                    |
    | callhome                    | 1.1.27.0-20220128085445b22                                       |
    | containerapi                | 1.0.23.0-20220125125731b15853                                    |
    | cyclops                     | 0.1.0.0                                                          |
    | 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.1.2.0-1                                                        |
    | gpfsconfig                  | 0.1.0.0                                                          |
    | hpi                         | hpicfg                              : 2.0.4.4-20210507112905b49  |
    |                             | hpi-lenovo-node-firmware            : 1.5.0.0-b1                 |
    |                             | hpi-cumulus-fabspine-firmware       : 1.1.0.0-b2                 |
    |                             | dct                                 : 0.1.0.0                    |
    |                             | hpi-dell-node-firmware              : 1.4.0.0-b1                 |
    |                             | hpiutils                            : 2.0.4.4-20210129191612b27  |
    |                             | hpi-software                        : 1.0.7.8-20220124194224b118 |
    |                             | hpi-x86_64-image                    : 2.0.4.5-20220115000041b35  |
    |                             | 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.27.5-20220127214843b16127                                    |
    | mellanox                    | 1.0.7.6                                                          |
    | mvcli                       | 2.3.10.1095                                                      |
    | nodeos                      | 1.0.7.8-20220131015836b16251                                     |
    | platformbackups             | 1.0.20.0-20201014160502b9401                                     |
    | psklm                       | 1.0.20.0-20201015123139b6                                        |
    | solarflare                  | 4.15.10.1002                                                     |
    | supporttools                | 1.0.23.10-20220126160453b16003                                   |
    +-----------------------------+------------------------------------------------------------------+
    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. With this command, you can identify the node for which the upgrade might have failed (as on e1n2 in the following example):
    +-----------------------------+------+------------------------------------------------------------------+
    | Component Name              | Node | Version                                                          |
    +-----------------------------+------+------------------------------------------------------------------+
    | Appliance platform software | e1n1 | 1.0.7.8-20220131042341b16255                                     |
    | Appliance platform software | e1n2 | 1.0.7.5-20210115112945b15418                                     |
    | Appliance platform software | e1n3 | 1.0.7.8-20220131042341b16255                                     |
    | Appliance platform software | e1n4 | 1.0.7.8-20220131042341b16255                                     |
    | Appliance platform software | e2n1 | 1.0.7.8-20220131042341b16255                                     |
    | Appliance platform software | e2n2 | 1.0.7.8-20220131042341b16255                                     |
    | Appliance platform software | e2n3 | 1.0.7.8-20220131042341b16255                                     |
    | Appliance platform software | e2n4 | 1.0.7.8-20220131042341b16255                                     |
    | Appliance platform software | e3n1 | 1.0.7.8-20220131042341b16255                                     |
    | Appliance platform software | e3n2 | 1.0.7.8-20220131042341b16255                                     |
    | Appliance platform software | e3n3 | 1.0.7.8-20220131042341b16255                                     |
    | Appliance platform software | e3n4 | 1.0.7.8-20220131042341b16255                                     |
    | Appliance platform software | e4n1 | 1.0.7.8-20220131042341b16255                                     |
    | Appliance platform software | e4n2 | 1.0.7.8-20220131042341b16255                                     |
    | Appliance platform software | e4n3 | 1.0.7.8-20220131042341b16255                                     |
    | Appliance platform software | e4n4 | 1.0.7.8-20220131042341b16255                                     |