Dear All,
I am trying to setup a
High-Availability HTTP Load Balancer With HAProxy & Heartbeat using the below links. I have all
RHEL 5.4 servers hosted on VMWare.
http://www.howtoforge.com/high-avail...rtbeat-fedora8
http://www.howtoforge.com/high-avail...eat-fedora8-p2
This is the scenario, as given in the links as wells as my setup.
Shared IP: 192.168.0.120
Load Balancer 1
Hostname: lb1.example.com
IP: 192.168.0.110
Load Balancer 2
Hostname: lb2.example.com
IP: 192.168.0.111
Web Server 1
Hostname: http1.example.com
IP: 192.168.0.112
Web Server 2
Hostname: http2.example.com
IP: 192.168.0.113
I have followed
all the steps mentioned in the links religiously except the
2.2 here, in which it is asking to configure the vhosts. I could not really understand :scratch:, what is to be placed in
/etc/httpd/conf.d/vhosts.conf file and in
which Web Server.
Due to this step only, I think I am failing in
Failover test given in Point
4.1 here. I am
able to open the webpage by
http://192.168.0.120/ which gives the content of
Web Server 1 (http1.example.com). But, when I try to shutdown the http service (to check failover), it
does not shows the contents of
Web Server 2 (http2.example.com)
Although, I am
able to succeed in Failover Test
4.2, in which
shared IP 192.168.0.120 switches when I try to start/stop the any of the Load Balancers.
Waiting for your precious answers. Thanks in advance.
----------------------
Best Regards,
Vikas
Recent comments
1 day 2 hours ago
1 day 2 hours ago
1 day 7 hours ago
1 day 13 hours ago
1 day 14 hours ago
1 day 15 hours ago
1 day 20 hours ago
2 days 2 hours ago
2 days 6 hours ago
2 days 8 hours ago