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$F!"(Bclone$B%j%=!<%9$NF0$-$K$D$$$F<ALd$H$J$j$^$9$,!"(Bhttpd$B$,5/F0$7$F$$$J$$$H!"(BPacemaker$B5/F0%?%$%_%s%0$G(B
failed$B$H$J$k$N$O@5$7$$F0$-$G$7$g$&$+!)(B
Pacemaker$B$G%W%m%;%95/F0@)8f$7$F$$$kG'<1$J$N$G<+F05/F0$OL58z$K$9$kI,MW$,$"$k$N$+$H;W$$$^$7$?$,!"0c$$$^$9$G$7$g$&$+!)(B


$B!c%j%=!<%9@_Dj!d(B
$B"((BIP$BEy$O(BXXX$B$K=$@5$7$F$$$^$9(B
--------------------------------------------------------------------
node 1: test-bru-web01 \
attributes standby=off
node 2: test-bru-web02 \
attributes standby=off
primitive EIP EIP \
params elastic_ip=XXXXXX allocation_id=XXXXX \
op start interval=0s timeout=60s \
op monitor interval=30s timeout=30s \
op stop interval=0 timeout=60s
primitive httpd lsb:httpd \
op start interval=0s timeout=60s \
op monitor interval=30s timeout=30s \
op stop interval=0s timeout=60s
primitive ip-XXX IPaddr \
params ip=XXX nic=eth0 cidr_netmask=24 \
op monitor interval=30s timeout=30s
primitive ping_check anything \
params binfile="/usr/local/script/pacemaker/ping_check.sh" \
op monitor interval=30s timeout=30s on-fail=restart
primitive replace-route_test-ap lsb:replace-route_test-ap \
op monitor interval=30s timeout=30s
primitive vipcheck VIPcheck \
params target_ip=XXX count=3 wait=3 \
op start interval=0 timeout=60 on-fail=restart \
op stop interval=0 timeout=60 on-fail=ignore \
op monitor interval=10 timeout=60 on-fail=restart start-delay=0
primitive xinetd lsb:xinetd \
op start interval=0s timeout=60s \
op monitor interval=30s timeout=30s \
op stop interval=0s timeout=60s
group group1 vipcheck ip-XXX replace-route_test-ap EIP
clone cln_httpd httpd
clone cln_ping_check ping_check
clone cln_xinetd xinetd
location rsc_location group1 \
rule 200: #uname eq test-bru-web01 \
rule 100: #uname eq test-bru-web02
colocation rsc_colocation1 inf: group1 cln_xinetd
colocation rsc_colocation2 inf: group1 cln_httpd
property cib-bootstrap-options: \
have-watchdog=false \
dc-version=1.1.16-1.el6-94ff4df \
no-quorum-policy=ignore \
stonith-enabled=false \
have-watchdog=false \
cluster-infrastructure=corosync \
last-lrm-refresh=1535701464 \
maintenance-mode=false
rsc_defaults rsc-options: \
resource-stickiness=INFINITY \
migration-threshold=1
--------------------------------------------------------------------


$B(.(.(.(.(.(.(.(.(.(.(.(.(.(.(.(.(.(.(.(.(.(.(B
$B5~%;%i%3%_%e%K%1!<%7%g%s%7%9%F%`3t<02q<R(B
IT$B%$%s%U%i%=%j%e!<%7%g%sIt(B
$BEl5~(BIT$B%$%s%U%i%=%j%e!<%7%g%s(B1B
$B4%!!??Ao(B
TEL:03-5765-8877 ($BBeI=(B)
e-mail:masatoshi-inui@kccs.co.jp
$B(.(.(.(.(.(.(.(.(.(.(.(.(.(.(.(.(.(.(.(.(.(.(B

_______________________________________________
Linux-ha-japan mailing list
Linux-ha-japan@lists.osdn.me
https://lists.osdn.me/mailman/listinfo/linux-ha-japan
Re: Pacemaker$B$N(Bclone$B%j%=!<%9$NF0$-$K$D$$$F<ALd(B [ In reply to ]
$B$*@$OC$K$J$C$F$*$j$^$9!#(B

$B<ALd$5$;$F$$$?$@$$$F$*$j$^$9$,!"$$$+$,$G$7$g$&$+!)(B
$B2?$+$7$iH?1~$$$?$@$1$k$H9,$$$G$9!#(B

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

On Fri, 31 Aug 2018 17:46:40 +0900
$B4%!!??Ao(B <masatoshi-inui@kccs.co.jp> wrote:

> $B$*@$OC$K$J$C$F$*$j$^$9!#(B
>
> clone$B%j%=!<%9$NF0$-$K$D$$$F<ALd$5$;$F$/$@$5$$!#(B
> Pacemaker$B%j%=!<%9@_Dj$H$7$F0J2<!c%j%=!<%9@_Dj!d$r@_Dj$7$F$$$^$9!#(B
>
> xinetd$B$H(Bhttpd$B$O(Bclone$B@_Dj$7$F$*$j$^$9$,!"(Bxinetd$B$O(Bchkconfig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7$g$&$+!)(B
>
>
> $B!c%j%=!<%9@_Dj!d(B
> $B"((BIP$BEy$O(BXXX$B$K=$@5$7$F$$$^$9(B
> --------------------------------------------------------------------
> node 1: test-bru-web01 \
> attributes standby=off
> node 2: test-bru-web02 \
> attributes standby=off
> primitive EIP EIP \
> params elastic_ip=XXXXXX allocation_id=XXXXX \
> op start interval=0s timeout=60s \
> op monitor interval=30s timeout=30s \
> op stop interval=0 timeout=60s
> primitive httpd lsb:httpd \
> op start interval=0s timeout=60s \
> op monitor interval=30s timeout=30s \
> op stop interval=0s timeout=60s
> primitive ip-XXX IPaddr \
> params ip=XXX nic=eth0 cidr_netmask=24 \
> op monitor interval=30s timeout=30s
> primitive ping_check anything \
> params binfile="/usr/local/script/pacemaker/ping_check.sh" \
> op monitor interval=30s timeout=30s on-fail=restart
> primitive replace-route_test-ap lsb:replace-route_test-ap \
> op monitor interval=30s timeout=30s
> primitive vipcheck VIPcheck \
> params target_ip=XXX count=3 wait=3 \
> op start interval=0 timeout=60 on-fail=restart \
> op stop interval=0 timeout=60 on-fail=ignore \
> op monitor interval=10 timeout=60 on-fail=restart start-delay=0
> primitive xinetd lsb:xinetd \
> op start interval=0s timeout=60s \
> op monitor interval=30s timeout=30s \
> op stop interval=0s timeout=60s
> group group1 vipcheck ip-XXX replace-route_test-ap EIP
> clone cln_httpd httpd
> clone cln_ping_check ping_check
> clone cln_xinetd xinetd
> location rsc_location group1 \
> rule 200: #uname eq test-bru-web01 \
> rule 100: #uname eq test-bru-web02
> colocation rsc_colocation1 inf: group1 cln_xinetd
> colocation rsc_colocation2 inf: group1 cln_httpd
> property cib-bootstrap-options: \
> have-watchdog=false \
> dc-version=1.1.16-1.el6-94ff4df \
> no-quorum-policy=ignore \
> stonith-enabled=false \
> have-watchdog=false \
> cluster-infrastructure=corosync \
> last-lrm-refresh=1535701464 \
> maintenance-mode=false
> rsc_defaults rsc-options: \
> resource-stickiness=INFINITY \
> migration-threshold=1
> --------------------------------------------------------------------
>
>
> $B(.(.(.(.(.(.(.(.(.(.(.(.(.(.(.(.(.(.(.(.(.(.(B
> $B5~%;%i%3%_%e%K%1!<%7%g%s%7%9%F%`3t<02q<R(B
> IT$B%$%s%U%i%=%j%e!<%7%g%sIt(B
> $BEl5~(BIT$B%$%s%U%i%=%j%e!<%7%g%s(B1B
> $B4%!!??Ao(B
> TEL:03-5765-8877 ($BBeI=(B)
> e-mail:masatoshi-inui@kccs.co.jp
> $B(.(.(.(.(.(.(.(.(.(.(.(.(.(.(.(.(.(.(.(.(.(.(B

$B(.(.(.(.(.(.(.(.(.(.(.(.(.(.(.(.(.(.(.(.(.(.(B
$B5~%;%i%3%_%e%K%1!<%7%g%s%7%9%F%`3t<02q<R(B
IT$B%$%s%U%i%=%j%e!<%7%g%sIt(B
$BEl5~(BIT$B%$%s%U%i%=%j%e!<%7%g%s(B1B
$B4%!!??Ao(B
TEL:03-5765-8877 ($BBeI=(B)
e-mail:masatoshi-inui@kccs.co.jp
$B(.(.(.(.(.(.(.(.(.(.(.(.(.(.(.(.(.(.(.(.(.(.(B

_______________________________________________
Linux-ha-japan mailing list
Linux-ha-japan@lists.osdn.me
https://lists.osdn.me/mailman/listinfo/linux-ha-japan
Re: Pacemaker$B$N(Bclone$B%j%=!<%9$NF0$-$K$D$$$F<ALd(B [ In reply to ]
$B9bDM$H?=$7$^$9!#(B

$B%$%s%i%$%s$G5-:\$7$^$9!#(B

On Wed, 05 Sep 2018 09:41:21 +0900
$B4%!!??Ao(B <masatoshi-inui@kccs.co.jp> wrote:

> $B$*@$OC$K$J$C$F$*$j$^$9!#(B
>
> $B<ALd$5$;$F$$$?$@$$$F$*$j$^$9$,!"$$$+$,$G$7$g$&$+!)(B
> $B2?$+$7$iH?1~$$$?$@$1$k$H9,$$$G$9!#(B
>
> $B0J>e!"$h$m$7$/$*4j$$CW$7$^$9!#(B
>
> On Fri, 31 Aug 2018 17:46:40 +0900
> $B4%!!??Ao(B <masatoshi-inui@kccs.co.jp> wrote:
>
> > $B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!<%9$NF0$-$K$D$$$F<ALd$H$J$j$^$9$,!"(Bhttpd$B$,5/F0$7$F$$$J$$$H!"(BPacemaker$B5/F0%?%$%_%s%0$G(B
> > failed$B$H$J$k$N$O@5$7$$F0$-$G$7$g$&$+!)(B

$B"*(B $B%m%0$d(B crm_mon$B=PNO$+$i(B httpd$B$,5/F0$7$J$+$C$?M}M3$rD4$Y$^$7$g$&!#(B
$B$?$@$7!"2?$G$"$l%9%W%j%C%H%V%l%$%s$,@8$8$?>l9g$+$i$NI|5"$O<jF0A`:n$K$h$k(B
$BBP1~$,I,MW$H9M$($?$[$&$,NI$$$G$9!#(B

> > Pacemaker$B$G%W%m%;%95/F0@)8f$7$F$$$kG'<1$J$N$G<+F05/F0$OL58z$K$9$kI,MW$,$"$k$N$+$H;W$$$^$7$?$,!"0c$$$^$9$G$7$g$&$+!)(B

$B"*(B $BDL>o$=$&$7$^$9!#(B
xinetd $B$r<+F05/F0M-8z$K$7$?$N$O!"$=$&$7$J$$$H(B OS$B5/F0$KITET9g$,$"$C$?(B
$B$H$$$C$?$"$?$j$G$7$g$&$+!#(Bxinetd $B$r(B Pacemaker$B4IM}$9$k;vNc$O;d$O(B
$B$_$?$3$H$,$"$j$^$;$s$G$7$?!#H?1~$,$J$$$N$O!"3'$5$sF1MM$@$C$?$N$G$O(B
$B$J$$$G$7$g$&$+!#(B

> > $B!c%j%=!<%9@_Dj!d(B
> > $B"((BIP$BEy$O(BXXX$B$K=$@5$7$F$$$^$9(B
> > --------------------------------------------------------------------
> > node 1: test-bru-web01 \
> > attributes standby=off
> > node 2: test-bru-web02 \
> > attributes standby=off
> > primitive EIP EIP \
> > params elastic_ip=XXXXXX allocation_id=XXXXX \
> > op start interval=0s timeout=60s \
> > op monitor interval=30s timeout=30s \
> > op stop interval=0 timeout=60s
> > primitive httpd lsb:httpd \
> > op start interval=0s timeout=60s \
> > op monitor interval=30s timeout=30s \
> > op stop interval=0s timeout=60s
> > primitive ip-XXX IPaddr \
> > params ip=XXX nic=eth0 cidr_netmask=24 \
> > op monitor interval=30s timeout=30s
> > primitive ping_check anything \
> > params binfile="/usr/local/script/pacemaker/ping_check.sh" \
> > op monitor interval=30s timeout=30s on-fail=restart
> > primitive replace-route_test-ap lsb:replace-route_test-ap \
> > op monitor interval=30s timeout=30s
> > primitive vipcheck VIPcheck \
> > params target_ip=XXX count=3 wait=3 \
> > op start interval=0 timeout=60 on-fail=restart \
> > op stop interval=0 timeout=60 on-fail=ignore \
> > op monitor interval=10 timeout=60 on-fail=restart start-delay=0
> > primitive xinetd lsb:xinetd \
> > op start interval=0s timeout=60s \
> > op monitor interval=30s timeout=30s \
> > op stop interval=0s timeout=60s
> > group group1 vipcheck ip-XXX replace-route_test-ap EIP
> > clone cln_httpd httpd
> > clone cln_ping_check ping_check
> > clone cln_xinetd xinetd
> > location rsc_location group1 \
> > rule 200: #uname eq test-bru-web01 \
> > rule 100: #uname eq test-bru-web02
> > colocation rsc_colocation1 inf: group1 cln_xinetd
> > colocation rsc_colocation2 inf: group1 cln_httpd
> > property cib-bootstrap-options: \
> > have-watchdog=false \
> > dc-version=1.1.16-1.el6-94ff4df \
> > no-quorum-policy=ignore \
> > stonith-enabled=false \
> > have-watchdog=false \
> > cluster-infrastructure=corosync \
> > last-lrm-refresh=1535701464 \
> > maintenance-mode=false
> > rsc_defaults rsc-options: \
> > resource-stickiness=INFINITY \
> > migration-threshold=1
> > --------------------------------------------------------------------
> >
> >
> > $B(.(.(.(.(.(.(.(.(.(.(.(.(.(.(.(.(.(.(.(.(.(.(B
> > $B5~%;%i%3%_%e%K%1!<%7%g%s%7%9%F%`3t<02q<R(B
> > IT$B%$%s%U%i%=%j%e!<%7%g%sIt(B
> > $BEl5~(BIT$B%$%s%U%i%=%j%e!<%7%g%s(B1B
> > $B4%!!??Ao(B
> > TEL:03-5765-8877 ($BBeI=(B)
> > e-mail:masatoshi-inui@kccs.co.jp
> > $B(.(.(.(.(.(.(.(.(.(.(.(.(.(.(.(.(.(.(.(.(.(.(B
>
> $B(.(.(.(.(.(.(.(.(.(.(.(.(.(.(.(.(.(.(.(.(.(.(B
> $B5~%;%i%3%_%e%K%1!<%7%g%s%7%9%F%`3t<02q<R(B
> IT$B%$%s%U%i%=%j%e!<%7%g%sIt(B
> $BEl5~(BIT$B%$%s%U%i%=%j%e!<%7%g%s(B1B
> $B4%!!??Ao(B
> TEL:03-5765-8877 ($BBeI=(B)
> e-mail:masatoshi-inui@kccs.co.jp
> $B(.(.(.(.(.(.(.(.(.(.(.(.(.(.(.(.(.(.(.(.(.(.(B
>
> _______________________________________________
> Linux-ha-japan mailing list
> Linux-ha-japan@lists.osdn.me
> https://lists.osdn.me/mailman/listinfo/linux-ha-japan
>

______________________________________________________________________
$B9bDM!!MZ(B harukat@sraoss.co.jp SRA OSS, Inc. http://www.sraoss.co.jp
$B")(B171-0022 $BEl5~ETK-Eg6hFnCSB^(B2-32-8

_______________________________________________
Linux-ha-japan mailing list
Linux-ha-japan@lists.osdn.me
https://lists.osdn.me/mailman/listinfo/linux-ha-japan
Re: Pacemaker$B$N(Bclone$B%j%=!<%9$NF0$-$K$D$$$F<ALd(B [ In reply to ]
$B9bDMMM(B

$BJV?.$$$?$@$-$"$j$,$H$&$4$6$$$^$9!#=u$+$j$^$9!#(B

xinetd$B$K$D$$$F$O(BSSH$B$r(Bxinetd$B@)8f$H$7$F$*$j!"(Bsshd$B$,Dd;_$7$?$i%j%=!<%9$rBP8~%5!<%P$X(B
$B@Z$jBX$($k$H$$$&F0$-$H$7$?$+$C$?$N$GF~$l$F$*$j$^$9!#(B

xinetd$B$r<+F05/F0$K$7$F$$$k$N$O8!>Z$r9T$C$F$*$j!":G0-%m%0%$%s$G$-$J$/$J$C$F$7$^$&$3$H$r(B
$BHr$1$?$+$C$?$?$a$G$9!#(B
$B2DG=$G$"$l$P!"(Bchkconfig$B$K$h$k<+F05/F0$O$7$J$$$h$&$K$7$?$$$H9M$($F$$$^$9!#(B

$B%m%0$d(Bcrm_mon$B7k2L$r3NG'$7$?$N$G$9$,!"$J$<(Bfaile$B$K$J$k$+$o$+$i$J$$$H$$$C$?>u67$G$9!#(B
clone$B@_Dj$7$?%W%m%;%9$N<+F05/F0$rM-8z$K$7$?>l9g!"1?MQ>e$J$K$+%G%a%j%C%H$O$"$j$^$9$G$7$g$&$+!)(B

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

On Wed, 5 Sep 2018 10:28:20 +0900
TAKATSUKA Haruka <harukat@sraoss.co.jp> wrote:

> $B9bDM$H?=$7$^$9!#(B
>
> $B%$%s%i%$%s$G5-:\$7$^$9!#(B
>
> On Wed, 05 Sep 2018 09:41:21 +0900
> $B4%!!??Ao(B <masatoshi-inui@kccs.co.jp> wrote:
>
> > $B$*@$OC$K$J$C$F$*$j$^$9!#(B
> >
> > $B<ALd$5$;$F$$$?$@$$$F$*$j$^$9$,!"$$$+$,$G$7$g$&$+!)(B
> > $B2?$+$7$iH?1~$$$?$@$1$k$H9,$$$G$9!#(B
> >
> > $B0J>e!"$h$m$7$/$*4j$$CW$7$^$9!#(B
> >
> > On Fri, 31 Aug 2018 17:46:40 +0900
> > $B4%!!??Ao(B <masatoshi-inui@kccs.co.jp> wrote:
> >
> > > $B$*@$OC$K$J$C$F$*$j$^$9!#(B
> > >
> > > clone$B%j%=!<%9$NF0$-$K$D$$$F<ALd$5$;$F$/$@$5$$!#(B
> > > Pacemaker$B%j%=!<%9@_Dj$H$7$F0J2<!c%j%=!<%9@_Dj!d$r@_Dj$7$F$$$^$9!#(B
> > >
> > > xinetd$B$H(Bhttpd$B$O(Bclone$B@_Dj$7$F$*$j$^$9$,!"(Bxinetd$B$O(Bchkconfig$B$N<+F05/F0$,M-8z!"(Bhttpd$B$OL58z$H$J$C$F$*$j$^$9!#(B
> > > $B$=$3$G!"0J2<$N<j=g$G%9%W%j%C%H%V%l%$%s$rH/@8$5$;!"I|5l$5$;$^$9!#(B
> > >
> > > $B!c8!>Z<j=g!d(B
> > > $B!!!&%9%W%j%C%H%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$N$G<+F05/F0$OL58z$K$9$kI,MW$,$"$k$N$+$H;W$$$^$7$?$,!"0c$$$^$9$G$7$g$&$+!)(B
>
> $B"*(B $BDL>o$=$&$7$^$9!#(B
> xinetd $B$r<+F05/F0M-8z$K$7$?$N$O!"$=$&$7$J$$$H(B OS$B5/F0$KITET9g$,$"$C$?(B
> $B$H$$$C$?$"$?$j$G$7$g$&$+!#(Bxinetd $B$r(B Pacemaker$B4IM}$9$k;vNc$O;d$O(B
> $B$_$?$3$H$,$"$j$^$;$s$G$7$?!#H?1~$,$J$$$N$O!"3'$5$sF1MM$@$C$?$N$G$O(B
> $B$J$$$G$7$g$&$+!#(B
>
> > > $B!c%j%=!<%9@_Dj!d(B
> > > $B"((BIP$BEy$O(BXXX$B$K=$@5$7$F$$$^$9(B
> > > --------------------------------------------------------------------
> > > node 1: test-bru-web01 \
> > > attributes standby=off
> > > node 2: test-bru-web02 \
> > > attributes standby=off
> > > primitive EIP EIP \
> > > params elastic_ip=XXXXXX allocation_id=XXXXX \
> > > op start interval=0s timeout=60s \
> > > op monitor interval=30s timeout=30s \
> > > op stop interval=0 timeout=60s
> > > primitive httpd lsb:httpd \
> > > op start interval=0s timeout=60s \
> > > op monitor interval=30s timeout=30s \
> > > op stop interval=0s timeout=60s
> > > primitive ip-XXX IPaddr \
> > > params ip=XXX nic=eth0 cidr_netmask=24 \
> > > op monitor interval=30s timeout=30s
> > > primitive ping_check anything \
> > > params binfile="/usr/local/script/pacemaker/ping_check.sh" \
> > > op monitor interval=30s timeout=30s on-fail=restart
> > > primitive replace-route_test-ap lsb:replace-route_test-ap \
> > > op monitor interval=30s timeout=30s
> > > primitive vipcheck VIPcheck \
> > > params target_ip=XXX count=3 wait=3 \
> > > op start interval=0 timeout=60 on-fail=restart \
> > > op stop interval=0 timeout=60 on-fail=ignore \
> > > op monitor interval=10 timeout=60 on-fail=restart start-delay=0
> > > primitive xinetd lsb:xinetd \
> > > op start interval=0s timeout=60s \
> > > op monitor interval=30s timeout=30s \
> > > op stop interval=0s timeout=60s
> > > group group1 vipcheck ip-XXX replace-route_test-ap EIP
> > > clone cln_httpd httpd
> > > clone cln_ping_check ping_check
> > > clone cln_xinetd xinetd
> > > location rsc_location group1 \
> > > rule 200: #uname eq test-bru-web01 \
> > > rule 100: #uname eq test-bru-web02
> > > colocation rsc_colocation1 inf: group1 cln_xinetd
> > > colocation rsc_colocation2 inf: group1 cln_httpd
> > > property cib-bootstrap-options: \
> > > have-watchdog=false \
> > > dc-version=1.1.16-1.el6-94ff4df \
> > > no-quorum-policy=ignore \
> > > stonith-enabled=false \
> > > have-watchdog=false \
> > > cluster-infrastructure=corosync \
> > > last-lrm-refresh=1535701464 \
> > > maintenance-mode=false
> > > rsc_defaults rsc-options: \
> > > resource-stickiness=INFINITY \
> > > migration-threshold=1
> > > --------------------------------------------------------------------
> > >
> > >
> > > $B(.(.(.(.(.(.(.(.(.(.(.(.(.(.(.(.(.(.(.(.(.(.(B
> > > $B5~%;%i%3%_%e%K%1!<%7%g%s%7%9%F%`3t<02q<R(B
> > > IT$B%$%s%U%i%=%j%e!<%7%g%sIt(B
> > > $BEl5~(BIT$B%$%s%U%i%=%j%e!<%7%g%s(B1B
> > > $B4%!!??Ao(B
> > > TEL:03-5765-8877 ($BBeI=(B)
> > > e-mail:masatoshi-inui@kccs.co.jp
> > > $B(.(.(.(.(.(.(.(.(.(.(.(.(.(.(.(.(.(.(.(.(.(.(B
> >
> > $B(.(.(.(.(.(.(.(.(.(.(.(.(.(.(.(.(.(.(.(.(.(.(B
> > $B5~%;%i%3%_%e%K%1!<%7%g%s%7%9%F%`3t<02q<R(B
> > IT$B%$%s%U%i%=%j%e!<%7%g%sIt(B
> > $BEl5~(BIT$B%$%s%U%i%=%j%e!<%7%g%s(B1B
> > $B4%!!??Ao(B
> > TEL:03-5765-8877 ($BBeI=(B)
> > e-mail:masatoshi-inui@kccs.co.jp
> > $B(.(.(.(.(.(.(.(.(.(.(.(.(.(.(.(.(.(.(.(.(.(.(B
> >
> > _______________________________________________
> > Linux-ha-japan mailing list
> > Linux-ha-japan@lists.osdn.me
> > https://lists.osdn.me/mailman/listinfo/linux-ha-japan
> >
>
> ______________________________________________________________________
> $B9bDM!!MZ(B harukat@sraoss.co.jp SRA OSS, Inc. http://www.sraoss.co.jp
> $B")(B171-0022 $BEl5~ETK-Eg6hFnCSB^(B2-32-8
>
> _______________________________________________
> Linux-ha-japan mailing list
> Linux-ha-japan@lists.osdn.me
> https://lists.osdn.me/mailman/listinfo/linux-ha-japan

$B(.(.(.(.(.(.(.(.(.(.(.(.(.(.(.(.(.(.(.(.(.(.(B
$B5~%;%i%3%_%e%K%1!<%7%g%s%7%9%F%`3t<02q<R(B
IT$B%$%s%U%i%=%j%e!<%7%g%sIt(B
$BEl5~(BIT$B%$%s%U%i%=%j%e!<%7%g%s(B1B
$B4%!!??Ao(B
TEL:03-5765-8877 ($BBeI=(B)
e-mail:masatoshi-inui@kccs.co.jp
$B(.(.(.(.(.(.(.(.(.(.(.(.(.(.(.(.(.(.(.(.(.(.(B

_______________________________________________
Linux-ha-japan mailing list
Linux-ha-japan@lists.osdn.me
https://lists.osdn.me/mailman/listinfo/linux-ha-japan
Re: Pacemaker$B$N(Bclone$B%j%=!<%9$NF0$-$K$D$$$F<ALd(B [ In reply to ]
$B9bDM$H?=$7$^$9!#(B

$B%$%s%i%$%s$G5-:\$7$^$9!#(B

On Wed, 05 Sep 2018 09:41:21 +0900
$B4%!!??Ao(B <masatoshi-inui@kccs.co.jp> wrote:

> $B$*@$OC$K$J$C$F$*$j$^$9!#(B
>
> $B<ALd$5$;$F$$$?$@$$$F$*$j$^$9$,!"$$$+$,$G$7$g$&$+!)(B
> $B2?$+$7$iH?1~$$$?$@$1$k$H9,$$$G$9!#(B
>
> $B0J>e!"$h$m$7$/$*4j$$CW$7$^$9!#(B
>
> On Fri, 31 Aug 2018 17:46:40 +0900
> $B4%!!??Ao(B <masatoshi-inui@kccs.co.jp> wrote:
>
> > $B$*@$OC$K$J$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K$D$$$F<ALd$H$J$j$^$9$,!"(Bhttpd$B$,5/F0$7$F$$$J$$$H!"(BPacemaker$B5/F0%?%$%_%s%0$G(B
> > failed$B$H$J$k$N$O@5$7$$F0$-$G$7$g$&$+!)(B

$B"*(B $B%m%0$d(B crm_mon$B=PNO$+$i(B httpd$B$,5/F0$7$J$+$C$?M}M3$rD4$Y$^$7$g$&!#(B
$B$?$@$7!"2?$G$"$l%9%W%j%C%H%V%l%$%s$,@8$8$?>l9g$+$i$NI|5"$O<jF0A`:n$K$h$k(B
$BBP1~$,I,MW$H9M$($?$[$&$,NI$$$G$9!#(B

> > Pacemaker$B$G%W%m%;%95/F0@)8f$7$F$$$kG'<1$J$N$G<+F05/F0$OL58z$K$9$kI,MW$,$"$k$N$+$H;W$$$^$7$?$,!"0c$$$^$9$G$7$g$&$+!)(B

$B"*(B $BDL>o$=$&$7$^$9!#(B
xinetd $B$r<+F05/F0M-8z$K$7$?$N$O!"$=$&$7$J$$$H(B OS$B5/F0$KITET9g$,$"$C$?(B
$B$H$$$C$?$"$?$j$G$7$g$&$+!#(Bxinetd $B$r(B Pacemaker$B4IM}$9$k;vNc$O;d$O(B
$B$_$?$3$H$,$"$j$^$;$s$G$7$?!#H?1~$,$J$$$N$O!"3'$5$sF1MM$@$C$?$N$G$O(B
$B$J$$$G$7$g$&$+!#(B

> > $B!c%j%=!<%9@_Dj!d(B
> > $B"((BIP$BEy$O(BXXX$B$K=$@5$7$F$$$^$9(B
> > --------------------------------------------------------------------
> > node 1: test-bru-web01 \
> > attributes standby=off
> > node 2: test-bru-web02 \
> > attributes standby=off
> > primitive EIP EIP \
> > params elastic_ip=XXXXXX allocation_id=XXXXX \
> > op start interval=0s timeout=60s \
> > op monitor interval=30s timeout=30s \
> > op stop interval=0 timeout=60s
> > primitive httpd lsb:httpd \
> > op start interval=0s timeout=60s \
> > op monitor interval=30s timeout=30s \
> > op stop interval=0s timeout=60s
> > primitive ip-XXX IPaddr \
> > params ip=XXX nic=eth0 cidr_netmask=24 \
> > op monitor interval=30s timeout=30s
> > primitive ping_check anything \
> > params binfile="/usr/local/script/pacemaker/ping_check.sh" \
> > op monitor interval=30s timeout=30s on-fail=restart
> > primitive replace-route_test-ap lsb:replace-route_test-ap \
> > op monitor interval=30s timeout=30s
> > primitive vipcheck VIPcheck \
> > params target_ip=XXX count=3 wait=3 \
> > op start interval=0 timeout=60 on-fail=restart \
> > op stop interval=0 timeout=60 on-fail=ignore \
> > op monitor interval=10 timeout=60 on-fail=restart start-delay=0
> > primitive xinetd lsb:xinetd \
> > op start interval=0s timeout=60s \
> > op monitor interval=30s timeout=30s \
> > op stop interval=0s timeout=60s
> > group group1 vipcheck ip-XXX replace-route_test-ap EIP
> > clone cln_httpd httpd
> > clone cln_ping_check ping_check
> > clone cln_xinetd xinetd
> > location rsc_location group1 \
> > rule 200: #uname eq test-bru-web01 \
> > rule 100: #uname eq test-bru-web02
> > colocation rsc_colocation1 inf: group1 cln_xinetd
> > colocation rsc_colocation2 inf: group1 cln_httpd
> > property cib-bootstrap-options: \
> > have-watchdog=false \
> > dc-version=1.1.16-1.el6-94ff4df \
> > no-quorum-policy=ignore \
> > stonith-enabled=false \
> > have-watchdog=false \
> > cluster-infrastructure=corosync \
> > last-lrm-refresh=1535701464 \
> > maintenance-mode=false
> > rsc_defaults rsc-options: \
> > resource-stickiness=INFINITY \
> > migration-threshold=1
> > --------------------------------------------------------------------

_______________________________________________
Linux-ha-japan mailing list
Linux-ha-japan@lists.osdn.me
https://lists.osdn.me/mailman/listinfo/linux-ha-japan
Re: Pacemaker$B$N(Bclone$B%j%=!<%9$NF0$-$K$D$$$F<ALd(B [ In reply to ]
$B9bDMMM(B

$B$*@$OC$K$J$C$F$*$j$^$9!#4%$H?=$7$^$9!#(B

$B:FEY%9%W%j%C%H%V%l%$%s;~$NF0:n$r3NG'$7!"%m%0$r<hF@$7$^$7$?!#(B
$B$d$O$j!"(Bapache$B$N<+F05/F0$rL58z$K$9$k$HBT5!7OB&$rAH$_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%H$O$"$j$^$9$G$7$g$&$+!)(B
>
> $B0J>e!"$h$m$7$/$*4j$$CW$7$^$9!#(B
>
> On Wed, 5 Sep 2018 10:28:20 +0900
> TAKATSUKA Haruka <harukat@sraoss.co.jp> wrote:
>
> > $B9bDM$H?=$7$^$9!#(B
> >
> > $B%$%s%i%$%s$G5-:\$7$^$9!#(B
> >
> > On Wed, 05 Sep 2018 09:41:21 +0900
> > $B4%!!??Ao(B <masatoshi-inui@kccs.co.jp> wrote:
> >
> > > $B$*@$OC$K$J$C$F$*$j$^$9!#(B
> > >
> > > $B<ALd$5$;$F$$$?$@$$$F$*$j$^$9$,!"$$$+$,$G$7$g$&$+!)(B
> > > $B2?$+$7$iH?1~$$$?$@$1$k$H9,$$$G$9!#(B
> > >
> > > $B0J>e!"$h$m$7$/$*4j$$CW$7$^$9!#(B
> > >
> > > On Fri, 31 Aug 2018 17:46:40 +0900
> > > $B4%!!??Ao(B <masatoshi-inui@kccs.co.jp> wrote:
> > >
> > > > $B$*@$OC$K$J$C$F$*$j$^$9!#(B
> > > >
> > > > clone$B%j%=!<%9$NF0$-$K$D$$$F<ALd$5$;$F$/$@$5$$!#(B
> > > > Pacemaker$B%j%=!<%9@_Dj$H$7$F0J2<!c%j%=!<%9@_Dj!d$r@_Dj$7$F$$$^$9!#(B
> > > >
> > > > xinetd$B$H(Bhttpd$B$O(Bclone$B@_Dj$7$F$*$j$^$9$,!"(Bxinetd$B$O(Bchkconfig$B$N<+F05/F0$,M-8z!"(Bhttpd$B$OL58z$H$J$C$F$*$j$^$9!#(B
> > > > $B$=$3$G!"0J2<$N<j=g$G%9%W%j%C%H%V%l%$%s$rH/@8$5$;!"I|5l$5$;$^$9!#(B
> > > >
> > > > $B!c8!>Z<j=g!d(B
> > > > $B!!!&%9%W%j%C%H%V%l%$%s$rH/@8(B($B%M%C%H%o!<%/<WCG(B)
> > > > $B!!!&(Bping_check$B$NF0:n$K$h$jBT5!7O%[%9%H$N(BPacemaker$B%W%m%;%9$r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B"*(B $BDL>o$=$&$7$^$9!#(B
> > xinetd $B$r<+F05/F0M-8z$K$7$?$N$O!"$=$&$7$J$$$H(B OS$B5/F0$KITET9g$,$"$C$?(B
> > $B$H$$$C$?$"$?$j$G$7$g$&$+!#(Bxinetd $B$r(B Pacemaker$B4IM}$9$k;vNc$O;d$O(B
> > $B$_$?$3$H$,$"$j$^$;$s$G$7$?!#H?1~$,$J$$$N$O!"3'$5$sF1MM$@$C$?$N$G$O(B
> > $B$J$$$G$7$g$&$+!#(B
> >
> > > > $B!c%j%=!<%9@_Dj!d(B
> > > > $B"((BIP$BEy$O(BXXX$B$K=$@5$7$F$$$^$9(B
> > > > --------------------------------------------------------------------
> > > > node 1: test-bru-web01 \
> > > > attributes standby=off
> > > > node 2: test-bru-web02 \
> > > > attributes standby=off
> > > > primitive EIP EIP \
> > > > params elastic_ip=XXXXXX allocation_id=XXXXX \
> > > > op start interval=0s timeout=60s \
> > > > op monitor interval=30s timeout=30s \
> > > > op stop interval=0 timeout=60s
> > > > primitive httpd lsb:httpd \
> > > > op start interval=0s timeout=60s \
> > > > op monitor interval=30s timeout=30s \
> > > > op stop interval=0s timeout=60s
> > > > primitive ip-XXX IPaddr \
> > > > params ip=XXX nic=eth0 cidr_netmask=24 \
> > > > op monitor interval=30s timeout=30s
> > > > primitive ping_check anything \
> > > > params binfile="/usr/local/script/pacemaker/ping_check.sh" \
> > > > op monitor interval=30s timeout=30s on-fail=restart
> > > > primitive replace-route_test-ap lsb:replace-route_test-ap \
> > > > op monitor interval=30s timeout=30s
> > > > primitive vipcheck VIPcheck \
> > > > params target_ip=XXX count=3 wait=3 \
> > > > op start interval=0 timeout=60 on-fail=restart \
> > > > op stop interval=0 timeout=60 on-fail=ignore \
> > > > op monitor interval=10 timeout=60 on-fail=restart start-delay=0
> > > > primitive xinetd lsb:xinetd \
> > > > op start interval=0s timeout=60s \
> > > > op monitor interval=30s timeout=30s \
> > > > op stop interval=0s timeout=60s
> > > > group group1 vipcheck ip-XXX replace-route_test-ap EIP
> > > > clone cln_httpd httpd
> > > > clone cln_ping_check ping_check
> > > > clone cln_xinetd xinetd
> > > > location rsc_location group1 \
> > > > rule 200: #uname eq test-bru-web01 \
> > > > rule 100: #uname eq test-bru-web02
> > > > colocation rsc_colocation1 inf: group1 cln_xinetd
> > > > colocation rsc_colocation2 inf: group1 cln_httpd
> > > > property cib-bootstrap-options: \
> > > > have-watchdog=false \
> > > > dc-version=1.1.16-1.el6-94ff4df \
> > > > no-quorum-policy=ignore \
> > > > stonith-enabled=false \
> > > > have-watchdog=false \
> > > > cluster-infrastructure=corosync \
> > > > last-lrm-refresh=1535701464 \
> > > > maintenance-mode=false
> > > > rsc_defaults rsc-options: \
> > > > resource-stickiness=INFINITY \
> > > > migration-threshold=1
> > > > --------------------------------------------------------------------
> > > >
> > > >
> > > > $B(.(.(.(.(.(.(.(.(.(.(.(.(.(.(.(.(.(.(.(.(.(.(B
> > > > $B5~%;%i%3%_%e%K%1!<%7%g%s%7%9%F%`3t<02q<R(B
> > > > IT$B%$%s%U%i%=%j%e!<%7%g%sIt(B
> > > > $BEl5~(BIT$B%$%s%U%i%=%j%e!<%7%g%s(B1B
> > > > $B4%!!??Ao(B
> > > > TEL:03-5765-8877 ($BBeI=(B)
> > > > e-mail:masatoshi-inui@kccs.co.jp
> > > > $B(.(.(.(.(.(.(.(.(.(.(.(.(.(.(.(.(.(.(.(.(.(.(B
> > >
> > > $B(.(.(.(.(.(.(.(.(.(.(.(.(.(.(.(.(.(.(.(.(.(.(B
> > > $B5~%;%i%3%_%e%K%1!<%7%g%s%7%9%F%`3t<02q<R(B
> > > IT$B%$%s%U%i%=%j%e!<%7%g%sIt(B
> > > $BEl5~(BIT$B%$%s%U%i%=%j%e!<%7%g%s(B1B
> > > $B4%!!??Ao(B
> > > TEL:03-5765-8877 ($BBeI=(B)
> > > e-mail:masatoshi-inui@kccs.co.jp
> > > $B(.(.(.(.(.(.(.(.(.(.(.(.(.(.(.(.(.(.(.(.(.(.(B
> > >
> > > _______________________________________________
> > > Linux-ha-japan mailing list
> > > Linux-ha-japan@lists.osdn.me
> > > https://lists.osdn.me/mailman/listinfo/linux-ha-japan
> > >
> >
> > ______________________________________________________________________
> > $B9bDM!!MZ(B harukat@sraoss.co.jp SRA OSS, Inc. http://www.sraoss.co.jp
> > $B")(B171-0022 $BEl5~ETK-Eg6hFnCSB^(B2-32-8
> >
> > _______________________________________________
> > Linux-ha-japan mailing list
> > Linux-ha-japan@lists.osdn.me
> > https://lists.osdn.me/mailman/listinfo/linux-ha-japan
>
> $B(.(.(.(.(.(.(.(.(.(.(.(.(.(.(.(.(.(.(.(.(.(.(B
> $B5~%;%i%3%_%e%K%1!<%7%g%s%7%9%F%`3t<02q<R(B
> IT$B%$%s%U%i%=%j%e!<%7%g%sIt(B
> $BEl5~(BIT$B%$%s%U%i%=%j%e!<%7%g%s(B1B
> $B4%!!??Ao(B
> TEL:03-5765-8877 ($BBeI=(B)
> e-mail:masatoshi-inui@kccs.co.jp
> $B(.(.(.(.(.(.(.(.(.(.(.(.(.(.(.(.(.(.(.(.(.(.(B

$B(.(.(.(.(.(.(.(.(.(.(.(.(.(.(.(.(.(.(.(.(.(.(B
$B5~%;%i%3%_%e%K%1!<%7%g%s%7%9%F%`3t<02q<R(B
IT$B%$%s%U%i%=%j%e!<%7%g%sIt(B
$BEl5~(BIT$B%$%s%U%i%=%j%e!<%7%g%s(B1B
$B4%!!??Ao(B
TEL:03-5765-8877 ($BBeI=(B)
e-mail:masatoshi-inui@kccs.co.jp
$B(.(.(.(.(.(.(.(.(.(.(.(.(.(.(.(.(.(.(.(.(.(.(B
Re: Pacemaker$B$N(Bclone$B%j%=!<%9$NF0$-$K$D$$$F<ALd(B [ In reply to ]
$B4%$5$s(B

$B$3$s$K$A$O!"0f>e$G$9!#(B

> monitor$B=hM}$G2?$r3NG'$7$F$$$k$N$+$o$+$C$F$$$J$$$N$G$9$,!"E:IU$N%m%0$+$i2?$+$o$+$j$^$;$s(B

"lsb:httpd"$B$J$N$G!"(Bmonitor$B;~$K$O(B /etc/init.d/httpd $B$N(B "status)" $B$N=hM}$,(B
$B<B9T$5$l$^$9!#(B(PID$B%A%'%C%/$@$H;W$$$^$9(B)

$B%m%0$b8+$^$7$?$,!"?dB,$5$l$F$$$kDL$j(B start$B$O(BOK / monitor$B$G%(%i!<8!CN(B
(httpd$B$,(B"not running")$B$,H/@8$7$F$$$^$9$M!#(B

$BDd;_$7$F$$$?852TF/7O%[%9%H5/F0;~!a(Bhttpd$B5/F0;~$NF0:n$r3NG'$7$F$_$k$N$,!"(B
$B2r7h$N;e8}$K$J$k$+$H;W$$$^$9!#(B

$B0J>e$G$9!#(B

> -----Original Message-----
> From: linux-ha-japan-bounces@lists.osdn.me
> [mailto:linux-ha-japan-bounces@lists.osdn.me] On Behalf Of $B4%!!??Ao(B
> Sent: Wednesday, September 05, 2018 5:54 PM
> To: linux-ha-japan@lists.osdn.me
> Subject: Re: [Linux-ha-jp] Pacemaker$B$N(Bclone$B%j%=!<%9$NF0$-$K$D$$$F<ALd(B
>
> $B9bDMMM(B
>
> $B$*@$OC$K$J$C$F$*$j$^$9!#4%$H?=$7$^$9!#(B
>
> $B:FEY%9%W%j%C%H%V%l%$%s;~$NF0:n$r3NG'$7!"%m%0$r<hF@$7$^$7$?!#(B
> $B$d$O$j!"(Bapache$B$N<+F05/F0$rL58z$K$9$k$HBT5!7OB&$rAH$_9~$s$@:]$K!"BT5!7OB&$N(B
> apache$B%j%=!<%9$,(Bfail$B>uBV$K$J$j$^$9!#(B
> $B$?$@!"%W%m%;%9<+BN$O5/F0$7$F$*$j!"%j%=!<%9>e$G(Bfail$B$K$J$C$F$$$^$7$?!#(B
> $B62$i$/(Bstart$B=hM}$O8z$$$F$$$F!"(Bmonitor$B=hM}$G0[>o$,5/$-$F$$$k$N$G$O$J$$$+$H;W$C(B
> $B$F$*$j$^$9!#(B
> monitor$B=hM}$G2?$r3NG'$7$F$$$k$N$+$o$+$C$F$$$J$$$N$G$9$,!"E:IU$N%m%0$+$i2?$+$o(B
> $B$+$j$^$;$s(B
> $B$G$7$g$&$+!)(B
>
> $B0J>e!"$h$m$7$/$*4j$$CW$7$^$9!#(B
>
>
> On Wed, 05 Sep 2018 11:31:08 +0900
> $B4%!!??Ao(B <masatoshi-inui@kccs.co.jp> wrote:
>
> > $B9bDMMM(B
> >
> > $BJV?.$$$?$@$-$"$j$,$H$&$4$6$$$^$9!#=u$+$j$^$9!#(B
> >
> > xinetd$B$K$D$$$F$O(BSSH$B$r(Bxinetd$B@)8f$H$7$F$*$j!"(Bsshd$B$,Dd;_$7$?$i%j%=!<%9$rBP8~(B
> $B%5!<%P$X(B
> > $B@Z$jBX$($k$H$$$&F0$-$H$7$?$+$C$?$N$GF~$l$F$*$j$^$9!#(B
> >
> > xinetd$B$r<+F05/F0$K$7$F$$$k$N$O8!>Z$r9T$C$F$*$j!":G0-%m%0%$%s$G$-$J$/$J$C$F$7(B
> $B$^$&$3$H$r(B
> > $BHr$1$?$+$C$?$?$a$G$9!#(B
> > $B2DG=$G$"$l$P!"(Bchkconfig$B$K$h$k<+F05/F0$O$7$J$$$h$&$K$7$?$$$H9M$($F$$$^$9!#(B
> >
> > $B%m%0$d(Bcrm_mon$B7k2L$r3NG'$7$?$N$G$9$,!"$J$<(Bfaile$B$K$J$k$+$o$+$i$J$$$H$$$C$?>u(B
> $B67$G$9!#(B
> > clone$B@_Dj$7$?%W%m%;%9$N<+F05/F0$rM-8z$K$7$?>l9g!"1?MQ>e$J$K$+%G%a%j%C%H$O$"(B
> $B$j$^$9$G$7$g$&$+!)(B
> >
> > $B0J>e!"$h$m$7$/$*4j$$CW$7$^$9!#(B
> >
> > On Wed, 5 Sep 2018 10:28:20 +0900
> > TAKATSUKA Haruka <harukat@sraoss.co.jp> wrote:
> >
> > > $B9bDM$H?=$7$^$9!#(B
> > >
> > > $B%$%s%i%$%s$G5-:\$7$^$9!#(B
> > >
> > > On Wed, 05 Sep 2018 09:41:21 +0900
> > > $B4%!!??Ao(B <masatoshi-inui@kccs.co.jp> wrote:
> > >
> > > > $B$*@$OC$K$J$C$F$*$j$^$9!#(B
> > > >
> > > > $B<ALd$5$;$F$$$?$@$$$F$*$j$^$9$,!"$$$+$,$G$7$g$&$+!)(B
> > > > $B2?$+$7$iH?1~$$$?$@$1$k$H9,$$$G$9!#(B
> > > >
> > > > $B0J>e!"$h$m$7$/$*4j$$CW$7$^$9!#(B
> > > >
> > > > On Fri, 31 Aug 2018 17:46:40 +0900
> > > > $B4%!!??Ao(B <masatoshi-inui@kccs.co.jp> wrote:
> > > >
> > > > > $B$*@$OC$K$J$C$F$*$j$^$9!#(B
> > > > >
> > > > > clone$B%j%=!<%9$NF0$-$K$D$$$F<ALd$5$;$F$/$@$5$$!#(B
> > > > > Pacemaker$B%j%=!<%9@_Dj$H$7$F0J2<!c%j%=!<%9@_Dj!d$r@_Dj$7$F$$$^$9!#(B
> > > > >
> > > > > xinetd$B$H(Bhttpd$B$O(Bclone$B@_Dj$7$F$*$j$^$9$,!"(Bxinetd$B$O(Bchkconfig$B$N<+F05/F0(B
> $B$,M-8z!"(Bhttpd$B$OL58z$H$J$C$F$*$j$^$9!#(B
> > > > > $B$=$3$G!"0J2<$N<j=g$G%9%W%j%C%H%V%l%$%s$rH/@8$5$;!"I|5l$5$;$^$9!#(B
> > > > >
> > > > > $B!c8!>Z<j=g!d(B
> > > > > $B!!!&%9%W%j%C%H%V%l%$%s$rH/@8(B($B%M%C%H%o!<%/<WCG(B)
> > > > > $B!!!&(Bping_check$B$NF0:n$K$h$jBT5!7O%[%9%H$N(BPacemaker$B%W%m%;%9$rDd;_!#2TF/(B
> $B7O%[%9%H$O2TF/7O$H$7$F5/F0$7B3$1$k!#(B
> > > > > $B!!!&2TF/7O%[%9%H$rDd;_$7!"N>7ODd;_>uBV$H$9$k!#(B
> > > > > $B!!!&%M%C%H%o!<%/I|5l(B
> > > > > $B!!!&BT5!7O%[%9%H$N(BPacemaker$B$r5/F0$5$;$k!#BT5!7O%[%9%H$O2TF/7O$H$7$F5/(B
> $BF0$9$k!#(B
> > > > > $B!!!&Dd;_$7$F$$$?852TF/7O%[%9%H$r5/F0$5$;$k!#(B
> > > > > $B!z!&(Bxinetd$B$ON>%[%9%H$G5/F0$9$k$,!"(Bhttpd$B$OBT5!7O%[%9%H$G5/F0$;$:!"(Bmonitor
> $B=hM}$G(Bfailed$B$H$J$k!#(B
> > > > >
> > > > > httpd$B$N<+F05/F0$rM-8z$K$7$F>e5-8!>Z$r<B;\$7$?$H$3$m!"(Bmonitor$B=hM}$G(Bfailed
> $B$K$J$i$:5/F0$7$F$-$^$7$?!#(B
> > >
> > >
> > > > > $B!c<ALdFbMF!d(B
> > > > > $B!z$NItJ,$K$D$$$F!"(Bclone$B%j%=!<%9$NF0$-$K$D$$$F<ALd$H$J$j$^$9$,!"(Bhttpd
> $B$,5/F0$7$F$$$J$$$H!"(BPacemaker$B5/F0%?%$%_%s%0$G(B
> > > > > failed$B$H$J$k$N$O@5$7$$F0$-$G$7$g$&$+!)(B
> > >
> > > $B"*(B $B%m%0$d(B crm_mon$B=PNO$+$i(B httpd$B$,5/F0$7$J$+$C$?M}M3$rD4$Y$^$7$g$&!#(B
> > > $B$?$@$7!"2?$G$"$l%9%W%j%C%H%V%l%$%s$,@8$8$?>l9g$+$i$NI|5"$O<jF0A`:n$K$h$k(B
> > > $BBP1~$,I,MW$H9M$($?$[$&$,NI$$$G$9!#(B
> > >
> > > > > Pacemaker$B$G%W%m%;%95/F0@)8f$7$F$$$kG'<1$J$N$G<+F05/F0$OL58z$K$9$kI,MW(B
> $B$,$"$k$N$+$H;W$$$^$7$?$,!"0c$$$^$9$G$7$g$&$+!)(B
> > >
> > > $B"*(B $BDL>o$=$&$7$^$9!#(B
> > > xinetd $B$r<+F05/F0M-8z$K$7$?$N$O!"$=$&$7$J$$$H(B OS$B5/F0$KITET9g$,$"$C$?(B
> > > $B$H$$$C$?$"$?$j$G$7$g$&$+!#(Bxinetd $B$r(B Pacemaker$B4IM}$9$k;vNc$O;d$O(B
> > > $B$_$?$3$H$,$"$j$^$;$s$G$7$?!#H?1~$,$J$$$N$O!"3'$5$sF1MM$@$C$?$N$G$O(B
> > > $B$J$$$G$7$g$&$+!#(B
> > >
> > > > > $B!c%j%=!<%9@_Dj!d(B
> > > > > $B"((BIP$BEy$O(BXXX$B$K=$@5$7$F$$$^$9(B
> > > > > --------------------------------------------------------------------
> > > > > node 1: test-bru-web01 \
> > > > > attributes standby=off
> > > > > node 2: test-bru-web02 \
> > > > > attributes standby=off
> > > > > primitive EIP EIP \
> > > > > params elastic_ip=XXXXXX allocation_id=XXXXX \
> > > > > op start interval=0s timeout=60s \
> > > > > op monitor interval=30s timeout=30s \
> > > > > op stop interval=0 timeout=60s
> > > > > primitive httpd lsb:httpd \
> > > > > op start interval=0s timeout=60s \
> > > > > op monitor interval=30s timeout=30s \
> > > > > op stop interval=0s timeout=60s
> > > > > primitive ip-XXX IPaddr \
> > > > > params ip=XXX nic=eth0 cidr_netmask=24 \
> > > > > op monitor interval=30s timeout=30s
> > > > > primitive ping_check anything \
> > > > > params binfile="/usr/local/script/pacemaker/ping_check.sh" \
> > > > > op monitor interval=30s timeout=30s on-fail=restart
> > > > > primitive replace-route_test-ap lsb:replace-route_test-ap \
> > > > > op monitor interval=30s timeout=30s
> > > > > primitive vipcheck VIPcheck \
> > > > > params target_ip=XXX count=3 wait=3 \
> > > > > op start interval=0 timeout=60 on-fail=restart \
> > > > > op stop interval=0 timeout=60 on-fail=ignore \
> > > > > op monitor interval=10 timeout=60 on-fail=restart start-delay=0
> > > > > primitive xinetd lsb:xinetd \
> > > > > op start interval=0s timeout=60s \
> > > > > op monitor interval=30s timeout=30s \
> > > > > op stop interval=0s timeout=60s
> > > > > group group1 vipcheck ip-XXX replace-route_test-ap EIP
> > > > > clone cln_httpd httpd
> > > > > clone cln_ping_check ping_check
> > > > > clone cln_xinetd xinetd
> > > > > location rsc_location group1 \
> > > > > rule 200: #uname eq test-bru-web01 \
> > > > > rule 100: #uname eq test-bru-web02
> > > > > colocation rsc_colocation1 inf: group1 cln_xinetd
> > > > > colocation rsc_colocation2 inf: group1 cln_httpd
> > > > > property cib-bootstrap-options: \
> > > > > have-watchdog=false \
> > > > > dc-version=1.1.16-1.el6-94ff4df \
> > > > > no-quorum-policy=ignore \
> > > > > stonith-enabled=false \
> > > > > have-watchdog=false \
> > > > > cluster-infrastructure=corosync \
> > > > > last-lrm-refresh=1535701464 \
> > > > > maintenance-mode=false
> > > > > rsc_defaults rsc-options: \
> > > > > resource-stickiness=INFINITY \
> > > > > migration-threshold=1
> > > > > --------------------------------------------------------------------
> > > > >
> > > > >
> > > > > $B(.(.(.(.(.(.(.(.(.(.(.(.(.(.(.(.(.(.(.(.(.(.(B
> > > > > $B5~%;%i%3%_%e%K%1!<%7%g%s%7%9%F%`3t<02q<R(B
> > > > > IT$B%$%s%U%i%=%j%e!<%7%g%sIt(B
> > > > > $BEl5~(BIT$B%$%s%U%i%=%j%e!<%7%g%s(B1B
> > > > > $B4%!!??Ao(B
> > > > > TEL:03-5765-8877 ($BBeI=(B)
> > > > > e-mail:masatoshi-inui@kccs.co.jp
> > > > > $B(.(.(.(.(.(.(.(.(.(.(.(.(.(.(.(.(.(.(.(.(.(.(B
> > > >
> > > > $B(.(.(.(.(.(.(.(.(.(.(.(.(.(.(.(.(.(.(.(.(.(.(B
> > > > $B5~%;%i%3%_%e%K%1!<%7%g%s%7%9%F%`3t<02q<R(B
> > > > IT$B%$%s%U%i%=%j%e!<%7%g%sIt(B
> > > > $BEl5~(BIT$B%$%s%U%i%=%j%e!<%7%g%s(B1B
> > > > $B4%!!??Ao(B
> > > > TEL:03-5765-8877 ($BBeI=(B)
> > > > e-mail:masatoshi-inui@kccs.co.jp
> > > > $B(.(.(.(.(.(.(.(.(.(.(.(.(.(.(.(.(.(.(.(.(.(.(B
> > > >
> > > > _______________________________________________
> > > > Linux-ha-japan mailing list
> > > > Linux-ha-japan@lists.osdn.me
> > > > https://lists.osdn.me/mailman/listinfo/linux-ha-japan
> > > >
> > >
> > > ______________________________________________________________________
> > > $B9bDM!!MZ(B harukat@sraoss.co.jp SRA OSS, Inc. http://www.sraoss.co.jp
> > > $B")(B171-0022 $BEl5~ETK-Eg6hFnCSB^(B2-32-8
> > >
> > > _______________________________________________
> > > Linux-ha-japan mailing list
> > > Linux-ha-japan@lists.osdn.me
> > > https://lists.osdn.me/mailman/listinfo/linux-ha-japan
> >
> > $B(.(.(.(.(.(.(.(.(.(.(.(.(.(.(.(.(.(.(.(.(.(.(B
> > $B5~%;%i%3%_%e%K%1!<%7%g%s%7%9%F%`3t<02q<R(B
> > IT$B%$%s%U%i%=%j%e!<%7%g%sIt(B
> > $BEl5~(BIT$B%$%s%U%i%=%j%e!<%7%g%s(B1B
> > $B4%!!??Ao(B
> > TEL:03-5765-8877 ($BBeI=(B)
> > e-mail:masatoshi-inui@kccs.co.jp
> > $B(.(.(.(.(.(.(.(.(.(.(.(.(.(.(.(.(.(.(.(.(.(.(B
>
> $B(.(.(.(.(.(.(.(.(.(.(.(.(.(.(.(.(.(.(.(.(.(.(B
> $B5~%;%i%3%_%e%K%1!<%7%g%s%7%9%F%`3t<02q<R(B
> IT$B%$%s%U%i%=%j%e!<%7%g%sIt(B
> $BEl5~(BIT$B%$%s%U%i%=%j%e!<%7%g%s(B1B
> $B4%!!??Ao(B
> TEL:03-5765-8877 ($BBeI=(B)
> e-mail:masatoshi-inui@kccs.co.jp
> $B(.(.(.(.(.(.(.(.(.(.(.(.(.(.(.(.(.(.(.(.(.(.(B

_______________________________________________
Linux-ha-japan mailing list
Linux-ha-japan@lists.osdn.me
https://lists.osdn.me/mailman/listinfo/linux-ha-japan
Re: Pacemaker$B$N(Bclone$B%j%=!<%9$NF0$-$K$D$$$F<ALd(B [ In reply to ]
$B0f>e$5$s(B

$B4%$G$9!#(B

$B$"$j$,$H$&$4$6$$$^$9!#(B
monitor$B$O(Bstatus$B$,<B9T$5$l$k$s$G$9$M!#%9%/%j%W%H8+$k$H3N$+$K(BPID$B%U%!%$%k$r%A%'%C%/$7$F$^$9!#(B
$B:FEY8!>Z$7$F3NG'$7$F$_$^$9!#(B

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

On Thu, 6 Sep 2018 08:12:50 +0000
$B0f>e(B $BOBFA(B <inouekazu@intellilink.co.jp> wrote:

> $B4%$5$s(B
>
> $B$3$s$K$A$O!"0f>e$G$9!#(B
>
> > monitor$B=hM}$G2?$r3NG'$7$F$$$k$N$+$o$+$C$F$$$J$$$N$G$9$,!"E:IU$N%m%0$+$i2?$+$o$+$j$^$;$s(B
>
> "lsb:httpd"$B$J$N$G!"(Bmonitor$B;~$K$O(B /etc/init.d/httpd $B$N(B "status)" $B$N=hM}$,(B
> $B<B9T$5$l$^$9!#(B(PID$B%A%'%C%/$@$H;W$$$^$9(B)
>
> $B%m%0$b8+$^$7$?$,!"?dB,$5$l$F$$$kDL$j(B start$B$O(BOK / monitor$B$G%(%i!<8!CN(B
> (httpd$B$,(B"not running")$B$,H/@8$7$F$$$^$9$M!#(B
>
> $BDd;_$7$F$$$?852TF/7O%[%9%H5/F0;~!a(Bhttpd$B5/F0;~$NF0:n$r3NG'$7$F$_$k$N$,!"(B
> $B2r7h$N;e8}$K$J$k$+$H;W$$$^$9!#(B
>
> $B0J>e$G$9!#(B
>
> > -----Original Message-----
> > From: linux-ha-japan-bounces@lists.osdn.me
> > [mailto:linux-ha-japan-bounces@lists.osdn.me] On Behalf Of $B4%!!??Ao(B
> > Sent: Wednesday, September 05, 2018 5:54 PM
> > To: linux-ha-japan@lists.osdn.me
> > Subject: Re: [Linux-ha-jp] Pacemaker$B$N(Bclone$B%j%=!<%9$NF0$-$K$D$$$F<ALd(B
> >
> > $B9bDMMM(B
> >
> > $B$*@$OC$K$J$C$F$*$j$^$9!#4%$H?=$7$^$9!#(B
> >
> > $B:FEY%9%W%j%C%H%V%l%$%s;~$NF0:n$r3NG'$7!"%m%0$r<hF@$7$^$7$?!#(B
> > $B$d$O$j!"(Bapache$B$N<+F05/F0$rL58z$K$9$k$HBT5!7OB&$rAH$_9~$s$@:]$K!"BT5!7OB&$N(B
> > apache$B%j%=!<%9$,(Bfail$B>uBV$K$J$j$^$9!#(B
> > $B$?$@!"%W%m%;%9<+BN$O5/F0$7$F$*$j!"%j%=!<%9>e$G(Bfail$B$K$J$C$F$$$^$7$?!#(B
> > $B62$i$/(Bstart$B=hM}$O8z$$$F$$$F!"(Bmonitor$B=hM}$G0[>o$,5/$-$F$$$k$N$G$O$J$$$+$H;W$C(B
> > $B$F$*$j$^$9!#(B
> > monitor$B=hM}$G2?$r3NG'$7$F$$$k$N$+$o$+$C$F$$$J$$$N$G$9$,!"E:IU$N%m%0$+$i2?$+$o(B
> > $B$+$j$^$;$s(B
> > $B$G$7$g$&$+!)(B
> >
> > $B0J>e!"$h$m$7$/$*4j$$CW$7$^$9!#(B
> >
> >
> > On Wed, 05 Sep 2018 11:31:08 +0900
> > $B4%!!??Ao(B <masatoshi-inui@kccs.co.jp> wrote:
> >
> > > $B9bDMMM(B
> > >
> > > $BJV?.$$$?$@$-$"$j$,$H$&$4$6$$$^$9!#=u$+$j$^$9!#(B
> > >
> > > xinetd$B$K$D$$$F$O(BSSH$B$r(Bxinetd$B@)8f$H$7$F$*$j!"(Bsshd$B$,Dd;_$7$?$i%j%=!<%9$rBP8~(B
> > $B%5!<%P$X(B
> > > $B@Z$jBX$($k$H$$$&F0$-$H$7$?$+$C$?$N$GF~$l$F$*$j$^$9!#(B
> > >
> > > xinetd$B$r<+F05/F0$K$7$F$$$k$N$O8!>Z$r9T$C$F$*$j!":G0-%m%0%$%s$G$-$J$/$J$C$F$7(B
> > $B$^$&$3$H$r(B
> > > $BHr$1$?$+$C$?$?$a$G$9!#(B
> > > $B2DG=$G$"$l$P!"(Bchkconfig$B$K$h$k<+F05/F0$O$7$J$$$h$&$K$7$?$$$H9M$($F$$$^$9!#(B
> > >
> > > $B%m%0$d(Bcrm_mon$B7k2L$r3NG'$7$?$N$G$9$,!"$J$<(Bfaile$B$K$J$k$+$o$+$i$J$$$H$$$C$?>u(B
> > $B67$G$9!#(B
> > > clone$B@_Dj$7$?%W%m%;%9$N<+F05/F0$rM-8z$K$7$?>l9g!"1?MQ>e$J$K$+%G%a%j%C%H$O$"(B
> > $B$j$^$9$G$7$g$&$+!)(B
> > >
> > > $B0J>e!"$h$m$7$/$*4j$$CW$7$^$9!#(B
> > >
> > > On Wed, 5 Sep 2018 10:28:20 +0900
> > > TAKATSUKA Haruka <harukat@sraoss.co.jp> wrote:
> > >
> > > > $B9bDM$H?=$7$^$9!#(B
> > > >
> > > > $B%$%s%i%$%s$G5-:\$7$^$9!#(B
> > > >
> > > > On Wed, 05 Sep 2018 09:41:21 +0900
> > > > $B4%!!??Ao(B <masatoshi-inui@kccs.co.jp> wrote:
> > > >
> > > > > $B$*@$OC$K$J$C$F$*$j$^$9!#(B
> > > > >
> > > > > $B<ALd$5$;$F$$$?$@$$$F$*$j$^$9$,!"$$$+$,$G$7$g$&$+!)(B
> > > > > $B2?$+$7$iH?1~$$$?$@$1$k$H9,$$$G$9!#(B
> > > > >
> > > > > $B0J>e!"$h$m$7$/$*4j$$CW$7$^$9!#(B
> > > > >
> > > > > On Fri, 31 Aug 2018 17:46:40 +0900
> > > > > $B4%!!??Ao(B <masatoshi-inui@kccs.co.jp> wrote:
> > > > >
> > > > > > $B$*@$OC$K$J$C$F$*$j$^$9!#(B
> > > > > >
> > > > > > clone$B%j%=!<%9$NF0$-$K$D$$$F<ALd$5$;$F$/$@$5$$!#(B
> > > > > > Pacemaker$B%j%=!<%9@_Dj$H$7$F0J2<!c%j%=!<%9@_Dj!d$r@_Dj$7$F$$$^$9!#(B
> > > > > >
> > > > > > xinetd$B$H(Bhttpd$B$O(Bclone$B@_Dj$7$F$*$j$^$9$,!"(Bxinetd$B$O(Bchkconfig$B$N<+F05/F0(B
> > $B$,M-8z!"(Bhttpd$B$OL58z$H$J$C$F$*$j$^$9!#(B
> > > > > > $B$=$3$G!"0J2<$N<j=g$G%9%W%j%C%H%V%l%$%s$rH/@8$5$;!"I|5l$5$;$^$9!#(B
> > > > > >
> > > > > > $B!c8!>Z<j=g!d(B
> > > > > > $B!!!&%9%W%j%C%H%V%l%$%s$rH/@8(B($B%M%C%H%o!<%/<WCG(B)
> > > > > > $B!!!&(Bping_check$B$NF0:n$K$h$jBT5!7O%[%9%H$N(BPacemaker$B%W%m%;%9$rDd;_!#2TF/(B
> > $B7O%[%9%H$O2TF/7O$H$7$F5/F0$7B3$1$k!#(B
> > > > > > $B!!!&2TF/7O%[%9%H$rDd;_$7!"N>7ODd;_>uBV$H$9$k!#(B
> > > > > > $B!!!&%M%C%H%o!<%/I|5l(B
> > > > > > $B!!!&BT5!7O%[%9%H$N(BPacemaker$B$r5/F0$5$;$k!#BT5!7O%[%9%H$O2TF/7O$H$7$F5/(B
> > $BF0$9$k!#(B
> > > > > > $B!!!&Dd;_$7$F$$$?852TF/7O%[%9%H$r5/F0$5$;$k!#(B
> > > > > > $B!z!&(Bxinetd$B$ON>%[%9%H$G5/F0$9$k$,!"(Bhttpd$B$OBT5!7O%[%9%H$G5/F0$;$:!"(Bmonitor
> > $B=hM}$G(Bfailed$B$H$J$k!#(B
> > > > > >
> > > > > > httpd$B$N<+F05/F0$rM-8z$K$7$F>e5-8!>Z$r<B;\$7$?$H$3$m!"(Bmonitor$B=hM}$G(Bfailed
> > $B$K$J$i$:5/F0$7$F$-$^$7$?!#(B
> > > >
> > > >
> > > > > > $B!c<ALdFbMF!d(B
> > > > > > $B!z$NItJ,$K$D$$$F!"(Bclone$B%j%=!<%9$NF0$-$K$D$$$F<ALd$H$J$j$^$9$,!"(Bhttpd
> > $B$,5/F0$7$F$$$J$$$H!"(BPacemaker$B5/F0%?%$%_%s%0$G(B
> > > > > > failed$B$H$J$k$N$O@5$7$$F0$-$G$7$g$&$+!)(B
> > > >
> > > > $B"*(B $B%m%0$d(B crm_mon$B=PNO$+$i(B httpd$B$,5/F0$7$J$+$C$?M}M3$rD4$Y$^$7$g$&!#(B
> > > > $B$?$@$7!"2?$G$"$l%9%W%j%C%H%V%l%$%s$,@8$8$?>l9g$+$i$NI|5"$O<jF0A`:n$K$h$k(B
> > > > $BBP1~$,I,MW$H9M$($?$[$&$,NI$$$G$9!#(B
> > > >
> > > > > > Pacemaker$B$G%W%m%;%95/F0@)8f$7$F$$$kG'<1$J$N$G<+F05/F0$OL58z$K$9$kI,MW(B
> > $B$,$"$k$N$+$H;W$$$^$7$?$,!"0c$$$^$9$G$7$g$&$+!)(B
> > > >
> > > > $B"*(B $BDL>o$=$&$7$^$9!#(B
> > > > xinetd $B$r<+F05/F0M-8z$K$7$?$N$O!"$=$&$7$J$$$H(B OS$B5/F0$KITET9g$,$"$C$?(B
> > > > $B$H$$$C$?$"$?$j$G$7$g$&$+!#(Bxinetd $B$r(B Pacemaker$B4IM}$9$k;vNc$O;d$O(B
> > > > $B$_$?$3$H$,$"$j$^$;$s$G$7$?!#H?1~$,$J$$$N$O!"3'$5$sF1MM$@$C$?$N$G$O(B
> > > > $B$J$$$G$7$g$&$+!#(B
> > > >
> > > > > > $B!c%j%=!<%9@_Dj!d(B
> > > > > > $B"((BIP$BEy$O(BXXX$B$K=$@5$7$F$$$^$9(B
> > > > > > --------------------------------------------------------------------
> > > > > > node 1: test-bru-web01 \
> > > > > > attributes standby=off
> > > > > > node 2: test-bru-web02 \
> > > > > > attributes standby=off
> > > > > > primitive EIP EIP \
> > > > > > params elastic_ip=XXXXXX allocation_id=XXXXX \
> > > > > > op start interval=0s timeout=60s \
> > > > > > op monitor interval=30s timeout=30s \
> > > > > > op stop interval=0 timeout=60s
> > > > > > primitive httpd lsb:httpd \
> > > > > > op start interval=0s timeout=60s \
> > > > > > op monitor interval=30s timeout=30s \
> > > > > > op stop interval=0s timeout=60s
> > > > > > primitive ip-XXX IPaddr \
> > > > > > params ip=XXX nic=eth0 cidr_netmask=24 \
> > > > > > op monitor interval=30s timeout=30s
> > > > > > primitive ping_check anything \
> > > > > > params binfile="/usr/local/script/pacemaker/ping_check.sh" \
> > > > > > op monitor interval=30s timeout=30s on-fail=restart
> > > > > > primitive replace-route_test-ap lsb:replace-route_test-ap \
> > > > > > op monitor interval=30s timeout=30s
> > > > > > primitive vipcheck VIPcheck \
> > > > > > params target_ip=XXX count=3 wait=3 \
> > > > > > op start interval=0 timeout=60 on-fail=restart \
> > > > > > op stop interval=0 timeout=60 on-fail=ignore \
> > > > > > op monitor interval=10 timeout=60 on-fail=restart start-delay=0
> > > > > > primitive xinetd lsb:xinetd \
> > > > > > op start interval=0s timeout=60s \
> > > > > > op monitor interval=30s timeout=30s \
> > > > > > op stop interval=0s timeout=60s
> > > > > > group group1 vipcheck ip-XXX replace-route_test-ap EIP
> > > > > > clone cln_httpd httpd
> > > > > > clone cln_ping_check ping_check
> > > > > > clone cln_xinetd xinetd
> > > > > > location rsc_location group1 \
> > > > > > rule 200: #uname eq test-bru-web01 \
> > > > > > rule 100: #uname eq test-bru-web02
> > > > > > colocation rsc_colocation1 inf: group1 cln_xinetd
> > > > > > colocation rsc_colocation2 inf: group1 cln_httpd
> > > > > > property cib-bootstrap-options: \
> > > > > > have-watchdog=false \
> > > > > > dc-version=1.1.16-1.el6-94ff4df \
> > > > > > no-quorum-policy=ignore \
> > > > > > stonith-enabled=false \
> > > > > > have-watchdog=false \
> > > > > > cluster-infrastructure=corosync \
> > > > > > last-lrm-refresh=1535701464 \
> > > > > > maintenance-mode=false
> > > > > > rsc_defaults rsc-options: \
> > > > > > resource-stickiness=INFINITY \
> > > > > > migration-threshold=1
> > > > > > --------------------------------------------------------------------
> > > > > >
> > > > > >
> > > > > > $B(.(.(.(.(.(.(.(.(.(.(.(.(.(.(.(.(.(.(.(.(.(.(B
> > > > > > $B5~%;%i%3%_%e%K%1!<%7%g%s%7%9%F%`3t<02q<R(B
> > > > > > IT$B%$%s%U%i%=%j%e!<%7%g%sIt(B
> > > > > > $BEl5~(BIT$B%$%s%U%i%=%j%e!<%7%g%s(B1B
> > > > > > $B4%!!??Ao(B
> > > > > > TEL:03-5765-8877 ($BBeI=(B)
> > > > > > e-mail:masatoshi-inui@kccs.co.jp
> > > > > > $B(.(.(.(.(.(.(.(.(.(.(.(.(.(.(.(.(.(.(.(.(.(.(B
> > > > >
> > > > > $B(.(.(.(.(.(.(.(.(.(.(.(.(.(.(.(.(.(.(.(.(.(.(B
> > > > > $B5~%;%i%3%_%e%K%1!<%7%g%s%7%9%F%`3t<02q<R(B
> > > > > IT$B%$%s%U%i%=%j%e!<%7%g%sIt(B
> > > > > $BEl5~(BIT$B%$%s%U%i%=%j%e!<%7%g%s(B1B
> > > > > $B4%!!??Ao(B
> > > > > TEL:03-5765-8877 ($BBeI=(B)
> > > > > e-mail:masatoshi-inui@kccs.co.jp
> > > > > $B(.(.(.(.(.(.(.(.(.(.(.(.(.(.(.(.(.(.(.(.(.(.(B
> > > > >
> > > > > _______________________________________________
> > > > > Linux-ha-japan mailing list
> > > > > Linux-ha-japan@lists.osdn.me
> > > > > https://lists.osdn.me/mailman/listinfo/linux-ha-japan
> > > > >
> > > >
> > > > ______________________________________________________________________
> > > > $B9bDM!!MZ(B harukat@sraoss.co.jp SRA OSS, Inc. http://www.sraoss.co.jp
> > > > $B")(B171-0022 $BEl5~ETK-Eg6hFnCSB^(B2-32-8
> > > >
> > > > _______________________________________________
> > > > Linux-ha-japan mailing list
> > > > Linux-ha-japan@lists.osdn.me
> > > > https://lists.osdn.me/mailman/listinfo/linux-ha-japan
> > >
> > > $B(.(.(.(.(.(.(.(.(.(.(.(.(.(.(.(.(.(.(.(.(.(.(B
> > > $B5~%;%i%3%_%e%K%1!<%7%g%s%7%9%F%`3t<02q<R(B
> > > IT$B%$%s%U%i%=%j%e!<%7%g%sIt(B
> > > $BEl5~(BIT$B%$%s%U%i%=%j%e!<%7%g%s(B1B
> > > $B4%!!??Ao(B
> > > TEL:03-5765-8877 ($BBeI=(B)
> > > e-mail:masatoshi-inui@kccs.co.jp
> > > $B(.(.(.(.(.(.(.(.(.(.(.(.(.(.(.(.(.(.(.(.(.(.(B
> >
> > $B(.(.(.(.(.(.(.(.(.(.(.(.(.(.(.(.(.(.(.(.(.(.(B
> > $B5~%;%i%3%_%e%K%1!<%7%g%s%7%9%F%`3t<02q<R(B
> > IT$B%$%s%U%i%=%j%e!<%7%g%sIt(B
> > $BEl5~(BIT$B%$%s%U%i%=%j%e!<%7%g%s(B1B
> > $B4%!!??Ao(B
> > TEL:03-5765-8877 ($BBeI=(B)
> > e-mail:masatoshi-inui@kccs.co.jp
> > $B(.(.(.(.(.(.(.(.(.(.(.(.(.(.(.(.(.(.(.(.(.(.(B
>
> _______________________________________________
> Linux-ha-japan mailing list
> Linux-ha-japan@lists.osdn.me
> https://lists.osdn.me/mailman/listinfo/linux-ha-japan

$B(.(.(.(.(.(.(.(.(.(.(.(.(.(.(.(.(.(.(.(.(.(.(B
$B5~%;%i%3%_%e%K%1!<%7%g%s%7%9%F%`3t<02q<R(B
IT$B%$%s%U%i%=%j%e!<%7%g%sIt(B
$BEl5~(BIT$B%$%s%U%i%=%j%e!<%7%g%s(B1B
$B4%!!??Ao(B
TEL:03-5765-8877 ($BBeI=(B)
e-mail:masatoshi-inui@kccs.co.jp
$B(.(.(.(.(.(.(.(.(.(.(.(.(.(.(.(.(.(.(.(.(.(.(B

_______________________________________________
Linux-ha-japan mailing list
Linux-ha-japan@lists.osdn.me
https://lists.osdn.me/mailman/listinfo/linux-ha-japan