[DRBD-user] DRBD over ZFS - or the other way around?

Gionatan Danti g.danti at assyoma.it
Fri Aug 18 21:27:03 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.


Il 18-08-2017 17:22 Veit Wahlich ha scritto:
> 
> Yes, I regard qemu -> DRBD -> volume management [-> RAID] -> disk the
> most recommendable solution for this scenario.
> 
> I personally go with LVM thinp for volume management, but ZVOLs should
> do the trick, too.
> 
> With named ressources (named after VMs) and multiple volumes per
> ressource (for multiple VM disks), this works very well for us for
> hundreds of VMs.
> 
> Having a cluster-wide unified system for numbering VMs is very
> advisable, as it allows to calculate the ports and minor numbers for
> both DRBD and KVM/qemu configuration.
> 
> Example:
> * numbering VMs from 0 to 999 as <num>, padded with leading zeros
> * numbering volumes from 0 to 99 as <vol>, padded with leading zeros
> * DRBD ressource port: 10<num>
> * VNC/SPICE unencrypted port: 11<num>
> * SPICE TLS port: 12<num>
> * DRBD minor: <num><volume>
> 
> Let's say your VM gets number 123, it has 3 virtual disks and uses VNC:
> * DRBD ressource port: 10123
> * VNC port: 11123
> * DRBD minor of volume/VM disk 0: 12300
> * DRBD minor of volume/VM disk 1: 12301
> * DRBD minor of volume/VM disk 2: 12302
> 
> Best regards,
> // Veit

Hi Veit, excellent advises!
Thank you.

-- 
Danti Gionatan
Supporto Tecnico
Assyoma S.r.l. - www.assyoma.it
email: g.danti at assyoma.it - info at assyoma.it
GPG public key ID: FF5F32A8



More information about the drbd-user mailing list