<html><head><meta http-equiv="Content-Type" content="text/html charset=utf-8"></head><body style="word-wrap: break-word; -webkit-nbsp-mode: space; -webkit-line-break: after-white-space;" class="">hi,<div class=""><br class=""></div><div class="">try this:</div><div class=""><br class=""></div><div class="">drbdmanage peer-device-options --common --c-max-rate ...</div><div class="">this command update configuration on all hosts for you.</div><div class=""><br class=""></div><div class="">drbdmanage help peer-device-options</div><div class="">
<div style="color: rgb(0, 0, 0); letter-spacing: normal; orphans: auto; text-align: start; text-indent: 0px; text-transform: none; white-space: normal; widows: auto; word-spacing: 0px; -webkit-text-stroke-width: 0px; word-wrap: break-word; -webkit-nbsp-mode: space; -webkit-line-break: after-white-space;" class=""><br class="">--<br class="">Vlado Bartos<br class=""><a href="mailto:bartos@jadro.org" class="">bartos@jadro.org</a><br class=""><br class=""><br class=""><br class=""></div>
</div>
<br class=""><div><blockquote type="cite" class=""><div class="">On 21. 6. 2016, at 14:10, Tytus Rogalewski <<a href="mailto:tytanick@gmail.com" class="">tytanick@gmail.com</a>> wrote:</div><br class="Apple-interchange-newline"><div class=""><div dir="ltr" class="">almost solved.<div class="">After reboot, file <b style="color:rgb(44,44,44);font-family:"Open Sans",Helvetica,Arial,sans-serif;font-size:14.6667px;line-height:20.5333px;background-color:rgb(250,250,250)" class="">/var/lib/<span class="">drbd</span>.d/drbdmanage_global_common.conf i</b><span style="color:rgb(44,44,44);font-family:"Open Sans",Helvetica,Arial,sans-serif;font-size:14.6667px;line-height:20.5333px;background-color:rgb(250,250,250)" class="">s overwritten and empty.</span></div><div class=""><span style="color:rgb(44,44,44);font-family:"Open Sans",Helvetica,Arial,sans-serif;font-size:14.6667px;line-height:20.5333px;background-color:rgb(250,250,250)" class="">So settings are not working after rebot.</span></div><div class=""><font color="#2c2c2c" face="Open Sans, Helvetica, Arial, sans-serif" class=""><span style="font-size:14.6667px;line-height:20.5333px;background-color:rgb(250,250,250)" class="">Anybody know how to make it permanent ?</span></font></div><div class=""><font color="#2c2c2c" face="Open Sans, Helvetica, Arial, sans-serif" class=""><span style="font-size:14.6667px;line-height:20.5333px;background-color:rgb(250,250,250)" class=""><b class=""><br class=""></b></span></font></div><div class=""><font color="#2c2c2c" face="Open Sans, Helvetica, Arial, sans-serif" class=""><span style="background-color:rgb(250,250,250)" class=""><div style="font-weight:bold" class="">Writing settings in another file like this doesnt work !</div><div style="font-weight:bold" class=""><br class=""></div><div style="font-weight:bold" class=""><br class=""></div><div class=""><div class="">root@node2:/etc/drbd.d# cat global_common.conf</div><div class=""># DRBD is the result of over a decade of development by LINBIT.</div><div class=""># In case you need professional services for DRBD or have</div><div class=""># feature requests visit <a href="http://www.linbit.com/" class="">http://www.linbit.com</a></div><div class=""><br class=""></div><div class="">global {</div><div class=""> usage-count no;</div><div class=""> # minor-count dialog-refresh disable-ip-verification</div><div class=""> # cmd-timeout-short 5; cmd-timeout-medium 121; cmd-timeout-long 600;</div><div class="">}</div><div class=""><br class=""></div><div class="">common {</div><div class=""> handlers {</div><div class=""> # These are EXAMPLE handlers only.</div><div class=""> # They may have severe implications,</div><div class=""> # like hard resetting the node under certain circumstances.</div><div class=""> # Be careful when chosing your poison.</div><div class=""><br class=""></div><div class=""> # pri-on-incon-degr "/usr/lib/drbd/notify-pri-on-incon-degr.sh; /usr/lib/drbd/notify-emergency-reboot.sh; echo b > /proc/sysrq-trigger ; reboot -f";</div><div class=""> # pri-lost-after-sb "/usr/lib/drbd/notify-pri-lost-after-sb.sh; /usr/lib/drbd/notify-emergency-reboot.sh; echo b > /proc/sysrq-trigger ; reboot -f";</div><div class=""> # local-io-error "/usr/lib/drbd/notify-io-error.sh; /usr/lib/drbd/notify-emergency-shutdown.sh; echo o > /proc/sysrq-trigger ; halt -f";</div><div class=""> # fence-peer "/usr/lib/drbd/crm-fence-peer.sh";</div><div class=""> # split-brain "/usr/lib/drbd/notify-split-brain.sh root";</div><div class=""> # out-of-sync "/usr/lib/drbd/notify-out-of-sync.sh root";</div><div class=""> # before-resync-target "/usr/lib/drbd/snapshot-resync-target-lvm.sh -p 15 -- -c 16k";</div><div class=""> # after-resync-target /usr/lib/drbd/unsnapshot-resync-target-lvm.sh;</div><div class=""> }</div><div class=""><br class=""></div><div class=""> startup {</div><div class=""> # wfc-timeout degr-wfc-timeout outdated-wfc-timeout wait-after-sb</div><div class=""> }</div><div class=""><br class=""></div><div class=""> options {</div><div class=""> # cpu-mask on-no-data-accessible</div><div class=""> }</div><div class=""><br class=""></div><div class=""> disk {</div><div class=""> on-io-error detach;</div><div class=""> no-disk-flushes ;</div><div class=""> no-disk-barrier;</div><div class=""> c-plan-ahead 10;</div><div class=""> c-fill-target 24M;</div><div class=""> c-min-rate 10M;</div><div class=""> c-max-rate 100M;</div><div class=""> # size on-io-error fencing disk-barrier disk-flushes</div><div class=""> # disk-drain md-flushes resync-rate resync-after al-extents</div><div class=""> # c-plan-ahead c-delay-target c-fill-target c-max-rate</div><div class=""> # c-min-rate disk-timeout</div><div class=""> }</div><div class=""><br class=""></div><div class=""> net {</div><div class=""> protocol C;</div><div class=""> # max-epoch-size 20000;</div><div class=""> max-buffers 36k;</div><div class=""> sndbuf-size 1024k ;</div><div class=""> rcvbuf-size 2048k;</div><div class=""><br class=""></div><div class=""> # allow-two-primaries yes;</div><div class=""> # protocol timeout max-epoch-size max-buffers unplug-watermark</div><div class=""> # connect-int ping-int sndbuf-size rcvbuf-size ko-count</div><div class=""> # allow-two-primaries cram-hmac-alg shared-secret after-sb-0pri</div><div class=""> # after-sb-1pri after-sb-2pri always-asbp rr-conflict</div><div class=""> # ping-timeout data-integrity-alg tcp-cork on-congestion</div><div class=""> # congestion-fill congestion-extents csums-alg verify-alg</div><div class=""> # use-rle</div><div class=""> }</div><div class="">}</div><div style="font-weight:bold" class=""><br class=""></div></div><div style="font-weight:bold;font-size:14.6667px;line-height:20.5333px" class=""><br class=""></div></span></font></div></div><div class="gmail_extra"><br clear="all" class=""><div class=""><div class="gmail_signature" data-smartmail="gmail_signature"><font style="color:rgb(153,153,153)" color="#666666" face="tahoma, sans-serif" size="1" class="">-- <br class=""><a href="http://sky-link.net/" target="_blank" class="">sky-link.net</a> Tytus Rogalewski<br class="">eMail: <a href="mailto:tytanick@gmail.com" target="_blank" class="">tytanick@gmail.com</a><br class="">strona: <a href="http://sky-link.net/" target="_blank" class="">http://sky-link.net</a><br class=""></font><font style="color:rgb(153,153,153)" size="1" class="">kom. 790 202 300</font><br class=""><font style="color:rgb(153,153,153)" color="#666666" face="tahoma, sans-serif" size="1" class="">gg: 210533<br class="">skype: tytanick</font><font style="color:rgb(153,153,153)" size="1" class=""><br class="">NIP: 9570976234<br class="">REGON: 221197388<br class=""></font><br class=""></div></div>
<br class=""><div class="gmail_quote">2016-06-21 11:01 GMT+02:00 Tytus Rogalewski <span dir="ltr" class=""><<a href="mailto:tytanick@gmail.com" target="_blank" class="">tytanick@gmail.com</a>></span>:<br class=""><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex"><div class="HOEnZb"><div class="h5"><div dir="ltr" class=""><span style="font-size:12.8px" class="">Lol i made it :)</span><div style="font-size:12.8px" class=""><br class=""></div><div style="font-size:12.8px" class=""><br class=""></div><div style="font-size:12.8px" class=""><span style="color:rgb(44,44,44);font-family:"Open Sans",Helvetica,Arial,sans-serif;font-size:14.6667px;line-height:20.5333px;background-color:rgb(250,250,250)" class="">Ok so i thought that it was buggy drbd9 but after 3 days of lost time i finally made it </span><img src="https://forum.proxmox.com/styles/default/xenforo/clear.png" alt=":)" title="Smile :)" style="border:0px;vertical-align:text-bottom;margin:0px 1px;max-width:100%;width:18px;min-height:18px;color:rgb(44,44,44);font-family:"Open Sans",Helvetica,Arial,sans-serif;font-size:14.6667px;line-height:20.5333px;background:url("https://ci4.googleusercontent.com/proxy/vrLCIN1cOYEuoPDPdqq6DU03g-ezr43tcfVCINBO6nQch6HyOxSRtWjO5Z11xxUHDBhyAJkE5VKNNygCoaCUVJ0MgXu96a3GvQ8go0mJ=s0-d-e1-ft#http://styles/default/xenforo/xenforo-smilies-sprite.png") 0px 0px no-repeat rgb(250,250,250)" class=""><br style="color:rgb(44,44,44);font-family:"Open Sans",Helvetica,Arial,sans-serif;font-size:14.6667px;line-height:20.5333px;background-color:rgb(250,250,250)" class=""><span style="color:rgb(44,44,44);font-family:"Open Sans",Helvetica,Arial,sans-serif;font-size:14.6667px;line-height:20.5333px;background-color:rgb(250,250,250)" class="">Before that fix i had 20mbit/s syncing but after that i have 800mbit/s on 1GBit </span><img src="https://forum.proxmox.com/styles/default/xenforo/clear.png" alt=":)" title="Smile :)" style="border:0px;vertical-align:text-bottom;margin:0px 1px;max-width:100%;width:18px;min-height:18px;color:rgb(44,44,44);font-family:"Open Sans",Helvetica,Arial,sans-serif;font-size:14.6667px;line-height:20.5333px;background:url("https://ci4.googleusercontent.com/proxy/vrLCIN1cOYEuoPDPdqq6DU03g-ezr43tcfVCINBO6nQch6HyOxSRtWjO5Z11xxUHDBhyAJkE5VKNNygCoaCUVJ0MgXu96a3GvQ8go0mJ=s0-d-e1-ft#http://styles/default/xenforo/xenforo-smilies-sprite.png") 0px 0px no-repeat rgb(250,250,250)" class=""><br style="color:rgb(44,44,44);font-family:"Open Sans",Helvetica,Arial,sans-serif;font-size:14.6667px;line-height:20.5333px;background-color:rgb(250,250,250)" class=""><br style="color:rgb(44,44,44);font-family:"Open Sans",Helvetica,Arial,sans-serif;font-size:14.6667px;line-height:20.5333px;background-color:rgb(250,250,250)" class=""><div style="margin:1em 140px 1em 0px;padding:0px;border:1px solid rgb(221,229,234);overflow:auto;color:rgb(44,44,44);font-family:"Open Sans",Helvetica,Arial,sans-serif;font-size:14.6667px;line-height:20.5333px;background-color:rgb(248,251,253)" class=""><div style="margin:0px;padding:8px;font-size:13px;color:rgb(52,77,93);border-bottom-width:1px;border-bottom-style:solid;border-bottom-color:rgb(221,229,234);background-color:rgb(255,255,255)" class="">Code:</div><pre style="white-space:pre-wrap;margin-top:0px;margin-bottom:0px;padding:0px 8px;font-family:Consolas,"Courier New",Courier,monospace;line-height:26px;word-wrap:normal;font-size:10pt;overflow:auto;min-height:30px;max-height:500px;direction:ltr;background-image:-webkit-repeating-linear-gradient(top,rgba(0,0,0,0.0117647) 0px,rgba(0,0,0,0.0117647) 26px,rgba(0,0,0,0.0431373) 26px,rgba(0,0,0,0.0431373) 52px);background-repeat:repeat-x" class="">NET | bond0 80% | pcki 13298 | pcko 133286 | si 3879 Kbps | so 807 Mbps | coll 0 | mlti 12 | erri 0 | erro 0 | drpi 0 | drpo 0 |
NET | eth1 80% | pcki 13298 | pcko 133286 | si 3879 Kbps | so 807 Mbps | coll 0 | mlti 12 | erri 0 | erro 0 | drpi 0 | drpo 0 |
NET | tap0 0% | pcki 4 | pcko 4 | si 0 Kbps | so 12 Kbps | coll 0 | mlti 0 | erri 0 | erro 0 | drpi 0 | drpo 0 |
NET | eth2</pre></div><span style="color:rgb(44,44,44);font-family:"Open Sans",Helvetica,Arial,sans-serif;font-size:14.6667px;line-height:20.5333px;background-color:rgb(250,250,250)" class="">it was all about stupid config file ..... and accually you need to edit proper config ....</span><br style="color:rgb(44,44,44);font-family:"Open Sans",Helvetica,Arial,sans-serif;font-size:14.6667px;line-height:20.5333px;background-color:rgb(250,250,250)" class=""><br style="color:rgb(44,44,44);font-family:"Open Sans",Helvetica,Arial,sans-serif;font-size:14.6667px;line-height:20.5333px;background-color:rgb(250,250,250)" class=""><span style="color:rgb(44,44,44);font-family:"Open Sans",Helvetica,Arial,sans-serif;font-size:14.6667px;line-height:20.5333px;background-color:rgb(250,250,250)" class="">First of all if you have working drbd9 cluster first stop all VMs and then all resources on both <span class="">drbd</span> nodes:</span><br style="color:rgb(44,44,44);font-family:"Open Sans",Helvetica,Arial,sans-serif;font-size:14.6667px;line-height:20.5333px;background-color:rgb(250,250,250)" class=""><div style="margin:1em 140px 1em 0px;padding:0px;border:1px solid rgb(221,229,234);overflow:auto;color:rgb(44,44,44);font-family:"Open Sans",Helvetica,Arial,sans-serif;font-size:14.6667px;line-height:20.5333px;background-color:rgb(248,251,253)" class=""><div style="margin:0px;padding:8px;font-size:13px;color:rgb(52,77,93);border-bottom-width:1px;border-bottom-style:solid;border-bottom-color:rgb(221,229,234);background-color:rgb(255,255,255)" class="">Code:</div><pre style="white-space:pre-wrap;margin-top:0px;margin-bottom:0px;padding:0px 8px;font-family:Consolas,"Courier New",Courier,monospace;line-height:26px;word-wrap:normal;font-size:10pt;overflow:auto;min-height:30px;max-height:500px;direction:ltr;background-image:-webkit-repeating-linear-gradient(top,rgba(0,0,0,0.0117647) 0px,rgba(0,0,0,0.0117647) 26px,rgba(0,0,0,0.0431373) 26px,rgba(0,0,0,0.0431373) 52px);background-repeat:repeat-x" class="">drbdadm disconnect all</pre></div><span style="color:rgb(44,44,44);font-family:"Open Sans",Helvetica,Arial,sans-serif;font-size:14.6667px;line-height:20.5333px;background-color:rgb(250,250,250)" class="">Then you need to edit config (and this is what i was looking for so long)</span><b style="color:rgb(44,44,44);font-family:"Open Sans",Helvetica,Arial,sans-serif;font-size:14.6667px;line-height:20.5333px;background-color:rgb(250,250,250)" class=""> /var/lib/<span class="">drbd</span>.d/drbdmanage_global_common.conf</b><span style="color:rgb(44,44,44);font-family:"Open Sans",Helvetica,Arial,sans-serif;font-size:14.6667px;line-height:20.5333px;background-color:rgb(250,250,250)" class=""> because editing /etc/<span class="">drbd</span>.d/global_common.conf doesnt work at all </span><img src="https://forum.proxmox.com/styles/default/xenforo/clear.png" alt=":)" title="Smile :)" style="border:0px;vertical-align:text-bottom;margin:0px 1px;max-width:100%;width:18px;min-height:18px;color:rgb(44,44,44);font-family:"Open Sans",Helvetica,Arial,sans-serif;font-size:14.6667px;line-height:20.5333px;background:url("https://ci4.googleusercontent.com/proxy/vrLCIN1cOYEuoPDPdqq6DU03g-ezr43tcfVCINBO6nQch6HyOxSRtWjO5Z11xxUHDBhyAJkE5VKNNygCoaCUVJ0MgXu96a3GvQ8go0mJ=s0-d-e1-ft#http://styles/default/xenforo/xenforo-smilies-sprite.png") 0px 0px no-repeat rgb(250,250,250)" class=""><br style="color:rgb(44,44,44);font-family:"Open Sans",Helvetica,Arial,sans-serif;font-size:14.6667px;line-height:20.5333px;background-color:rgb(250,250,250)" class=""><br style="color:rgb(44,44,44);font-family:"Open Sans",Helvetica,Arial,sans-serif;font-size:14.6667px;line-height:20.5333px;background-color:rgb(250,250,250)" class=""><span style="color:rgb(44,44,44);font-family:"Open Sans",Helvetica,Arial,sans-serif;font-size:14.6667px;line-height:20.5333px;background-color:rgb(250,250,250)" class="">Enter those settings to </span><b style="color:rgb(44,44,44);font-family:"Open Sans",Helvetica,Arial,sans-serif;font-size:14.6667px;line-height:20.5333px;background-color:rgb(250,250,250)" class="">/var/lib/<span class="">drbd</span>.d/drbdmanage_global_common.conf <span style="color:rgb(255,0,0)" class="">ON BOTH NODES</span><br class=""><div style="margin:1em 140px 1em 0px;padding:0px;border:1px solid rgb(221,229,234);overflow:auto;background-color:rgb(248,251,253)" class=""><div style="margin:0px;padding:8px;font-size:13px;color:rgb(52,77,93);border-bottom-width:1px;border-bottom-style:solid;border-bottom-color:rgb(221,229,234);background-color:rgb(255,255,255)" class="">Code:</div><pre style="white-space:pre-wrap;margin-top:0px;margin-bottom:0px;padding:0px 8px;font-family:Consolas,"Courier New",Courier,monospace;line-height:26px;word-wrap:normal;font-size:10pt;overflow:auto;min-height:30px;max-height:500px;direction:ltr;background-image:-webkit-repeating-linear-gradient(top,rgba(0,0,0,0.0117647) 0px,rgba(0,0,0,0.0117647) 26px,rgba(0,0,0,0.0431373) 26px,rgba(0,0,0,0.0431373) 52px);background-repeat:repeat-x" class=""># it must be content of /var/lib/<span class="">drbd</span>.d/drbdmanage_global_common.conf !!!!
common {
disk {
on-io-error detach;
no-disk-flushes ;
no-disk-barrier;
c-plan-ahead 10;
c-fill-target 24M;
c-min-rate 10M;
c-max-rate 100M;
}.
net {
# max-epoch-size 20000;
max-buffers 36k;
sndbuf-size 1024k ;
rcvbuf-size 2048k;
}
}
</pre></div></b><br style="color:rgb(44,44,44);font-family:"Open Sans",Helvetica,Arial,sans-serif;font-size:14.6667px;line-height:20.5333px;background-color:rgb(250,250,250)" class=""><span style="color:rgb(44,44,44);font-family:"Open Sans",Helvetica,Arial,sans-serif;font-size:14.6667px;line-height:20.5333px;background-color:rgb(250,250,250)" class="">Then simply restart <span class="">drbd</span> by:</span><br style="color:rgb(44,44,44);font-family:"Open Sans",Helvetica,Arial,sans-serif;font-size:14.6667px;line-height:20.5333px;background-color:rgb(250,250,250)" class=""><b style="color:rgb(44,44,44);font-family:"Open Sans",Helvetica,Arial,sans-serif;font-size:14.6667px;line-height:20.5333px;background-color:rgb(250,250,250)" class=""><div style="margin:1em 140px 1em 0px;padding:0px;border:1px solid rgb(221,229,234);overflow:auto;background-color:rgb(248,251,253)" class=""><div style="margin:0px;padding:8px;font-size:13px;color:rgb(52,77,93);border-bottom-width:1px;border-bottom-style:solid;border-bottom-color:rgb(221,229,234);background-color:rgb(255,255,255)" class="">Code:</div><pre style="white-space:pre-wrap;margin-top:0px;margin-bottom:0px;padding:0px 8px;font-family:Consolas,"Courier New",Courier,monospace;line-height:26px;word-wrap:normal;font-size:10pt;overflow:auto;min-height:30px;max-height:500px;direction:ltr;background-image:-webkit-repeating-linear-gradient(top,rgba(0,0,0,0.0117647) 0px,rgba(0,0,0,0.0117647) 26px,rgba(0,0,0,0.0431373) 26px,rgba(0,0,0,0.0431373) 52px);background-repeat:repeat-x" class="">/etc/init.d/<span class="">drbd</span> restart</pre></div></b><br style="color:rgb(44,44,44);font-family:"Open Sans",Helvetica,Arial,sans-serif;font-size:14.6667px;line-height:20.5333px;background-color:rgb(250,250,250)" class=""><span style="color:rgb(44,44,44);font-family:"Open Sans",Helvetica,Arial,sans-serif;font-size:14.6667px;line-height:20.5333px;background-color:rgb(250,250,250)" class="">And thats it. Syncing should be at 800mbits </span><img src="https://forum.proxmox.com/styles/default/xenforo/clear.png" alt=":)" title="Smile :)" style="border:0px;vertical-align:text-bottom;margin:0px 1px;max-width:100%;width:18px;min-height:18px;color:rgb(44,44,44);font-family:"Open Sans",Helvetica,Arial,sans-serif;font-size:14.6667px;line-height:20.5333px;background:url("https://ci4.googleusercontent.com/proxy/vrLCIN1cOYEuoPDPdqq6DU03g-ezr43tcfVCINBO6nQch6HyOxSRtWjO5Z11xxUHDBhyAJkE5VKNNygCoaCUVJ0MgXu96a3GvQ8go0mJ=s0-d-e1-ft#http://styles/default/xenforo/xenforo-smilies-sprite.png") 0px 0px no-repeat rgb(250,250,250)" class=""><br style="color:rgb(44,44,44);font-family:"Open Sans",Helvetica,Arial,sans-serif;font-size:14.6667px;line-height:20.5333px;background-color:rgb(250,250,250)" class=""><span style="color:rgb(44,44,44);font-family:"Open Sans",Helvetica,Arial,sans-serif;font-size:14.6667px;line-height:20.5333px;background-color:rgb(250,250,250)" class="">In you have 10GBit just change c-max-rate to 1000M</span><br style="color:rgb(44,44,44);font-family:"Open Sans",Helvetica,Arial,sans-serif;font-size:14.6667px;line-height:20.5333px;background-color:rgb(250,250,250)" class=""><span style="color:rgb(44,44,44);font-family:"Open Sans",Helvetica,Arial,sans-serif;font-size:14.6667px;line-height:20.5333px;background-color:rgb(250,250,250)" class="">Play with those settings</span></div></div></div></div><div class="gmail_extra"><br clear="all" class=""><span class=""><div class=""><div data-smartmail="gmail_signature" class=""><font style="color:rgb(153,153,153)" color="#666666" face="tahoma, sans-serif" size="1" class="">-- <br class=""><a href="http://sky-link.net/" target="_blank" class="">sky-link.net</a> Tytus Rogalewski<br class="">eMail: <a href="mailto:tytanick@gmail.com" target="_blank" class="">tytanick@gmail.com</a><br class="">strona: <a href="http://sky-link.net/" target="_blank" class="">http://sky-link.net</a><br class=""></font><font style="color:rgb(153,153,153)" size="1" class="">kom. 790 202 300</font><br class=""><font style="color:rgb(153,153,153)" color="#666666" face="tahoma, sans-serif" size="1" class="">gg: 210533<br class="">skype: tytanick</font><font style="color:rgb(153,153,153)" size="1" class=""><br class="">NIP: 9570976234<br class="">REGON: 221197388<br class=""></font><br class=""></div></div>
<br class=""></span><div class=""><div class="h5"><div class="gmail_quote">2016-06-21 11:00 GMT+02:00 Tytus Rogalewski <span dir="ltr" class=""><<a href="mailto:tytanick@gmail.com" target="_blank" class="">tytanick@gmail.com</a>></span>:<br class=""><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex"><div dir="ltr" class="">Lol i made it :)<div class=""><br class=""></div><div class=""><br class=""></div><div class=""><span style="color:rgb(44,44,44);font-family:"Open Sans",Helvetica,Arial,sans-serif;font-size:14.6667px;line-height:20.5333px;background-color:rgb(250,250,250)" class="">Ok so i thought that it was buggy drbd9 but after 3 days of lost time i finally made it </span><img src="https://forum.proxmox.com/styles/default/xenforo/clear.png" alt=":)" title="Smile :)" style="border:0px;vertical-align:text-bottom;margin:0px 1px;max-width:100%;width:18px;min-height:18px;color:rgb(44,44,44);font-family:"Open Sans",Helvetica,Arial,sans-serif;font-size:14.6667px;line-height:20.5333px;background:url("https://ci4.googleusercontent.com/proxy/vrLCIN1cOYEuoPDPdqq6DU03g-ezr43tcfVCINBO6nQch6HyOxSRtWjO5Z11xxUHDBhyAJkE5VKNNygCoaCUVJ0MgXu96a3GvQ8go0mJ=s0-d-e1-ft#http://styles/default/xenforo/xenforo-smilies-sprite.png") 0px 0px no-repeat rgb(250,250,250)" class=""><br style="color:rgb(44,44,44);font-family:"Open Sans",Helvetica,Arial,sans-serif;font-size:14.6667px;line-height:20.5333px;background-color:rgb(250,250,250)" class=""><span style="color:rgb(44,44,44);font-family:"Open Sans",Helvetica,Arial,sans-serif;font-size:14.6667px;line-height:20.5333px;background-color:rgb(250,250,250)" class="">Before that fix i had 20mbit/s syncing but after that i have 800mbit/s on 1GBit </span><img src="https://forum.proxmox.com/styles/default/xenforo/clear.png" alt=":)" title="Smile :)" style="border:0px;vertical-align:text-bottom;margin:0px 1px;max-width:100%;width:18px;min-height:18px;color:rgb(44,44,44);font-family:"Open Sans",Helvetica,Arial,sans-serif;font-size:14.6667px;line-height:20.5333px;background:url("https://ci4.googleusercontent.com/proxy/vrLCIN1cOYEuoPDPdqq6DU03g-ezr43tcfVCINBO6nQch6HyOxSRtWjO5Z11xxUHDBhyAJkE5VKNNygCoaCUVJ0MgXu96a3GvQ8go0mJ=s0-d-e1-ft#http://styles/default/xenforo/xenforo-smilies-sprite.png") 0px 0px no-repeat rgb(250,250,250)" class=""><br style="color:rgb(44,44,44);font-family:"Open Sans",Helvetica,Arial,sans-serif;font-size:14.6667px;line-height:20.5333px;background-color:rgb(250,250,250)" class=""><br style="color:rgb(44,44,44);font-family:"Open Sans",Helvetica,Arial,sans-serif;font-size:14.6667px;line-height:20.5333px;background-color:rgb(250,250,250)" class=""><div style="margin:1em 140px 1em 0px;padding:0px;border:1px solid rgb(221,229,234);overflow:auto;color:rgb(44,44,44);font-family:"Open Sans",Helvetica,Arial,sans-serif;font-size:14.6667px;line-height:20.5333px;background-color:rgb(248,251,253)" class=""><div style="margin:0px;padding:8px;font-size:13px;color:rgb(52,77,93);border-bottom-width:1px;border-bottom-style:solid;border-bottom-color:rgb(221,229,234);background-color:rgb(255,255,255)" class="">Code:</div><pre style="margin-top:0px;margin-bottom:0px;padding:0px 8px;font-family:Consolas,"Courier New",Courier,monospace;line-height:26px;word-wrap:normal;font-size:10pt;overflow:auto;min-height:30px;max-height:500px;direction:ltr;background-image:-webkit-repeating-linear-gradient(top,rgba(0,0,0,0.0117647) 0px,rgba(0,0,0,0.0117647) 26px,rgba(0,0,0,0.0431373) 26px,rgba(0,0,0,0.0431373) 52px);background-repeat:repeat-x" class="">NET | bond0 80% | pcki 13298 | pcko 133286 | si 3879 Kbps | so 807 Mbps | coll 0 | mlti 12 | erri 0 | erro 0 | drpi 0 | drpo 0 |
NET | eth1 80% | pcki 13298 | pcko 133286 | si 3879 Kbps | so 807 Mbps | coll 0 | mlti 12 | erri 0 | erro 0 | drpi 0 | drpo 0 |
NET | tap0 0% | pcki 4 | pcko 4 | si 0 Kbps | so 12 Kbps | coll 0 | mlti 0 | erri 0 | erro 0 | drpi 0 | drpo 0 |
NET | eth2</pre></div><span style="color:rgb(44,44,44);font-family:"Open Sans",Helvetica,Arial,sans-serif;font-size:14.6667px;line-height:20.5333px;background-color:rgb(250,250,250)" class="">it was all about stupid config file ..... and accually you need to edit proper config ....</span><br style="color:rgb(44,44,44);font-family:"Open Sans",Helvetica,Arial,sans-serif;font-size:14.6667px;line-height:20.5333px;background-color:rgb(250,250,250)" class=""><br style="color:rgb(44,44,44);font-family:"Open Sans",Helvetica,Arial,sans-serif;font-size:14.6667px;line-height:20.5333px;background-color:rgb(250,250,250)" class=""><span style="color:rgb(44,44,44);font-family:"Open Sans",Helvetica,Arial,sans-serif;font-size:14.6667px;line-height:20.5333px;background-color:rgb(250,250,250)" class="">First of all if you have working drbd9 cluster first stop all VMs and then all resources on both drbd nodes:</span><br style="color:rgb(44,44,44);font-family:"Open Sans",Helvetica,Arial,sans-serif;font-size:14.6667px;line-height:20.5333px;background-color:rgb(250,250,250)" class=""><div style="margin:1em 140px 1em 0px;padding:0px;border:1px solid rgb(221,229,234);overflow:auto;color:rgb(44,44,44);font-family:"Open Sans",Helvetica,Arial,sans-serif;font-size:14.6667px;line-height:20.5333px;background-color:rgb(248,251,253)" class=""><div style="margin:0px;padding:8px;font-size:13px;color:rgb(52,77,93);border-bottom-width:1px;border-bottom-style:solid;border-bottom-color:rgb(221,229,234);background-color:rgb(255,255,255)" class="">Code:</div><pre style="margin-top:0px;margin-bottom:0px;padding:0px 8px;font-family:Consolas,"Courier New",Courier,monospace;line-height:26px;word-wrap:normal;font-size:10pt;overflow:auto;min-height:30px;max-height:500px;direction:ltr;background-image:-webkit-repeating-linear-gradient(top,rgba(0,0,0,0.0117647) 0px,rgba(0,0,0,0.0117647) 26px,rgba(0,0,0,0.0431373) 26px,rgba(0,0,0,0.0431373) 52px);background-repeat:repeat-x" class="">drbdadm disconnect all</pre></div><span style="color:rgb(44,44,44);font-family:"Open Sans",Helvetica,Arial,sans-serif;font-size:14.6667px;line-height:20.5333px;background-color:rgb(250,250,250)" class="">Then you need to edit config (and this is what i was looking for so long)</span><b style="color:rgb(44,44,44);font-family:"Open Sans",Helvetica,Arial,sans-serif;font-size:14.6667px;line-height:20.5333px;background-color:rgb(250,250,250)" class=""> /var/lib/drbd.d/drbdmanage_global_common.conf</b><span style="color:rgb(44,44,44);font-family:"Open Sans",Helvetica,Arial,sans-serif;font-size:14.6667px;line-height:20.5333px;background-color:rgb(250,250,250)" class=""> because editing /etc/drbd.d/global_common.conf doesnt work at all </span><img src="https://forum.proxmox.com/styles/default/xenforo/clear.png" alt=":)" title="Smile :)" style="border:0px;vertical-align:text-bottom;margin:0px 1px;max-width:100%;width:18px;min-height:18px;color:rgb(44,44,44);font-family:"Open Sans",Helvetica,Arial,sans-serif;font-size:14.6667px;line-height:20.5333px;background:url("https://ci4.googleusercontent.com/proxy/vrLCIN1cOYEuoPDPdqq6DU03g-ezr43tcfVCINBO6nQch6HyOxSRtWjO5Z11xxUHDBhyAJkE5VKNNygCoaCUVJ0MgXu96a3GvQ8go0mJ=s0-d-e1-ft#http://styles/default/xenforo/xenforo-smilies-sprite.png") 0px 0px no-repeat rgb(250,250,250)" class=""><br style="color:rgb(44,44,44);font-family:"Open Sans",Helvetica,Arial,sans-serif;font-size:14.6667px;line-height:20.5333px;background-color:rgb(250,250,250)" class=""><br style="color:rgb(44,44,44);font-family:"Open Sans",Helvetica,Arial,sans-serif;font-size:14.6667px;line-height:20.5333px;background-color:rgb(250,250,250)" class=""><span style="color:rgb(44,44,44);font-family:"Open Sans",Helvetica,Arial,sans-serif;font-size:14.6667px;line-height:20.5333px;background-color:rgb(250,250,250)" class="">Enter those settings to </span><b style="color:rgb(44,44,44);font-family:"Open Sans",Helvetica,Arial,sans-serif;font-size:14.6667px;line-height:20.5333px;background-color:rgb(250,250,250)" class="">/var/lib/drbd.d/drbdmanage_global_common.conf <span style="color:rgb(255,0,0)" class="">ON BOTH NODES</span><br class=""><div style="margin:1em 140px 1em 0px;padding:0px;border:1px solid rgb(221,229,234);overflow:auto;background-color:rgb(248,251,253)" class=""><div style="margin:0px;padding:8px;font-size:13px;color:rgb(52,77,93);border-bottom-width:1px;border-bottom-style:solid;border-bottom-color:rgb(221,229,234);background-color:rgb(255,255,255)" class="">Code:</div><pre style="margin-top:0px;margin-bottom:0px;padding:0px 8px;font-family:Consolas,"Courier New",Courier,monospace;line-height:26px;word-wrap:normal;font-size:10pt;overflow:auto;min-height:30px;max-height:500px;direction:ltr;background-image:-webkit-repeating-linear-gradient(top,rgba(0,0,0,0.0117647) 0px,rgba(0,0,0,0.0117647) 26px,rgba(0,0,0,0.0431373) 26px,rgba(0,0,0,0.0431373) 52px);background-repeat:repeat-x" class=""># it must be content of /var/lib/drbd.d/drbdmanage_global_common.conf !!!!
common {
disk {
on-io-error detach;
no-disk-flushes ;
no-disk-barrier;
c-plan-ahead 10;
c-fill-target 24M;
c-min-rate 10M;
c-max-rate 100M;
}.
net {
# max-epoch-size 20000;
max-buffers 36k;
sndbuf-size 1024k ;
rcvbuf-size 2048k;
}
}
</pre></div></b><br style="color:rgb(44,44,44);font-family:"Open Sans",Helvetica,Arial,sans-serif;font-size:14.6667px;line-height:20.5333px;background-color:rgb(250,250,250)" class=""><span style="color:rgb(44,44,44);font-family:"Open Sans",Helvetica,Arial,sans-serif;font-size:14.6667px;line-height:20.5333px;background-color:rgb(250,250,250)" class="">Then simply restart drbd by:</span><br style="color:rgb(44,44,44);font-family:"Open Sans",Helvetica,Arial,sans-serif;font-size:14.6667px;line-height:20.5333px;background-color:rgb(250,250,250)" class=""><b style="color:rgb(44,44,44);font-family:"Open Sans",Helvetica,Arial,sans-serif;font-size:14.6667px;line-height:20.5333px;background-color:rgb(250,250,250)" class=""><div style="margin:1em 140px 1em 0px;padding:0px;border:1px solid rgb(221,229,234);overflow:auto;background-color:rgb(248,251,253)" class=""><div style="margin:0px;padding:8px;font-size:13px;color:rgb(52,77,93);border-bottom-width:1px;border-bottom-style:solid;border-bottom-color:rgb(221,229,234);background-color:rgb(255,255,255)" class="">Code:</div><pre style="margin-top:0px;margin-bottom:0px;padding:0px 8px;font-family:Consolas,"Courier New",Courier,monospace;line-height:26px;word-wrap:normal;font-size:10pt;overflow:auto;min-height:30px;max-height:500px;direction:ltr;background-image:-webkit-repeating-linear-gradient(top,rgba(0,0,0,0.0117647) 0px,rgba(0,0,0,0.0117647) 26px,rgba(0,0,0,0.0431373) 26px,rgba(0,0,0,0.0431373) 52px);background-repeat:repeat-x" class="">/etc/init.d/drbd restart</pre></div></b><br style="color:rgb(44,44,44);font-family:"Open Sans",Helvetica,Arial,sans-serif;font-size:14.6667px;line-height:20.5333px;background-color:rgb(250,250,250)" class=""><span style="color:rgb(44,44,44);font-family:"Open Sans",Helvetica,Arial,sans-serif;font-size:14.6667px;line-height:20.5333px;background-color:rgb(250,250,250)" class="">And thats it. Syncing should be at 800mbits </span><img src="https://forum.proxmox.com/styles/default/xenforo/clear.png" alt=":)" title="Smile :)" style="border:0px;vertical-align:text-bottom;margin:0px 1px;max-width:100%;width:18px;min-height:18px;color:rgb(44,44,44);font-family:"Open Sans",Helvetica,Arial,sans-serif;font-size:14.6667px;line-height:20.5333px;background:url("https://ci4.googleusercontent.com/proxy/vrLCIN1cOYEuoPDPdqq6DU03g-ezr43tcfVCINBO6nQch6HyOxSRtWjO5Z11xxUHDBhyAJkE5VKNNygCoaCUVJ0MgXu96a3GvQ8go0mJ=s0-d-e1-ft#http://styles/default/xenforo/xenforo-smilies-sprite.png") 0px 0px no-repeat rgb(250,250,250)" class=""><br style="color:rgb(44,44,44);font-family:"Open Sans",Helvetica,Arial,sans-serif;font-size:14.6667px;line-height:20.5333px;background-color:rgb(250,250,250)" class=""><span style="color:rgb(44,44,44);font-family:"Open Sans",Helvetica,Arial,sans-serif;font-size:14.6667px;line-height:20.5333px;background-color:rgb(250,250,250)" class="">In you have 10GBit just change c-max-rate to 1000M</span><br style="color:rgb(44,44,44);font-family:"Open Sans",Helvetica,Arial,sans-serif;font-size:14.6667px;line-height:20.5333px;background-color:rgb(250,250,250)" class=""><span style="color:rgb(44,44,44);font-family:"Open Sans",Helvetica,Arial,sans-serif;font-size:14.6667px;line-height:20.5333px;background-color:rgb(250,250,250)" class="">Play with those settings </span><img src="https://forum.proxmox.com/styles/default/xenforo/clear.png" alt=":)" title="Smile :)" style="border:0px;vertical-align:text-bottom;margin:0px 1px;max-width:100%;width:18px;min-height:18px;color:rgb(44,44,44);font-family:"Open Sans",Helvetica,Arial,sans-serif;font-size:14.6667px;line-height:20.5333px;background:url("https://ci4.googleusercontent.com/proxy/vrLCIN1cOYEuoPDPdqq6DU03g-ezr43tcfVCINBO6nQch6HyOxSRtWjO5Z11xxUHDBhyAJkE5VKNNygCoaCUVJ0MgXu96a3GvQ8go0mJ=s0-d-e1-ft#http://styles/default/xenforo/xenforo-smilies-sprite.png") 0px 0px no-repeat rgb(250,250,250)" class=""><br class=""></div></div><div class="gmail_extra"><span class=""><br clear="all" class=""><div class=""><div data-smartmail="gmail_signature" class=""><font style="color:rgb(153,153,153)" color="#666666" face="tahoma, sans-serif" size="1" class="">-- <br class=""><a href="http://sky-link.net/" target="_blank" class="">sky-link.net</a> Tytus Rogalewski<br class="">eMail: <a href="mailto:tytanick@gmail.com" target="_blank" class="">tytanick@gmail.com</a><br class="">strona: <a href="http://sky-link.net/" target="_blank" class="">http://sky-link.net</a><br class=""></font><font style="color:rgb(153,153,153)" size="1" class="">kom. 790 202 300</font><br class=""><font style="color:rgb(153,153,153)" color="#666666" face="tahoma, sans-serif" size="1" class="">gg: 210533<br class="">skype: tytanick</font><font style="color:rgb(153,153,153)" size="1" class=""><br class="">NIP: 9570976234<br class="">REGON: 221197388<br class=""></font><br class=""></div></div>
<br class=""></span><div class=""><div class=""><div class="gmail_quote">2016-06-21 8:02 GMT+02:00 Tytus Rogalewski <span dir="ltr" class=""><<a href="mailto:tytanick@gmail.com" target="_blank" class="">tytanick@gmail.com</a>></span>:<br class=""><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex"><p dir="ltr" class="">Drbd 8.x was totally fine.<br class="">
9.0 in proxmox 4.2 is bugged i suppose.<br class="">
I will try 8.x in 4.2</p><div class=""><div class="">
<div class="gmail_quote">21 cze 2016 01:00 "Adam Goryachev" <<a href="mailto:mailinglists@websitemanagers.com.au" target="_blank" class="">mailinglists@websitemanagers.com.au</a>> napisał(a):<br type="attribution" class=""><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex">On 20/06/16 22:47, Emmanuel Florac wrote:<br class="">
<blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex">
Le Sun, 19 Jun 2016 08:56:18 +0200<br class="">
Piero Baudino <<a href="mailto:pbaudino@formatnet.it" target="_blank" class="">pbaudino@formatnet.it</a>> écrivait:<br class="">
<br class="">
<blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex">
Hi all,<br class="">
<br class="">
I have a cluster with 2 PVE servers with DRBD9.<br class="">
The replicated volume is about 7 Tb, the disks are 7200 rpm near line<br class="">
SAS. The communications channel for DRBD9 is done via 4 Gbit<br class="">
dedicated network cards in bond configuration (round robbin).<br class="">
I have created a VM with 1 Tb disk for test purpuse in the DRBD<br class="">
volume. After that, DRBD starts sync...<br class="">
The sync speed is about 10 Mbyte/sec<br class="">
The effective network speed misured with IPERF is about 3,6 Gbit/sec<br class="">
<br class="">
Is there a way to increse sync speed ?<br class="">
All the docs about this topic are related to 8.x.y DRBD version....<br class="">
</blockquote>
<br class="">
See this thread maybe:<br class="">
<a href="http://www.gossamer-threads.com/lists/drbd/users/27675" rel="noreferrer" target="_blank" class="">http://www.gossamer-threads.com/lists/drbd/users/27675</a><br class="">
<br class="">
</blockquote>
<br class="">
Stupid question perhaps, but doesn't that thread also relate to 8.4.x rather than 9.0.x ?<br class="">
<br class="">
<br class="">
-- <br class="">
Adam Goryachev Website Managers <a href="http://www.websitemanagers.com.au/" rel="noreferrer" target="_blank" class="">www.websitemanagers.com.au</a><br class="">
_______________________________________________<br class="">
drbd-user mailing list<br class="">
<a href="mailto:drbd-user@lists.linbit.com" target="_blank" class="">drbd-user@lists.linbit.com</a><br class="">
<a href="http://lists.linbit.com/mailman/listinfo/drbd-user" rel="noreferrer" target="_blank" class="">http://lists.linbit.com/mailman/listinfo/drbd-user</a><br class="">
</blockquote></div>
</div></div></blockquote></div><br class=""></div></div></div>
</blockquote></div><br class=""></div></div></div>
</blockquote></div><br class=""></div>
_______________________________________________<br class="">drbd-user mailing list<br class=""><a href="mailto:drbd-user@lists.linbit.com" class="">drbd-user@lists.linbit.com</a><br class="">http://lists.linbit.com/mailman/listinfo/drbd-user<br class=""></div></blockquote></div><br class=""></body></html>