21.3.3.8 定义系统

[system]部分用于将参数整体应用于群集。 Name系统参数与 MySQL Enterprise Monitor 一起使用; ConfigGenerationNumberPrimaryMGMNode不在生产环境中使用。除非将 NDB Cluster 与 MySQL Enterprise Monitor 一起使用,否则在config.ini文件中没有[system]部分是不必要的。

可以在以下列 table 中找到有关这些参数的更多信息:

table21.202 此 table 提供 ConfigGenerationNumber 系统配置参数的类型和值信息

Property Value
版本(或更高版本) NDB 7.5.0
类型或单位 unsigned
Default 0
Range 0 -4294967039(0xFFFFFEFF)
Restart Type N

配置世代号。该参数当前未使用。

table21.203 该 table 提供了名称系统配置参数的类型和值信息

Property Value
版本(或更高版本) NDB 7.5.0
类型或单位 string
Default [none]
Range ...
Restart Type N

设置集群的名称。对于使用 MySQL Enterprise Monitor 进行部署,此参数是必需的。否则未使用。

您可以通过检查Ndb_system_name status 变量来获取此参数的值。在 NDB API 应用程序中,您也可以使用get_system_name()检索它。

table21.204 此 table 提供 PrimaryMGMNode 系统配置参数的类型和值信息

Property Value
版本(或更高版本) NDB 7.5.0
类型或单位 unsigned
Default 0
Range 0 -4294967039(0xFFFFFEFF)
Restart Type N

主 Management 节点的节点 ID。该参数当前未使用。

重新启动类型. 下 table 显示了本节中的参数描述所使用的重新启动类型的信息:

table21.205 NDB 群集重新启动类型

Symbol Restart Type Description
N Node 可以使用滚动重启来更新参数(请参见第 21.5.5 节“执行 NDB 群集的滚动重启”)
S System 必须完全关闭所有群集节点,然后重新启动,以更改此参数
I Initial 必须使用--initial选项重新启动数据节点
首页