Spynat
6th November 2006, 16:20
Hi,
i have read the howtos regarding clustering MySQL and Apache and although I am not really a Linux-geek, I have to compliment the author for his work. I haven't tried setting up my own MySQL/Apache-cluster yet, because I have two questions that still bother me.
1. I would like to set up the cluster on two servers only, one containing the apache webserver, mysql database, loadbalancer and cluster management server and the other server containing another webserver, another mysql database and the second loadbalancer. The two loadbalancers should monitor each other and if one Apache or MySQL node fails, the other one should take over. Performance is not really an issue to me, but availability has to be provided.
Since it is possible to set up an apache cluster with two servers, I assume that it is also possible to set up a cluster that fulfills my needs with just two servers also. Is this correct or am I missing some important detail from the howtos?
2. I understand that the cluster management server is needed in order to keep the data nodes synchronized even if one node fails. Doesn't having just one cluster management server imply that there is a single point of failure in the setup? What happens if the cluster management server fails?
Thanks for your help,
Michael
i have read the howtos regarding clustering MySQL and Apache and although I am not really a Linux-geek, I have to compliment the author for his work. I haven't tried setting up my own MySQL/Apache-cluster yet, because I have two questions that still bother me.
1. I would like to set up the cluster on two servers only, one containing the apache webserver, mysql database, loadbalancer and cluster management server and the other server containing another webserver, another mysql database and the second loadbalancer. The two loadbalancers should monitor each other and if one Apache or MySQL node fails, the other one should take over. Performance is not really an issue to me, but availability has to be provided.
Since it is possible to set up an apache cluster with two servers, I assume that it is also possible to set up a cluster that fulfills my needs with just two servers also. Is this correct or am I missing some important detail from the howtos?
2. I understand that the cluster management server is needed in order to keep the data nodes synchronized even if one node fails. Doesn't having just one cluster management server imply that there is a single point of failure in the setup? What happens if the cluster management server fails?
Thanks for your help,
Michael