How to Remove Management Node From A Completely Down Host Using MySQL Cluster Manager (MCM)
(Doc ID 2115959.1)
Last updated on MARCH 23, 2020
Applies to:
MySQL Cluster - Version 7.4 and laterInformation in this document applies to any platform.
Symptoms
Note: For the purpose of this document the default path/directory/port MySQL uses is set here (if you have changed this, then use your path/directory/port).
When a host containing the Management node (ndb_mgmd) is completely down, it is no longer possible to remove the missing process from the cluster.
Cluster can not be started or stopped as well.
mysql> show status -r mycluster;
+--------+----------+----------+---------+-----------+---------+
| NodeId | Process | Host | Status | Nodegroup | Package |
+--------+----------+----------+---------+-----------+---------+
| 49 | ndb_mgmd | <host01> | stopped | | 7.4.6 |
| 50 | ndb_mgmd | <host02> | unknown | | 7.4.6 |
| 1 | ndbd | <host03> | added | 0 | 7.4.6 |
| 2 | ndbd | <host04> | unknown | 0 | 7.4.6 |
| 51 | mysqld | <host01> | stopped | | 7.4.6 |
| 52 | mysqld | <host02> | unknown | | 7.4.6 |
+--------+----------+----------+---------+-----------+---------+
6 rows in set (1.20 sec)
+--------+----------+----------+---------+-----------+---------+
| NodeId | Process | Host | Status | Nodegroup | Package |
+--------+----------+----------+---------+-----------+---------+
| 49 | ndb_mgmd | <host01> | stopped | | 7.4.6 |
| 50 | ndb_mgmd | <host02> | unknown | | 7.4.6 |
| 1 | ndbd | <host03> | added | 0 | 7.4.6 |
| 2 | ndbd | <host04> | unknown | 0 | 7.4.6 |
| 51 | mysqld | <host01> | stopped | | 7.4.6 |
| 52 | mysqld | <host02> | unknown | | 7.4.6 |
+--------+----------+----------+---------+-----------+---------+
6 rows in set (1.20 sec)
mysql> stop cluster mycluster;
ERROR 1002 (00MGR): Agent on host <host02>:18620 is unavailable
ERROR 1002 (00MGR): Agent on host <host02>:18620 is unavailable
mysql> remove process 50 mycluster;
ERROR 7027 (00MGR): Process ndb_mgmd 50 must be stopped before removal
ERROR 7027 (00MGR): Process ndb_mgmd 50 must be stopped before removal
mysql> stop process 50 mycluster;
ERROR 1002 (00MGR): Agent on host <host02>:18620 is unavailable
ERROR 1002 (00MGR): Agent on host <host02>:18620 is unavailable
Changes
Cause
To view full details, sign in with your My Oracle Support account. |
|
Don't have a My Oracle Support account? Click to get started! |
In this Document
Symptoms |
Changes |
Cause |
Solution |
References |