Is --persistent set by default?
Dave Thacker <[email protected]>
| Newsgroups | gmane.linux.highavailability.ultramonkey |
|---|---|
| Organization | Omni Hotels Reservation Center |
| Message-ID | <[email protected]> |
Setup: SuSE 9.3 ipvsadm v1.24 We're doing testing on a single virtual server that distributes transactions to 4 real servers. omares-loadbal1:~ # ipvsadm -S -n -A -t 10.0.33.120:9314 -s rr -a -t 10.0.33.120:9314 -r 10.0.37.139:9314 -m -w 1 -a -t 10.0.33.120:9314 -r 10.0.37.138:9314 -m -w 1 -a -t 10.0.33.120:9314 -r 10.0.37.137:9314 -m -w 1 -a -t 10.0.33.120:9314 -r 10.0.37.136:9314 -m -w 1 What we're expecting to happen: When we fire off 20 transactions, we expect them to be evenly distributed among the 4 real servers. Each transaction opens and closes a connection to the real server. What's actually happening: All twenty transactions are being sent to a single server. If we fire off another 20, those are sent to the second server. We're thinking that we should follow one of two courses: 1) Change to least connection scheduling 2) Set --persistence to zero. We're wondering whether --persistent is set by default, which might explain the behavior we are seeing now. TIA Dave -- Dave Thacker, Senior Systems Administrator Omni Hotels Reservation Center V: 402.952.6535 F: 402-334-8013 M: 402-981-4613 (24/7) -- Ultra Monkey - http://www.ultramonkey.org/ To UNSUBSCRIBE, email to [email protected], with a body: unsubscribe ultramonkey-users [email protected] where "[email protected]" is YOUR email address.