Discussion:
[Ultramonkey-users 32] How to make saru (for Active-Active LVS)
t***@nttdata.co.jp
2004-07-01 02:12:36 UTC
Permalink
$B$*@$OC$K$J$j$^$9!"C+1[$H?=$7$^$9!#(J

$B8=:_!"(JLVS$B$N(JAcitve-Active$B9=@.$NF0:n8!>Z$r9T$*$&$H$7$F$*$j$^$9!#(J
$B$^$:$O(JUltra Monkey$B$NF3F~(J($B:G>.9=@.(J)$B$^$G40N;$7$F$*$j$^$9!#(J
$B$=$N>e$G(JLVS$B$r(JActive-Active$B$N9=@.$r:***@.$7$F$$$k$H$3$m$J$N$G$9$,!"(J
$B$3$3$G9T$-5M$^$C$F$7$^$$$^$7$?!#(J

$B0J2<!"6qBNE*;v>]$G$9!#(J
$B"#4D6-(J
RedHatEnterpriseLinux AS 3.0
UltraMonkey2.01

$B"#L\I89=@.(J
LVS$B#2Bf$r(JActive-Active$B9=@.$GF0$+$7$?$$(J

$B"#8=>u(J(UltraMonkey$BF3F~(J)
http://ultramonkey.jp/2.0.1/installation-rh.el.3.0.ws.html$B$K$"$k<j=g$r(J
$B$9$Y$F<B;\:Q$_$G!"(JLVS$B0lBf>uBV$G$NIi2YJ,;65!G=$O40F0(J

$B"#(JLVS$B$r(J2$BBf$K$7$F(JActive-Active$B9=@.9=C[(J
$B2<5-%5%$%H$h$j(Jsaru-0.0.1.tar.gz$B$rF~<j!#(J
http://www.ultramonkey.org/download/active_active/
$B$3$N(JMake$B$G0z$C$+$+$C$F$7$^$$$^$9!#(J

$B!&(JMake$B<j=g(J
$B#1!%(Jsaru$B$N(JMake$B$KI,MW$J2<5-%Q%C%1!<%8$r%$%s%9%H!<%k(J
vanessa_logger
vanessa_adt
vanessa_socket
glib-devel
heartbeat(UltraMonkey$BF3F~;~(J)

$B#2!%(Jconfigure$B$r2<5-%*%W%7%g%s$G<B9T(J
# ./configure \
--with-ipt-includes=/usr/src/linux-2.4.21-9.0.1.EL.um.3/include/linux/netfil
ter_ipv4 \
--with-kernel-src=/usr/src/linux-2.4.21-9.0.1.EL.um.3
$B#3!%(Jmake$B$G%(%i!<(J($B$=$N#1(J)
gcc$B$N%a%C%;!<%8(J
$B!I(Jlibipt_saru.c:37:22: iptables.h: $B$=$N$h$&$J%U%!%$%k$d%G%#%l%/%H%j(J
$B$O$"$j$^$;$s!I(J

$B<B:]$K$O(Jiptables.h$B$G$O$J$/(Jip_tables.h$B$@$C$?$N$G(J
saru-0.0.1/iptables/extensions/libipt_saru.c$B$N(J
include$B%U%!%$%kL>$rJQ99(J

$B#4!%(Jmake$B$G%(%i!<(J($B$=$N#2(J)
($B#3!K$G$NBP=h8e$K(Jmake$B$9$k$H2<5-%(%i!<$,H/@8$9$k!#(J

old_pwd=`pwd` ; cd . && gcc -DHAVE_CONFIG_H -I. -I. -I../..
-I/usr/src/linux-2.4.21-9.0.1.EL.um.3/include/linux/netfilter_ipv4
-I/usr/src/linux-2.4.21-9.0.1.EL.um.3/include -I../../
-I../../iptables/kernel -g -O2 -fPIC \
-o $old_pwd/libipt_saru.o -c libipt_saru.c )
libipt_saru.c:37 $B$+$i(J include $B$5$l$?%U%!%$%kFb(J:
/usr/src/linux-2.4.21-9.0.1.EL.um.3/include/linux/netfilter_ipv4/ip_tables.h
:36:
`IFNAMSIZ' $B$,$3$3$G$ODj5A$5$l$F$$$^$;$s(J ($B4X?t$NCf$G$O$J$$(J)
/usr/src/linux-2.4.21-9.0.1.EL.um.3/include/linux/netfilter_ipv4/ip_tables.h
:36:
`IFNAMSIZ' $B$,$3$3$G$ODj5A$5$l$F$$$^$;$s(J ($B4X?t$NCf$G$O$J$$(J)
/usr/src/linux-2.4.21-9.0.1.EL.um.3/include/linux/netfilter_ipv4/ip_tables.h
:37:
`IFNAMSIZ' $B$,$3$3$G$ODj5A$5$l$F$$$^$;$s(J ($B4X?t$NCf$G$O$J$$(J)
/usr/src/linux-2.4.21-9.0.1.EL.um.3/include/linux/netfilter_ipv4/ip_tables.h
:37:
`IFNAMSIZ' $B$,$3$3$G$ODj5A$5$l$F$$$^$;$s(J ($B4X?t$NCf$G$O$J$$(J)
/usr/src/linux-2.4.21-9.0.1.EL.um.3/include/linux/netfilter_ipv4/ip_tables.h
:46:
$BA0$N%(%i!<$K$h$j:.Mp$7$F$$$^$9$N$G!"C&=P$7$^$9(J
make: *** [libipt_saru.o] $B%(%i!<(J 1

ip_tables.h$B$NCf$G(Jinclude$B$7$F$$$k(Jif.h$B$NCf$G(JIFNAMSIZ$B$ODj5A$5$l$F$$$^$9$,!"(J
(#IFDEF __KERNEL__)$B$G$N(Jinclude$B$J$N$G!"Ht$P$5$l$F$$$k2DG=@-$r5?$$$^$7$?!#(J
$B$J$N$G(JMakefile$BCf$G(JCFLAGS = -g -O2 -D __KERNEL__$B!!$H6/0z$KDj5A$7$F$d$k$H(J
$***@h$[$I$N%(%i!<$OH/@8$7$J$/$J$j$^$7$?$,!"B>$N%(%i!<$,B?H/$7$^$7$?!#(J
$B:,K\E*$K2?$+$,4V0c$C$F$$$k$H;W$$!"$=$N%(%i!<$O:\$;$F$$$^$;$s!#(J

$BF1MM$N8=>]$KAx6x$7$?!C(JRedHatEL-AS3.0$B$G$N(JMake$B$N<***@SEy!"(J
$B>pJs$r$*;}$A$NJ}$$$i$C$7$c$$$^$9$G$7$g$&$+!)(J

$B0J>e!"$h$m$7$/$*4j$$$$$?$7$^$9!#(J

_/_/_/_/_/_/_/_/_/_/_/_/_/_/_/_/_/_/_/_/_/
$B3t<02q<R#N#T#T%G!<%?(J
$B5;=Q3+H/K\It!!3+H/C4Ev(J
$B%*!<%W%s%7%9%F%`%"!<%-%F%/%A%c%0%k!<%W(J
$BC+1[(J $B7KB@(J / Keita TANIKOSHI
mailto:***@nttdata.co.jp
tel:03-3523-8122$B!!(Jfax:03-3523-8151
_/_/_/_/_/_/_/_/_/_/_/_/_/_/_/_/_/_/_/_/_/
KUROSAWA Takahiro
2004-07-01 04:27:02 UTC
Permalink
$B9u_7$G$9!%(B

On Thu, 1 Jul 2004 11:12:36 +0900
$B#2!%(Bconfigure$B$r2<5-%*%W%7%g%s$G<B9T(B
# ./configure \
--with-ipt-includes=/usr/src/linux-2.4.21-9.0.1.EL.um.3/include/linux/netfil
ter_ipv4 \
$B$3$3$N!$(B--with-ipt-includes $B$O%+!<%M%k%=!<%9$N(B iptables $B4XO"%X%C%@%U%!(B
$B%$%k$N>l=j$r;XDj$9$k$b$N$G$O$"$j$^$;$s!%(B--with-ipt-includes $B$G$O(B
iptables $B%3%^%s%I<~JU$N3+H/4D6-$N$?$a$N%X%C%@%U%!%$%k$N$"$k>l=j$r;XDj$9$k(B
$B$3$H$K$J$j$^$9!%(B

RedHat $B7O$N%Q%C%1!<%8$G$9$H!$(Biptables-devel $B%Q%C%1!<%8$r%$%s%9%H!<%k$9(B
$B$l$P!$I,MW$J%X%C%@%U%!%$%k$,F~$C$F$h$5$=$&$J46$8$J$N$G$9$,!$(BSource RPM
$B$N(B spec $B%U%!%$%k$r8+$F$bI,MW$J%U%!%$%k(B (iptables.h $B$J$I(B) $B$O%$%s%9%H!<(B
$B%k$5$l$J$5$=$&$K8+$($^$9!%(B

$B2sHr:v$H$7$F!$$"$^$jAGD>$J$d$j$+$?$G$O$J$$$G$9$,!$$^$:(B iptables-devel
$B%Q%C%1!<%8$rF~$l$F$+$i!$(Biptables-1.2.8 $B$N%=!<%9$r(B
http://www.netfilter.org/files/iptables-1.2.8.tar.bz2
$B$J$I$+$i<hF@$7$F$3$l$rE83+$7!$E83+$7$F$G$-$k%G%#%l%/%H%jFb$N(B include
$B%G%#%l%/%H%j$r(B
--with-ipt-includes=$BE83+$7$?%G%#%l%/%H%j(B/iptables-1.2.8/include
$B$N$h$&$K;XDj$9$k!$$H$$$&J}K!$,9M$($i$l$^$9!%(B
--with-kernel-src=/usr/src/linux-2.4.21-9.0.1.EL.um.3
$B#3!%(Bmake$B$G%(%i!<(B($B$=$N#1(B)
gcc$B$N%a%C%;!<%8(B
$B!I(Blibipt_saru.c:37:22: iptables.h: $B$=$N$h$&$J%U%!%$%k$d%G%#%l%/%H%j(B
$B$O$"$j$^$;$s!I(B
saru-0.0.1/iptables/extensions/libipt_saru.c$B$N(B
include$B%U%!%$%kL>$rJQ99(B
$BA0Ds$H$7$F$$$k%X%C%@%U%!%$%k$,0c$&$o$1$G$9$N$G!$$3$NJQ99$OI,MW$J$/(B
$B$J$j$^$9!%(B

----
VA Linux Systems $B%8%c%Q%s(B $B5;=QIt(B
$B9u_7(B $B?r9((B <***@valinux.co.jp>

Loading...