Mailing List Archive

cib.xml$B!!$G(Bfailback off $B$r<B8=$7$?$$(B
$B=i$a$FEj9F$7$^$9!#(B
$B=iJbE*$J<ALd$G?=$7LuM-$j$^$;$s$,!"(Bcib.xml $B$r;HMQ$7(B2$BBf$G#V#I#P(B2$B<oN`$N!!(B
2active-2standby$B!!9=@.$r<B8=$7$F$$$^$9$,!"(B
$B$3$N;~!"(Bauto_failback$B!!(Boff$B!!$r<B8=$7$?$$$N$G$9$,2?=h$K$I$NMM$KDj5A$9$l$P(B
$B$h$$$+J,$+$j$^$;$s!#(B
$B8=:_$O<+F05/F0@_Dj$r@Z$C$FJ]<i$GBP1~$7$F$$$^$9!#(B

ha.cf$B!!$K!!(Bcrm on$B!!$GDj5A$7$F$$$k;~$OL5;k$5$l$F$7$^$&$h$&$G$9!"(Bfailback
$B$N@_Dj$O(Bcib.xml$B$N(B
default_resource_stickiness$B!!$KB0$9$k$H$$$&$H$3$m$^$G$OD4$Y$i$l$?$N$G$9(B
$B$,!"$=$N@h$,<j5M$^$j$K$J$C$F$7$^$$$^$7$?!#(B
$B$b$7J,$+$k$h$&$G$7$?$i65$($F$$$?$@$1$k$HM-$j$,$?$$$G$9!#(B

_______________________________________________
Linux-ha-japan mailing list
Linux-ha-japan@lists.sourceforge.jp
http://lists.sourceforge.jp/mailman/listinfo/linux-ha-japan
Re: cib.xml$B!!$G(Bfailback off $B$r<B8=$7$?$$(B [ In reply to ]
$B?9$H?=$7$^$9!#$O$8$a$^$7$F!#(B

Yuki Sekine <sekine.yuki@simplex-tech.co.jp> writes:
> $B=i$a$FEj9F$7$^$9!#(B
> $B=iJbE*$J<ALd$G?=$7LuM-$j$^$;$s$,!"(Bcib.xml $B$r;HMQ$7(B2$BBf$G#V#I#P(B2$B<oN`$N!!(B
> 2active-2standby$B!!9=@.$r<B8=$7$F$$$^$9$,!"(B
> $B$3$N;~!"(Bauto_failback$B!!(Boff$B!!$r<B8=$7$?$$$N$G$9$,2?=h$K$I$NMM$KDj5A$9$l$P(B
> $B$h$$$+J,$+$j$^$;$s!#(B
> $B8=:_$O<+F05/F0@_Dj$r@Z$C$FJ]<i$GBP1~$7$F$$$^$9!#(B
>
> ha.cf$B!!$K!!(Bcrm on$B!!$GDj5A$7$F$$$k;~$OL5;k$5$l$F$7$^$&$h$&$G$9!"(Bfailback
> $B$N@_Dj$O(Bcib.xml$B$N(B
> default_resource_stickiness$B!!$KB0$9$k$H$$$&$H$3$m$^$G$OD4$Y$i$l$?$N$G$9(B
> $B$,!"$=$N@h$,<j5M$^$j$K$J$C$F$7$^$$$^$7$?!#(B
> $B$b$7J,$+$k$h$&$G$7$?$i65$($F$$$?$@$1$k$HM-$j$,$?$$$G$9!#(B

<crm_config>$BCf$N0J2<$N@_Dj$G$$$1$k$H;W$$$^$9!#(B

<nvpair id="default-resource-stickiness" name="default-resource-stickiness" value="INFINITY"/>


--
Keisuke MORI

_______________________________________________
Linux-ha-japan mailing list
Linux-ha-japan@lists.sourceforge.jp
http://lists.sourceforge.jp/mailman/listinfo/linux-ha-japan
Re: cib.xml$B!!$G(Bfailback off $B$r<B8=$7$?$$(B [ In reply to ]
$B?9$5$s(B
$BAa4|2rEz$"$j$,$H$&$4$6$$$^$9!#(B
$B;n$7$F$_$^$9!#(B
> $B?9$H?=$7$^$9!#$O$8$a$^$7$F!#(B
>
> Yuki Sekine <sekine.yuki@simplex-tech.co.jp> writes:
>
>> $B=i$a$FEj9F$7$^$9!#(B
>> $B=iJbE*$J<ALd$G?=$7LuM-$j$^$;$s$,!"(Bcib.xml $B$r;HMQ$7(B2$BBf$G#V#I#P(B2$B<oN`$N!!(B
>> 2active-2standby$B!!9=@.$r<B8=$7$F$$$^$9$,!"(B
>> $B$3$N;~!"(Bauto_failback$B!!(Boff$B!!$r<B8=$7$?$$$N$G$9$,2?=h$K$I$NMM$KDj5A$9$l$P(B
>> $B$h$$$+J,$+$j$^$;$s!#(B
>> $B8=:_$O<+F05/F0@_Dj$r@Z$C$FJ]<i$GBP1~$7$F$$$^$9!#(B
>>
>> ha.cf$B!!$K!!(Bcrm on$B!!$GDj5A$7$F$$$k;~$OL5;k$5$l$F$7$^$&$h$&$G$9!"(Bfailback
>> $B$N@_Dj$O(Bcib.xml$B$N(B
>> default_resource_stickiness$B!!$KB0$9$k$H$$$&$H$3$m$^$G$OD4$Y$i$l$?$N$G$9(B
>> $B$,!"$=$N@h$,<j5M$^$j$K$J$C$F$7$^$$$^$7$?!#(B
>> $B$b$7J,$+$k$h$&$G$7$?$i65$($F$$$?$@$1$k$HM-$j$,$?$$$G$9!#(B
>>
>
> <crm_config>$BCf$N0J2<$N@_Dj$G$$$1$k$H;W$$$^$9!#(B
>
> <nvpair id="default-resource-stickiness" name="default-resource-stickiness" value="INFINITY"/>
>
>
>

_______________________________________________
Linux-ha-japan mailing list
Linux-ha-japan@lists.sourceforge.jp
http://lists.sourceforge.jp/mailman/listinfo/linux-ha-japan
Re: cib.xml$B!!$G(Bfailback off $B$r<B8=$7$?$$(B [ In reply to ]
$B2<5-$r@_Dj$7$F;n$7$F$_$^$7$?$,$d$O$j<B8=$G$-$^$;$s$G$7$?!#(B

> <crm_config>$BCf$N0J2<$N@_Dj$G$$$1$k$H;W$$$^$9!#(B
>
> <nvpair id="default-resource-stickiness" name="default-resource-stickiness" value="INFINITY"/>
>

$B$h$/$h$/8+$F$$$k$H5/F0;~$K<+F0E*$KFI$_9~$`(B<cib>$B%?%0$J$$$N(Bdc_uuid$B$GFI$_9~(B
$B$s$G$$$k(BVIP$B$OA[Dj$I$*$j$NF0:n$r$7$^$9$,!"$b$&JRJ}$OLa$C$F$-$F$7$^$$$^$9!#(B

$B2?$+NI$$J}K!$OL5$$$b$N$G$7$g$&$+!)(B
$B$=$l$H$b$3$l$O%$%s%9%H!<%k>u67$,0-$$$N$G$7$g$&$+!)(B

_______________________________________________
Linux-ha-japan mailing list
Linux-ha-japan@lists.sourceforge.jp
http://lists.sourceforge.jp/mailman/listinfo/linux-ha-japan
Re: cib.xml$B!!$G(Bfailback off $B$r<B8=$7$?$$(B [ In reply to ]
$B$O$8$a$^$7$F!"CSED$G$9!#(B

$B?9$5$s$O!"$J$,!<$$2q5D$N??$C:GCf$G$7$F(B
$B$+$l$3$lLa$C$F$$$i$C$7$c$k5$G[.$,$J$$$N$G(B
$B$+$o$j$K!#!#!#(B

VIP$BAj8_BT5!7O$N4JC1$J(Bcib.xml$B$rE:IU$7$^$9!#!J(Bsample.xml$B!K(B
$B$3$N(Bcib.xml$B$G0J2<$NA`:n$r<B9T$7$^$7$?!#(B

(1) Heartbeat$B$r5/F0(B
(2) $BN>7O$G(BVIP$B$,5/F0(B
(3) $BJ}7O$r%9%?%s%P%$2=(B
# crm_standby -v on -U <$B%N!<%IL>(B>
$B!!(B* $B$3$3$G!"(BVIP$B$,%U%'%$%k%*!<%P$7$^$9(B

(4) $B%9%?%s%P%$2=$7$?%N!<%I$r85$KLa$9(B
# crm_standby -v off -U <$B%N!<%IL>(B>
$B!!(B* failback off$B$J$N$G!"(BVIP$B$OLa$C$F$-$^$;$s(B

$BA[Dj$5$l$F$$$kA`:n$HF1$8$G$7$g$&$+!)(B
$B<j85$G$O$&$^$/$$$C$F$$$k$C$]$$$G$9!#(B

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

$BCSED=_;R(B



> -----Original Message-----
> From: linux-ha-japan-bounces@lists.sourceforge.jp
> [mailto:linux-ha-japan-bounces@lists.sourceforge.jp] On Behalf Of Yuki
> Sekine
> Sent: Wednesday, December 12, 2007 3:34 PM
> To: linux-ha-japan@lists.sourceforge.jp
> Subject: Re: [Linux-ha-jp] cib.xml$B!!$G(Bfailback off $B$r<B8=$7$?$$(B
>
> $B2<5-$r@_Dj$7$F;n$7$F$_$^$7$?$,$d$O$j<B8=$G$-$^$;$s$G$7$?!#(B
>
> > <crm_config>$BCf$N0J2<$N@_Dj$G$$$1$k$H;W$$$^$9!#(B
> >
> > <nvpair id="default-resource-stickiness"
> name="default-resource-stickiness" value="INFINITY"/>
> >
>
> $B$h$/$h$/8+$F$$$k$H5/F0;~$K<+F0E*$KFI$_9~$`(B<cib>$B%?%0$J$$$N(Bdc_uuid$B$GFI$_9~(B
> $B$s$G$$$k(BVIP$B$OA[Dj$I$*$j$NF0:n$r$7$^$9$,!"$b$&JRJ}$OLa$C$F$-$F$7$^$$$^$9!#(B
>
> $B2?$+NI$$J}K!$OL5$$$b$N$G$7$g$&$+!)(B
> $B$=$l$H$b$3$l$O%$%s%9%H!<%k>u67$,0-$$$N$G$7$g$&$+!)(B
>
> _______________________________________________
> Linux-ha-japan mailing list
> Linux-ha-japan@lists.sourceforge.jp
> http://lists.sourceforge.jp/mailman/listinfo/linux-ha-japan
Re: cib.xml$B!!$G(Bfailback off $B$r<B8=$7$?$$(B [ In reply to ]
$B?9$G$9!#(B

Yuki Sekine <sekine.yuki@simplex-tech.co.jp> writes:

> $B2<5-$r@_Dj$7$F;n$7$F$_$^$7$?$,$d$O$j<B8=$G$-$^$;$s$G$7$?!#(B
>
>> <crm_config>$BCf$N0J2<$N@_Dj$G$$$1$k$H;W$$$^$9!#(B
>>
>> <nvpair id="default-resource-stickiness" name="default-resource-stickiness" value="INFINITY"/>
>>
>
> $B$h$/$h$/8+$F$$$k$H5/F0;~$K<+F0E*$KFI$_9~$`(B<cib>$B%?%0$J$$$N(Bdc_uuid$B$GFI$_9~(B
> $B$s$G$$$k(BVIP$B$OA[Dj$I$*$j$NF0:n$r$7$^$9$,!"$b$&JRJ}$OLa$C$F$-$F$7$^$$$^$9!#(B
>
> $B2?$+NI$$J}K!$OL5$$$b$N$G$7$g$&$+!)(B
> $B$=$l$H$b$3$l$O%$%s%9%H!<%k>u67$,0-$$$N$G$7$g$&$+!)(B

$BCSED$5$s$+$i$b%U%)%m!<$7$F$b$i$C$F$^$9$,!"(B
$B$3$l$GF0$/$H;W$&$s$G$9$h$M!D!#(B

$B:9$7;Y$($J$$HO0O$G(B cib.xml $B$H$+%m%0$r8+$;$F$b$i$($l$P(B
$B2?$+%"%I%P%$%9$G$-$k$+$bCN$l$^$;$s!#(B


--
Keisuke MORI
NTT DATA Intellilink Corporation

_______________________________________________
Linux-ha-japan mailing list
Linux-ha-japan@lists.sourceforge.jp
http://lists.sourceforge.jp/mailman/listinfo/linux-ha-japan
Re: cib.xml$B!!$G(Bfailback off $B$r<B8=$7$?$$(B [ In reply to ]
$B4X:,$G$9!#(B
$B%5%s%W%k$"$j$,$H$&$4$6$$$^$7$?!#(B

$B%5%s%W%k$r=$@5$7$F;HMQ$7$?$3$m>e<j$/9T$-$^$7$?!#(B
$B$"$j$,$H$&$4$6$$$^$9!#(B
$B860x$OL@F|D4::$7$^$9!#J,$+$j$^$7$?$iJs9p$$$?$7$^$9!#(B

$BK\Ev$K$"$j$,$H$&$4$6$$$^$7$?!#(B
> $B?9$G$9!#(B
>
> Yuki Sekine <sekine.yuki@simplex-tech.co.jp> writes:
>
>
>> $B2<5-$r@_Dj$7$F;n$7$F$_$^$7$?$,$d$O$j<B8=$G$-$^$;$s$G$7$?!#(B
>>
>>
>>> <crm_config>$BCf$N0J2<$N@_Dj$G$$$1$k$H;W$$$^$9!#(B
>>>
>>> <nvpair id="default-resource-stickiness" name="default-resource-stickiness" value="INFINITY"/>
>>>
>>>
>> $B$h$/$h$/8+$F$$$k$H5/F0;~$K<+F0E*$KFI$_9~$`(B<cib>$B%?%0$J$$$N(Bdc_uuid$B$GFI$_9~(B
>> $B$s$G$$$k(BVIP$B$OA[Dj$I$*$j$NF0:n$r$7$^$9$,!"$b$&JRJ}$OLa$C$F$-$F$7$^$$$^$9!#(B
>>
>> $B2?$+NI$$J}K!$OL5$$$b$N$G$7$g$&$+!)(B
>> $B$=$l$H$b$3$l$O%$%s%9%H!<%k>u67$,0-$$$N$G$7$g$&$+!)(B
>>
>
> $BCSED$5$s$+$i$b%U%)%m!<$7$F$b$i$C$F$^$9$,!"(B
> $B$3$l$GF0$/$H;W$&$s$G$9$h$M!D!#(B
>
> $B:9$7;Y$($J$$HO0O$G(B cib.xml $B$H$+%m%0$r8+$;$F$b$i$($l$P(B
> $B2?$+%"%I%P%$%9$G$-$k$+$bCN$l$^$;$s!#(B
>
>
>

_______________________________________________
Linux-ha-japan mailing list
Linux-ha-japan@lists.sourceforge.jp
http://lists.sourceforge.jp/mailman/listinfo/linux-ha-japan
Re: cib.xml$B!!$G(Bfailback off $B$r<B8=$7$?$$(B [ In reply to ]
$B4X:,$G$9!#(B

$B@hF|$OAa4|$K2rEz$$$?$@$-$"$j$,$H$&$4$6$$$^$7$?!#(B

$B@hF|$N@_Dj$K(B/etc/init.d$B!!0J2<$KG[CV$7$?%9%/%j%W%H$r%-%C%/$9$kMM$J@_Dj$r(B
$BDI2C$9$k$K$O$I$&$7$?$iNI$$$G$7$g$&$+!#(B

$B<B8=$7$?$$$3$H$O(BVIP$B$,%U%'%$%k$9$k:]$K5/F0$7$F$[$7$$%W%m%;%9$r5/F0$7$?$$(B
$B$H$$$C$?$b$N$G$9!#(B
<primitive class>$B$N$J$+$G<B8=$7$F$"$k<+>N$r(Bnet$B$G8+$D$1$?$N$G$9$,!"$I$&$b(B
$B%0%k!<%WJ,$1$N;EJ}$d!"5/F0$7$?$$%W%m%;%9$N5/F0F0:n$,M}2r$G$-$^$;$s!#(B
$B?=$7LuM-$j$^$;$s$,J,$+$l$P65$($F$$$?$@$1$k$H$"$j$,$?$$$G$9!#(B

$B:#8=:_$O2<5-$NMM$K$7$F$_$^$7$?$,!&!&!&5/F0$7$F$/$l$^$;$s!#(B

<primitive id="ip_sample01" class="ocf" type="IPaddr" provider="heartbeat">
<operations>
<op id="monitor01" name="monitor" interval="10s" timeout="5s"
on_fail="restart"/>
</operations>
<instance_attributes id="ip_sample1:attr">
<attributes>
<nvpair id="ip01" name="ip" value="192.168.30.8"/>
<nvpair id="mask01" name="netmask" value="24"/>
<nvpair id="nic01" name="nic" value="bond0"/>
</attributes>
</instance_attributes>
</primitive>
<primitive class="lsb" id="cmsgrouter" type="cmsgrouter">
<operations>
<op id="op_start_cmsgrouter" name="start" prereq="nothing" timeout="600s"/>
</operations>
</primitive>


$B59$7$/$*4j$$$7$^$9!#(B

_______________________________________________
Linux-ha-japan mailing list
Linux-ha-japan@lists.sourceforge.jp
http://lists.sourceforge.jp/mailman/listinfo/linux-ha-japan
Re: cib.xml$B!!$G(Bfailback off $B$r<B8=$7$?$$(B [ In reply to ]
$B4X:,$5$s(B

$BC]Cf$H$$$$$^$9!#$h$m$7$/$*4j$$$$$?$7$^$9!#(B

> $B:#8=:_$O2<5-$NMM$K$7$F$_$^$7$?$,!&!&!&5/F0$7$F$/$l$^$;$s!#(B

$B5/F0$7$J$$$H$$$&$N$O(B

1. $B$=$b$=$b(B IPaddr $B$b(B cmsgrouter $B$b5/F0$7$J$$(B
2. $B$I$A$i$+$N$_$,5/F0$7$J$$(B

$B$N$I$C$A$G$7$g$&!)(B

$B$3$l$O(B Heartbeat $B$N5/F0A0$K$"$i$+$8$aC<Kv$r3+$-(B crm_mon -i 1 $B$r(B
$B<B9T$7$F$*$1$P3NG'$G$-$^$9!#(B

$B$"$HG0$N$?$a$*J9$-$7$^$9$,(B /etc/init.d/cmsgrouter $B$H$$$&(B RC $B$O(B
$B%$%s%9%H!<%k$5$l$F$$$k$N$G$9$h$M!)(B

cmsgrouter $B$,$I$N$h$&$J$b$N$+$O$o$+$i$J$$$N$G$9$,!"$3$N(B RC $B$,(B
$B2>A[.(BIP$B%"%I%l%9(B 192.168.30.8 $B$,F10l%5!<%P>e$K?6$i$l$F$$$J$$$H(B
$B5/F0$G$-$J$$$h$&$K@_Dj$5$l$F$$$k>l9g!"4X:,$5$s$,Ds<($5$l$?(B
$B0J2<$N(B cib.xml $B$N@_Dj$G$O(B cmsgrouter $B$O5/F0$7$J$$2DG=@-$,$"$j$^$9!#(B

<primitive id="ip_sample01" class="ocf" type="IPaddr" provider="heartbeat">
<operations>
<op id="monitor01" name="monitor" interval="10s" timeout="5s" on_fail="restart"/>
</operations>
<instance_attributes id="ip_sample1:attr">
<attributes>
<nvpair id="ip01" name="ip" value="192.168.30.8"/>
<nvpair id="mask01" name="netmask" value="24"/>
<nvpair id="nic01" name="nic" value="bond0"/>
</attributes>
</instance_attributes>
</primitive>
<primitive class="lsb" id="cmsgrouter" type="cmsgrouter">
<operations>
<op id="op_start_cmsgrouter" name="start" prereq="nothing" timeout="600s"/>
</operations>
</primitive>

$B2?8N$J$i$P$J$s$N@)Ls$b;HMQ$;$:$K%W%j%_%F%#%V%j%=!<%9$rJ#?tDj5A$7$?>l9g!"(B
Heartbeat $B$O%N!<%IEv$?$j$N%j%=!<%9?t$,6QEy$K$J$k$h$&$K%j%=!<%9$rG[.CV(B
$B$7$h$&$H$9$k$+$i$G$9!#(B

$B$3$N>l9g$@$H(B IPaddr $B$H(B cmsgrouter $B$OJL%N!<%I$G5/F0$5$l$^$9!#(B

$BF1$8%N!<%I$G$3$l$i$N%j%=!<%9$r5/F0$9$k$?$a$K$O<!$N$h$&$K(B group $BMWAG$r(B
$BMQ$$$F%0%k!<%W2=$7$^$9!#(B

<group id="group0">
<primitive ... type="IPaddr" ...>
...
</primitive>
<primitive ... type="cmsgrouter" ...>
...
</primitive>
</group>

$BDj5A$5$l$?=g$K5/F0$5$l$k$3$H$K$bCm0U$7$F$/$@$5$$!#(B

$B$G$O$G$O!#(B

> $B4X:,$G$9!#(B
>
> $B@hF|$OAa4|$K2rEz$$$?$@$-$"$j$,$H$&$4$6$$$^$7$?!#(B
>
> $B@hF|$N@_Dj$K(B/etc/init.d$B!!0J2<$KG[CV$7$?%9%/%j%W%H$r%-%C%/$9$kMM$J@_Dj$r(B
> $BDI2C$9$k$K$O$I$&$7$?$iNI$$$G$7$g$&$+!#(B
>
> $B<B8=$7$?$$$3$H$O(BVIP$B$,%U%'%$%k$9$k:]$K5/F0$7$F$[.$7$$%W%m%;%9$r5/F0$7$?$$(B
> $B$H$$$C$?$b$N$G$9!#(B
> <primitive class>$B$N$J$+$G<B8=$7$F$"$k<+>N$r(Bnet$B$G8+$D$1$?$N$G$9$,!"$I$&$b(B
> $B%0%k!<%WJ,$1$N;EJ}$d!"5/F0$7$?$$%W%m%;%9$N5/F0F0:n$,M}2r$G$-$^$;$s!#(B
> $B?=$7LuM-$j$^$;$s$,J,$+$l$P65$($F$$$?$@$1$k$H$"$j$,$?$$$G$9!#(B
>
> $B:#8=:_$O2<5-$NMM$K$7$F$_$^$7$?$,!&!&!&5/F0$7$F$/$l$^$;$s!#(B
>
> <primitive id="ip_sample01" class="ocf" type="IPaddr" provider="heartbeat">
> <operations>
> <op id="monitor01" name="monitor" interval="10s" timeout="5s"
> on_fail="restart"/>
> </operations>
> <instance_attributes id="ip_sample1:attr">
> <attributes>
> <nvpair id="ip01" name="ip" value="192.168.30.8"/>
> <nvpair id="mask01" name="netmask" value="24"/>
> <nvpair id="nic01" name="nic" value="bond0"/>
> </attributes>
> </instance_attributes>
> </primitive>
> <primitive class="lsb" id="cmsgrouter" type="cmsgrouter">
> <operations>
> <op id="op_start_cmsgrouter" name="start" prereq="nothing" timeout="600s"/>
> </operations>
> </primitive>
>
>
> $B59$7$/$*4j$$$7$^$9!#(B
--
$BC]Cf(B $B0lGn(B
Takenaka Kazuhiro <takenaka.kazuhiro@oss.ntt.co.jp>

_______________________________________________
Linux-ha-japan mailing list
Linux-ha-japan@lists.sourceforge.jp
http://lists.sourceforge.jp/mailman/listinfo/linux-ha-japan
Re: cib.xml$B!!$G(Bfailback off $B$r<B8=$7$?$$(B [ In reply to ]
$BC]Cf$5$s(B
$B$"$j$,$H$&$4$6$$$^$9!#(B
> 1. $B$=$b$=$b(B IPaddr $B$b(B cmsgrouter $B$b5/F0$7$J$$(B
> 2. $B$I$A$i$+$N$_$,5/F0$7$J$$(B
>
$B8=>u$H$7$F$O%"%W%j%W%m%;%9$O5/F0$9$k$h$&$K$J$j$^$7$?$,!"JR7O$K(B4$B%W%m%;%9(B
$B$h$C$F$$$k;~$K>e<j$/5/F0$7$^$;$s!#(B

IP$B%"%I%l%9$NF0:n$O>e<j$/9T$C$F$$$^$9!#(B

$B8=:_$N(Bxml$B$O0J2<$NDL$j$G$9!#(B

<cib admin_epoch="0" have_quorum="true" cib_feature_revision="1.3"
ignore_dtd="false" num_peers="2" generated="true" ccm_transition="4"
dc_uuid="a78ccc61-0edd-41ae-aa88-fea8ce6d086c" epoch="11"
num_updates="1968" cib-last-written="Tue Dec 25 12:20:50 2007">
<configuration>
<crm_config>
<cluster_property_set id="set01">
<attributes>
<nvpair id="default-resource-stickiness"
name="default-resource-stickiness" value="INFINITY"/>
</attributes>
</cluster_property_set>
</crm_config>
<nodes>
<node id="ba688f65-cbe7-4289-86ff-80c72776b1dd" uname="capp02"
type="normal"/>
<node id="a78ccc61-0edd-41ae-aa88-fea8ce6d086c" uname="capp01"
type="normal"/>
</nodes>
<resources>
<group id="ip_sample01" class="ocf" type="group"
resource_stickiness="INFINITY">
<primitive id="ip_sample01:1" class="ocf" type="IPaddr"
provider="heartbeat">
<operations>
<op id="start01" name="start" prereq="nothing"/>
<op id="monitor01" interval="5s" name="monitor" timeout="5s"/>
</operations>
<instance_attributes id="ip_sample1:attr">
<attributes>
<nvpair id="ip01" name="ip" value="192.168.30.8"/>
<nvpair id="mask01" name="netmask" value="24"/>
<nvpair id="nic01" name="nic" value="bond0"/>
</attributes>
</instance_attributes>
</primitive>
<primitive id="cmsgrouter" class="lsb" type="cmsgrouter">
<operations>
<op id="op_start_cmsgrouter" name="start" prereq="nothing" timeout="600s"/>
</operations>
</primitive>
<primitive id="capp-tfx_1" class="lsb" type="capp-tfx_1">
<operations>
<op id="op_start_capp-tfx_1" name="start" prereq="nothing" timeout="600s"/>
</operations>
</primitive>
</group>
<group id="ip_sample02" class="ocf" type="group"
resource_stickiness="INFINITY">
<primitive id="ip_sample02:1" class="ocf" type="IPaddr"
provider="heartbeat">
<operations>
<op id="start02" name="start" prereq="nothing"/>
<op id="monitor02" interval="5s" name="monitor" timeout="5s"/>
</operations>
<instance_attributes id="ip_sample2:attr">
<attributes>
<nvpair id="ip02" name="ip" value="192.168.30.9"/>
<nvpair id="mask02" name="netmask" value="24"/>
<nvpair id="nic02" name="nic" value="bond0"/>
</attributes>
</instance_attributes>
</primitive>
<primitive id="capp-tfx_2" class="lsb" type="capp-tfx_2">
<operations>
<op id="op_start_capp-tfx_2" name="start" prereq="nothing" timeout="600s"/>
</operations>
</primitive>
<primitive id="news" class="lsb" type="news">
<operations>
<op id="op_start_news" name="start" prereq="nothing" timeout="600s"/>
</operations>
</primitive>
</group>
</resources>
<constraints>
<rsc_location id="ip_sample:location01" rsc="ip_sample01">
<rule score="300" id="rulNode1:1">
<expression attribute="#uname" operation="eq" id="expNode1:1"
value="capp01"/>
</rule>
<rule score="200" id="rulNode1:2">
<expression attribute="#uname" operation="eq" id="expNode1:2"
value="capp02"/>
</rule>
</rsc_location>
<rsc_location id="ip_sample:location02" rsc="ip_sample02">
<rule score="300" id="rulNode2:1">
<expression attribute="#uname" operation="eq" id="expNode2:1"
value="capp02"/>
</rule>
<rule score="200" id="rulNode2:2">
<expression attribute="#uname" operation="eq" id="expNode2:2"
value="capp01"/>
</rule>
</rsc_location>
</constraints>
</configuration>
</cib>

$B5/F0=g$K@)Ls$,$"$C$F(Bmsgrouter$B$,5/F0$7$F$$$J$$$H(Bcapp-tfx_*$B%W%m%;%9$O5/F0(B
$B$7$^$;$s!#(B
$B$I$A$i$N%5!<%P$G5/F0$7$F$$$F$b$$$$$N$G$9$,!">e<j$/9T$/J}K!$,J,$+$j$^$;$s!#(B

capp01$B"*(Bcapp02$B$X$N(Bfail$B$,FC$K>e<j$/9T$+$J$$MM$J5$$,$7$F$$$^$9!#(B
$B<g4Q$G?=$7LuM-$j$^$;$s!#(B

$B4X:,(B

_______________________________________________
Linux-ha-japan mailing list
Linux-ha-japan@lists.sourceforge.jp
http://lists.sourceforge.jp/mailman/listinfo/linux-ha-japan
Re: cib.xml$B!!$G(Bfailback off $B$r<B8=$7$?$$(B [ In reply to ]
$B4X:,$5$s(B

$BC]Cf$G$9!#(B

$B$A$g$C$HNI$/$o$+$i$J$$$N$G$9$,%j%=!<%9%0%k!<%W$rFs$DDj5A$7$F(B
$B=i4|>uBV$G$OJL!9$N%N!<%I$G5/F0$7$h$&$H$5$l$F$$$k$N$G$7$g$&$+!)(B

# cib.xml $B$K%$%s%G%s%H$r$D$1$F$$$?$@$1$k$H$b$&>/$74X:,$5$s$N(B
# $B0U?^$5$l$F$$$k$H$3$m$,$o$+$k$H;W$$$^$9$N$G$*4j$$$7$^$9!#(B
# $B$"$k$$$O0lEY(B Heartbeat $B$r5/F0$5$l$F$+$i(B cibadmin -Q $B$G(B
# $B=PNO$5$l$?7k2L$rAw$C$F$/$@$5$$!#(B

> $BC]Cf$5$s(B
> $B$"$j$,$H$&$4$6$$$^$9!#(B
>> > 1. $B$=$b$=$b(B IPaddr $B$b(B cmsgrouter $B$b5/F0$7$J$$(B
>> > 2. $B$I$A$i$+$N$_$,5/F0$7$J$$(B
>> >
> $B8=>u$H$7$F$O%"%W%j%W%m%;%9$O5/F0$9$k$h$&$K$J$j$^$7$?$,!"JR7O$K(B4$B%W%m%;%9(B
> $B$h$C$F$$$k;~$K>e<j$/5/F0$7$^$;$s!#(B
>
> IP$B%"%I%l%9$NF0:n$O>e<j$/9T$C$F$$$^$9!#(B
>
> $B8=:_$N(Bxml$B$O0J2<$NDL$j$G$9!#(B
>
> <cib admin_epoch="0" have_quorum="true" cib_feature_revision="1.3"
> ignore_dtd="false" num_peers="2" generated="true" ccm_transition="4"
> dc_uuid="a78ccc61-0edd-41ae-aa88-fea8ce6d086c" epoch="11"
> num_updates="1968" cib-last-written="Tue Dec 25 12:20:50 2007">
> <configuration>
> <crm_config>
> <cluster_property_set id="set01">
> <attributes>
> <nvpair id="default-resource-stickiness"
> name="default-resource-stickiness" value="INFINITY"/>
> </attributes>
> </cluster_property_set>
> </crm_config>
> <nodes>
> <node id="ba688f65-cbe7-4289-86ff-80c72776b1dd" uname="capp02"
> type="normal"/>
> <node id="a78ccc61-0edd-41ae-aa88-fea8ce6d086c" uname="capp01"
> type="normal"/>
> </nodes>
> <resources>
> <group id="ip_sample01" class="ocf" type="group"
> resource_stickiness="INFINITY">
> <primitive id="ip_sample01:1" class="ocf" type="IPaddr"
> provider="heartbeat">
> <operations>
> <op id="start01" name="start" prereq="nothing"/>
> <op id="monitor01" interval="5s" name="monitor" timeout="5s"/>
> </operations>
> <instance_attributes id="ip_sample1:attr">
> <attributes>
> <nvpair id="ip01" name="ip" value="192.168.30.8"/>
> <nvpair id="mask01" name="netmask" value="24"/>
> <nvpair id="nic01" name="nic" value="bond0"/>
> </attributes>
> </instance_attributes>
> </primitive>
> <primitive id="cmsgrouter" class="lsb" type="cmsgrouter">
> <operations>
> <op id="op_start_cmsgrouter" name="start" prereq="nothing" timeout="600s"/>
> </operations>
> </primitive>
> <primitive id="capp-tfx_1" class="lsb" type="capp-tfx_1">
> <operations>
> <op id="op_start_capp-tfx_1" name="start" prereq="nothing" timeout="600s"/>
> </operations>
> </primitive>
> </group>
> <group id="ip_sample02" class="ocf" type="group"
> resource_stickiness="INFINITY">
> <primitive id="ip_sample02:1" class="ocf" type="IPaddr"
> provider="heartbeat">
> <operations>
> <op id="start02" name="start" prereq="nothing"/>
> <op id="monitor02" interval="5s" name="monitor" timeout="5s"/>
> </operations>
> <instance_attributes id="ip_sample2:attr">
> <attributes>
> <nvpair id="ip02" name="ip" value="192.168.30.9"/>
> <nvpair id="mask02" name="netmask" value="24"/>
> <nvpair id="nic02" name="nic" value="bond0"/>
> </attributes>
> </instance_attributes>
> </primitive>
> <primitive id="capp-tfx_2" class="lsb" type="capp-tfx_2">
> <operations>
> <op id="op_start_capp-tfx_2" name="start" prereq="nothing" timeout="600s"/>
> </operations>
> </primitive>
> <primitive id="news" class="lsb" type="news">
> <operations>
> <op id="op_start_news" name="start" prereq="nothing" timeout="600s"/>
> </operations>
> </primitive>
> </group>
> </resources>
> <constraints>
> <rsc_location id="ip_sample:location01" rsc="ip_sample01">
> <rule score="300" id="rulNode1:1">
> <expression attribute="#uname" operation="eq" id="expNode1:1"
> value="capp01"/>
> </rule>
> <rule score="200" id="rulNode1:2">
> <expression attribute="#uname" operation="eq" id="expNode1:2"
> value="capp02"/>
> </rule>
> </rsc_location>
> <rsc_location id="ip_sample:location02" rsc="ip_sample02">
> <rule score="300" id="rulNode2:1">
> <expression attribute="#uname" operation="eq" id="expNode2:1"
> value="capp02"/>
> </rule>
> <rule score="200" id="rulNode2:2">
> <expression attribute="#uname" operation="eq" id="expNode2:2"
> value="capp01"/>
> </rule>
> </rsc_location>
> </constraints>
> </configuration>
> </cib>
>
> $B5/F0=g$K@)Ls$,$"$C$F(Bmsgrouter$B$,5/F0$7$F$$$J$$$H(Bcapp-tfx_*$B%W%m%;%9$O5/F0(B
> $B$7$^$;$s!#(B
> $B$I$A$i$N%5!<%P$G5/F0$7$F$$$F$b$$$$$N$G$9$,!">e<j$/9T$/J}K!$,J,$+$j$^$;$s!#(B
>
> capp01$B"*(Bcapp02$B$X$N(Bfail$B$,FC$K>e<j$/9T$+$J$$MM$J5$$,$7$F$$$^$9!#(B
> $B<g4Q$G?=$7LuM-$j$^$;$s!#(B
>
> $B4X:,(B
--
$BC]Cf(B $B0lGn(B
Takenaka Kazuhiro <takenaka.kazuhiro@oss.ntt.co.jp>

_______________________________________________
Linux-ha-japan mailing list
Linux-ha-japan@lists.sourceforge.jp
http://lists.sourceforge.jp/mailman/listinfo/linux-ha-japan
Re: cib.xml$B!!$G(Bfailback off $B$r<B8=$7$?$$(B [ In reply to ]
$BC]Cf$5$s(B
> $B$A$g$C$HNI$/$o$+$i$J$$$N$G$9$,%j%=!<%9%0%k!<%W$rFs$DDj5A$7$F(B
> $B=i4|>uBV$G$OJL!9$N%N!<%I$G5/F0$7$h$&$H$5$l$F$$$k$N$G$7$g$&$+!)(B
$B$=$&$G$9$M$'!#(B
$B%0%k!<%W$rJ,$1$F$$$^$9!#(B
> # cib.xml $B$K%$%s%G%s%H$r$D$1$F$$$?$@$1$k$H$b$&>/$74X:,$5$s$N(B
> # $B0U?^$5$l$F$$$k$H$3$m$,$o$+$k$H;W$$$^$9$N$G$*4j$$$7$^$9!#(B
>
>
xml$B$rAwIU$7$^$9!#(B
$B$3$l$GJ,$+$j$d$9$/$J$C$?$G$7$g$&$+!)(B

- <#>
Re: cib.xml$B!!$G(Bfailback off $B$r<B8=$7$?$$(B [ In reply to ]
$B4X:,$5$s(B

$BC]Cf$G$9!#(B

$BE:IU$5$l$F$$$?(B XML $B$G<!$NDL$j$K@_Dj$5$l$F$$$^$9!#(B

1. $BFs$D$N%0%k!<%W(B ip_sample01 $B$H(B ip_sample02 $B$,$"$k!#(B
2. $B=i4|>uBV$G$O(B ip_sample01 $B$O(B capp01 $B$G5/F0$5$l!"(B
ip_sample02 $B$O(B capp02 $B$G5/F0$5$l$k!#(B

$B4X:,$5$s$H$7$F$O$3$N@_Dj$K2C$($F(B ip_sample01 $B$N%j%=!<%9(B cmsgrouter $B$H(B
ip_sample02 $B$N%j%=!<%9(B capp-tfx_2 $B$K5/F0=g=x$r@_$1$?$$$N$G$9$M!)(B

$B$^$?!"5/F0=g=x$r@_Dj$7$J$1$l$P$J$i$J$$$H$$$&$3$H$O(B cmsgrouter $B$,(B
$B:F5/F0$5$l$?>l9g$K$O(B capp-tfx_2 $B$b:F5/F0$5$l$kI,MW$,$"$k$H$$$&$3$H(B
$B$G$7$g$&$+!)(B

$B$b$7$=$&$G$"$l$P!"8=:_$N@_Dj$G$O(B ip_sample01 $B$,(B capp01 $B$+$i(B
capp02 $B$K%U%'%$%k%*!<%P$5$l$?>l9g$K(B capp-tfx_2 $B$O:F5/F0$5$l(B
$B$^$;$s$N$G4X:,$5$s$,8@$C$F$$$?(B

> capp01$B"*(Bcapp02$B$X$N(Bfail$B$,FC$K>e<j$/9T$+$J$$MM$J5$$,$7$F$$$^$9!#(B

$B$H$$$&$3$H$K$J$k$H;W$$$^$9!#(B

$B$3$N$h$&$J0[.$J$k%0%k!<%W$KB0$9$k%j%=!<%9$K5/F0=g=x$r@_Dj$9$k$K$O(B
constrain $BMWAG$N$J$+$G(B rsc_order $BMWAG$rMQ$$$kI,MW$,$"$j$^$9!#(B

rsc_order $BMWAG$K$D$$$F$O0lG/0J>eA0$K;d$bF1MM$NL\E*$G;H$C$?$3$H$,(B
$B$"$k$N$G$9$,(B Heartbeat 2.1.2-4 $B$GBgI}$JJQ99$,2C$($i$l$F$$$k$O$:$J$N$G!"(B
$B:#$G$bF1MM$KF0:n$9$k$+Dj$+$G$O$"$j$^$;$s!#(B

$B$^$:$O%$%s%9%H!<%k$5$l$?(B Heartbeat $B$N%P!<%8%g%s$,3NG'$5$l$?$[$&$,(B
$BNI$$$G$7$g$&!#(B

# $B$D$$@hF|(B 2.1.3 $B$,%j%j!<%9$5$l$?$N$G$3$l$r5!$K>h$j49$($i$l$k$N$b(B
# $BNI$$$N$G$O$J$$$+$H;W$$$^$9!#(B
# $B$o$?$7$b(B 2.1.3 $B$G(B rsc_order $B$NF0:n$r3NG'$7$F$_$^$9!#(B

> $BC]Cf$5$s(B
>> > $B$A$g$C$HNI$/$o$+$i$J$$$N$G$9$,%j%=!<%9%0%k!<%W$rFs$DDj5A$7$F(B
>> > $B=i4|>uBV$G$OJL!9$N%N!<%I$G5/F0$7$h$&$H$5$l$F$$$k$N$G$7$g$&$+!)(B
> $B$=$&$G$9$M$'!#(B
> $B%0%k!<%W$rJ,$1$F$$$^$9!#(B
>> > # cib.xml $B$K%$%s%G%s%H$r$D$1$F$$$?$@$1$k$H$b$&>/$74X:,$5$s$N(B
>> > # $B0U?^$5$l$F$$$k$H$3$m$,$o$+$k$H;W$$$^$9$N$G$*4j$$$7$^$9!#(B
>> >
>> >
> xml$B$rAwIU$7$^$9!#(B
> $B$3$l$GJ,$+$j$d$9$/$J$C$?$G$7$g$&$+!)(B
>
> - <#>

--
$BC]Cf(B $B0lGn(B
Takenaka Kazuhiro <takenaka.kazuhiro@oss.ntt.co.jp>

_______________________________________________
Linux-ha-japan mailing list
Linux-ha-japan@lists.sourceforge.jp
http://lists.sourceforge.jp/mailman/listinfo/linux-ha-japan
Re: cib.xml$B!!$G(Bfailback off $B$r<B8=$7$?$$(B [ In reply to ]
$BCSED$G$9!#(B

$B%j%=!<%9F1;N$N@)Ls$d:G=*E*$K$I$&F0$1$P$&$l$7$$$N$+(B
$B%$%^%$%AM}2r$G$-$F$*$j$^$;$s$N$G!"8+Ev0c$$$+$b$7$l$^$;$s$,(B
$BE:IU$N(Bcib.xml$B$G$O0J2<$NF0:n$r$7$^$9!#(B

$B!J%N!<%IL>$O(Bprec370d -> capp01, prec370e -> capp02 $B$KFI$_BX$($F$/$@$5$$!K(B
(1) $BN>7O@5>o5/F0(B
# crm_mon -i1
Resource Group: ip_sample01
cmsgrouter (heartbeat::ocf:Dummy): Started prec370d
ip_sample01:1 (heartbeat::ocf:IPaddr): Started prec370d
capp-tfx_1 (heartbeat::ocf:Dummy): Started prec370d
Resource Group: ip_sample02
ip_sample02:1 (heartbeat::ocf:IPaddr): Started prec370e
capp-tfx_2 (heartbeat::ocf:Dummy): Started prec370e
news (heartbeat::ocf:Dummy): Started prec370e

$B!z%j%=!<%9$N5/F0=g=x!J>e$+$i=gHV$K5/F0$7$^$9!K(B
cmsgrouter @ prec370d
ip_sample01:1 @ prec370d
capp-tfx_1 @ prec370d
ip_sample02:1 @ prec370e
capp-tfx_2 @ prec370e
news @ prec370e

(2) $BJ}7O%9%?%s%P%$2=!J(Bcmsgrouter$B$,Dd;_(B -> capp-tfx_*$B$bA4$FDd;_!K(B
# crm_standby -U prec370d -v on
# crm_mon -i1

Resource Group: ip_sample01
cmsgrouter (heartbeat::ocf:Dummy): Started prec370e
ip_sample01:1 (heartbeat::ocf:IPaddr): Started prec370e
capp-tfx_1 (heartbeat::ocf:Dummy): Started prec370e
Resource Group: ip_sample02
ip_sample02:1 (heartbeat::ocf:IPaddr): Started prec370e
capp-tfx_2 (heartbeat::ocf:Dummy): Started prec370e
news (heartbeat::ocf:Dummy): Started prec370e

$B!z%j%=!<%9$N0\F0=g=x(B
$BDd;_!J>e$+$i=gHV$KDd;_$7$^$9!K(B
news @ prec370e
capp-tfx_2 @ prec370e
ip_sample02:1 @ prec370e
capp-tfx_1 @ prec370d
ip_sample01:1 @ prec370d
cmsgrouter @ prec370d

$B5/F0!J$9$Y$F$N%j%=!<%9$,Dd;_$7$?8e!"5/F0$7$^$9!K(B
cmsgrouter @ prec370e
ip_sample01:1 @ prec370e
capp-tfx_1 @ prec370e
ip_sample02:1 @ prec370e
capp-tfx_2 @ prec370e
news @ prec370e

(3) $B%9%?%s%P%$2r=|(B
# crm_standby -U prec370d -v off
$B%j%=!<%9$N>uBV$O(B(2)$B$HF1$8(B

(4) $BJ}7O%9%?%s%P%$2=!J(Bcmsgrouter$B$,Dd;_(B -> capp-tfx_*$B$bA4$FDd;_!K(B
$B%j%=!<%9$N0\F0=g=x$O(B(2)$B$HF1$8(B

$B%j%=!<%9$,0\F0$9$k:]!"(Bcmsgrouter$B$,5/F0$7$?$"$H(B
capp-tfx_*$B$,5/F0$9$k=g=x$K$J$C$F$$$^$9!#(B
cmsgrouter$B$,5/F0$7$F$$$J$$%N!<%I$,%9%?%s%P%$2=$7$?>l9g$O(B
$BEvA3(Bip_sample02:1$B$,(BFO$B$9$k$@$1$G$9$N$G(B
cmsgrouter$B$O:F5/F0$7$^$;$s!#(B
$B>\:Y$OE:IU$N(Bha-log$B!J(BDC$B$N<B9T%m%0!K$r$4;2>H$/$@$5$$!#(B
cmsgrouter, capp-tfx_*, news$B$H$$$&%j%=!<%9$O(B
Dummy$B%j%=!<%9$KCV$-49$($F$$$^$9!#(B

$B$^$?!">e5-$NA`:n$O(BHeartbeat 2.1.3$B$G<B9T$7$F$$$^$9!#(B
2.1.2$B$G$O!"(Brsc_order$B$r@_Dj$7$F$bDd;_=g=x$N@)Ls$,8z$$$F$$$^$;$s$G$7$?!#(B
$B!J(B2.1.2$B$G$O(Bcmsgrouter$B$,Dd;_$7$F$b!"(Bcapp-tfx_*$B$,Dd;_$7$^$;$s!#(B
$B!!(Bcapp-tfx_*$B$O(Bcmsgrouter$B$,$I$3$+$N%N!<%I$G5/F0$7$F$$$k$3$H$,(B
$B!!A0Ds>r7o$N$h$&$G$9$N$G!"$3$N>l9g0[>oDd;_$7$F$7$^$&$N$G$O(B
$B!!$J$$$G$7$g$&$+!K(B

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

$BCSED=_;R(B



> -----Original Message-----
> From: linux-ha-japan-bounces@lists.sourceforge.jp
> [mailto:linux-ha-japan-bounces@lists.sourceforge.jp] On Behalf Of Takenaka
> Kazuhiro
> Sent: Tuesday, December 25, 2007 6:00 PM
> To: linux-ha-japan@lists.sourceforge.jp
> Subject: Re: [Linux-ha-jp] cib.xml$B!!$G(Bfailback off $B$r<B8=$7$?$$(B
>
> $B4X:,$5$s(B
>
> $BC]Cf$G$9!#(B
>
> $BE:IU$5$l$F$$$?(B XML $B$G<!$NDL$j$K@_Dj$5$l$F$$$^$9!#(B
>
> 1. $BFs$D$N%0%k!<%W(B ip_sample01 $B$H(B ip_sample02 $B$,$"$k!#(B
> 2. $B=i4|>uBV$G$O(B ip_sample01 $B$O(B capp01 $B$G5/F0$5$l!"(B
> ip_sample02 $B$O(B capp02 $B$G5/F0$5$l$k!#(B
>
> $B4X:,$5$s$H$7$F$O$3$N@_Dj$K2C$($F(B ip_sample01 $B$N%j%=!<%9(B cmsgrouter $B$H(B
> ip_sample02 $B$N%j%=!<%9(B capp-tfx_2 $B$K5/F0=g=x$r@_$1$?$$$N$G$9$M!)(B
>
> $B$^$?!"5/F0=g=x$r@_Dj$7$J$1$l$P$J$i$J$$$H$$$&$3$H$O(B cmsgrouter $B$,(B
> $B:F5/F0$5$l$?>l9g$K$O(B capp-tfx_2 $B$b:F5/F0$5$l$kI,MW$,$"$k$H$$$&$3$H(B
> $B$G$7$g$&$+!)(B
>
> $B$b$7$=$&$G$"$l$P!"8=:_$N@_Dj$G$O(B ip_sample01 $B$,(B capp01 $B$+$i(B
> capp02 $B$K%U%'%$%k%*!<%P$5$l$?>l9g$K(B capp-tfx_2 $B$O:F5/F0$5$l(B
> $B$^$;$s$N$G4X:,$5$s$,8@$C$F$$$?(B
>
> > capp01$B"*(Bcapp02$B$X$N(Bfail$B$,FC$K>e<j$/9T$+$J$$MM$J5$$,$7$F$$$^$9!#(B
>
> $B$H$$$&$3$H$K$J$k$H;W$$$^$9!#(B
>
> $B$3$N$h$&$J0[.$J$k%0%k!<%W$KB0$9$k%j%=!<%9$K5/F0=g=x$r@_Dj$9$k$K$O(B
> constrain $BMWAG$N$J$+$G(B rsc_order $BMWAG$rMQ$$$kI,MW$,$"$j$^$9!#(B
>
> rsc_order $BMWAG$K$D$$$F$O0lG/0J>eA0$K;d$bF1MM$NL\E*$G;H$C$?$3$H$,(B
> $B$"$k$N$G$9$,(B Heartbeat 2.1.2-4 $B$GBgI}$JJQ99$,2C$($i$l$F$$$k$O$:$J$N$G!"(B
> $B:#$G$bF1MM$KF0:n$9$k$+Dj$+$G$O$"$j$^$;$s!#(B
>
> $B$^$:$O%$%s%9%H!<%k$5$l$?(B Heartbeat $B$N%P!<%8%g%s$,3NG'$5$l$?$[$&$,(B
> $BNI$$$G$7$g$&!#(B
>
> # $B$D$$@hF|(B 2.1.3 $B$,%j%j!<%9$5$l$?$N$G$3$l$r5!$K>h$j49$($i$l$k$N$b(B
> # $BNI$$$N$G$O$J$$$+$H;W$$$^$9!#(B
> # $B$o$?$7$b(B 2.1.3 $B$G(B rsc_order $B$NF0:n$r3NG'$7$F$_$^$9!#(B
>
> > $BC]Cf$5$s(B
> >> > $B$A$g$C$HNI$/$o$+$i$J$$$N$G$9$,%j%=!<%9%0%k!<%W$rFs$DDj5A$7$F(B
> >> > $B=i4|>uBV$G$OJL!9$N%N!<%I$G5/F0$7$h$&$H$5$l$F$$$k$N$G$7$g$&$+!)(B
> > $B$=$&$G$9$M$'!#(B
> > $B%0%k!<%W$rJ,$1$F$$$^$9!#(B
> >> > # cib.xml $B$K%$%s%G%s%H$r$D$1$F$$$?$@$1$k$H$b$&>/$74X:,$5$s$N(B
> >> > # $B0U?^$5$l$F$$$k$H$3$m$,$o$+$k$H;W$$$^$9$N$G$*4j$$$7$^$9!#(B
> >> >
> >> >
> > xml$B$rAwIU$7$^$9!#(B
> > $B$3$l$GJ,$+$j$d$9$/$J$C$?$G$7$g$&$+!)(B
> >
> > - <#>
>
> --
> $BC]Cf(B $B0lGn(B
> Takenaka Kazuhiro <takenaka.kazuhiro@oss.ntt.co.jp>
>
> _______________________________________________
> Linux-ha-japan mailing list
> Linux-ha-japan@lists.sourceforge.jp
> http://lists.sourceforge.jp/mailman/listinfo/linux-ha-japan
Re: cib.xml$B!!$G(Bfailback off $B$r<B8=$7$?$$(B [ In reply to ]
$BC]Cf$G$9!#(B

> $B$^$?!">e5-$NA`:n$O(BHeartbeat 2.1.3$B$G<B9T$7$F$$$^$9!#(B
> 2.1.2$B$G$O!"(Brsc_order$B$r@_Dj$7$F$bDd;_=g=x$N@)Ls$,8z$$$F$$$^$;$s$G$7$?!#(B

$B$J$k$[$I!"(B2.1.3 $B$G$O%0%k!<%W4V$N(B rsc_order $B$,4|BTDL$j$KF0:n$9$k$N$G$9$M!#(B
$B$h$+$C$?!"$h$+$C$?!#(B

2.0.X $B7O$@$H$5$i$K8D!9$N%j%=!<%9$K(B rsc_order $B$r@_Dj$7$J$1$l$P(B
$B$J$i$J$/$F$H$F$bLLE]$@$C$?5-21$,$"$j$^$9!#(B

$B$"$H!"(Bcib.xml $B$N(B

<group id="ip_sample01" class="ocf" type="group" resource_stickiness="INFINITY">

$B$K$D$$$F$G$9$,!"85$N(B cib.xml $B$r0z$-7Q$$$@$N$@$H;W$$$^$9$,(B class $B$H(B type $B$H$$$&(B
$BB0@-$O(B DTD $B$K$O$J$$$h$&$J$N$G(B

<group id="ip_sample01" resource_stickiness="INFINITY">

$B$H$9$k$N$,@5$7$$$H;W$$$^$9!#(B

# cib.xml $B$N(B DTD $B$O<!$N(B URL $B$G;2>H$G$-$^$9!#(B
# http://hg.linux-ha.org/dev/file/tip/crm/crm-1.0.dtd

> $BCSED$G$9!#(B
>
> $B%j%=!<%9F1;N$N@)Ls$d:G=*E*$K$I$&F0$1$P$&$l$7$$$N$+(B
> $B%$%^%$%AM}2r$G$-$F$*$j$^$;$s$N$G!"8+Ev0c$$$+$b$7$l$^$;$s$,(B
> $BE:IU$N(Bcib.xml$B$G$O0J2<$NF0:n$r$7$^$9!#(B
>
> $B!J%N!<%IL>$O(Bprec370d -> capp01, prec370e -> capp02 $B$KFI$_BX$($F$/$@$5$$!K(B
> (1) $BN>7O@5>o5/F0(B
> # crm_mon -i1
> Resource Group: ip_sample01
> cmsgrouter (heartbeat::ocf:Dummy): Started prec370d
> ip_sample01:1 (heartbeat::ocf:IPaddr): Started prec370d
> capp-tfx_1 (heartbeat::ocf:Dummy): Started prec370d
> Resource Group: ip_sample02
> ip_sample02:1 (heartbeat::ocf:IPaddr): Started prec370e
> capp-tfx_2 (heartbeat::ocf:Dummy): Started prec370e
> news (heartbeat::ocf:Dummy): Started prec370e
>
> $B!z%j%=!<%9$N5/F0=g=x!J>e$+$i=gHV$K5/F0$7$^$9!K(B
> cmsgrouter @ prec370d
> ip_sample01:1 @ prec370d
> capp-tfx_1 @ prec370d
> ip_sample02:1 @ prec370e
> capp-tfx_2 @ prec370e
> news @ prec370e
>
> (2) $BJ}7O%9%?%s%P%$2=!J(Bcmsgrouter$B$,Dd;_(B -> capp-tfx_*$B$bA4$FDd;_!K(B
> # crm_standby -U prec370d -v on
> # crm_mon -i1
>
> Resource Group: ip_sample01
> cmsgrouter (heartbeat::ocf:Dummy): Started prec370e
> ip_sample01:1 (heartbeat::ocf:IPaddr): Started prec370e
> capp-tfx_1 (heartbeat::ocf:Dummy): Started prec370e
> Resource Group: ip_sample02
> ip_sample02:1 (heartbeat::ocf:IPaddr): Started prec370e
> capp-tfx_2 (heartbeat::ocf:Dummy): Started prec370e
> news (heartbeat::ocf:Dummy): Started prec370e
>
> $B!z%j%=!<%9$N0\F0=g=x(B
> $BDd;_!J>e$+$i=gHV$KDd;_$7$^$9!K(B
> news @ prec370e
> capp-tfx_2 @ prec370e
> ip_sample02:1 @ prec370e
> capp-tfx_1 @ prec370d
> ip_sample01:1 @ prec370d
> cmsgrouter @ prec370d
>
> $B5/F0!J$9$Y$F$N%j%=!<%9$,Dd;_$7$?8e!"5/F0$7$^$9!K(B
> cmsgrouter @ prec370e
> ip_sample01:1 @ prec370e
> capp-tfx_1 @ prec370e
> ip_sample02:1 @ prec370e
> capp-tfx_2 @ prec370e
> news @ prec370e
>
> (3) $B%9%?%s%P%$2r=|(B
> # crm_standby -U prec370d -v off
> $B%j%=!<%9$N>uBV$O(B(2)$B$HF1$8(B
>
> (4) $BJ}7O%9%?%s%P%$2=!J(Bcmsgrouter$B$,Dd;_(B -> capp-tfx_*$B$bA4$FDd;_!K(B
> $B%j%=!<%9$N0\F0=g=x$O(B(2)$B$HF1$8(B
>
> $B%j%=!<%9$,0\F0$9$k:]!"(Bcmsgrouter$B$,5/F0$7$?$"$H(B
> capp-tfx_*$B$,5/F0$9$k=g=x$K$J$C$F$$$^$9!#(B
> cmsgrouter$B$,5/F0$7$F$$$J$$%N!<%I$,%9%?%s%P%$2=$7$?>l9g$O(B
> $BEvA3(Bip_sample02:1$B$,(BFO$B$9$k$@$1$G$9$N$G(B
> cmsgrouter$B$O:F5/F0$7$^$;$s!#(B
> $B>\:Y$OE:IU$N(Bha-log$B!J(BDC$B$N<B9T%m%0!K$r$4;2>H$/$@$5$$!#(B
> cmsgrouter, capp-tfx_*, news$B$H$$$&%j%=!<%9$O(B
> Dummy$B%j%=!<%9$KCV$-49$($F$$$^$9!#(B
>
> $B$^$?!">e5-$NA`:n$O(BHeartbeat 2.1.3$B$G<B9T$7$F$$$^$9!#(B
> 2.1.2$B$G$O!"(Brsc_order$B$r@_Dj$7$F$bDd;_=g=x$N@)Ls$,8z$$$F$$$^$;$s$G$7$?!#(B
> $B!J(B2.1.2$B$G$O(Bcmsgrouter$B$,Dd;_$7$F$b!"(Bcapp-tfx_*$B$,Dd;_$7$^$;$s!#(B
> $B!!(Bcapp-tfx_*$B$O(Bcmsgrouter$B$,$I$3$+$N%N!<%I$G5/F0$7$F$$$k$3$H$,(B
> $B!!A0Ds>r7o$N$h$&$G$9$N$G!"$3$N>l9g0[>oDd;_$7$F$7$^$&$N$G$O(B
> $B!!$J$$$G$7$g$&$+!K(B
>
> $B0J>e$h$m$7$/$*4j$$$$$?$7$^$9!#(B
>
> $BCSED=_;R(B
--
$BC]Cf(B $B0lGn(B
Takenaka Kazuhiro <takenaka.kazuhiro@oss.ntt.co.jp>

_______________________________________________
Linux-ha-japan mailing list
Linux-ha-japan@lists.sourceforge.jp
http://lists.sourceforge.jp/mailman/listinfo/linux-ha-japan