Bug #66143 Error in geo cluster
| Submitted: | 1 Aug 2012 13:16 | Modified: | 8 Jun 2018 12:20 |
|---|---|---|---|
| Reporter: | Aastha Gupta | Email Updates: | |
| Status: | No Feedback | Impact on me: | |
| Category: | MySQL Cluster Manager | Severity: | S2 (Serious) |
| Version: | 7.2 | OS: | Windows |
| Assigned to: | Assigned Account | CPU Architecture: | Any |
[1 Aug 2012 13:16]
Aastha Gupta
[1 Aug 2012 13:34]
Valeriy Kravchuk
Please, send configuration files for cluster on both nodes.
[1 Aug 2012 13:38]
Aastha Gupta
After the failure we are running the cluster from location only. Aastha
[1 Aug 2013 7:45]
Hartmut Holzgraefe
Most likely reason: location 1 had the active arbitrator, so when location lost power nodes at location 2 didn't have a majority vote -> split brain situation -> shutdown When having a setup where half of the data nodes can fail simultaneously (power failure of a complete site, rack, machine, or link failure between two halves of a cluster) you need an extra dedicated arbitrator that does not share any critical resources with the rest of the cluster, in your case at a third site that has independent links to both the data centers where the halves of your cluster resided. It is a bit of a shame IMHO that http://www.mysql.com/products/cluster/faq.html#11 (or the FAQ in general) doesn't mention this ...
[8 May 2018 12:20]
MySQL Verification Team
Wonder if was applied what Harmut commented.
[8 May 2018 12:41]
Hartmut Holzgraefe
I still think the FAQ entry is not really correct:
"11. How many physical servers are needed to create a minimum Cluster configuration?
A: For evaluation and evelopment purposes, you can run all nodes on a single host. For full redundancy and fault tolerance, you would need a minimum 6 x physical hosts:
2 x data nodes
2 x SQL/NoSQL Application Nodes
2 x Management Nodes
Many users co-locate the Management and Application nodes which reduces the number of nodes to four."
I'd still say the minimum is three. Data, Management, and API nodes can co-exist on the same machine just fine, so in that respect the minimum number would be two. The FAQ entry totally misses the "need an odd number to prevent split-brain problems" aspect, and suggests even numbers of machines only.
[8 May 2018 13:01]
MySQL Verification Team
Thank you for the feedback Harmut.
[8 May 2018 18:37]
MySQL Verification Team
hey big H :D well depends how you define the system, I know (and you do too) production systems on single hw instance, or even multiple production systems on single HW instance... so, the minimum is 1 The odd/even thing makes sense with InnoDB Cluster but with NDB Cluster even number of nodes will work, in reality it's only arbitrator that is relevant for the even/odd but since we do pretty much know how to recover from split brain even with even number of arbitrators .. 2 can work, and you can always run setup with single arbitrator (my favorite setup :D ).. Anyhow I don't see original report as a bug kind regards Bogdan
[9 Jun 2018 1:00]
Bugs System
No feedback was provided for this bug for over a month, so it is being suspended automatically. If you are able to provide the information that was originally requested, please do so and change the status of the bug back to "Open".
Portions of this website are copyright © 2001, 2002 The PHP Group
Page generated in 0.059 sec. using MySQL 8.4.7-u6-cloud
Timestamp references displayed by the system are UTC.
Content reproduced on this site is the property of the
respective copyright holders.
It is not reviewed in advance
by Oracle and does not necessarily represent the opinion of
Oracle or any other party.