Hi!
I'm using LVS to redirect tcp traffic for http, ftp and for an application
server listening on 5555 port.
Now I need to redirect UDP traffic among several real servers, at this
moment listening on 10000 port.
I've tried to realize this editing /etc/lvs.cf, but running pulse (I'm
using a RH6.2 "upgraded" with latest ipvsadm and piranha tools downloaded
from Keith's ftp) doesn't seem to correctly invoke ipvsadm.
From /var/log/messages:
"/usr/sbin/nanny" "-c" "-h" "192.168.1.3" "-p" "10000" "-a" "180" "-I"
"/usr/sbin/ipvsadm" "-t" "10" "-w" "200" "-V" "192.0.9.231" "-M" "m" "-U" "rup"
And ipvsadm -L returns:
Prot LocalAddress:Port Scheduler Flags
-> RemoteAddress:Port Forward Weight ActiveConn InActConn
UDP 192.0.9.231:10000 rr
It seems that pulse scripts don't add real servers.
UDP redirection does work if I try:
ipvsadm -A -u 192.0.9.231:10000 -s rr
ipvsadm -a -u 192.0.9.231:10000 -r 192.168.1.3 -m
Infact ipvsadm -L returns:
Prot LocalAddress:Port Scheduler Flags
-> RemoteAddress:Port Forward Weight ActiveConn InActConn
UDP 192.0.9.231:10000 rr
-> 192.168.1.3:10000 Masq 1 0 0
Any ideas?
Thanks!
Pietro Ravasio
udpsockclient.exe
Description: Binary data
|