weight problem
"Fernando A. P. Gomes" <[email protected]> Wed, 29 Jul 2009 14:40:47 +0100
| Newsgroups | gmane.linux.redhat.piranha |
|---|---|
| Organization | Eurotux |
| Message-ID | <[email protected]> |
--===============1802030790==
Content-Type: multipart/signed; boundary="nextPart2110856.mCiXPBjY38";
protocol="application/pgp-signature"; micalg=pgp-sha1
Content-Transfer-Encoding: 7bit
--nextPart2110856.mCiXPBjY38
Content-Type: text/plain;
charset="utf-8"
Content-Transfer-Encoding: quoted-printable
Content-Disposition: inline
Hi,
I've configured lvs to give diferent weight to my virtual servers:
server s1 {
address =3D 172.16.42.15
active =3D 1
weight =3D 1000
}
server s2 {
address =3D 172.16.42.124
active =3D 1
weight =3D 1
}
However, the the ipvs list of connections give me this:
TCP xxx.xxx.xxx.xxx:80 rr persistent 2700
-> 172.16.42.124:80 Masq 1 24 2674
-> 172.16.41.15:80 Masq 1000 400 2159
And an access count with the apache logs gives me this:
s1 (172.16.41.15):
grep "29/Jul/2009:14:23" access_log.2009-07-29 | wc -l
1054
s2 (172.16.42.124):=20
grep "29/Jul/2009:14:23" access_log.2009-07-29 | wc -l
1380
I've more accesses to s2, that have a lower weight than s1, and the ipvs=20
connection list should be 1000 to 1.
Can anybody comment?
Regards,
=46ernando Gomes
=2D-=20
=46ernando Alexandre Peixoto Gomes <[email protected]>
Eurotux Inform=C3=A1tica, S.A. [http://eurotux.com]
Rua Rosalvo de Almeida, 5. 4710-429 BRAGA PORTUGAL
Tel: (+351) 253 257395 - Fax: (+351) 253 257396
--nextPart2110856.mCiXPBjY38
Content-Type: application/pgp-signature; name=signature.asc
Content-Description: This is a digitally signed message part.
-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.4.9 (GNU/Linux)
iD8DBQBKcFFfoLZrxCZCn6oRAimrAJ4u2gMqv2aDEIHQAQnEjW5Om+Zz1QCeLxKq
rhJqn6gZr+NfmxdJoQUHVgY=
=e3nN
-----END PGP SIGNATURE-----
--nextPart2110856.mCiXPBjY38--
--===============1802030790==
Content-Type: text/plain; charset="us-ascii"
MIME-Version: 1.0
Content-Transfer-Encoding: 7bit
Content-Disposition: inline
_______________________________________________
Piranha-list mailing list
[email protected]
https://www.redhat.com/mailman/listinfo/piranha-list
--===============1802030790==--