Description.  Like ndb_mgm_restart(), this function can be used to restart one or more Cluster data nodes. However, ndb_mgm_restart2() provides additional restart options, including initial restart, waiting start, and immediate (forced) restart.


int ndb_mgm_restart2
      NdbMgmHandle handle,
      int          number,
      const int*   list,
      int          initial
      int          nostart,
      int          abort

Parameters.  ndb_mgm_restart2() takes 6 parameters:

Return value.  The number of nodes actually restarted; -1 on failure.