LVS
lvs-users
Google
 
Web LinuxVirtualServer.org

Re: Problem with fallback 127.0.0.1:80

To: "LinuxVirtualServer.org users mailing list." <lvs-users@xxxxxxxxxxxxxxxxxxxxxx>
Subject: Re: Problem with fallback 127.0.0.1:80
From: malcolm <lists@xxxxxxxxxx>
Date: Thu, 11 May 2006 10:58:31 +0100
That config and result looks fine.
It says local because it is local and not masq'd...
are you sure your running apache locally and that it can respond to Internet based clients?



Arnd wrote:
Hello list,

I'm unable to setup the fallback on the loadbalancer to provide a default maitenance page.

- Version: IP Virtual Server version 1.2.1
- ldirectord: ldirectord,v 1.77.2.5 2004/09/13

The configuration for the fallback in the ldirector.cf is:
...
virtual = <public_ip>:80
   real      = 192.168.1.151:80 masq 100
   real      = 192.168.1.152:80 masq 100
   scheduler = wlc
   checktype = 5
   service   = http
   protocol  = tcp
   fallback  = 127.0.0.1:80
   request   = "/LDIRECTORD/checkCluster.php"
   receive   = "cluster running"
...

'ipvsadm -L -n' shows the following enrty:

TCP  <public_ip>:80 wlc
-> 127.0.0.1:80 Local 1 0 0 Doesn't this entry must show "masq" on the line with "127.0.0.1" instead of "Local"? If the servers are up they are in the list with "-> 192.168.1.151 masq 100 0 0". Do I need to set any iptable-rules (masquerading) for beeing able to connect to the fallback-server from the internet? All the examples I found simply show, that there is no more configuration needed but to set the fallback to 127.0.0.1:80.

Regards,
Arnd

_______________________________________________
LinuxVirtualServer.org mailing list - lvs-users@xxxxxxxxxxxxxxxxxxxxxx
Send requests to lvs-users-request@xxxxxxxxxxxxxxxxxxxxxx
or go to http://www.in-addr.de/mailman/listinfo/lvs-users


<Prev in Thread] Current Thread [Next in Thread>