<div dir="auto"><div><br><div class="gmail_extra"><br><div class="gmail_quote">On 27 Dec 2016 4:15 am, "Jasmin J." <<a href="mailto:jasmin@anw.at">jasmin@anw.at</a>> wrote:<br type="attribution"><blockquote class="quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex">Hello Dietmar!<div class="quoted-text"><br>
<br>
> The functionality you are looking for already exists using DRBD9. It is<br>
> called drbdmanage, and Linbit provides a repository including all<br>
> packages and a storage driver for PVE.<br></div>
Yes it is ... BUT ...<div class="quoted-text"><br>
<br>
> AFAIK DRBD9 is stable (or will be soon?)<br></div>
See here the post from Lars:<br>
<a href="http://lists.linbit.com/pipermail/drbd-user/2016-November/023379.html" rel="noreferrer" target="_blank">http://lists.linbit.com/piperm<wbr>ail/drbd-user/2016-November/<wbr>023379.html</a><br>
-> If you have a two node setup, stay with DRBD 8.4,<br>
you don't gain anything from the new features of DRBD 9,<br>
but, as you found out, still may be hit by the regressions.<br>
<br>
Because of this post, I removed DRBD9 form my server, switched to DRBD 8.4<br>
and wrote my Proxmox DRBD8 Storage Plugin. I would have loved to have no work<br>
and to use the already existing tools.<div class="quoted-text"><br>
<br>
> that is simply not necessary (DRBD9 auto promotion ...)<br></div>
I like that, but it is not available in DRBD 8.4. So a Proxmox DRBD8 Storage<br>
Plugin would need to use dual primary mode and switch on both sides to primary.<br>
When Proxmox PVE would execute on one server activate_volume and on the other<br>
deactivate_volume a few seconds later, this would work. But then, if the<br>
cluster falls apart and for what ever reason it gets activated on both sides<br>
it might be a disaster.</blockquote></div></div></div><div dir="auto">PVE has watchdog fencing to prevent this from happening.</div><div dir="auto"><br></div><div dir="auto"><div class="gmail_extra"><div class="gmail_quote"><blockquote class="quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex"> Therefore I simply disabled this in my Storage Plugin.<br>
If someone likes to implement it, he can do this and test. My servers are now<br>
productive and I have no reason to change a running system!<br>
And ofcourse everybody is free to use DRBD9, drbdmanage and the Proxmox DRBD<br>
Storge Plugin (for DRBD 9.x) provided by Linbit. In the long run THIS is the<br>
preferred strategy.<div class="quoted-text"><br>
<br>
> ALL DRBD9 related code is now managed by Linbit. AFAIK they plan to provide<br>
> documentation soon on the DRBD site.<br></div>
Yes, they did already announce it for Proxmox and the documentation about 9.x<br>
is also very good (the 8.4 was also) and it is a very good thing. But as<br>
written above, currently not 100% stable and recommended at the current state,<br>
especially for a two node cluster.<br>
<br>
BR,<br>
Jasmin<div class="elided-text"><br>
______________________________<wbr>_________________<br>
drbd-user mailing list<br>
<a href="mailto:drbd-user@lists.linbit.com" target="_blank">drbd-user@lists.linbit.com</a><br>
<a href="http://lists.linbit.com/mailman/listinfo/drbd-user" rel="noreferrer" target="_blank">http://lists.linbit.com/mailma<wbr>n/listinfo/drbd-user</a><br>
</div></blockquote></div><br></div></div></div>