Opened 5 years ago
Last modified 5 years ago
#570 new enhancement
LVS plugin doesn't support fwmark balancing
| Reported by: | svenx | Owned by: | nobody |
|---|---|---|---|
| Priority: | low | Milestone: | |
| Component: | plugins | Version: | |
| Severity: | minor | Keywords: | LVS, fwmark |
| Cc: |
Description
The cps_ LVS plugin only supports statistics for virtual IPs/ports. Installations that base their balancing on fwmarks cannot use this plugin to extract statistics. Updating the plugin shouldn't be too much trouble.
Example output when fwmark balancing is used:
# ipvsadm -L IP Virtual Server version 1.2.1 (size=4096) Prot LocalAddress:Port Scheduler Flags -> RemoteAddress:Port Forward Weight ActiveConn InActConn FWM 1024 sh -> 10.0.0.80:9000 Route 1 139 313 -> 10.0.0.81:9000 Route 1 155 373 FWM 1025 sh FWM 1026 sh -> 10.0.0.90:9000 Route 1 23 68 -> 10.0.0.91:9000 Route 1 38 84
Note: fwmark 1025 has no available backends.
Note: See
TracTickets for help on using
tickets.

Of course that should be output with --stats. This setup uses direct routing (no return packets):