How To Set Up A Loadbalanced High-Availability Apache Cluster On Windows
- by bReAd
Setting up a two-node Apache web server cluster that provides high-availability.
In front of the Apache cluster we create a load balancer that splits up incoming requests between the two Apache nodes. Because we do not want the load balancer to become another “Single Point Of Failure”, we must provide high-availability for the load balancer, too. Therefore our load balancer will in fact consist out of two load balancer nodes that monitor each other using heartbeat, and if one load balancer fails, the other takes over silently.
The following setup is proposed:
Apache node 1: webserver1.example.com (webserver1) – IP address: 192.168.0.101; Apache document root: /var/www
Apache node 2: webserver2.example.com (webserver2) – IP address: 192.168.0.102; Apache document root: /var/www
Load Balancer node 1: loadb1.example.com (loadb1) – IP address: 192.168.0.103
Load Balancer node 2: loadb2.example.com (loadb2) – IP address: 192.168.0.104
Virtual IP Address: 192.168.0.105 (used for incoming requests)
Currently, there are many solutions for Linux machines and there aren't any on windows.
I've tried searching a long time for solutions on Windows platform
How do I create the virtual IP in windows and perform monitoring and make the load balancer listen to the virtual IP Address?