使用命令行实用程序 cleanup-software.sh 可从 Teradata QueryGrid 管理器中删除旧软件版本。该实用程序将清理在指定期间内未使用的网络结构、节点和连接器软件。
cleanup-software.sh 的选项有︰
./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.
- 登录到运行 Teradata QueryGrid 管理器的系统。
- 在 /opt/teradata/tdqgm/bin 中运行:./cleanup-software.sh必须以 root 或 tdqgm 用户的身份运行此命令。
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. […]