Installing IBM Tape Device Drivers for Linux
You can use the appkg_install command to install or uninstall IBM Tape Device Drivers for Linux.
Procedure
- Use the following command to install IBM Tape Device Drivers for Linux:
appkg_install lintapeinstaller --help usage: appkg_install lintapeinstaller [-h] [-v] --chart CHART --path PATH Install the IBM Tape Device Drivers for Linux optional arguments: -h, --help show this help message and exit -v, --verbose increase output verbosity required arguments: --chart CHART Path to the helm chart defining install options --path PATH Directory path to the software package(s) to install
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 that 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
- appVersion
- The version that can be installed - this must be above a defined minimum supported version which for the IBM Linux Tape Device Drivers is 3.0.39.0
- 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.
Example:[apuser@node0101]# appkg_install lintapeinstaller --chart /root/lin-tape/lintape.yaml --path /root/lin-tape/ Logging to /var/log/appliance/appkg_install/log/20190531/appkg_install-20190531154250.log Checking to see if DSX is running Preparing the installation directory Checking that RPMs have the right architecture for this appliance Stopping magneto service Stopping Magneto service... Finished stopping Magneto service Stopping docker service on all nodes Updating modprobe configuration Rebuilding lin_tape src rpm Installing lin_tape rpm on all nodes Installing lin_taped rpm on all nodes Adding lin_tape udev rules to nodes Starting docker service on all nodes Renaming dashDB containers to dashdb-dead Updating dashdb.env file Copying file from /opt/ibm/appliance/storage/scratch/lintape/lin_tape_on_boot.service to /usr/lib/systemd/system/lin_tape_on_boot.service on node0101 Copying file from /opt/ibm/appliance/storage/scratch/lintape/lin_tape_on_boot.service to /usr/lib/systemd/system/lin_tape_on_boot.service on node0102 Copying file from /opt/ibm/appliance/storage/scratch/lintape/lin_tape_on_boot.service to /usr/lib/systemd/system/lin_tape_on_boot.service on node0103 Copying file from /opt/ibm/appliance/storage/scratch/lintape/lin_tape_on_boot.service to /usr/lib/systemd/system/lin_tape_on_boot.service on node0104 Copying file from /opt/ibm/appliance/storage/scratch/lintape/lin_tape_on_boot.service to /usr/lib/systemd/system/lin_tape_on_boot.service on node0105 Copying file from /opt/ibm/appliance/storage/scratch/lintape/lin_tape_on_boot.service to /usr/lib/systemd/system/lin_tape_on_boot.service on node0106 Copying file from /opt/ibm/appliance/storage/scratch/lintape/lin_tape_on_boot.service to /usr/lib/systemd/system/lin_tape_on_boot.service on node0107 Reloading systemctl daemon on all nodes Enabling lin_tape_on_boot service on all nodes Deploying new dashDB image to all nodes Deploying dashDB container to node0101.swg.usma.ibm.com Deploying dashDB container to sail67-t07-n2.swg.usma.ibm.com Deploying dashDB container to sail67-t07-n3.swg.usma.ibm.com Deploying dashDB container to sail67-t07-n4.swg.usma.ibm.com Deploying dashDB container to sail67-t07-n5.swg.usma.ibm.com Deploying dashDB container to sail67-t07-n6.swg.usma.ibm.com Deploying dashDB container to sail67-t07-n7.swg.usma.ibm.com Removing backed up dashDB container dashdb-dead Starting Magneto Starting Magneto... Finished starting Magneto Successfully installed and configured IBM Tape Device Drivers for Linux on all nodes System state is 'Ready' Application state is 'Ready' Platform management state is 'Active' +-----------------+---------+-----------+-----------+--------+ | Node | State | Monitored | Is Master | Is HUB | +-----------------+---------+-----------+-----------+--------+ | hadomain1.node1 | ENABLED | YES | YES | YES | | hadomain1.node2 | ENABLED | YES | NO | NO | | hadomain1.node3 | ENABLED | YES | NO | NO | | hadomain1.node4 | ENABLED | YES | NO | NO | | hadomain1.node5 | ENABLED | YES | NO | NO | | hadomain1.node6 | ENABLED | YES | NO | NO | | hadomain1.node7 | ENABLED | YES | NO | NO | +-----------------+---------+-----------+-----------+--------+ Generated: 2019-05-31 16:21:30 For more info see /var/log/appliance/appkg_install/log/20190531/appkg_install-20190531154250.log
- Use the following command to uninstall IBM Tape Device Drivers:
appkg_install lintapeuninstaller --help usage: appkg_install lintapeuninstaller [-h] [-v] Uninstall the IBM Tape Device Drivers for Linux optional arguments: -h, --help show this help message and exit -v, --verbose increase output verbosity
Example:[Apuser@Node0101]# appkg_install lintapeuninstaller Logging to /var/log/appliance/appkg_install/log/20190531/appkg_install-20190531133508.log Checking to see if DSX is running Stopping magneto service Stopping Magneto service... Finished stopping Magneto service Stopping docker service on all nodes Uninstalling lin_taped rpm on all nodes Uninstalling lin_tape rpm on all nodes Removing lin_tape udev rules on nodes Running "udevadm control --reload-rules" across all nodes Running "udevadm trigger" across all nodes Starting docker service on all nodes Renaming dashDB containers to dashdb-dead Updating dashdb.env file Disabling lin_tape_on_boot service on all nodes Removing file /usr/lib/systemd/system/lin_tape_on_boot.service on all nodes Reloading systemctl daemon on all nodes Deploying new dashDB image to all nodes Deploying dashDB container to node0101.swg.usma.ibm.com Deploying dashDB container to sail67-t07-n2.swg.usma.ibm.com Deploying dashDB container to sail67-t07-n3.swg.usma.ibm.com Deploying dashDB container to sail67-t07-n4.swg.usma.ibm.com Deploying dashDB container to sail67-t07-n5.swg.usma.ibm.com Deploying dashDB container to sail67-t07-n6.swg.usma.ibm.com Deploying dashDB container to sail67-t07-n7.swg.usma.ibm.com Removing backed up dashDB container dashdb-dead Starting Magneto Starting Magneto... Finished starting Magneto Successfully uninstalled IBM Tape Device Drivers for Linux on all nodes System state is 'Ready' Application state is 'Ready' Platform management state is 'Active' +-----------------+---------+-----------+-----------+--------+ | Node | State | Monitored | Is Master | Is HUB | +-----------------+---------+-----------+-----------+--------+ | hadomain1.node1 | ENABLED | YES | YES | YES | | hadomain1.node2 | ENABLED | YES | NO | NO | | hadomain1.node3 | ENABLED | YES | NO | NO | | hadomain1.node4 | ENABLED | YES | NO | NO | | hadomain1.node5 | ENABLED | YES | NO | NO | | hadomain1.node6 | ENABLED | YES | NO | NO | | hadomain1.node7 | ENABLED | YES | NO | NO | +-----------------+---------+-----------+-----------+--------+ Generated: 2019-05-31 14:12:53 For more info see /var/log/appliance/appkg_install/log/20190531/appkg_install-20190531133508.log