[DRBD-user] Manage nodes allocation policy

Julien Escario escario at azylog.net
Tue Oct 3 17:21:09 CEST 2017

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


Le 03/10/2017 à 14:50, Robert Altnoeder a écrit :
> On 10/02/2017 06:20 PM, Julien Escario wrote:
>> Hello,
>> In the doc, I can read : "In this case drbdmanage chooses 3 nodes that fit all
>> requirements best, which is by default the set of nodes with the most free space
>> in the drbdpool volume group."
>>
>> Is there a way to change this 'default mode' ? For example, with 2 sites, asking
>> to have *at least* a copy on each site ?
>>
>> Best regards,
>> Julien Escario
>> _______________________________________________
>> drbd-user mailing list
>> drbd-user at lists.linbit.com
>> http://lists.linbit.com/mailman/listinfo/drbd-user
> 
> Technically yes, practically, for most users right now, no.
> 
> The deployment policy is contained in an exchangable object class, which
> can be configured in the drbdmanage configuration. The corresponding
> configuration line is:
> deployer-plugin = drbdmanage.deployers.BalancedDeployer
> It is technically possible to load another deployer object that contains
> different deployment logic, however, no alternative plugins exist so far.
> The interface of those plugins also does not carry information about a
> node's site associations.
> 
> br,

Hello,
Thanks for claryfing ! Seems, we'll to manually balance data across sites.

Best regards,
Julien Escario




More information about the drbd-user mailing list