LVS
lvs-users
Google
 
Web LinuxVirtualServer.org

Problem with fallback 127.0.0.1:80

To: lvs-users@xxxxxxxxxxxxxxxxxxxxxx
Subject: Problem with fallback 127.0.0.1:80
From: Arnd <m_list@xxxxxxxxx>
Date: Thu, 11 May 2006 11:47:30 +0200
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


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