[Linux-HA] pop protocol not up in loadbalance server

watthanachai watthanachai at ntt.co.th
Tue Dec 11 21:12:46 MST 2007


I use for ipvsadm to load balance service http(80) smtp(25) is working =
well

but when I want to set load balance to use with pop(110) protocol.

It's can not load balance .

I use NAT mode for this solution=20
my public vip use for load-balance is 10.x.x.152
my private gateway is 192.x.x.254=20
my pop0 server is 192.x.x.7
my pop1 server is 192.x.x.8


I test like this=20

Case 1=20

when telnet 10.x.x.152
It's can not access=20
--------------------------------------------------

Case 2=20

when telnet 192.x.x.7 (pop0)
It's can access=20
Working well=20

------------------------------------------------

and this is config in ldirector.cf

# Global Directives
checktimeout=3D10
checkinterval=3D2
#fallback=3D127.0.0.1:80
autoreload=3Dyes
logfile=3D"/var/log/ldirectord.log"
logfile=3D"local0"
quiescent=3Dyes

# Virtual Server for HTTP
virtual=3D10.x.x.152:110
        #fallback=3D127.0.0.1:80
        real=3D192.x.x.7:110 masq 1=20
        real=3D192.x.x.8:110 masq 1=20
        service=3Dpop
       #request=3D"test.html"
       #receive=3D"Test Page"
        scheduler=3Dwrr
        #persistent=3D600
        protocol=3Dtcp
       checktype=3Dnegotiate


How can you help me ?
OS =3D debian 4.0 r1
ipvs version =3D 1.2.1




Best regards,

###########################

Watthanachai KEKHUA
NTT Communication (Thailand) Co., Ltd
System Service Group
Office 02-6362707  =B5=E8=CD (3155)
Direct +66-(0)2637-6195

###########################


More information about the Linux-HA mailing list