[DRBD-user] drbdmange: howto configure default plugin in v0.49

Dietmar Maurer dietmar at proxmox.com
Sat Sep 12 14:01:52 CEST 2015

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

> In your case you should make use of the new 'set_cluster_config' API
> call which takes a dictionary as its input. If you just want to set a
> new storage plugin (but do not want to configure the plugin itself,
> because the defaults are okay), your configuration dictionary should
> look like this:
> {
>    'nodes': [{'storage-plugin': 'drbdmanage.storage.lvm_thinlv.LvmThinLV',
>               'name': 'YOURNODENAME'}], 
>    'globals': [{}], 'type': [{'type': 'node'}],
>    'sites': [], 'plugins': []
> }

Really? The old approach works out of box, without any user intervention.
And now I need to tell users to run such complex setup command?

Any other idea how to set the default storage plugin? I compile and roll out
my own packages, so I can modify the source code - but where is the best place?

More information about the drbd-user mailing list