I need some clarification on MySQL-Cluster (NDB) setup
I want to achieve full HA but I'm low on server budget and can't afford to rent a dozen of servers for simple solution that I'm working on.
What's the minimum amount of hosts to achieve full HA in case of one node failure?
I mean situation that cluster should continue to work with no errors when any single physical servers fails. Failed server can be any of MySQL Cluster components (management, sql or data)
I don't need extreme performance, just fully automated server failure handling on small number of servers
From the MySQL Cluster documentation I know that I need at least two full copies of data (replicas). Does one replica need to be on more than one host?
Can HA be achieved on 4 servers? 2 management nodes (kind of small VPS) + 2 physical servers each running SQL and data node?
I'm aware of MySQL master-slave, but it doesn't provide automated failover and requires application rewrite