Hi,
I just tested most of the rest combination of the VS kernel
configuration
with vs-0.9pre1 patch. They worked. I upgrade vs-0.9pre1 to vs-0.9 with
commenting out a line in header file and changing some documents.
The ChangeLog is as follows:
(Differences with virtual server patch version 0.8)
- Add Virtual Server via Direct Routing
This approach was first implemented in IBM's NetDispatcher. All real
servers have their loopback alias interface configured with the
virtual
IP address, the load balancer and the real servers must have one of
their interfaces physically linked by a HUB/Switch. When the packets
destined for the virtual IP address arrives, the load balnacer
directly
route them to the real servers, the real servers processing the
requests
and return the reply packets directly to the clients. Compared to the
virtual server via IP tunneling approach, this approach doesn't have
tunneling overhead(In fact, this overhead is minimal in most
situations),
but requires that one of the load balancer's interfaces and the real
servers' interfaces must be in physical segment.
- Add more satistics information
The active connection counter and the total connection counter of
each real server were added for all the scheduling algorithms.
- Add resetting(zeroing) counters
The total connection counters of all real servers can be reset to
zero.
- Change some statements in the masq_expire function and the
ip_fw_demasquerade function, so that ip_masq_free_ports won't become
abnormal number after the masquerading entries for virtual server
are released.
- Fix the bug of "double unlock on device queue"
Remove the unnecessary function call of skb_device_unlock(skb) in the
ip_pfvs_encapsule function, which sometimes cause "kernel: double
unlock on device queue" waring in the virtual server via tunneling.
- Many functions of virtual server patch was splitted into the
linux/net/ipv4/ip_masq_pfvs.c.
- Upgrade ippfvsadm 1.0.2 to ippfvsadm 1.0.3
Zeroing counters is supported in the new version. The ippfvsadm 1.0.3
can be used for all kernel with different virtual server options
without rebuilding the program.
Enjoy,
Wensong
|