[Linux-ha-jp] tomcatのリソース定義ファイル記述方法に関しまして

Back to archive index

よしばー kitab****@gmail*****
2015年 2月 13日 (金) 17:10:34 JST


$B>>EgMM(B

$B8f@$OC$K$J$C$F$*$j$^$9!#(B
$BKLNS$G$9!#(B

$B$H$F$b>\:Y$J2r @ b!"$"$j$,$H$&$4$6$$$^$9!*(B
$B%/%*!<%i%`$d(BSTONITH$B$O!"$J$s$H$J$/M}2r$7$F$$$?$D$b$j$G$7$?$,(B
$B$*1"MM$GM}2r$,$h$j?<$^$j$^$7$?!#(B

$B-!(B/var/lib/tomcat/logs/catalina.out
$B-"(Bcrm$B @ _Dj%U%!%$%k$r$I$&$9$k$+(B

$B>>EgMM$N>pJs$r;29M$K!"@_Dj$5$;$FD:$-$^$9!#(B

$B @ _Dj$r?J$a$F$$$/Cf$G?7$7$/5?Ld$, @ 8$^$l$k$3$H$,$"$k$H;W$$$^$9!#(B
$B$=$N:]$O?=$7Lu$"$j$^$;$s$,!"$^$?<ALd$5$;$FD:$1$^$9$G$7$g$&$+!#(B

$BK\Ev$K$"$j$,$H$&$4$6$$$^$7$?!#(B



2015/02/12 Takehiro Matsushima <takeh****@gmail*****>:
> $BKLNS(B $B$5$s(B
>
> $B>>Eg$G$9!#$R$H$^$:F0:n$7$?$H$N$3$H$G!"0B?4CW$7$^$7$?!#(B
>
>> $B>e5-$K(B
>> $B!I(Btouch `/var/lib/tomcat/logs/catalina.out': $B5v2D$,$"$j$^$;$s!I(B
>> $B$H$"$k$3$H$+$i!V8"8B$NLdBj$@$m$&$+!W$H;W$$!"(B
>> $B$+$J$j6/0z$G$O$"$j$^$9$,(B
>>
>> #chmod 777 /var/lib/tomcat/logs/catalina.out
>>
>> $B$H$7$?$H$3$m!"(Bpacemaker$B$KG'<1$5$;$k$3$H$K @ .8yCW$7$^$7$?!#(B
>
> $B$b$7$+$7$?$iF0:n3NG'$N$?$a$K(Broot$B%f!<%6$G<B9T$7$?:]$K(B/var/lib/tomcat/logs/catalina.out$B$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$A$^$A$@$H;W$$$^$9$7!"(B
> Tomcat$B$N:nK!$OB8$8$^$;$s$N$G!"$"$/$^$G$b;d$N9M$($r=q$+$;$F$$$?$@$-$^$9!#(B
>
> 777$B$K @ _Dj$7$F$7$^$&$H!"A4$/4X78$N$J$$%f!<%6$,%m%0$NFI<h$j$H=q$-9~$_(B($B2~$6$s(B)$B$,=PMh$F$7$^$$$^$9!#(B
> $B2C$($F!"%m%0%U%!%$%k$K<B9T%S%C%H$OL@$i$+$KITMW$G$9(B($B%G%#%l%/%H%j$O<B9T%S%C%H$,$J$$$H(Bcd$B=PMh$^$;$s(B)$B!#(B
> $B%0%k!<%W$KBP$7$F$O!"F1$8%0%k!<%W$K=jB0$9$k%f!<%6$,B>$K$$$J$$$N$G$"$l$P!"5v2D$OITMW$K$J$j$^$9!#(B
> $B=>$C$F!"$3$N>l9g$K$O!"(B640$B$b$7$/$O(B600$B$,NI$$$N$G$O$J$$$+$H9M$($^$9!#(B
> 644$B$H$$$&<j$b$"$j$^$9$,!"%*!<%J$G$b%0%k!<%W$K=jB0$7$F$bL5$$%f!<%6$,%m%0$rFI$a$k$H$$$&$N$O(B
> $B>/$7I]$$5$$b$7$^$9$,!"$3$l$O1?MQ<!Bh$K$J$k$+$b$7$l$^$;$s!#(B
>
> $B$^$?!"$3$l$b%(%s%8%K%"$N;WA[<!Bh$J$N$G$9$,!";d$O(BSELinux$B$O(BEnforcing$BGI$G$9!#(B
> $B$3$l$K$D$$$F$OK\Ev$K?'!9$J;WA[$,$"$j$^$9$N$G(B...
>
>> ($BN,(B)
>> $B>e5-$O$I$N$h$&$J0UL#$r$b$D$N$G$7$g$&$+!#(B
>> $B$3$NItJ,$rH4$/$H!"(B
>> #crm configure load update $B$G%(%i!<$K$J$C$F$7$^$$$^$9!#(B
>
> property cib-bootstrap-options: \
>         dc-version=1.1.12-561c4cf \
>         cluster-infrastructure=corosync \
>         no-quorum-policy=ignore \
>         stonith-enabled=false \
>         pe-input-series-max=3000 \
>         pe-error-series-max=3000 \
>         pe-warn-series-max=3000
>
> $B$3$3$NItJ,$G$7$g$&$+!#(B
> $BKvHx$N(B3$B9T$K$D$$$F$O5-;vKAF,$N%j%s%/@h$G=R$Y$F$$$k$H$*$j!"%]%j%7%(%s%8%s$N@$Be4IM}$N @ _Dj$G$9!#(B
> $B @ 5D>$J$H$3$m!"$3$A$i$OL5$/$F$bLdBj$O$J$$$H;W$$$^$9!#(B
> $B$=$l0J30$NItJ,$r=g$K8+$F$^$$$j$^$9$H!"(B
>
> property cib-bootstrap-options: \
> $B$3$3$O%/%i%9%?$NB0 @ -$r @ _Dj$9$kItJ,$H @ k8@$7$F$$$^$9!#(B
>
>         dc-version=1.1.12-561c4cf \
> $B$3$3$O(BDC(Designated Coordinator)$B$N%P!<%8%g%s$r<($7$F$$$^$9!#=q$+$J$/$F$b<+F0E*$KDI2C$5$l$^$9$7!"(B
> $B<j$G=q$+$J$$$[$&$,NI$$$H;W$$$^$9!#(B
> DC$B$O%/%i%9%?$K1w$1$k;X4x<T$N$h$&$JN)>l$N%N!<%I$N$3$H$G$9!#(B
> $B$"$/$^$G$bE}3g$NBeI=$G$"$C$F!"M%@hE*$K%^%9%?!<$K$J$k$H$+$H$$$&0UL#$O$"$j$^$;$s$,!"(B
> $B%m%0$O(BDC$B$NJ}$,$?$/$5$s>pJs$,=P$^$9!#(B
>
>         cluster-infrastructure=corosync \
> $B%/%i%9%?$N4pHW(B($B%N!<%IF1;N$NDL?.$r$9$kItJ,(B)$B$,(BCorosync$B$G$"$k$3$H$r<($7$F$$$^$9!#(B
> $B$3$3$b<+F0E*$KDI2C$5$l$^$9$7!"<j$G=q$+$J$/$F$bNI$$ItJ,$G$9!#(B
>
>         no-quorum-policy=ignore \
> $B%/%*!<%i%`$r<hF@$G$-$J$+$C$?>l9g$N5sF0$r(B"ignore($BL5;k(B)"$B$K @ _Dj$7$F$$$^$9!#(B
> $B%/%*!<%i%`$H$$$&$N$ODjB-?t$N$3$H$G!"%N!<%I$,E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@$5$$!#(B
>
> $B0J>e!"2sEz$K$J$C$F$*$j$^$9$G$7$g$&$+!#D9$/$J$C$F$7$^$$?=$7Lu$4$6$$$^$;$s!#(B
>
> ----
> Takehiro Matsushima
> _______________________________________________
> Linux-ha-japan mailing list
> Linux****@lists*****
> http://lists.sourceforge.jp/mailman/listinfo/linux-ha-japan
>





Linux-ha-japan メーリングリストの案内
Back to archive index