Bug#750549: ipvsadm: unable to load more than one rule
Whats is your architecture?, amd64? In amd64 work fine, but in i386 not work. My architecture is i386 and not work. Regards. Date: Wed, 4 Jun 2014 14:00:00 +0200 From: formo...@debian.org To: migu...@hotmail.es; 750...@bugs.debian.org Subject: Re: Bug#750549: ipvsadm: unable to load more than one rule On Wed, 04 Jun 2014, Miguel Angel Martin wrote: Package: ipvsadm Version: 1:1.26-1 Severity: important Dear Maintainer, I was working in a cluster with pacemker and corosync and lvs to do load balancing. The cluster has two nodes, and lvs needs two virtual servers (IPv4,IPv6) and four real servers (2 IPv4,2 IPv6). I tried inserting rules both using ldirectord and ipvsadm directly. They were unable to add more than one real server per AF. The expectation was that 2 real servers were included per AF. Please, see raw ipvsadm commands below: root@debian:~# ipvsadm -L -n IP Virtual Server version 1.2.1 (size=4096) Prot LocalAddress:Port Scheduler Flags - RemoteAddress:Port Forward Weight ActiveConn InActConn TCP 192.168.1.10:389 rr - 192.168.1.11:389Route 1 0 0 TCP [fc00:1::1]:389 rr - [fc00:1::2]:389 Route 1 0 0 root@debian:~# ipvsadm -A -t 192.168.1.10:389 -s rr Service already exists root@debian:~# ipvsadm --add-server --tcp-service 192.168.1.10:389 --real-server 192.168.1.11 Destination already exists root@smithers ~ # ipvsadm -A -t 192.168.1.10:389 -s rr root@smithers ~ # ipvsadm --add-server --tcp-service 192.168.1.10:389 --real-server 192.168.1.11 root@smithers ~ # ipvsadm --add-server --tcp-service 192.168.1.10:389 --real-server 192.168.1.12 root@smithers ~ # ipvsadm -Ln IP Virtual Server version 1.2.1 (size=4096) Prot LocalAddress:Port Scheduler Flags - RemoteAddress:Port Forward Weight ActiveConn InActConn TCP 192.168.1.10:389 rr - 192.168.1.11:389 Route 1 0 0 - 192.168.1.12:389 Route 1 0 0 root@scyllaneu ~ # ipvsadm -A -t [fc00:1::1]:389 -s rr root@scyllaneu ~ # ipvsadm --add-server --tcp-service [fc00:1::1]:389 --real-server [fc00:1::2]:389 root@scyllaneu ~ # ipvsadm --add-server --tcp-service [fc00:1::1]:389 --real-server [fc00:1::3]:389 root@scyllaneu ~ # ipvsadm --add-server --tcp-service [fc00:1::1]:389 --real-server [fc00:1::4]:389 root@scyllaneu ~ # ipvsadm -Ln IP Virtual Server version 1.2.1 (size=4096) Prot LocalAddress:Port Scheduler Flags - RemoteAddress:Port Forward Weight ActiveConn InActConn TCP 192.168.1.10:389 rr - 192.168.1.11:389 Route 1 0 0 - 192.168.1.12:389 Route 1 0 0 TCP [fc00:1::1]:389 rr - [fc00:1::2]:389 Route 1 0 0 - [fc00:1::3]:389 Route 1 0 0 - [fc00:1::4]:389 Route 1 0 0 hmm, this works well here. Alex
Bug#750549: ipvsadm: unable to load more than one rule
Package: ipvsadm Version: 1:1.26-1 Severity: important Dear Maintainer, I was working in a cluster with pacemker and corosync and lvs to do load balancing. The cluster has two nodes, and lvs needs two virtual servers (IPv4,IPv6) and four real servers (2 IPv4,2 IPv6). I tried inserting rules both using ldirectord and ipvsadm directly. They were unable to add more than one real server per AF. The expectation was that 2 real servers were included per AF. Please, see raw ipvsadm commands below: root@debian:~# ipvsadm -L -n IP Virtual Server version 1.2.1 (size=4096) Prot LocalAddress:Port Scheduler Flags - RemoteAddress:Port Forward Weight ActiveConn InActConn TCP 192.168.1.10:389 rr - 192.168.1.11:389Route 1 0 0 TCP [fc00:1::1]:389 rr - [fc00:1::2]:389 Route 1 0 0 root@debian:~# ipvsadm -A -t 192.168.1.10:389 -s rr Service already exists root@debian:~# ipvsadm --add-server --tcp-service 192.168.1.10:389 --real-server 192.168.1.11 Destination already exists root@debian:~# ipvsadm --add-server --tcp-service 192.168.1.10:389 --real-server 192.168.1.12 Destination already exists root@debian:~# ipvsadm -A -t [fc00:1::1]:389 -s rr Service already exists root@debian:~# ipvsadm --add-server --tcp-service [fc00:1::1]:389 --real-server [fc00:1::2]:80 Destination already exists root@debian:~# ipvsadm --add-server --tcp-service [fc00:1::1]:389 --real-server [fc00:1::3]:80 Destination already exists root@debian:~# ipvsadm -L -n IP Virtual Server version 1.2.1 (size=4096) Prot LocalAddress:Port Scheduler Flags - RemoteAddress:Port Forward Weight ActiveConn InActConn TCP 192.168.1.10:389 rr - 192.168.1.11:389Route 1 0 0 TCP [fc00:1::1]:389 rr - [fc00:1::2]:389 Route 1 0 0 -- System Information: Debian Release: 7.5 APT prefers stable-updates APT policy: (500, 'stable-updates'), (500, 'stable') Architecture: i386 (i686) Kernel: Linux 3.2.0-4-686-pae (SMP w/4 CPU cores) Locale: LANG=es_ES.UTF-8, LC_CTYPE=es_ES.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+deb7u1 ii libnl1 1.1-7 ii libpopt0 1.16-7 ii lsb-base 4.1+Debian8+deb7u1 ipvsadm recommends no packages. Versions of packages ipvsadm suggests: pn heartbeat none pn keepalived none ii ldirectord 1:3.9.2-5+deb7u2 -- Configuration Files: /etc/default/ipvsadm changed: AUTO=false DAEMON=none -- debconf information: ipvsadm/kernel_does_not_support_ipvs: ipvsadm/daemon_multicast_interface: eth0 ipvsadm/auto_load_rules: false ipvsadm/daemon_method: none -- To UNSUBSCRIBE, email to debian-bugs-dist-requ...@lists.debian.org with a subject of unsubscribe. Trouble? Contact listmas...@lists.debian.org
Bug#750549: ipvsadm: unable to load more than one rule
On Wed, 04 Jun 2014, Miguel Angel Martin wrote: Package: ipvsadm Version: 1:1.26-1 Severity: important Dear Maintainer, I was working in a cluster with pacemker and corosync and lvs to do load balancing. The cluster has two nodes, and lvs needs two virtual servers (IPv4,IPv6) and four real servers (2 IPv4,2 IPv6). I tried inserting rules both using ldirectord and ipvsadm directly. They were unable to add more than one real server per AF. The expectation was that 2 real servers were included per AF. Please, see raw ipvsadm commands below: root@debian:~# ipvsadm -L -n IP Virtual Server version 1.2.1 (size=4096) Prot LocalAddress:Port Scheduler Flags - RemoteAddress:Port Forward Weight ActiveConn InActConn TCP 192.168.1.10:389 rr - 192.168.1.11:389Route 1 0 0 TCP [fc00:1::1]:389 rr - [fc00:1::2]:389 Route 1 0 0 root@debian:~# ipvsadm -A -t 192.168.1.10:389 -s rr Service already exists root@debian:~# ipvsadm --add-server --tcp-service 192.168.1.10:389 --real-server 192.168.1.11 Destination already exists root@smithers ~ # ipvsadm -A -t 192.168.1.10:389 -s rr root@smithers ~ # ipvsadm --add-server --tcp-service 192.168.1.10:389 --real-server 192.168.1.11 root@smithers ~ # ipvsadm --add-server --tcp-service 192.168.1.10:389 --real-server 192.168.1.12 root@smithers ~ # ipvsadm -Ln IP Virtual Server version 1.2.1 (size=4096) Prot LocalAddress:Port Scheduler Flags - RemoteAddress:Port Forward Weight ActiveConn InActConn TCP 192.168.1.10:389 rr - 192.168.1.11:389 Route 1 0 0 - 192.168.1.12:389 Route 1 0 0 root@scyllaneu ~ # ipvsadm -A -t [fc00:1::1]:389 -s rr root@scyllaneu ~ # ipvsadm --add-server --tcp-service [fc00:1::1]:389 --real-server [fc00:1::2]:389 root@scyllaneu ~ # ipvsadm --add-server --tcp-service [fc00:1::1]:389 --real-server [fc00:1::3]:389 root@scyllaneu ~ # ipvsadm --add-server --tcp-service [fc00:1::1]:389 --real-server [fc00:1::4]:389 root@scyllaneu ~ # ipvsadm -Ln IP Virtual Server version 1.2.1 (size=4096) Prot LocalAddress:Port Scheduler Flags - RemoteAddress:Port Forward Weight ActiveConn InActConn TCP 192.168.1.10:389 rr - 192.168.1.11:389 Route 1 0 0 - 192.168.1.12:389 Route 1 0 0 TCP [fc00:1::1]:389 rr - [fc00:1::2]:389 Route 1 0 0 - [fc00:1::3]:389 Route 1 0 0 - [fc00:1::4]:389 Route 1 0 0 hmm, this works well here. Alex -- To UNSUBSCRIBE, email to debian-bugs-dist-requ...@lists.debian.org with a subject of unsubscribe. Trouble? Contact listmas...@lists.debian.org