Skip site navigation (1)Skip section navigation (2)
Date:      Tue, 14 Jul 2009 16:06:49 +0800
From:      wenew zhang <wenewboy@gmail.com>
To:        freebsd-cluster@freebsd.org
Subject:   lvs on freebsd setup problem,
Message-ID:  <4eaa09eb0907140106k7424e495j40f9359c3b1ecc44@mail.gmail.com>

next in thread | raw e-mail | index | archive | help
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!



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?4eaa09eb0907140106k7424e495j40f9359c3b1ecc44>