From owner-freebsd-cluster@FreeBSD.ORG Tue Jul 14 09:01:07 2009 Return-Path: Delivered-To: freebsd-cluster@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id 3AE36106566C for ; Tue, 14 Jul 2009 09:01:07 +0000 (UTC) (envelope-from lasse@freebsdcluster.org) Received: from freebsdcluster.org (freebsdcluster.dk [195.184.98.178]) by mx1.freebsd.org (Postfix) with ESMTP id F36988FC1D for ; Tue, 14 Jul 2009 09:01:06 +0000 (UTC) (envelope-from lasse@freebsdcluster.org) Received: from [192.168.0.212] (87-194-36-133.bethere.co.uk [87.194.36.133]) (using TLSv1 with cipher AES128-SHA (128/128 bits)) (No client certificate requested) (Authenticated sender: lasse@freebsdcluster.org) by freebsdcluster.org (Postfix) with ESMTPSA id B38612841D; Tue, 14 Jul 2009 08:41:31 +0000 (UTC) Message-Id: <0272734C-6F5B-4A7E-98F7-B955F5FCC8D7@freebsdcluster.org> From: Lasse Johnsen To: wenew zhang In-Reply-To: <4eaa09eb0907140106k7424e495j40f9359c3b1ecc44@mail.gmail.com> Content-Type: text/plain; charset=GB2312; format=flowed; delsp=yes Content-Transfer-Encoding: quoted-printable Mime-Version: 1.0 (Apple Message framework v935.3) Date: Tue, 14 Jul 2009 09:42:39 +0100 References: <4eaa09eb0907140106k7424e495j40f9359c3b1ecc44@mail.gmail.com> X-Mailer: Apple Mail (2.935.3) Cc: freebsd-cluster@freebsd.org Subject: Re: lvs on freebsd setup problem, X-BeenThere: freebsd-cluster@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: Clustering FreeBSD List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Tue, 14 Jul 2009 09:01:07 -0000 Hi, As far as I know, LVS support on FreeBSD has not been available since =20= FreeBSD 5.4. It's no longer maintained. /Lasse On 14 Jul 2009, at 09:06, wenew zhang wrote: > i have three freebsd 7.0 server,every server have 10M =20 > bandwidth,first i use > nginx proxy,all the data through the nginx proxy, > so,np is the bottleneck, > i don't need master-slave host redundancy,so don't need carp,that's =20= > right? > i try install ipvs as follow steps: > > 1install freebsd source ,base and sys, > 2.cd /usr/ports/net/ipvs make patch-system (i suppose that will =20 > patch the > kernel,right?) > 3.make depend > make > make install > reboot > > 4./usr/ports/net/ipvs make > =A3=BA=3D=3D=3D> Building for ipvs-0.4.0_2 > =3D=3D=3D> ipvs > Warning: Object directory not changed from original > /usr/ports/net/ipvs/work/ipvs-0.4.0_2/ipvs > cc -O2 -fno-strict-aliasing -pipe -D_KERNEL -DKLD_MODULE -std=3Dc99 > -nostdinc -I. -I@ -I@/contrib/altq -finline-limit=3D8000 --param > inline-unit-growth=3D100 --param large-function-growth=3D1000 = -fno-common > -mno-align-long-strings -mpreferred-stack-boundary=3D2 -mno-mmx -=20 > mno-3dnow > -mno-sse -mno-sse2 -mno-sse3 -ffreestanding -Wall -Wredundant-decls > -Wnested-externs -Wstrict-prototypes -Wmissing-prototypes -Wpointer-=20= > arith > -Winline -Wcast-qual -Wundef -Wno-pointer-sign -fformat-extensions -c > ip_vs_core.c > In file included from ip_vs.h:246, > from ip_vs_core.c:33: > @/sys/socketvar.h:391: error: field 'cv' has incomplete type > @/sys/socketvar.h:406: error: redefinition of 'struct nf_sockopt_ops' > @/sys/socketvar.h:422: error: field 'cv' has incomplete type > @/sys/socketvar.h:426: warning: redundant redeclaration of > 'nf_register_sockopt' > @/sys/socketvar.h:395: warning: previous declaration of > 'nf_register_sockopt' was here > @/sys/socketvar.h:427: warning: redundant redeclaration of > 'nf_unregister_sockopt' > @/sys/socketvar.h:396: warning: previous declaration of > 'nf_unregister_sockopt' was here > @/sys/socketvar.h:428: warning: redundant redeclaration of =20 > 'nf_sockopt_init' > @/sys/socketvar.h:397: warning: previous declaration of =20 > 'nf_sockopt_init' > was here > what' wrong with it? > > > any reply is very appreciated! > _______________________________________________ > freebsd-cluster@freebsd.org mailing list > http://lists.freebsd.org/mailman/listinfo/freebsd-cluster > To unsubscribe, send any mail to = "freebsd-cluster-unsubscribe@freebsd.org=20 > "