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 > > [r...@ha1 ha.d]# /etc/ha.d/resource.d/LVSSyncDaemonSwap master status > master running > (ipvs_syncmaster pid: 9376) > > > [r...@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 _______________________________________________ Please read the documentation before posting - it's available at: http://www.linuxvirtualserver.org/ LinuxVirtualServer.org mailing list - [email protected] Send requests to [email protected] or go to http://lists.graemef.net/mailman/listinfo/lvs-users
