Documentation Home
MySQL NDB Cluster API Developer Guide
Download this Manual ndb_mgm_start()

Description.  This function can be used to start one or more Cluster nodes. The nodes to be started must have been started with the no-start option (-n), meaning that the data node binary was started and is waiting for a START management command which actually enables the node.


int ndb_mgm_start
      NdbMgmHandle handle,
      int          number,
      const int*   list

Parameters.  ndb_mgm_start() takes 3 parameters:

  • An NdbMgmHandle.

  • A number of nodes to be started. Use 0 to start all of the data nodes in the cluster.

  • A list of the node IDs of the nodes to be started.

Return value.  The number of nodes actually started; in the event of failure, -1 is returned.