Here are the outputs. --------Output ipvsadm -l -------------------- # ipvsadm -l
IP Virtual Server version 1.2.1 (size=4096) Prot LocalAddress:Port Scheduler Flags -> RemoteAddress:Port Forward Weight ActiveConn InActConn TCP vip:http rr -> s4:http Tunnel 1 0 7 -> s3:http Tunnel 1 0 7 -------------------------------------------------------- No information about persistence. --------- /proc/net/ip_vs_stats ---------------- # cat /proc/net/ip_vs_stats Pro FromIP FPrt ToIP TPrt DestIP DPrt State Expires TCP AC100094 B1E9 0A000065 0050 0A000062 0050 SYN_RECV 32 TCP AC100094 B1E5 0A000065 0050 0A000062 0050 SYN_RECV 31 TCP AC100094 B1ED 0A000065 0050 0A000062 0050 SYN_RECV 34 TCP AC100094 B1EC 0A000065 0050 0A000063 0050 FIN_WAIT 93 TCP AC100094 B1F0 0A000065 0050 0A000063 0050 FIN_WAIT 96 TCP AC100094 B1E8 0A000065 0050 0A000063 0050 FIN_WAIT 92 TCP AC100094 B1E6 0A000065 0050 0A000063 0050 FIN_WAIT 91 TCP AC100094 B1F1 0A000065 0050 0A000062 0050 SYN_RECV 58 TCP AC100094 B1EE 0A000065 0050 0A000063 0050 FIN_WAIT 94 TCP AC100094 B1EB 0A000065 0050 0A000062 0050 SYN_RECV 33 ----------------------------------------------------------- Even ip_vs_stats show that all the hits are being forwarded to the same server. Apache logs, only shows one machine getting all the hits. I am using apache to test the setup because I find it easier to load test apache. I didn't turn on persistence. AFAIK it is supposed to be disabled by default. Sameer On 8/21/07, Joseph Mack NA3T <[EMAIL PROTECTED]> wrote: > On Tue, 21 Aug 2007, Sameer Garg wrote: > > > Is it possible to turn of persistence? > > you have to turn it on with the -p option. If you haven't > turned it on, it's off. Look at the output of ipvsadm to see > if persistence is on/off > > Joe > > > -- > Joseph Mack NA3T EME(B,D), FM05lw North Carolina > jmack (at) wm7d (dot) net - azimuthal equidistant map > generator at http://www.wm7d.net/azproj.shtml > Homepage http://www.austintek.com/ It's GNU/Linux! > > _______________________________________________ > LinuxVirtualServer.org mailing list - [email protected] > Send requests to [EMAIL PROTECTED] > or go to http://lists.graemef.net/mailman/listinfo/lvs-users > _______________________________________________ LinuxVirtualServer.org mailing list - [email protected] Send requests to [EMAIL PROTECTED] or go to http://lists.graemef.net/mailman/listinfo/lvs-users
