[DRBD-user] DRBD and KVM for a HA-Cluster ?

Lentes, Bernd bernd.lentes at helmholtz-muenchen.de
Thu Jan 6 16:29:17 CET 2011

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

Digimer wrote:
>   Using DRBD resources as LVM PVs is perfectly fine. Keep in 
> mind though that I don't think DRBD resources can be resized 
> themselves, though I could be wrong. What I've done in the 
> past is to simply setup a second DRBD resource, set it as a 
> PV and then add that PV to the common VG.
>   If you're building a 2-node cluster and you are running 
> Primary/Primary, then yes, I think Clustered LVM is best (perhaps not
> *strictly* required). Given that each VM is on a dedicated 
> LV, in theory you should not need clustered locking, though I 
> think having CLVM is a good idea. It gives you the option of 
> creating a GFS2 partition with the VMs XML config files, 
> shared ISOs, etc. I always do this, so I should say that I've 
> not looked at the feasibility of *not* using CLVM/GFS2.
> Cheers

I don't want to setup a DRBD as a PV. My idea is to set up a DRBD on top of a LV, and to format or not format this LV, depending on the decision to install a KVM into a file or a plain device.
Is this setup ok ?


More information about the drbd-user mailing list