LVS
lvs-users
Google
 
Web LinuxVirtualServer.org

ldirectord configuration...

To: lvs-users@xxxxxxxxxxxxxxxxxxxxxx
Subject: ldirectord configuration...
From: "patrick kuah" <patrickkuah@xxxxxxx>
Date: Fri, 29 Aug 2003 17:24:52 +0000
Hi,

This is the result when i typed ipvsadm...
something is not right for the persistent, it did not show the real servers

 -> RemoteAddress:Port                  Forward Weight ActiveConn InActConn
TCP  virtual.test.org:s rr
 -> web1.test.org:ssh Local                  1      0          0
 -> web2.test.org:ssh Route                  1      0          0
TCP  virtual.test.org:h rr
 -> web2.test.org:http Local                 1      0          0
 -> web1.test.org:http Route                 0      0          0
TCP  virtual.test.org:h rr persistent 600


below is my ldirectord.cf

# Global Directives
checktimeout=10
checkinterval=10
#fallback=127.0.0.1:80
autoreload=yes
logfile="/var/log/ldirectord.log"
#logfile="local0"
quiescent=yes

# A virual service for http
virtual=10.0.0.40:80
        real=10.0.0.11:80 gate
        real=10.0.0.22:80 gate
        service=http
        scheduler=rr
#       #persistent=600
#       #protocol=tcp

# A virtual service for sshd
virtual=10.0.0.40:22
        real=10.0.0.11:22 gate
        real=10.0.0.22:22 gate
        service=none
        scheduler=rr
#       #persistent=600
#       #protocol=tcp

# A virtual service for https
virtual=10.0.0.40:443
        real=10.0.0.11:443 gate
        real=10.0.0.22:443 gate
        service=https
        scheduler=rr
        persistent=600
        protocol=tcp

For https, I had taken out the request and receive, is that ok ???
Why when i run ipvsadm, how come there no real servers for https ??? bit it show up when i changed the service to 'none'

Please advise ....anyone :)

Thanks

_________________________________________________________________
Get 10mb of inbox space with MSN Hotmail Extra Storage http://join.msn.com/?pgmarket=en-sg at only S$36 including GST

<Prev in Thread] Current Thread [Next in Thread>
  • ldirectord configuration..., patrick kuah <=