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

QueryGrid™ Installation and User Guide - 3.06

Deployment
VantageCloud
VantageCore
Edition
Enterprise
IntelliFlex
Lake
VMware
Product
Teradata QueryGrid
Release Number
3.06
Published
December 2024
ft:locale
en-US
ft:lastEdition
2024-12-07
dita:mapPath
ndp1726122159943.ditamap
dita:ditavalPath
ft:empty
dita:id
lxg1591800469257
lifecycle
latest
Product Category
Analytical Ecosystem

Use the command line utility cleanup-software.sh to remove old software versions from 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 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.
    […]