Puede programar que los nodos se quiten automáticamente del clúster de QueryGrid Manager que han estado sin conexión durante un período de tiempo especificado.
Habilite esta característica únicamente en clústeres que se escalan con frecuencia sin que QueryGrid detecte automáticamente los nodos que se quitan, como con una plataforma de Hadoop.
Las siguientes instrucciones son específicas de la línea de comandos, pero la característica también se puede habilitar al agregar o editar un sistema en el portlet QueryGrid de Viewpoint.
- Inicie sesión en el sistema donde se ejecuta QueryGrid Manager.
- En /opt/teradata/tdqgm/bin, ejecute el script auto-node-delete.sh para habilitar o deshabilitar esta característica.Los valores válidos son 1 a 1000 horas para especificar el tiempo sin conexión. Si un nodo está pendiente de eliminación, deshabilitar esta característica impide que se elimine el nodo.
[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.