20.13 NDB Cluster GUI 顾问

本节描述 NDB Cluster 顾问。

笔记

本节不描述基于表达式的顾问程序。有关基于表达式的 NDB Cluster 顾问中的信息,请参阅第 19.4 节,“NDB Cluster Advisors”

NDB Cluster 内存使用顾问

图 20.12 NDB Cluster 内存使用顾问

内容在周围的文字中描述。

表 20.2 NDB Cluster 内存使用顾问控制

姓名 描述

空闲数据内存阈值(允许的空闲内存百分比)

如果集群数据节点中可用数据内存的百分比低于此处定义的阈值,则会生成事件。随着所有内存被消耗,数据库插入开始失败。

可用索引内存阈值(允许的可用内存百分比)

如果集群数据节点中可用索引内存的百分比低于此处定义的阈值,则会生成事件。随着所有内存被消耗,数据库插入开始失败。


该顾问还负责填充 NDB 数据节点 - 数据内存图。

NDB 集群状态顾问

图 20.13 NDB Cluster Status Advisor

内容在周围的文字中描述。

表 20.3 NDB Cluster Status Advisor 控件

姓名 描述

NDB Cluster 的所有相同类型的节点(MGM、API、NDB)未运行时的通知级别。

Checks the node sets and generates an event if the nodes are not in CONNECTED, RESTARTNG, STARTING, STARTED, or SINGLEUSER status.

Notification level when a NDB Cluster is DEGRADED, when some of the data nodes are not running.

Checks the data-node group sets and generates events for nodes that are not in RESTARTNG, STARTING, STARTED, or SINGLEUSER status.

Notification level when a Management (mgmd) node is not connected.

Checks the node and process status and generates events if the node is not in CONNECTED status, or if the related process is not found.

Notification level when a Data node (ndbd or ndbmtd) is not running.

Checks the node and process status and generates events if either the node is not in RESTARTNG, STARTING, STARTED, or SINGLEUSER status, or if the related process is not found.

Notification level when an API node is not connected

Checks the node status and generates events if the node is not in CONNECTED status

重启时检测到的数据节点正常运行时间(以秒为单位)

要执行有用的工作,集群数据节点必须持续启动和运行。生产系统连续运行数周、数月或更长时间是正常的。如果最近重启了数据节点,则可能是计划内维护的结果,但也可能是应调查的计划外事件。如果检测到运行了很短时间的数据节点,此顾问程序会生成事件。


该顾问还填充NDB 数据节点图。