[Linux-ha-jp] フェールオーバ時の動作について

Zurück zum Archiv-Index

Junko IKEDA ikeda****@intel*****
2009年 1月 30日 (金) 15:30:40 JST


$BGk86MM(B

> $B5U$K%9%?%s%P%$5!$K(BIP$B%"%I%l%9$,$$$/$D$bA+0\$9$k$h$&$K$9$k$K$O%3%s%U%#%0$N(B
> cib.xml$B$N(BIPaddr
> $B$i$X$s$NJQ99$r9T$($P$$$$46$8$J$N$G$7$g$&$+!#(B

$BD>46E*$K$O(Brsc_colocation$B$rA4It$O$:$7$A$c$($P$$$$$N$G$O!)$H;W$$$^$9!#(B

> $B$^$?!"(BIPAddr RA$B$G4{$K(BIP$B%(%$%j%"%9$r;}$C$F$$$k;~$K$=$l0J>e%"%I%l%9$O<u$1<h(B
> $B$i$J$$$H$$$C$?$h$&$K(B
> $B$9$k$N$O%9%/%j%W%H$rJQ99$7$F$7$^$&$C$F$3$H$G$7$g$&$+!#(B

<primitive class="ocf" id="IPaddr_10_10_10_6" provider="heartbeat"
type="IPaddr">
$B$H$$$&$3$H$J$N$G(B
/usr/lib/ocf/resource.d/heartbeat
$B$N2<$N(B
IPaddr
$B$H$$$&%9%/%j%W%H$r;H$C$F$$$^$9$N$G!"JT=8$9$k$N$O$3$N%9%/%j%W%H$G$9!#(B

> $B8e!">e5-$N$H$*$j$G(B-INFINITY$B$K$7$F$$$k$N$O%5!<%P(B1$B9f5!$G$O(B2$B!$(B3$B9f5!$N$b$N$r(B
> $BF0$+$5$J$$$H$$$C$?46$8$K$7$?$+$C$?$+$i$G$9!#(B
$BE:IU$N(Bcib.xml$B$G$O$I$&$G$7$g$&$+!#(B
group_1 $B$r(Bcsmap02,csmap03$B$G5/F0$5$;$J$$(B
group_11 $B$r(Bcsmap01,csmap03$B$G5/F0$5$;$J$$(B
group_21 $B$r(Bcsmap01,csmap02$B$G5/F0$5$;$J$$(B
csmap04$B$G$O(BIP$B$,(B3$B8D$"$,$k$+$b$7$l$J$$(B
$B$H$$$&>r7o$K$7$F$_$^$7$?!#(B

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

$BCSED=_;R(B



> -----Original Message-----
> From: linux****@lists*****
> [mailto:linux****@lists*****] On Behalf Of $BGk86(B $B;J(B
$BO/(B
> Sent: Friday, January 30, 2009 2:34 PM
> To: linux****@lists*****
> Subject: Re: [Linux-ha-jp] $B%U%'!<%k%*!<%P;~$NF0:n$K$D$$$F(B
>
> To:$BCSEDMM(B
>
> $BGk86$G$9!#(B
>
> $B$4JV;v$"$j$,$H$&$4$6$$$^$9!#(B
> $B%m%0$O!"CSEDMM$N9M;!DL$j$N$h$&$J46$8$G$7$?!#(B
> $B$9$G$K(B4$B9f5!$K(BIP$B%"%I%l%9$,A+0\$7$F$$$k$N$K99$K(B2$B9f5!$,(B4$B9f5!$X%U%'!<%k%*!<(B
> $B%P$r9T$C$F$7$^$C$F(B
> $B$H$$$C$?46$8$G$9!#(B
>
> $B%9%/%j%W%H$G:n @ .$7$?$=$N$^$^$N(Bcib.xml$B$G$b(B
> 1$B9f5!$,>c32$K$J$C$F$$$k;~$K$b$&(B1$BBf$,>c32$K$J$k$H(B4$B9f5!$K(B
> IP$B%"%I%l%9$,A+0\$7$h$&$H$7$F7k6I;D$C$F$$$k(B2$BBf$bMn$A$k$_$?$$$G$9!#(B
>
> ($B;HMQ$7$?%9%/%j%W%H(B# /usr/lib/heartbeat/haresources2cib.py
> /etc/ha.d/haresources
>   $B"(:#2s$N$3$H$H4X78L5$$$N$G$9$,85!9E:IU$5$l$F$$$k>e5-%9%/%j%W%H$@$H(B
> name="nic"$B$N9T$H(Bname="cidr_netmask"
>   $B$N(Bvalue$B$NCM$,5U$K$J$C$F$7$^$$$^$9$N$G=$@5$,I,MW$G$9!#(B)
>
> $B5U$K%9%?%s%P%$5!$K(BIP$B%"%I%l%9$,$$$/$D$bA+0\$9$k$h$&$K$9$k$K$O%3%s%U%#%0$N(B
> cib.xml$B$N(BIPaddr
> $B$i$X$s$NJQ99$r9T$($P$$$$46$8$J$N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ap04$B!!(Bgroup_1 (10.10.10.6)$B$,5/F0(B
> >
> > $B$H$$$&>uBV$K$J$C$F$$$k$+$H;W$$$^$9$,(B
> > $B2>$K$3$3$G(Bcsmap02$B$,Dd;_$7$?$H$9$k$H(B
> >
> >
> >> $B-#;D$C$F$$$k(B2$BBf$N$&$A$N(B1$BBf$N%"%/%F%#%V5!$K>c32$,H/@8(B
> >>
> > csmap01	$BDd;_(B
> > csmap02$B!!Dd;_(B
> > csmap03$B!!(Bgroup_21(10.10.10.8)$B$,5/F0(B
> > csmap04$B!!(Bgroup_1 (10.10.10.6)$B$,5/F0!!(B+ group_11(10.10.10.7)$B$,5/F0(B
> >
> > csmap04$B$G(Bgroup_11(10.10.10.7)$B$b5/F0$7$h$&$H$7$F$$$k$N$G$O$J$$$G$7$g$&(B
$B$+!#(B
> > rsc_colocation$B$O!"(Bgroup_1$B$,5/F0$7$F$$$k%N!<%I$G$O(Bgroup_11$B$O(B
> > $B5/F0$5$;$?$/$J$$$H$$$&$3$H$G!"(B-INFINITY$B$J$N$G$7$g$&$+!)(B
> > $B$3$N @ _Dj$G$O!"(Bcsmap04$B$G(Bgroup_1$B!J(Bcsmap01$B$+$i(BF/O$B$5$l$?!K$,(B
> > $B5/F0$7$F$$$k$H$3$m$X(Bgroup_11$B!J(Bcsmap02$B$,(BF/O$B$7$h$&$H$7$?!K$b(B
> > $B5/F0$7$h$&$H$7$F$$$k$N$G(B
> > <rsc_colocation id="not_server1_1" from="group_1" to="group_11"
> > score="-INFINITY"/>
> > $B$G(Bcsmap04$B$N(Bgroup_1$B$bDd;_!)(B
> > $B$5$i$K!";D$C$F$$$k(Bcsmap03$B$X(Bgroup_11$B$,$b$&0lEY(BF/O$B$r;n$_$F(B
> > <rsc_colocation id="not_server3_2" from="group_21" to="group_11"
> > score="-INFINITY"/>
> > $B$GDd;_!)(B
> > $B$H$$$&46$8$G7k6IA4It$N(BIP$B$,Dd;_$7$F$7$^$&$N$G$O$J$$$G$7$g$&$+!#(B
> > $B%m%0$r8+$J$$$H$h$/$o$+$j$^$;$s$,!#(B
> >
> > $B0l$D$N%N!<%I$K(BIP$B$,0l$D$7$+5/F0$G$-$J$$(B
> > $B$H$$$&>r7o$r(Brsc_colocation$B$G$D$/$k$N$OFq$7$$$h$&$J5$$,$7$^$9!#(B
> > 3$B%"%/%F%#%V(B + 1$B%9%?%s%P%$$N9=@.$G$O(B
> > $B%9%?%s%P%$$K(B3$B$D$N(BIP$B$,=8$^$C$F$7$^$&2DG=@-$,$"$j$^$9$N$G(B
> > $B$I$&$7$F$b!"J#?t(BIP$B$r5/F0$5$;$?$/$J$$$H$$$&>l9g$O(B
> > IPaddr RA$B$r:n$jD>$7$F!"(B2$B8DL\$N(BIP$B$O5/F0$5$;$J$$$h$&$K$9$k$H$+!#!#!#(B
> >
> > $B0J>e$h$m$7$/$*4j$$$$$?$7$^$9!#(B
> >
> > $BCSED=_;R(B
> >
> >
> >
> >
> >> -----Original Message-----
> >> From: linux****@lists*****
> >> [mailto:linux****@lists*****] On Behalf Of $BGk86(B
$B;J(B
> >>
> > $BO/(B
> >
> >> Sent: Wednesday, January 28, 2009 7:17 PM
> >> To: linux****@lists*****
> >> Subject: [Linux-ha-jp] $B%U%'!<%k%*!<%P;~$NF0:n$K$D$$$F(B
> >>
> >> $B$O$8$a$^$7$F!"Gk86$H?=$7$^$9!#(B
> >>
> >> Heartbeat2$B$G%"%/%F%#%V$,(B3$B!"%9%?%s%P%$$,(B1$B$N9=@.$r @ _Dj$7$F$$$^$9!#(B
> >> $B$3$N$H$-$NF0:n$H$7$F @ 5$7$$$N$+$I$&$+$,$o$+$i$J$$$N$H8eJ}K!$,$"$k$N$G$"(B
> $B$l$P(B
> >> $B$465<x$$$?$@$-$?$$$G$9!#(B
> >>
> >> $B$d$j$?$$$3$H$O!"DL>o;~%"%/%F%#%VB&$N(B3$B%5!<%P$,$=$l$>$l(BVIP$B$r;}$C$F$$$F>c(B
> $B32(B
> >> $B;~$O(B
> >> $B%9%?%s%P%$5!$,>c32$,H/@8$7$?%"%/%F%#%V5!$N(BVIP$B$r0z$-7Q$0C1=c$J$b$N$J$N(B
> $B$G$9(B
> >> $B$,(B
> >> $BF0$-$, @ 5$7$$$b$N$J$N$+!"$^$?@_Dj2DG=$+$I$&$+$,$o$+$j$^$;$s!#(B
> >>
> >> $B-!DL>o;~(B $B%"%/%F%#%V$J(B3$BBf$,(BVIP$B$rJ];}(B
> >>
> >> $B-"%"%/%F%#%V$@$C$?%5!<%P$,(B1$BBf>c32H/@8!"%9%?%s%P%$5!$,(BVIP$B$r0z$-7Q$.(B
> >>
> >> $B-#;D$C$F$$$k(B2$BBf$N$&$A$N(B1$BBf$N%"%/%F%#%V5!$K>c32$,H/@8(B
> >>
> >> $B-$;D$C$F$$$k%"%/%F%#%V5!!"%9%?%s%P%$5!$,J];}$7$F$$$k(BVIP$B$,>CLG(B
> >>
> >> $B$H$J$j!"-#$N>l9g$O-$$N>uBV$K$J$i$:$K$=$N$^$^(B2$BBf$G(BVIP$B$rJ];}$7B3$1$F$[$7(B
> $B$$(B
> >> $B$N(B
> >> $B$G$9!#(B
> >> $B$G$b!"@_Dj$r$$$m$$$mJQ$($F$_$?$N$G$9$,(B($B$"$C$F$$$k$+$I$&$+$,$O$C$-$jJ,$+(B
> >> $B$j$^$;$s$,!#(B)
> >> $B$I$&$d$C$F$b$@$a$G$7$?$N$G!"L5M}$J$N$+ @ _Dj$,0-$$$N$+65$($F2<$5$$!#(B
> >> $B:#$N(Bcib.xml$B$rAwIU$$$?$7$^$9!#(B
> >>
> >> $B0J>e!"$h$m$7$/$*4j$$$$$?$7$^$9!#(B
> >>
> >
> >
> > ------------------------------------------------------------------------
> >
> > _______________________________________________
> > Linux-ha-japan mailing list
> > Linux****@lists*****
> > http://lists.sourceforge.jp/mailman/listinfo/linux-ha-japan
> >

-------------- next part --------------
$B%F%-%9%H7A<00J30$NE:IU%U%!%$%k$rJ]4I$7$^$7$?(B...
$B%U%!%$%kL>(B: cib-sample.xml
$B7?(B:         text/xml
$B%5%$%:(B:     8757 $B%P%$%H(B
$B @ bL@(B:       $BL5$7(B
Download 



Linux-ha-japan メーリングリストの案内
Zurück zum Archiv-Index