Hi Dear,
I setup my LVS/NAT system by keepalived and it works. I configured the
persistent timout as 360 seconds
I have one question when enable IPVS connection synchronization, I found the
expiration time of persistent template in Backup director is updated to
original value as long as packets are coming in Master Lunix director
Please see following example:
1. On Master:
[root@0210-lvs-master ~]# ipvsadm -Lcn
IPVS connection entries
pro expire state source virtual destination
UDP 04:54 UDP 10.195.52.11:5060 10.195.52.18:5060 192.168.0.4:5060
UDP 05:53 UDP 10.195.52.11:0 10.195.52.18:5060 192.168.0.4:5060
On backup:
[root@lvs-backup ~]# ipvsadm -Lcn
IPVS connection entries
pro expire state source virtual destination
UDP 04:49 UDP 10.195.52.11:5060 10.195.52.18:5060 192.168.0.4:5060
UDP 05:50 UDP 10.195.52.11:0 10.195.52.18:5060 192.168.0.4:5060
2. Send the traffic
3. On Master
[root@0210-lvs-master ~]# ipvsadm -Lcn
IPVS connection entries
pro expire state source virtual destination
UDP 05:00 UDP 10.195.52.11:5060 10.195.52.18:5060 192.168.0.4:5060
UDP 05:12 UDP 10.195.52.11:0 10.195.52.18:5060 192.168.0.4:5060
On Backup
[root@lvs-backup ~]# ipvsadm -Lcn
IPVS connection entries
pro expire state source virtual destination
UDP 04:18 UDP 10.195.52.11:5060 10.195.52.18:5060 192.168.0.4:5060
UDP 06:00 UDP 10.195.52.11:0 10.195.52.18:5060 192.168.0.4:5060
You can see the expiration time of persistent template on backup director is
updated to 6 min, and the expiration time won't also be synced, why the
persistent timeout on backup is updated each time?
Is it by design?
Anyone can help to answer the question? Thanks in advance.
Thanks,
Sujun
_______________________________________________
Please read the documentation before posting - it's available at:
http://www.linuxvirtualserver.org/
LinuxVirtualServer.org mailing list - lvs-users@xxxxxxxxxxxxxxxxxxxxxx
Send requests to lvs-users-request@xxxxxxxxxxxxxxxxxxxxxx
or go to http://lists.graemef.net/mailman/listinfo/lvs-users
|