[DRBD-user] Proxmox VE 4.x DRBD 9 plugin - how is it supposed to work?

Robert Altnoeder robert.altnoeder at linbit.com
Wed Mar 1 10:59:43 CET 2017

Note: "permalinks" may not be as permanent as we would like,
direct links of old sources may well be a few messages off.

On 03/01/2017 09:27 AM, Roland Kammerer wrote:
>> On 02/28/2017 12:44 AM, Roland Kammerer wrote:
>>> Yes it uses dual-primary, only during the migration. From what we
>>> saw it works reasonably well in these scenarios. 
>> Hi,
>> I remembered that part wrong and described how it should be, not how it
>> actually is :-/. From what I see in the plugin, "allow-tow-primaries" is
>> set in alloc_image() and never reset.
However, as far as I remember, the resources use auto-promotion, so while
the resource is in allow-two-primaries mode, it is normally only in the
role on one node, unless a live migration is in progress where both
nodes open
the device simultaneously.
Upon closing the device, it switches back to the Secondary role when
auto-promotion is used.

Robert Altnoeder
+43 1 817 82 92 0
robert.altnoeder at linbit.com

LINBIT | Keeping The Digital World Running
DRBD - Corosync - Pacemaker
f /  t /  in /  g+

DRBD® and LINBIT® are registered trademarks of LINBIT, Austria.

More information about the drbd-user mailing list