[DRBD-user] changing protocol on the fly

Lars Ellenberg lars.ellenberg at linbit.com
Sun Jan 29 15:06:12 CET 2012

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


On Sun, Jan 29, 2012 at 12:20:38AM +0000, James Harper wrote:
> Is it possible to change the protocol (from B to C) while the drbd device is open and in use?

With 8.3, you need to disconnect both, then reconnect with new settings.
With 8.4, you can adjust the DRBD protocol while even keeping the same tcp connection.

> The way I expect it would work (if it worked at all) is this:
> 
> . take secondary down
> . change both primary and secondary configs from B to C
> . drbdadm adjust the primary resource
> . bring secondary up again
> 
> Taking the secondary down while making the change on the primary would
> avoid the situation where the primary and secondary have different
> ideas about the current protocol.
> 
> Thanks
> 
> James

-- 
: Lars Ellenberg
: LINBIT | Your Way to High Availability
: DRBD/HA support and consulting http://www.linbit.com



More information about the drbd-user mailing list