Hi,
I have done some tests about IPVS persistence.Here is my command lines:
-A -t 192.168.0.254:0 -s rr -p 10
-a -t 192.168.0.254:0 -r netmatrix:http -g -w 1
-a -t 192.168.0.254:0 -r realserver2:http -g -w 1
In my opinion:
When a client sends a tcp request to director,the director will keep this
connection for 10 seconds.And if there is no other tcp requests from the client
in 10 seconds,the persistence will be over and then another request from it
will be scheduled to other realserver(rr method).
But the test I just did shows that after 10 seconds (within this time
periond no requests from that client) ,requests from that client is still
scheduled to the same realserver.
Why?
thank you
Ye Xiaowei
yexiaowei2004@xxxxxxx
2004-07-14
|