Remove Old Software Versions from QueryGrid Manager | Teradata QueryGrid - Removing Old Software Versions from Teradata QueryGrid Manager - Teradata QueryGrid

Teradata® QueryGrid™ Installation and User Guide

Product
Teradata QueryGrid
Release Number
2.19
Published
July 2022
Language
English (United States)
Last Update
2022-07-28
dita:mapPath
jpf1654813554544.ditamap
dita:ditavalPath
ft:empty
dita:id
lxg1591800469257
Product Category
Analytical Ecosystem

Use the command line utility cleanup-software.sh to remove old software versions from Teradata QueryGrid Manager. The utility cleans up fabric, node, and connector software that is unused for the specified period of time.

The options for cleanup-software.sh are:

./cleanup-software.sh --help
usage: cleanup-software [-d <days>] [-h] [-m <host>] [-n] 

Cleanup older software that is no longer being used. 

options:
 -d,--days <days>      The number of days old the software should be
                       before considering it for removal. Defaults to 7.
 -h,--help             Print this message
 -m,--manager <host>   The hostname of the QueryGrid manager to connect
                       to. Defaults to localhost.
 -n,--no-ssl           Use HTTP instead of HTTPS to connect to the manager.
  1. Log on to the system where the Teradata QueryGrid Manager is running.
  2. From /opt/teradata/tdqgm/bin, run: ./cleanup-software.sh
    You must run this command as the root or tdqgm user.
    Removing unused software older than 2016-08-25T10:26:41.356-0700.
    Deleted tdqg-fabric-02.00.00.00_SNAPSHOT.tar.gz.
    Deleted tdqg-presto-connector-02.00.00.00_SNAPSHOT.tar.gz.
    Deleted tdqg-node-02.00.00.00_SNAPSHOT.tar.gz.
    Deleted tdqg-teradata-connector-02.00.00.00_SNAPSHOT.tar.gz.
    […]