MySQL 5.6 Reference Manual Including MySQL NDB Cluster 7.3-7.4 Reference Guide

18.4.4 ndb_mgmd — The NDB Cluster Management Server Daemon

The management server is the process that reads the cluster configuration file and distributes this information to all nodes in the cluster that request it. It also maintains a log of cluster activities. Management clients can connect to the management server and check the cluster's status.

The following table includes options that are specific to the NDB Cluster management server program ndb_mgmd. Additional descriptions follow the table. For options common to most NDB Cluster programs (including ndb_mgmd), see Section 18.4.29, “Options Common to NDB Cluster Programs — Options Common to NDB Cluster Programs”.

Table 18.218 Command-line options for the ndb_mgmd program

Format Description Added, Deprecated, or Removed

--bind-address=host

Local bind address

(Supported in all MySQL 5.6 based releases)

--config-cache[=TRUE|FALSE]

Enable management server configuration cache; true by default

(Supported in all MySQL 5.6 based releases)

--config-file=file,

-f

Specify cluster configuration file; also specify --reload or --initial to override configuration cache if present

(Supported in all MySQL 5.6 based releases)

--configdir=directory,

--config-dir=directory

Specify cluster management server configuration cache directory

(Supported in all MySQL 5.6 based releases)

--daemon,

-d

Run ndb_mgmd in daemon mode (default)

(Supported in all MySQL 5.6 based releases)

--initial

Causes management server to reload configuration data from configuration file, bypassing configuration cache

(Supported in all MySQL 5.6 based releases)

--install[=name]

Used to install management server process as Windows service; does not apply on other platforms

(Supported in all MySQL 5.6 based releases)

--interactive

Run ndb_mgmd in interactive mode (not officially supported in production; for testing purposes only)

(Supported in all MySQL 5.6 based releases)

--log-name=name

Name to use when writing cluster log messages applying to this node

(Supported in all MySQL 5.6 based releases)

--mycnf

Read cluster configuration data from my.cnf file

(Supported in all MySQL 5.6 based releases)

--no-nodeid-checks

Do not provide any node ID checks

(Supported in all MySQL 5.6 based releases)

--nodaemon

Do not run ndb_mgmd as a daemon

(Supported in all MySQL 5.6 based releases)

--nowait-nodes=list

Do not wait for management nodes specified when starting this management server; requires --ndb-nodeid option

(Supported in all MySQL 5.6 based releases)

--print-full-config,

-P

Print full configuration and exit

(Supported in all MySQL 5.6 based releases)

--reload

Causes management server to compare configuration file with configuration cache

(Supported in all MySQL 5.6 based releases)

--remove[=name]

Used to remove management server process that was previously installed as Windows service, optionally specifying name of service to be removed; does not apply on other platforms

(Supported in all MySQL 5.6 based releases)

--verbose,

-v

Write additional information to log

(Supported in all MySQL 5.6 based releases)


It is not strictly necessary to specify a connection string when starting the management server. However, if you are using more than one management server, a connection string should be provided and each node in the cluster should specify its node ID explicitly.

See Section 18.3.3.3, “NDB Cluster Connection Strings”, for information about using connection strings. Section 18.4.4, “ndb_mgmd — The NDB Cluster Management Server Daemon”, describes other options for ndb_mgmd.

The following files are created or used by ndb_mgmd in its starting directory, and are placed in the DataDir as specified in the config.ini configuration file. In the list that follows, node_id is the unique node identifier.