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<+$NH=CG$G:F5/F0$r<B;\$7$F$7$^$&$3$H$,$"$j!"(B
> $B$=$N$h$&$J>l9g$bK\;v>]$rH/@8$5$;$J$$$h$&$K$7$?$$$H9M$($F$$$^$9!#(B
>
> $B!Z4D6-![.(B
> Red Hat Enterprise Linux Server 6.1 (for x86)
> kernel-2.6.32-431.23.3.el6.i686
> corosync-1.4.1-17.el6_5.1.i686
> pacemaker-1.1.10-14.el6_5.3.i686
> drbd-8.3.16-1.el6.i386
>
>
> $B!Z(BPacemaker$BDj5A![.(B
> node testsv1
> node testsv2 \
> attributes standby=off
> primitive res_before_test-e lsb:before_test-e \
> op monitor interval=30 timeout=30 \
> op start interval=0 timeout=60 \
> op stop interval=0 timeout=60
> primitive res_drbd_quota lsb:drbd_quota \
> op monitor interval=30 timeout=30 \
> op start interval=0 timeout=60 \
> op stop interval=0 timeout=60
> primitive res_drbd_r0 ocf:linbit:drbd \
> params drbd_resource=r0 \
> op monitor interval=10 role=Master timeout=30 \
> op monitor interval=30 role=Slave timeout=30 \
> op start interval=0 timeout=240 \
> op stop interval=0 timeout=100
> primitive res_filesystem Filesystem \
> params device="/dev/drbd0" directory="/drbd" fstype=ext4
> options="noatime,nobarrier,usrquota" \
> op start interval=0 timeout=60 \
> op stop interval=0 timeout=60
> primitive res_nmb lsb:nmb \
> op monitor interval=30 timeout=30 \
> op start interval=0 timeout=60 \
> op stop interval=0 timeout=60
> primitive res_pgsql lsb:postgresql-9.0 \
> op monitor interval=30 timeout=30 \
> op start interval=0 timeout=60 \
> op stop interval=0 timeout=60
> primitive res_samba lsb:smb \
> op monitor interval=30 timeout=30 \
> op start interval=0 timeout=60 \
> op stop interval=0 timeout=60
> primitive res_vsftp lsb:vsftpd \
> op monitor interval=30 timeout=30 \
> op start interval=0 timeout=60 \
> op stop interval=0 timeout=60
> group rg_filesystem res_filesystem res_drbd_quota
> group rg_samba res_samba res_nmb
> ms ms_drbd_r0 res_drbd_r0 \
> meta master-max=1 master-node-max=1 clone-max=2 clone-node-max=1
> notify=true
> location l_filesystem rg_filesystem -inf: testsv2
> location l_test_drbd ms_drbd_r0 \
> rule 200: #uname eq testsv1 \
> rule 100: #uname eq testsv2
> colocation c_filesystem inf: rg_filesystem ms_drbd_r0:Master
> colocation c_test inf: res_before_test-e rg_filesystem
> colocation c_pgsql inf: res_pgsql rg_filesystem
> colocation c_samba inf: rg_samba rg_filesystem
> colocation c_vsftp inf: res_vsftp rg_filesystem
> order o_filesystem inf: ms_drbd_r0:promote rg_filesystem:start
> order o_test 0: rg_samba res_before_test-e:start
> order o_pgsql inf: rg_filesystem res_pgsql:start
> order o_samba 0: res_vsftp rg_samba:start
> order o_vsftp 0: res_pgsql res_vsftp:start
> property cib-bootstrap-options: \
> stonith-enabled=false \
> no-quorum-policy=ignore \
> default-resource-stickiness=200 \
> dc-version=1.1.10-14.el6_5.3-368c726 \
> cluster-infrastructure="classic openais (with plugin)" \
> expected-quorum-votes=2
>
> $B!Z(BDRBD$BDj5A![.(B
> global {
> #usage-count yes;
> usage-count no;
> # minor-count dialog-refresh disable-ip-verification
> }
>
> common {
> #protocol C;
>
> handlers {
> # These are EXAMPLE handlers only.
> # They may have severe implications,
> # like hard resetting the node under certain circumstances.
> # Be careful when chosing your poison.
>
> # fence-peer "/usr/lib/drbd/crm-fence-peer.sh";
> # split-brain "/usr/lib/drbd/notify-split-brain.sh root";
> # out-of-sync "/usr/lib/drbd/notify-out-of-sync.sh root";
> # before-resync-target
> "/usr/lib/drbd/snapshot-resync-target-lvm.sh -p 15 -- -c 16k";
> # after-resync-target
> /usr/lib/drbd/unsnapshot-resync-target-lvm.sh;
> }
>
> startup {
> # wfc-timeout degr-wfc-timeout outdated-wfc-timeout
> wait-after-sb
> }
>
> disk {
> # on-io-error fencing use-bmbv no-disk-barrier
> no-disk-flushes
> # no-disk-drain no-md-flushes max-bio-bvecs
> no-disk-barrier;
> no-disk-flushes;
> }
>
> net {
> # sndbuf-size rcvbuf-size timeout connect-int ping-int
> ping-timeout max-buffers
> # max-epoch-size ko-count allow-two-primaries
> cram-hmac-alg shared-secret
> # after-sb-0pri after-sb-1pri after-sb-2pri
> data-integrity-alg no-tcp-cork
> max-buffers 8000;
> max-epoch-size 8000;
> after-sb-0pri discard-younger-primary;
> after-sb-1pri discard-secondary;
> after-sb-2pri disconnect;
> }
>
> syncer {
> # rate after al-extents use-rle cpu-mask verify-alg
> csums-alg
> rate 30M;
> verify-alg sha1;
> }
> }
>
>
>
>
> _______________________________________________
> Linux-ha-japan mailing list
> Linux-ha-japan@lists.osdn.me
> http://lists.osdn.me/mailman/listinfo/linux-ha-japan
>
--
----------------------------------------------------------------------
$B5WJ](B $B85<#(B ($B3t(B)$B%5!<%I%&%'%"(B
Motoharu Kubo 135-0034 $BEl5~ETKOED6hN>9q(B2-16-5 $B$"$D$^%S%k(B5F
mkubo@3ware.co.jp URL: http://www.3ware.co.jp/
Phone: 03-4530-8670 03-4530-0521 ($BFb@~(B201)
Fax: 03-6240-2420
$B7HBS(B: 090-6171-5545
_______________________________________________
Linux-ha-japan mailing list
Linux-ha-japan@lists.osdn.me
http://lists.osdn.me/mailman/listinfo/linux-ha-japan
$B5WJ]$H$$$$$^$9!#(B
https://blog.3ware.co.jp/drbd-users-guide-8.3/s-outdate.html
DRBD$B$NDL?.$,@Z$l$?$H$-$K!"%;%+%s%@%jB&$N%G!<%?>uBV$r(BOutdated$B$H$$$&FCJL$J(B
$B>uBV$K@Z$jBX$($k$3$H$,$G$-$^$9!#(BOutdated$B$OAj<j$HDL?.$,:F3+$9$k$^$G2r=|$G(B
$B$-$:!"%m!<%k$r(BPrimary$B$K@Z$jBX$($k$3$H$b5v$5$J$$$H$$$&!"FCJL$JJ]8n>uBV$G(B
$B$9!#>e5-%Z!<%8$H$3$N%Z!<%8$+$i$N%j%s%/@h$r;29M$K!"(Boutdate-peer$B$=$NB>$rE,(B
$B@Z$K@_Dj$9$k$H$$$$$@$m$&$H;W$$$^$9!#(B
On 2015$BG/(B06$B7n(B15$BF|(B 17:29, $B$"$-$d$^$8$m$&(B wrote:
> $B$*@$OC$K$J$j$^$9!#$"$-$d$^$H?=$7$^$9!#(B
>
> DRBD$B$N(BMaster$B8GDj2=$K4X$7$F<ALd$G$9!#(B
>
> DRBD$B$N%9%W%j%C%H%V%l%$%s$,<+F0I|5l$9$k:]$N(BMaster$B$r8GDj2=$9$k$3$H$O2DG=$G(B
> $B$7$g$&$+!)(B
> $B8=:_1?MQ$7$F$$$k%^%7%s$G(BDRBD$BDL?.>c32$G%9%?%s%I%"%m%s$K$J$C$?:]$K(B
> $B%^%7%s$r:F5/F0$7$^$7$?$,!":F5/F0;~$K(BSlave$BB&$N8E$$%G!<%?$G:FF14|$5$l!"(B
> $B:G?7%G!<%?$,>C$($F$7$^$&;v>]$,H/@8$7$F$7$^$C$?$N$G!":FH/KI;_:v$H$7$F@_Dj(B
> $B$rJQ99$7$?$$$H9M$($F$$$^$9!#(B
> $BK\Mh$J$i(BDRBD$B%3%^%s%IEy$GI|5l$r;n$_$k$Y$-$J$N$G$7$g$&$,!"(B
> $B=t;v>p$"$j!">\$7$/$J$$$b$N$,FH<+$NH=CG$G:F5/F0$r<B;\$7$F$7$^$&$3$H$,$"$j!"(B
> $B$=$N$h$&$J>l9g$bK\;v>]$rH/@8$5$;$J$$$h$&$K$7$?$$$H9M$($F$$$^$9!#(B
>
> $B!Z4D6-![.(B
> Red Hat Enterprise Linux Server 6.1 (for x86)
> kernel-2.6.32-431.23.3.el6.i686
> corosync-1.4.1-17.el6_5.1.i686
> pacemaker-1.1.10-14.el6_5.3.i686
> drbd-8.3.16-1.el6.i386
>
>
> $B!Z(BPacemaker$BDj5A![.(B
> node testsv1
> node testsv2 \
> attributes standby=off
> primitive res_before_test-e lsb:before_test-e \
> op monitor interval=30 timeout=30 \
> op start interval=0 timeout=60 \
> op stop interval=0 timeout=60
> primitive res_drbd_quota lsb:drbd_quota \
> op monitor interval=30 timeout=30 \
> op start interval=0 timeout=60 \
> op stop interval=0 timeout=60
> primitive res_drbd_r0 ocf:linbit:drbd \
> params drbd_resource=r0 \
> op monitor interval=10 role=Master timeout=30 \
> op monitor interval=30 role=Slave timeout=30 \
> op start interval=0 timeout=240 \
> op stop interval=0 timeout=100
> primitive res_filesystem Filesystem \
> params device="/dev/drbd0" directory="/drbd" fstype=ext4
> options="noatime,nobarrier,usrquota" \
> op start interval=0 timeout=60 \
> op stop interval=0 timeout=60
> primitive res_nmb lsb:nmb \
> op monitor interval=30 timeout=30 \
> op start interval=0 timeout=60 \
> op stop interval=0 timeout=60
> primitive res_pgsql lsb:postgresql-9.0 \
> op monitor interval=30 timeout=30 \
> op start interval=0 timeout=60 \
> op stop interval=0 timeout=60
> primitive res_samba lsb:smb \
> op monitor interval=30 timeout=30 \
> op start interval=0 timeout=60 \
> op stop interval=0 timeout=60
> primitive res_vsftp lsb:vsftpd \
> op monitor interval=30 timeout=30 \
> op start interval=0 timeout=60 \
> op stop interval=0 timeout=60
> group rg_filesystem res_filesystem res_drbd_quota
> group rg_samba res_samba res_nmb
> ms ms_drbd_r0 res_drbd_r0 \
> meta master-max=1 master-node-max=1 clone-max=2 clone-node-max=1
> notify=true
> location l_filesystem rg_filesystem -inf: testsv2
> location l_test_drbd ms_drbd_r0 \
> rule 200: #uname eq testsv1 \
> rule 100: #uname eq testsv2
> colocation c_filesystem inf: rg_filesystem ms_drbd_r0:Master
> colocation c_test inf: res_before_test-e rg_filesystem
> colocation c_pgsql inf: res_pgsql rg_filesystem
> colocation c_samba inf: rg_samba rg_filesystem
> colocation c_vsftp inf: res_vsftp rg_filesystem
> order o_filesystem inf: ms_drbd_r0:promote rg_filesystem:start
> order o_test 0: rg_samba res_before_test-e:start
> order o_pgsql inf: rg_filesystem res_pgsql:start
> order o_samba 0: res_vsftp rg_samba:start
> order o_vsftp 0: res_pgsql res_vsftp:start
> property cib-bootstrap-options: \
> stonith-enabled=false \
> no-quorum-policy=ignore \
> default-resource-stickiness=200 \
> dc-version=1.1.10-14.el6_5.3-368c726 \
> cluster-infrastructure="classic openais (with plugin)" \
> expected-quorum-votes=2
>
> $B!Z(BDRBD$BDj5A![.(B
> global {
> #usage-count yes;
> usage-count no;
> # minor-count dialog-refresh disable-ip-verification
> }
>
> common {
> #protocol C;
>
> handlers {
> # These are EXAMPLE handlers only.
> # They may have severe implications,
> # like hard resetting the node under certain circumstances.
> # Be careful when chosing your poison.
>
> # fence-peer "/usr/lib/drbd/crm-fence-peer.sh";
> # split-brain "/usr/lib/drbd/notify-split-brain.sh root";
> # out-of-sync "/usr/lib/drbd/notify-out-of-sync.sh root";
> # before-resync-target
> "/usr/lib/drbd/snapshot-resync-target-lvm.sh -p 15 -- -c 16k";
> # after-resync-target
> /usr/lib/drbd/unsnapshot-resync-target-lvm.sh;
> }
>
> startup {
> # wfc-timeout degr-wfc-timeout outdated-wfc-timeout
> wait-after-sb
> }
>
> disk {
> # on-io-error fencing use-bmbv no-disk-barrier
> no-disk-flushes
> # no-disk-drain no-md-flushes max-bio-bvecs
> no-disk-barrier;
> no-disk-flushes;
> }
>
> net {
> # sndbuf-size rcvbuf-size timeout connect-int ping-int
> ping-timeout max-buffers
> # max-epoch-size ko-count allow-two-primaries
> cram-hmac-alg shared-secret
> # after-sb-0pri after-sb-1pri after-sb-2pri
> data-integrity-alg no-tcp-cork
> max-buffers 8000;
> max-epoch-size 8000;
> after-sb-0pri discard-younger-primary;
> after-sb-1pri discard-secondary;
> after-sb-2pri disconnect;
> }
>
> syncer {
> # rate after al-extents use-rle cpu-mask verify-alg
> csums-alg
> rate 30M;
> verify-alg sha1;
> }
> }
>
>
>
>
> _______________________________________________
> Linux-ha-japan mailing list
> Linux-ha-japan@lists.osdn.me
> http://lists.osdn.me/mailman/listinfo/linux-ha-japan
>
--
----------------------------------------------------------------------
$B5WJ](B $B85<#(B ($B3t(B)$B%5!<%I%&%'%"(B
Motoharu Kubo 135-0034 $BEl5~ETKOED6hN>9q(B2-16-5 $B$"$D$^%S%k(B5F
mkubo@3ware.co.jp URL: http://www.3ware.co.jp/
Phone: 03-4530-8670 03-4530-0521 ($BFb@~(B201)
Fax: 03-6240-2420
$B7HBS(B: 090-6171-5545
_______________________________________________
Linux-ha-japan mailing list
Linux-ha-japan@lists.osdn.me
http://lists.osdn.me/mailman/listinfo/linux-ha-japan