Problem with fallback 127.0.0.1:80

Arnd m_list at eshine.de
Thu May 11 10:47:30 BST 2006


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


Search lvs-users Archives
Limit search to: Subject & Body Subject Author
Sort by: Reverse Sort

More information about the lvs-users mailing list