よしばー
kitab****@gmail*****
2015年 2月 2日 (月) 13:30:50 JST
$BHSEDMM(B $BJV?.$"$j$,$H$&$4$6$$$^$9!#(B $B @ hF|D:$-$^$7$?>pJs$G!"$J$s$H$+%j%=!<%9Dj5A%U%!%$%k$r(B $B:n @ .$9$k$3$H$,=PMh$^$7$?!#(B $BK\Ev$K$"$j$,$H$&$4$6$$$^$7$?!#(B $B:#8e$H$b$h$m$7$/$*4j$$CW$7$^$9!#(B 2015/01/28 Yusuke Iida <yusk.****@gmail*****>: > $BKLNS$5$s(B > > $B=i$a$^$7$FHSED$H?=$7$^$9!#(B > > $B-!$K$D$$$F(B > $B%j%=!<%9Dj5A%U%!%$%k$N:Y$+$$%l%/%A%c!<$^$G$O$G$-$^$;$s$,!"(B > $B=q$-J}$K$D$$$F$O2<5-%Z!<%8$,;29M$K$J$k$H;W$$$^$9!#(B > $B"((BPacemaker-1.0$B8~$1$N$b$N$G$9$,!"=q$-J}$N4pK\7A$O$=$s$J$KJQ$o$C$F$J$$$O$:$G$9!#(B > http://linux-ha.sourceforge.jp/wp/wp-content/uploads/crm_cli.html > > $B:n @ .J}K!$O%(%G%#%?$G>e5-=q<0$K1h$C$?5-=R$N%j%=!<%9Dj5A%U%!%$%k$rMQ0U$7!"(B > $B%/%i%9%?$KFI$_9~$^$;$k$?$a$K2<5-%3%^%s%I$r<B9T$7$^$9!#(B > # crm configure load update <$B%U%!%$%kL>(B> > > $B-"$K$D$$$F(B > Pacemaker$B$O2>A[(BIP$B$b%j%=!<%9$N0l$D$H$7$F4IM}$7$F$$$^$9!#(B > $B$=$N2>A[(BIP$B$r4IM}$9$k$?$a$N%j%=!<%9%(!<%8%'%s%H$,(BIPaddr2$B$H$J$j$^$9!#(B > $B%j%=!<%9(B1$B8DJ,$NDj5A$r9T$&$?$a$K(Bcrmsh$B$G$O2<5-$NMM$K5-=R$7$^$9!#(B > > primitive prmVIP ocf:heartbeat:IPaddr2 (J\ > params \ > ip="192.168.1.100" \ > nic="eth3" \ > cidr_netmask="24" \ > op start interval="0s" timeout="60s" on-fail="restart" \ > op monitor interval="10s" timeout="60s" on-fail="restart" \ > op stop interval="0s" timeout="60s" on-fail="fence" > > $B%j%=!<%9Dj5A$r9T$&$?$a$N<jCJ$N0l$D$H$7$F(Bpcs$B$r;H$C$?$b$N$b$"$j$^$9!#(B > $B2<5-$O(Bpcs$B$r;H$C$?2>A[(BIP$B%j%=!<%9$NDI2C!JDj5A!KJ}K!$G$9!#(B >> # pcs resource create VirtualIP1 ocf:heartbeat:IPaddr2 >> ip=192.168.100.105 cidr_netmask=24 op monitor interval=30s > > crmsh / pcs$B$I$A$i$NJ}K!$r;H$C$F$b%/%i%9%?$KDI2C$5$l$k%j%=!<%9$K0c$$$O$"$j$^$;$s!#(B > > $B0J>e!"$h$m$7$/$*4j$$$7$^$9!#(B > > 2015$BG/(B1$B7n(B28$BF|(B 15:38 $B$h$7$P!<(B <kitab****@gmail*****>: >> $B$?$$$X$s8f@$OC$K$J$C$F$*$j$^$9!#(B >> $BKLNS$H?=$7$^$9!#(B >> $B=iJb$J<ALd$G?=$7Lu$"$j$^$;$s!#(B >> >> Pacemaker-1.1.12$B$r;H$C$?%j%=!<%94IM}$K4X$7$^$7$F!"(B >> $B$465<xD:$1$J$$$G$7$g$&$+!#(B >> >> $B$4<ALd$5$;$FD:$-$?$$$N$O!"(B >> >> $B-!%j%=!<%9Dj5A%U%!%$%k$N:n @ .J}K!!&=q$-J}(B >> $B-"2>A[(BIP$B$N:n @ .J}K!(B >> >> $B0J>e(B2$BE@$G$9!#(B >> >> $B0J2<!">\:Y$G$9!#(B >> $B!a!a!a!a!a!a!a!a!a!a!a!a(B >> >> <$B%5!<%P>pJs(B> >> $B%5!<%P(B1 >> $B!Z%[%9%HL>![(Bfirst >> $B!Z(BOS$B![(BRHEL6.5 >> $B!Z(BIP$B%"%I%l%9![(B172.16.87.233 >> >> $B%5!<%P(B2 >> $B!Z%[%9%HL>![(Bsecond >> $B!Z(BOS$B![(BRHEL6.5 >> $B!Z(BIP$B%"%I%l%9![(B172.16.87.234 >> >> $B!a!a!a!a!a!a!a!a!a!a!a!a(B >> >> $B-!%j%=!<%9Dj5A%U%!%$%k$N:n @ .J}K!!&=q$-J}(B >> >> $B0JA0$3$N(BML$B$G65$($FD:$-$^$7$?(BURL$B$+$i!"(B >> http://linux-ha.sourceforge.jp/wp/wp-content/uploads/OSC-Tokyo2014Fall.pdf >> $B$r;29M$K(B >> >> [crm_mon]$B%3%^%s%I$G%/%i%9%?$N>uBV$r3NG'$9$k$H$3$m$^$G$O @ _Dj=PMh$^$7$?!#(B >> >> >> $B$7$+$7$=$N8e!"(B >> $B%5!<%P!<>e$N(BApache$B!"(BTomcat$B$N%j%=!<%94IM}@_Dj$r9T$*$&$H$7$?$N$G$9$,(B >> URL$B$N;qNA$N @ bL@$G$O%j%=!<%9Dj5A%U%!%$%k$N=q$-J}!":n @ .J}K!$rM}2r$9$k$3$H$,(B >> $B=PMh$^$;$s$G$7$?!#(B >> >> $BNc$($P!"(B >> >> ### Cluster Option ### >> property no-quorum-policy="ignore" \ >> stonith-enabled="true" \ >> startup-fencing="false" >> >> ### Resource Defaults ### >> rsc_defaults resource-stickiness="INFINITY" \ >> migration-threshold="1" >> >> ### Group Configuration ### >> group grpTrac \ >> prmFS \ >> prmVIP \ >> prmDB \ >> prmWEB >> >> ### Clone Configuration ### >> clone clnPing \ >> prmPing >> >> clone clnDiskd1 \ >> prmDiskd1 >> >> clone clnDiskd2 \ >> prmDiskd2 >> >> #### Group Configuration ### >> #group grpStonith1 \ >> # prmStonith1 >> # >> #group grpStonith2 \ >> # prmStonith2 >> >> ### Master/Slave Configuration ### >> >> ### Fencing Topology ### >> fencing_topology \ >> server01: prmStonith1 \ >> server02: prmStonith2 >> >> $B$d!"(B >> >> primitive prmWEB ocf:heartbeat:apache \ >> op start interval="0s" timeout="300s" on-fail="restart" \ >> op monitor interval="10s" timeout="60s" on-fail="restart" \ >> op stop interval="0s" timeout="300s" on-fail="fence" >> >> >> $B$^$?!"(B >> >> ### Resource Location ### >> location rsc_location-grpTrac-1 grpTrac \ >> rule 200: #uname eq server01 \ >> rule 100: #uname eq server02 \ >> rule -INFINITY: not_defined default_ping_set or >> default_ping_set lt 100 \ >> rule -INFINITY: not_defined diskcheck_status or >> diskcheck_status eq ERROR \ >> rule -INFINITY: not_defined diskcheck_status_internal or >> diskcheck_status_internal eq ERROR >> location rsc_location-prmStonith1 prmStonith1 \ >> rule -INFINITY: #uname eq server01 >> location rsc_location-prmStonith2 prmStonith2 \ >> rule -INFINITY: #uname eq server02 >> >> ### Resource Colocation ### >> colocation rsc_colocation-grpTrac-clnPing-1 INFINITY: grpTrac clnPing >> colocation rsc_colocation-grpTrac-clnDiskd1-2 INFINITY: grpTrac clnDiskd1 >> colocation rsc_colocation-grpTrac-clnDiskd2-3 INFINITY: grpTrac clnDiskd2 >> >> ### Resource Order ### >> order rsc_order-clnPing-grpTrac-1 0: clnPing grpTrac symmetrical=false >> order rsc_order-clnDiskd1-grpTrac-2 0: clnDiskd1 grpTrac >> symmetrical=false >> order rsc_order-clnDiskd2-grpTrac-3 0: clnDiskd2 grpTrac >> symmetrical=false >> >> $B$O!"$=$l$>$l$I$&$$$C$?0UL#$r;}$D @ _Dj$J$N$G$7$g$&$+!#(B >> $B;29M$K$J$k(BURL$BEy!"$J$K$+>pJs$rD:$1$J$$$G$7$g$&$+!#(B >> $B!c(Bstonith$B!!%j%=!<%9!d$G8!:wCW$7$^$7$?$,!"(B >> $BM}2r$G$-$k>pJs$,F@$i$l$^$;$s$G$7$?!D!#(B >> >> >> $B-"2>A[(BIP$B$N:n @ .J}K!(B >> >> http://linux-ha.sourceforge.jp/wp/wp-content/uploads/OSC-Tokyo2014Fall.pdf >> >> $B$G$O$9$G$K2>A[(BIP$B$,:n @ .$5$l$F$$$k>uBV$GOC$,?J$s$G$$$k$?$a!"(B >> Pacemaker-1.1.12$B$G$N2>A[(BIP$B$N:n @ .J}K!$r65$($FD:$1$J$$$G$7$g$&$+!#(B >> >> $B$"$k%5%$%H$G(B >> # pcs resource create VirtualIP1 ocf:heartbeat:IPaddr2 >> ip=192.168.100.105 cidr_netmask=24 op monitor interval=30s >> $B$G:n @ .=PMh$k!"$H$"$j$^$7$?$, @ 5$7$$$N$G$7$g$&$+!#(B >> >> >> $B$*<j?t$r$*$+$1$7?=$7Lu$"$j$^$;$s!#(B >> $B$h$m$7$/$*4j$$CW$7$^$9!#(B >> >> >> _______________________________________________ >> Linux-ha-japan mailing list >> Linux****@lists***** >> http://lists.sourceforge.jp/mailman/listinfo/linux-ha-japan >> > > > > -- > ---------------------------------------- > METRO SYSTEMS CO., LTD > > Yusuke Iida > Mail: yusk.****@gmail***** > ---------------------------------------- > _______________________________________________ > Linux-ha-japan mailing list > Linux****@lists***** > http://lists.sourceforge.jp/mailman/listinfo/linux-ha-japan >