function stops one or more data nodes. However, it offers
the ability to specify whether or not the nodes shut down
int ndb_mgm_stop2 ( NdbMgmHandle
number, const int*
ndb_mgm_stop2() takes 4 parameters:
numberof nodes to be stopped. Use
0to stop all of the data nodes in the cluster.
listof the node IDs of the nodes to be stopped.
The value of
abortdetermines how the nodes will be shut down.
1indicates the nodes will shut down immediately;
0indicates that the nodes will stop gracefully.
The number of nodes actually stopped; in the event of
-1 is returned.