[lvs-users] Can not connect to virtual IP
L.S. Keijser
leon at linux.nl
Thu Oct 22 04:39:23 BST 2009
On Wed, 2009-10-21 at 20:21 +0700, Rittikorn L. wrote:
> Every think look like OK and tests stop service heartbeat can working normally but client can not connect to virtual ip
> [test by telnet 192.168.0.87 25] but telnet 192.168.0.83 25 and 192.168.0.122 25 working normally . plase help me
>
> [root at ha1 ha.d]# /etc/ha.d/resource.d/LVSSyncDaemonSwap master status
> master running
> (ipvs_syncmaster pid: 9376)
>
>
> [root at ha1 ha.d]# ipvsadm -L -n
> IP Virtual Server version 1.2.1 (size=4096)
> Prot LocalAddress:Port Scheduler Flags
> -> RemoteAddress:Port Forward Weight ActiveConn InActConn
> TCP 192.168.0.87:80 rr
> -> 192.168.0.122:80 Route 1 0 0
> -> 192.168.0.83:80 Local 0 0 0
> TCP 192.168.0.87:25 rr
> -> 192.168.0.83:25 Local 1 0 0
> -> 192.168.0.122:25 Route 1 0 0
One of your realservers (0.83) seems to be set to local, instead of
direct-routing. In your ldirectord.cf, set it to 'gate':
real=192.168.0.83:25 gate
And also for the port 80 version:
real=192.168.0.83:80 gate
--
Léon
More information about the lvs-users
mailing list