Cluster recovery
Hello,
What is the recommended recovery path for a failed MySQL Cluster data node? We're running a 2 data node cluster, with a separate management server, and have recently had one of our data nodes go under -- it became unresponsive, and we rebooted the machine. Upon restart, the MySQL process itself kept "crashing", and would not start, citing incorrect pointers in the error logs.
We restarted the ndbd process, but this didn't help matters -- the mysqld process would still not start. We then restarted the ndbd process with --initial, to try to clear the cluster file system. This also did not help. We tried removing the data directory (copying over only the mysql database) and restarting ndbd with --initial. This allows the mysqld process to start correctly, and the ndbd process to start correctly, but none of the data will show up.
More specifically, is there a process to recover a data node when all goes wrong, without bringing the cluster offline? Otherwise, what are the recommendations to recover a data node, besides dumping and restoring all data?
UPDATE: Also note that the cluster seems to be in a "split" situation -- this has happened to us before. In this situation, one data node will show the correct information, while the other will be fully connected, but will not show any of the correct information; at times, partial information, at times, it will selectively show certain tables with no data, overall, it will behave in a very weird manner, but won't "rejoin" or show any correct data, even after a "flush tables" command. Nothing else seems to bring this data node back online. All nodes are running MySQL 5.0.18. Much help appreciated.
Thanks,
David Rusenko
Edited 1 time(s). Last edit at 05/16/2006 03:05AM by David Rusenko.