On Fri, Jun 09, 2000 at 08:18:30PM +0900, ??? wrote:
> the following is a part of ChangeLog :
> ======
> Virtual Server Patch for Linux - Version 0.9 - May 1, 1999
> Differences with virtual server patch version 0.8:
> ....
> * Add more satistics information
> The active connection counter and the total connection counter of
> each real server were added for all the scheduling algorithms.
> ======
>
> Somebody told me that "ipvsadm -L -n" showed the total connection counter
> before lvs0.9.12, but it does not show that counter any more. I wonder
> if is true and want to know the exact meaning of that counters.
I don't believe that such a change was made to ipvsadm. I believe that the
only connection information available is the Active and Inactive
Connections, and a total would be the addition of these. This only includes
current connections and not a cumalative total since the real server was
defined.
What follows is from amail previously sent to the list by Julian Anastasov.
Info about LVS <= 0.9.7
TCP
active: all connections in ESTABLISHED state
inactive: all connections not in ESTABLISHED state
UDP
active: 0 (none) (LVS <= 0.9.7)
inactive: all (LVS <= 0.9.7)
active + inactive = all
Look in this table for the used timeouts for each
protocol/state:
/usr/src/linux/net/ipv4/ip_masq.c, masq_timeout_table
For VS/TUNNEL and VS/DR the TCP states are changed checking only
the TCP flags from the incoming packets. For these methods UDP entries can
expire (5 minutes?) if only the real servers sends packets and there are
no packets from the client.
For info about the TCP states:
- /usr/src/linux/net/ipv4/tcp.c
- rfc793.txt
--
Horms
|