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
Primary
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.

br,
-- 
Robert Altnoeder
+43 1 817 82 92 0
[email protected]

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

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

_______________________________________________
drbd-user mailing list
[email protected]
http://lists.linbit.com/mailman/listinfo/drbd-user

Reply via email to