LVS
lvs-users
Google
 
Web LinuxVirtualServer.org

Re: [lvs-users] Inaccessible real server 127.0.0.1 (fallback server)

To: "LinuxVirtualServer.org users mailing list." <lvs-users@xxxxxxxxxxxxxxxxxxxxxx>
Subject: Re: [lvs-users] Inaccessible real server 127.0.0.1 (fallback server)
From: Malte Geierhos <malte@xxxxxxxxxxxxx>
Date: Mon, 17 May 2010 08:48:20 +0200
Hello,

you need to have apache listen on the VIP address, not on localhost.

kind regards,
Malte

Am 17.05.10 07:29, schrieb jeff:
> Hello,
> nobody have a suggestion for this problem?
>
>
> Thank you,
> jeff
>
>
> Le jeudi 22 avril 2010, jeff a écrit :
>   
>> Hello everybody,
>> I allways received this email alerte from my cluster:
>> Log-Message: Inaccessible real server: 127.0.0.1:10400 (10.28.80.1:10400)
>> Daemon-Status: running
>>
>> My cluster has 3 Real servers and the virtual service is Jboss on port
>>  10400.
>>
>> My ldirectord.cf:
>>
>> checktimeout=3
>> checkinterval=5
>> autoreload=yes
>> logfile="/var/log/ldirectord.log"
>> quiescent=yes
>> emailalert="info@xxxxxxxxx"
>> emailalertfreq=3600
>> emailalertstatus=all
>>
>> virtual=10.28.80.1:10400
>>         real=10.28.80.2:10400 gate 10
>>         real=10.28.80.3:10400 gate 10
>>         real=10.28.80.9:10400 gate 1
>>         fallback=127.0.0.1:80 gate
>>         service=http
>>         request="test.html"
>>         receive="Still alive"
>>         scheduler=wrr
>>         protocol=tcp
>>         checktype=negotiate
>>         persistent=4200
>>
>>
>>
>> ipvasdm -ln:
>>
>> IP Virtual Server version 1.2.1 (size=4096)
>> Prot LocalAddress:Port Scheduler Flags
>>   -> RemoteAddress:Port           Forward Weight ActiveConn InActConn
>> TCP  10.28.80.1:10400 wrr persistent 4200
>>   -> 10.28.80.3:10400             Route   10     11         24
>>   -> 10.28.80.2:10400             Local   10     4          5
>>   -> 10.28.80.9:10400             Route   1      0          0
>>
>>
>>
>> I read that ldirectord don't check the fallback server an man page...
>> The fallback is an apache listen on port 80 and sending index.html in case
>> everything goes wrong. There is also the test.html page on this apache
>> directory.
>>
>> Where is my problem or mistake?
>>
>> Sorry for my poor english.
>>
>> Thank you.
>> Jeff
>>
>>     
>   


_______________________________________________
Please read the documentation before posting - it's available at:
http://www.linuxvirtualserver.org/

LinuxVirtualServer.org mailing list - lvs-users@xxxxxxxxxxxxxxxxxxxxxx
Send requests to lvs-users-request@xxxxxxxxxxxxxxxxxxxxxx
or go to http://lists.graemef.net/mailman/listinfo/lvs-users

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