Package: ipvsadm Version: 1:1.26-1 Severity: normal Dear Maintainer,
when i do the following Commands, ipvsadm dosn't display the correct virtual server table. In /proc/net/ip_vs is the correct table but ipvsadm shows only the first realserverentry of the virtualserver: root@mandarin: ipvsadm -C root@mandarin: ipvsadm -L IP Virtual Server version 1.2.1 (size=4096) Prot LocalAddress:Port Scheduler Flags -> RemoteAddress:Port Forward Weight ActiveConn InActConn root@mandarin: ipvsadm -A -t 192.168.84.50:80 -s rr root@mandarin: ipvsadm -L IP Virtual Server version 1.2.1 (size=4096) Prot LocalAddress:Port Scheduler Flags -> RemoteAddress:Port Forward Weight ActiveConn InActConn TCP 192.168.84.50:http rr root@mandarin: ipvsadm -a -t 192.168.84.50:80 -r 192.168.84.51:80 -g -w 1 root@mandarin: ipvsadm -L IP Virtual Server version 1.2.1 (size=4096) Prot LocalAddress:Port Scheduler Flags -> RemoteAddress:Port Forward Weight ActiveConn InActConn TCP 192.168.84.50:http rr -> 192.168.84.51:http Route 1 0 0 root@mandarin: ipvsadm -a -t 192.168.84.50:80 -r 192.168.84.52:80 -g -w 1 root@mandarin: ipvsadm -L IP Virtual Server version 1.2.1 (size=4096) Prot LocalAddress:Port Scheduler Flags -> RemoteAddress:Port Forward Weight ActiveConn InActConn TCP 192.168.84.50:http rr -> 192.168.84.51:http Route 1 0 0 root@mandarin: ipvsadm -a -t 192.168.84.50:80 -r 192.168.84.53:80 -g -w 1 root@mandarin: ipvsadm -L IP Virtual Server version 1.2.1 (size=4096) Prot LocalAddress:Port Scheduler Flags -> RemoteAddress:Port Forward Weight ActiveConn InActConn TCP 192.168.84.50:http rr -> 192.168.84.51:http Route 1 0 0 root@mandarin: cat /proc/net/ip_vs IP Virtual Server version 1.2.1 (size=4096) Prot LocalAddress:Port Scheduler Flags -> RemoteAddress:Port Forward Weight ActiveConn InActConn TCP C0A85432:0050 rr -> C0A85435:0050 Route 1 0 0 -> C0A85434:0050 Route 1 0 0 -> C0A85433:0050 Route 1 0 0 i hope this information helps best regards Ingo Rauschenberg -- System Information: Debian Release: 7.0 APT prefers testing APT policy: (500, 'testing'), (400, 'stable') Architecture: i386 (i686) Kernel: Linux 3.2.0-4-686-pae (SMP w/2 CPU cores) Locale: LANG=en_US.UTF-8, LC_CTYPE=en_US.UTF-8 (charmap=UTF-8) Shell: /bin/sh linked to /bin/dash Versions of packages ipvsadm depends on: ii debconf [debconf-2.0] 1.5.49 ii libc6 2.13-38 ii libnl1 1.1-7 ii libpopt0 1.16-7 ii lsb-base 4.1+Debian8 ipvsadm recommends no packages. Versions of packages ipvsadm suggests: pn heartbeat <none> pn keepalived <none> ii ldirectord 1:3.9.2-5+deb7u1 -- Configuration Files: /etc/default/ipvsadm changed: AUTO="true" DAEMON="both" IFACE="eth0" /etc/init.d/ipvsadm changed: . /lib/lsb/init-functions IPVSADM="/sbin/ipvsadm" IPVSADM_RULES="/etc/ipvsadm.rules" IPVSADM_CONFIG="/etc/default/ipvsadm" SYNCID="1" AUTO="false" DAEMON="none" # none|master|backup|both IFACE="eth0" FAILURE=0 start () { case $DAEMON in master|backup) log_daemon_msg "Starting IPVS Connection Synchronization Daemon" "$DAEMON" $IPVSADM --start-daemon $DAEMON --mcast-interface $IFACE --syncid $SYNCID || log_end_msg 1 log_end_msg 0 ;; both) log_daemon_msg "Starting IPVS Connection Synchronization Daemon" "master" $IPVSADM --start-daemon master --mcast-interface $IFACE --syncid $SYNCID || FAILURE=1 log_progress_msg "backup" $IPVSADM --start-daemon backup --mcast-interface $IFACE --syncid $SYNCID || FAILURE=1 if [ "$FAILURE" -eq 1 ] then log_end_msg 1 else log_end_msg 0 fi ;; *) log_action_msg "ipvsadm is not configured to run. Please edit /etc/default/ipvsadm" ;; esac } stop () { case $DAEMON in master|backup) log_daemon_msg "Stopping IPVS Connection Synchronization Daemon" "$DAEMON" $IPVSADM --stop-daemon $DAEMON || log_end_msg 1 log_end_msg 0 ;; both) log_daemon_msg "Stopping IPVS Connection Synchronization Daemon" "master" $IPVSADM --stop-daemon master || FAILURE=1 log_progress_msg "backup" $IPVSADM --stop-daemon backup || FAILURE=1 if [ "$FAILURE" -eq 1 ] then log_end_msg 1 else log_end_msg 0 fi ;; *) log_action_msg "ipvsadm is not configured to run. Please run dpkg-reconfigure ipvsadm" ;; esac } flush () { log_action_begin_msg "Clearing the current IPVS table" ipvsadm -C || log_action_end_msg 1 log_action_end_msg 0 } load () { log_action_begin_msg "Loading IPVS configuration" grep -v "^#" $IPVSADM_RULES | $IPVSADM -R || log_action_end_msg 1 log_action_end_msg 0 } save () { log_action_begin_msg "Saving IPVS configuration" echo "# ipvsadm.rules" > $IPVSADM_RULES $IPVSADM -S -n >> $IPVSADM_RULES log_action_end_msg 0 } if [ -f $IPVSADM_CONFIG ]; then . $IPVSADM_CONFIG fi if [ ! -x $IPVSADM ]; then exit 0 fi if [ ! -f $IPVSADM_RULES ]; then echo "# ipvsadm.rules" > $IPVSADM_RULES fi case "$1" in start) if [ "$AUTO" = "true" ]; then flush load fi start ;; stop) stop if [ "$AUTO" = "true" ]; then flush fi ;; restart) stop if [ "$AUTO" = "true" ]; then flush load fi start ;; reload|force-reload) if [ "$AUTO" = "true" ]; then flush load fi ;; status) ipvsadm -L -n ;; rate) ipvsadm -L --rate -n ;; load) flush load ;; save) save ;; *) echo "Usage: $0 {start|stop|restart|status|rate|load|save|reload|force-reload}" exit 1 ;; esac exit 0 -- debconf information: ipvsadm/kernel_does_not_support_ipvs: ipvsadm/daemon_multicast_interface: eth0 ipvsadm/auto_load_rules: true ipvsadm/daemon_method: both -- To UNSUBSCRIBE, email to debian-bugs-dist-requ...@lists.debian.org with a subject of "unsubscribe". Trouble? Contact listmas...@lists.debian.org