Real servers have 10.10.10.1 as gateway. Changed lb_algo. .110 webserver
was down intentionally. IP from where Im trying to access the webserver:
192.168.0.51

Feb 18 10:49:44 karmic1 Keepalived: Starting Keepalived v1.1.17 (02/10,2010)
Feb 18 10:49:44 karmic1 Keepalived_healthcheckers: Initializing ipvs 2.6
Feb 18 10:49:44 karmic1 Keepalived_healthcheckers: Using MII-BMSR NIC polling 
thread...
Feb 18 10:49:44 karmic1 Keepalived_healthcheckers: Registering Kernel netlink 
reflector
Feb 18 10:49:44 karmic1 Keepalived_healthcheckers: Registering Kernel netlink 
command channel
Feb 18 10:49:44 karmic1 Keepalived_healthcheckers: Opening file 
'/etc/keepalived/keepalived.conf'.
Feb 18 10:49:44 karmic1 Keepalived_healthcheckers: Configuration is using : 
12239 Bytes
Feb 18 10:49:44 karmic1 Keepalived_healthcheckers: Activating healtchecker for 
service [10.10.10.100:80]
Feb 18 10:49:44 karmic1 Keepalived_healthcheckers: Activating healtchecker for 
service [10.10.10.110:80]
Feb 18 10:49:44 karmic1 Keepalived: Starting Healthcheck child process, pid=2731
Feb 18 10:49:44 karmic1 Keepalived: Starting VRRP child process, pid=2732
Feb 18 10:49:44 karmic1 Keepalived_vrrp: Using MII-BMSR NIC polling thread...
Feb 18 10:49:44 karmic1 Keepalived_vrrp: Registering Kernel netlink reflector
Feb 18 10:49:44 karmic1 Keepalived_vrrp: Registering Kernel netlink command 
channel
Feb 18 10:49:44 karmic1 Keepalived_vrrp: Registering gratutious ARP shared 
channel
Feb 18 10:49:44 karmic1 Keepalived_vrrp: Initializing ipvs 2.6
Feb 18 10:49:44 karmic1 Keepalived_vrrp: Opening file 
'/etc/keepalived/keepalived.conf'.
Feb 18 10:49:44 karmic1 Keepalived_vrrp: Configuration is using : 38787 Bytes
Feb 18 10:49:44 karmic1 kernel: [  496.793507] IPVS: sync thread started: state 
= MASTER, mcast_ifn = eth2, syncid = 9
Feb 18 10:49:45 karmic1 Keepalived_vrrp: VRRP_Instance(VI_IP1) Transition to 
MASTER STATE
Feb 18 10:49:46 karmic1 Keepalived_vrrp: VRRP_Instance(VI_IP1) Entering MASTER 
STATE
Feb 18 10:49:46 karmic1 avahi-daemon[829]: Registering new address record for 
192.168.0.100 on eth1.IPv4.
Feb 18 10:49:46 karmic1 avahi-daemon[829]: Registering new address record for 
10.10.10.1 on eth2.IPv4.
Feb 18 10:49:46 karmic1 Keepalived_vrrp: VRRP_Group(VG1) Syncing instances to 
MASTER state
Feb 18 10:49:46 karmic1 Keepalived_vrrp: Netlink: skipping nl_cmd msg...
Feb 18 10:49:46 karmic1 Keepalived_vrrp: Netlink: skipping nl_cmd msg...
Feb 18 10:49:48 karmic1 Keepalived_healthcheckers: TCP connection to 
[10.10.10.110:80] failed !!!
Feb 18 10:49:48 karmic1 Keepalived_healthcheckers: Removing service 
[10.10.10.110:80] from VS [192.168.0.100:80]
Feb 18 10:49:48 karmic1 Keepalived_healthcheckers: SMTP connection ERROR to 
[127.0.0.1:25].
Feb 18 10:51:04 karmic1 Keepalived_healthcheckers: TCP connection to 
[10.10.10.110:80] success.
Feb 18 10:51:04 karmic1 Keepalived_healthcheckers: Adding service 
[10.10.10.110:80] to VS [192.168.0.100:80]
Feb 18 10:51:04 karmic1 Keepalived_healthcheckers: Gained quorum 1+0=1 <= 2 for 
VS [192.168.0.100:80]
Feb 18 10:51:04 karmic1 Keepalived_healthcheckers: SMTP connection ERROR to 
[127.0.0.1:25].

r...@karmic1:~# ipvsadm -L -n -c
IPVS connection entries
pro expire state       source             virtual            destination
TCP 01:34  NONE        192.168.0.0:0      192.168.0.100:80   10.10.10.110:80
TCP 00:43  SYN_RECV    192.168.0.51:53928 192.168.0.100:80   10.10.10.110:80
TCP 00:17  SYN_RECV    192.168.0.51:53927 192.168.0.100:80   10.10.10.110:80

r...@karmic1:~# 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.100:80 wrr persistent 120 mask 255.255.255.0
  -> 10.10.10.110:80              Masq    1      0          2         
  -> 10.10.10.100:80              Masq    1      0          0

-- 
Keepalived haven't LVS support
https://bugs.launchpad.net/bugs/496932
You received this bug notification because you are a member of Ubuntu
Server Team, which is subscribed to keepalived in ubuntu.

-- 
Ubuntu-server-bugs mailing list
Ubuntu-server-bugs@lists.ubuntu.com
Modify settings or unsubscribe at: 
https://lists.ubuntu.com/mailman/listinfo/ubuntu-server-bugs

Reply via email to