From owner-freebsd-cluster@FreeBSD.ORG Tue Jul 14 08:37:08 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 A9C45106566C for ; Tue, 14 Jul 2009 08:37:08 +0000 (UTC) (envelope-from wenewboy@gmail.com) Received: from mail-fx0-f224.google.com (mail-fx0-f224.google.com [209.85.220.224]) by mx1.freebsd.org (Postfix) with ESMTP id 32B798FC0A for ; Tue, 14 Jul 2009 08:37:07 +0000 (UTC) (envelope-from wenewboy@gmail.com) Received: by fxm24 with SMTP id 24so2346949fxm.43 for ; Tue, 14 Jul 2009 01:37:07 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=gamma; h=domainkey-signature:mime-version:received:date:message-id:subject :from:to:content-type; bh=gkJZ5IY/XzbsIeQZcnQLpMD8xAEIgEkjp3NJSuUR1CQ=; b=eqe34xqMUYhbjvqYWP/rn9X6L5fet2gUIP/pKcU6Nb2lNOUUIDEoZhxCKd9p4aLWUg GmO20g7kPw6mFQ+w769BGUqkAWfcgXjdmcSc8/crxluuKyziIjCiTjWw7hYXPVjqfApt KdpJdqpsLtzMgwVUWlgC0jaCoHt57TsU5+GEw= DomainKey-Signature: a=rsa-sha1; c=nofws; d=gmail.com; s=gamma; h=mime-version:date:message-id:subject:from:to:content-type; b=GlVr1J60KyOgL/zMRgB6hM3S3hTmA9IQFyKpGO28S6HIM7GcNWmC/TyRQH6cRKDNvi s8O0NPAnwWgFnByQ6CfXVHrVH+gUv7HVFLIgumX18m/ljJuBtszLwEJ9nAd/1kw9sLTU WadKNsXo7SBIFqS4nj7bPPkwDvJz7aCh1ACDQ= MIME-Version: 1.0 Received: by 10.103.107.1 with SMTP id j1mr3165440mum.99.1247558809534; Tue, 14 Jul 2009 01:06:49 -0700 (PDT) Date: Tue, 14 Jul 2009 16:06:49 +0800 Message-ID: <4eaa09eb0907140106k7424e495j40f9359c3b1ecc44@mail.gmail.com> From: wenew zhang To: freebsd-cluster@freebsd.org Content-Type: text/plain; charset=GB2312 Content-Transfer-Encoding: quoted-printable X-Content-Filtered-By: Mailman/MimeDel 2.1.5 Subject: 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 08:37:08 -0000 i have three freebsd 7.0 server,every server have 10M 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 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 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 -mno-3dnow -mno-sse -mno-sse2 -mno-sse3 -ffreestanding -Wall -Wredundant-decls -Wnested-externs -Wstrict-prototypes -Wmissing-prototypes -Wpointer-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 'nf_sockopt_init= ' @/sys/socketvar.h:397: warning: previous declaration of 'nf_sockopt_init' was here what' wrong with it? any reply is very appreciated!