Documentation Home
MySQL Cluster Manager 1.4 User Manual
Related Documentation Download this Manual
PDF (US Ltr) - 1.8Mb
PDF (A4) - 1.8Mb


MySQL Cluster Manager 1.4 User Manual  /  Using MySQL Cluster Manager  /  Restoring a MySQL Cluster Manager Agent with Data from Other Agents

3.8 Restoring a MySQL Cluster Manager Agent with Data from Other Agents

Sometimes, an mcmd agent can fail to restart after a failure because its configuration store has been corrupted (for example, by an improper shutdown of the host). If there is at least one other mcmd agent that is still functioning properly on another host of the cluster, you can restore the failed agent by the following steps:

For MySQL Cluster Manager 1.4.6 and earlier:

  • Make sure the mcmd agent has really been stopped.

  • Go to the agent repository (the agent's mcm_data folder).

  • Wipe the contents of the rep folder.

  • Delete the metadata files high_water_mark and repchksum.

  • Delete the manager.lck file.

  • Restart the agent.

For MySQL Cluster Manager 1.4.7 and later:

  • Make sure the mcmd agent has really been stopped.

  • Restart mcmd with the --initial option, which wipes the contents of the rep folder after backing them up and then starts the agent.

The agent then recovers the configuration store from other agents on the other hosts.

However, if all the mcmd agents for the cluster are malfunctioning, you will have to do one of the following: