[+/-]
Abstract
The MGM API provides several functions which can be used to start, stop, and restart one or more Cluster data nodes. These functions are discussed in this section.
Starting, Stopping, and Restarting Nodes. You can start, stop, and restart Cluster nodes using the following functions, which are described in more detail in the next few sections.
Starting Nodes.
Use ndb_mgm_start().
Stopping Nodes.
Use ndb_mgm_stop(),
ndb_mgm_stop2(),
ndb_mgm_stop3(), or
(beginning with MySQL Cluster NDB 7.0.19 and MySQL Cluster
NDB 7.1.8)
ndb_mgm_stop4().
Normally, you cannot use any of these functions to stop a
node while other nodes are starting. Beginning with MySQL
Cluster NDB 7.0.21 and MySQL Cluster NDB 7.1.10, you can
override this restriction using
ndb_mgm_stop4() with the
force parameter set to 1.
Restarting Nodes.
Use ndb_mgm_restart(),
ndb_mgm_restart2(),
ndb_mgm_restart3(), or
(beginning with MySQL Cluster NDB 7.0.19 and MySQL Cluster
NDB 7.1.8)
ndb_mgm_restart4().
Normally, you cannot use any of these functions to restart a
node while other nodes are starting. Beginning with MySQL
Cluster NDB 7.0.21 and MySQL Cluster NDB 7.1.10, you can
override this restriction using
ndb_mgm_restart4() with the
force parameter set to 1.
