启用自动节点删除 - Teradata QueryGrid

Teradata® QueryGrid™ 安装和用户指南

Product
Teradata QueryGrid
Release Number
2.19
Published
2022 年 7 月
Language
中文 (简体)
Last Update
2022-08-23
dita:mapPath
zh-CN/jpf1654813554544.ditamap
dita:ditavalPath
ft:empty
dita:id
lxg1591800469257
Product Category
Analytical Ecosystem
您可以计划从处于脱机状态的时间达到指定时段的 QueryGrid 管理器集群中自动删除节点。
仅在频繁扩展且不使用 QueryGrid 自动检测已删除节点的集群(如 Hadoop 平台)上启用此功能。

以下说明特定于命令行,但在 Viewpoint QueryGrid 组件中添加或编辑系统时也可以启用该功能。

  1. 登录到运行 Teradata QueryGrid 管理器的系统。
  2. /opt/teradata/tdqgm/bin 运行 auto-node-delete.sh 脚本以启用或禁用此功能。
    用于指定脱机时间的有效值为 1-1000 小时。如果节点正在等待删除,禁用此功能会阻止删除该节点。
    [root@system1 bin]# ./auto-node-delete.sh -h
    Starting auto-node-delete command, just a moment...
    usage: auto-node-delete [-d] [-e] [-h] [-m <host>] [-n] [-s <system>] [-t
     <time>]
    Configure automatic node deletion for a system.
    options:
     -d,--disable Flag to disable the node auto-delete feature.
     -e,--enable Flag to enable the node auto-delete feature.
     -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.
     -s,--system <system> The name of the system.
     -t,--time <time> Number of hours a node is offline before being
     auto deleted when the feature is enabled.