Original Post
Hello I have one small problem. I have some small online gaming system, with game servers and one MySql server containing the game specific data. The problem is that if there is a physical failure of DB server everything will stop. So I want to introduce one slave DB server that will contain all the data from the master and in the case of failure it will take immediately role of primary DB server until the problem with master DB server is solved. I'm a little confused with difference between replication and clustering. What is the best solution for my problem? If I understood well clustering needs more than two servers while replication can be done with two servers. My needs are that there is 0 data loss and that in case of failure the system can continue operations immediately. Your opinions? And how much servers I will need? thanks in advance