
wada.shinichiro at jp
Feb 27, 2012, 6:00 PM
Post #3 of 13
(680 views)
Permalink
|
$B;3Fb$5$s(B $B$3$s$K$A$O!#(B $BOBED$G$9!#(B $B$$$D$b$42sEz$"$j$,$H$&$4$6$$$^$9!#(B > $B;d8D?M$N0U8+$G$9$,!"C1=c$K(BActive/Passive$B9=@.$r9M$($?>l9g!"(Bstonith$B$O [at] _D$9$k$Y$-$@$H;W$C$F$$$^$9!#(B > > $B$G$9$N$G!"(Bno-quorum-policy$B$O(BActive/Passive$B$N>l9g(B"ignore"$B$K [at] _D$7$F!"(Bstonith$B$r [at] _D$9$k9=@.$G$9!#(B > > $B$?$@$7!"(B2$B%N!<%I$N>l9g!"J,CG;~$KMn$H$7$"$$$,H/@8$9$k$3$H$r2sHr$9$k0Y$K!"(B > stonith-helper$B$J$I$rMxMQ$9$k$3$H$,K>$^$7$$$G$9!#(B > > stonith-helper$B$O!"F|K\%3%_%e%K%F%#$N(Bpm_extras$B%Q%C%1!<%8$K$"$j$^$9!#(B > $B$^$?!">l9g$K$h$C$F$O!"(Bvipcheck$B$J$I$bM-8z$G$7$g$&!#(B no-quorum-policy$B$H(Bstonith-helper$B$K$D$$$F==J,$KM}2r$,$G$-$F$$$J$$$h$&$J$N$G(B $B$465<($/$@$5$$!#(B $B$^$:!"(Bno-quorum-policy$B$G$9$,!"(Bignore$B$7$FJ,CG$,H/@8$7$?>l9g$G$b(B STONITH$B$O<B9T$5$l$k$N$G$7$g$&$+!)(B no-quorum-policy$B$G$O(BSTONITH$B$O<B9T$5$l$J$$$,!"(Bmonitor$B$N4V3V$G<B9T$5$l$k(B $B$J$I$NF0:n$r$9$k$N$G$7$g$&$+!)(B $B<!$K(Bstonith-helper$B$G$9$,!"(Brun_standby_wait$B$G$N%A%'%C%/$,I,MW$H$$$&(B $BM}2r$G$h$m$7$$$G$7$g$&$+!)(B $B$=$l$H$b!"(Brun_standby_wait$B<+BN$O(Bno$B$N$^$^$G$bLdBj$J$$$N$G$7$g$&$+!)(B $B0JA0!"(Brun_standby_wait$B$G(Bact$B%A%'%C%/$7!"(BNIC$B>c32H/@8$N3NG'$r$7$?:]$K(B $BN>7O$H$b(BPassive$B>uBV$H$J$jI|5l$7$J$+$C$?$s$G$9$h$M!#!#!#(B $B$h$m$7$/$*4j$$CW$7$^$9!#(B > $BOBED$5$s(B > > $B$3$s$K$A$O!";3Fb$G$9!#(B > > >> $B$3$s$K$A$O!#(B >> $BOBED$G$9!#(B >> >> Active/Passive$B9=@.$G$N(BSTONITH$B4XO"$N [at] _D$K$D$$$F$465<($/$@$5$$!#(B >> >> STONITH$B$r [at] _D$7$F$$$k>uBV$G!"(B >> >> ------------------------------------------------------------------------- >> >> property no-quorum-policy="freeze" \ >> stonith-enabled="true" \ >> startup-fencing="false" \ >> stonith-timeout="430s" >> >> ------------------------------------------------------------------------- >> >> $B$H [at] _D$7$?>l9g!"(B >> >> $B!&JR8N>c>uBV$G!"%7%9%F%`$r5/F0$9$k$H@5>o$K5/F0$7$J$$!#(B >> $B!&(BActive$BB&$,%O!<%I8N>cEy$G%@%&%s$9$k$H$&$^$/@Z$jBX$o$i$J$$!#(B >> >> $B$H$$$&F0:n$r$7$^$9!#(B >> >> $B0JA0!";3Fb$5$s$K65$($FD:$$$?MM$K!"(Bquorum$BDj?t$,H>J,0J2<$K$J$k$?$a!"@Z$jBX$o$i$J$$$H(B >> $BG'<1$7$F$$$k$N$G$9$,!"G'<1$O$"$C$F$$$k$G$7$g$&$+!)(B > > $B$O$$!#$"$C$F$$$^$9!#(B > > >> freeze$B$+$i(Bignore$B$K$9$k$3$H$G!"@5>o$K@Z$jBX$o$k$3$H$O3NG'$7$^$7$?!#(B >> $B!t$?$@$7!"%9%W%j%C%H%V%l%$%s$J$I$,:$$j$^$9$h$M!#!#!#(B >> >> $B$^$?!"0lHLE*$J [at] _D$H$7$F!"$_$J$5$s$O>e5-$N;v>]$KBP1~$9$k:]$K!"(B >> $B$I$N$h$&$J [at] _D$H$7$F$$$k$N$G$7$g$&$+!)(B >> NIC$B$r>iD92=$9$k$3$H$G!"(BActive/Passive$B9=@.$G$O(BSTONITH$B$rMxMQ$7$J$$(B >> $B$H$$$&$h$&$J9=@.$,0lHLE*$J$N$G$7$g$&$+!)(B > > $B;d8D?M$N0U8+$G$9$,!"C1=c$K(BActive/Passive$B9=@.$r9M$($?>l9g!"(Bstonith$B$O [at] _D$9$k$Y$-$@$H;W$C$F$$$^$9!#(B > > $B$G$9$N$G!"(Bno-quorum-policy$B$O(BActive/Passive$B$N>l9g(B"ignore"$B$K [at] _D$7$F!"(Bstonith$B$r [at] _D$9$k9=@.$G$9!#(B > > $B$?$@$7!"(B2$B%N!<%I$N>l9g!"J,CG;~$KMn$H$7$"$$$,H/@8$9$k$3$H$r2sHr$9$k0Y$K!"(B > stonith-helper$B$J$I$rMxMQ$9$k$3$H$,K>$^$7$$$G$9!#(B > > stonith-helper$B$O!"F|K\%3%_%e%K%F%#$N(Bpm_extras$B%Q%C%1!<%8$K$"$j$^$9!#(B > $B$^$?!">l9g$K$h$C$F$O!"(Bvipcheck$B$J$I$bM-8z$G$7$g$&!#(B > > > $B0J>e!"59$7$/$*4j$$$$$?$7$^$9!#(B > > > > >> >> $B$J$*!"9=@.$O0JA0<ALd$5$;$FD:$$$?$H$-$HF1MM$G!"(BCorosync + Pacemaker + DRBD$B$G(B >> $B0J2<$N9=@.$H$J$C$F$$$^$9!#(B >> >> ------------------------------------------------------------------------- >> >> primitive drbd_db ocf:linbit:drbd \ >> params drbd_resource="pgsql" \ >> op start interval="0s" timeout="240s" on-fail="restart" \ >> op monitor interval="11s" timeout="60s" on-fail="restart" \ >> op monitor interval="10s" timeout="60s" on-fail="restart" role="Master" \ >> op stop interval="0s" timeout="100s" on-fail="fence" >> >> primitive ip_db ocf:heartbeat:IPaddr2 \ >> params ip="192.168.1.175" \ >> nic="eth1" \ >> cidr_netmask="24" \ >> op start interval="0s" timeout="90s" on-fail="restart" \ >> op monitor interval="10s" timeout="60s" on-fail="restart" \ >> op stop interval="0s" timeout="100s" on-fail="fence" >> >> primitive prmPing ocf:pacemaker:ping \ >> params \ >> name="ping_set" \ >> host_list="192.168.1.1 192.168.2.1" \ >> multiplier="100" \ >> dampen="0" \ >> meta \ >> migration-threshold="3" \ >> failure-timeout="60s" \ >> op start interval="0s" timeout="90s" on-fail="restart" \ >> op monitor interval="10s" timeout="60s" on-fail="restart" \ >> op stop interval="0s" timeout="100s" on-fail="ignore" >> >> primitive fs_db ocf:heartbeat:Filesystem \ >> params device="/dev/drbd/by-res/pgsql" directory="/data" fstype="ext4" \ >> 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" >> >> primitive prmPg ocf:heartbeat:pgsql \ >> params pgctl="/usr/bin/pg_ctl" \ >> start_opt="-p 5432" \ >> psql="/usr/bin/psql" \ >> pgdata="/data/" \ >> pgdba="postgres" \ >> pgport="5432" \ >> pgdb="postgres" \ >> op start interval="0s" timeout="120s" on-fail="restart" \ >> op monitor interval="10s" timeout="60s" on-fail="restart" \ >> op stop interval="0s" timeout="120s" on-fail="fence" >> >> primitive apache ocf:heartbeat:apache \ >> params configfile="/etc/httpd/conf/httpd.conf" \ >> port="80" \ >> op start interval="0s" timeout="40s" on-fail="restart" \ >> op monitor interval="10s" timeout="60s" on-fail="restart" \ >> op stop interval="0s" timeout="60s" on-fail="fence" >> >> primitive prmDiskd ocf:pacemaker:diskd \ >> params name="diskd_set" \ >> device="/dev/sda1" \ >> 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="ignore" >> >> primitive prmStonith1-1 stonith:external/stonith-helper \ >> params \ >> priority="1" \ >> stonith-timeout="60s" \ >> hostlist="it13" \ >> dead_check_target="192.168.1.173" \ >> run_standby_wait="no" \ >> op start interval="0s" timeout="60s" \ >> op monitor interval="3600s" timeout="60s" \ >> op stop interval="0s" timeout="60s" >> >> primitive prmStonith1-2 stonith:external/ssh \ >> params \ >> priority="2" \ >> stonith-timeout="60s" \ >> hostlist="it13" \ >> op start interval="0s" timeout="60s" \ >> op monitor interval="3600s" timeout="60s" \ >> op stop interval="0s" timeout="60s" >> >> primitive prmStonith1-3 stonith:meatware \ >> params \ >> priority="3" \ >> stonith-timeout="600" \ >> hostlist="it13" \ >> op start interval="0s" timeout="60s" \ >> op monitor interval="3600s" timeout="60s" \ >> op stop interval="0s" timeout="60s" >> >> primitive prmStonith2-1 stonith:external/stonith-helper \ >> params \ >> priority="1" \ >> stonith-timeout="60s" \ >> hostlist="it14" \ >> dead_check_target="192.168.1.174" \ >> run_standby_wait="no" \ >> op start interval="0s" timeout="60s" \ >> op monitor interval="3600s" timeout="60s" \ >> op stop interval="0s" timeout="60s" >> >> primitive prmStonith2-2 stonith:external/ssh \ >> params \ >> priority="2" \ >> stonith-timeout="60s" \ >> hostlist="it14" \ >> op start interval="0s" timeout="60s" \ >> op monitor interval="3600s" timeout="60s" \ >> op stop interval="0s" timeout="60s" >> >> primitive prmStonith2-3 stonith:meatware \ >> params \ >> priority="3" \ >> stonith-timeout="600" \ >> hostlist="it14" \ >> op start interval="0s" timeout="60s" \ >> op monitor interval="3600s" timeout="60s" \ >> op stop interval="0s" timeout="60s" >> >> group group_all fs_db ip_db prmPg apache >> >> group grpStonith1 \ >> prmStonith1-1 \ >> prmStonith1-2 \ >> prmStonith1-3 >> >> group grpStonith2 \ >> prmStonith2-1 \ >> prmStonith2-2 \ >> prmStonith2-3 >> >> ms ms_drbd_db drbd_db \ >> meta master-max="1" master-node-max="1" clone-max="2" clone-node-max="1" notify="true" >> >> clone clnPing prmPing \ >> meta clone-max="2" clone-node-max="1" >> >> clone clnDiskd prmDiskd \ >> meta clone-max="2" clone-node-max="1" >> >> location group_all-location group_all \ >> rule 200: #uname eq it13 \ >> rule 100: #uname eq it14 \ >> rule -INFINITY: defined ping_set and ping_set lt 200 \ >> rule -INFINITY: defined diskd_set and diskd_set eq SUCCESS >> >> location master-location_db ms_drbd_db \ >> rule 200: #uname eq it13 \ >> rule 100: #uname eq it14 \ >> rule role=master -INFINITY: defined ping_set and ping_set lt 200 \ >> rule role=master -INFINITY: defined diskd_set and diskd_set eq SUCCESS \ >> rule role=master -INFINITY: defined fail-count-fs_db \ >> rule role=master -INFINITY: defined fail-count-ip_db \ >> rule role=master -INFINITY: defined fail-count-prmPg \ >> rule role=master -INFINITY: defined fail-count-apache >> >> location rsc_location-grpStonith1-1 grpStonith1 \ >> rule -INFINITY: #uname eq it13 >> >> location rsc_location-grpStonith2-1 grpStonith2 \ >> rule -INFINITY: #uname eq it14 >> >> colocation db_on_drbd INFINITY: group_all ms_drbd_db:Master >> colocation clnPing-colocation INFINITY: group_all clnPing >> colocation clnDiskd-colocation INFINITY: group_all clnDiskd >> order order_db_after_drbd INFINITY: ms_drbd_db:promote group_all:start >> order order_clnPing_after_all 0: clnPing group_all symmetrical=false >> order order_clnDiskd_after_all 0: clnDiskd group_all symmetrical=false >> >> property no-quorum-policy="freeze" \ >> stonith-enabled="true" \ >> startup-fencing="false" \ >> stonith-timeout="430s" >> >> rsc_defaults resource-stickiness="INFINITY" \ >> migration-threshold="1" >> >> ------------------------------------------------------------------------- >> >> $B$h$m$7$/$*4j$$CW$7$^$9!#(B >> >> _______________________________________________ >> Linux-ha-japan mailing list >> Linux-ha-japan [at] lists >> http://lists.sourceforge.jp/mailman/listinfo/linux-ha-japan >> > > _______________________________________________ > Linux-ha-japan mailing list > Linux-ha-japan [at] lists > http://lists.sourceforge.jp/mailman/listinfo/linux-ha-japan _______________________________________________ Linux-ha-japan mailing list Linux-ha-japan [at] lists http://lists.sourceforge.jp/mailman/listinfo/linux-ha-japan
|