Upgrading Linux Tape Device Drivers
You can use the appkg_install command to upgrade the currently installed Linux Tape Device Drivers rpms.
Procedure
Use the following command to upgrade Linux Tape Device Drivers:
[apuser@node0101]# appkg_install lintapeupdgraderpms --help
usage: appkg_install lintapeupdgraderpms [-h] [-v] --chart CHART --path PATH
[--on_nodes {node0101,node0102,node0103,node0104,node0105,node0106,node0107} [{node0101,node0102,node0103,node0104,node0105,node0106,node0107} ...]]
Upgrade the IBM Tape Device Drivers for Linux
optional arguments:
-h, --help show this help message and exit
-v, --verbose increase output verbosity
--on_nodes {node0101,node0102,node0103,node0104,node0105,node0106,node0107} [{node0101,node0102,node0103,node0104,node0105,node0106,node0107} ...]
A space separated list of nodes to upgrade devices on:
if omitted, then the install will be on all nodes
required arguments:
--chart CHART Path to the helm chart defining upgrade options
--path PATH Directory path to the software package(s) to use for
upgrade
You must provide the following arguments:
--chart
A path to the installation configuration file which uses the helm chart format.Following is an example of a helm chart that might be used for installation of the IBM Linux Tape Device Drivers:
In the chart, the vendor, product, version, description and appVersion fields will be provided in the template already filled in:apiVersion: v1 vendor: IBM product: IBM Tape Device Drivers for Linux version: 1.0.17 description: installation information for the IBM Tape Device Drivers for Linux appVersion: 3.0.39.0 # customer filled in parameters parameters: lin_tape_src_rpm: lin_tape-3.0.39-1.src.rpm lin_taped_rpm: lin_taped-3.0.39-rhel7.ppc64le.rpm
- apiVersion
- Refers to the helm chart version itself
- vendor
- The provider of the product
- product
- The package being installed
- version
- IAS version, for example 1.0.21.0
- appVersion
- The version that can be installed - this must be above the defined minimum supported version; for IBM Linux Tape Device Drivers it's 3.0.39.0 and it must be compatible with the system kernel version.
- lin_tape_src_rpm
- The name of the IBM Linux Tape Device Drivers client source rpm file
- lin_taped_rpm
- The name of the IBM Linux Tape Device Drivers daemon rpms
--path
A path to the directory in which the tar.gz files for the client and nmda libraries are located.
Optional parameter:
- --on_nodes Provide node names on which you want to upgrade the drivers. All nodes are updated by default if it's not provided.