pve cluster live migration setup

screenie

Active Member
Jul 21, 2009
157
7
38
hi,

when i understand it right - for a pve cluster with live migration i need a drbd active/active+gfs2 or a shared mounted nfs on both nodes where the vm's are stored, correct?

or is there a additional way for doing this? without shared storage?

and what is the recommendation for such setup?

thx
 
hi,

when i understand it right - for a pve cluster with live migration i need a drbd active/active+gfs2 or a shared mounted nfs on both nodes where the vm's are stored, correct?

or is there a additional way for doing this? without shared storage?

and what is the recommendation for such setup?

thx
Hi,
for openvz you need only local storage and kernel 2.6.18.
For kvm you need shared storage. DRBD is "shared" storage at two nodes... but you don't need gfs2. Lvm do the trick - on the drbd-storage is a volumegroup and the VM-disks ar logical volumes which are only accessed from one node at a time.

Recommendations? It's depends... speed, cheap,... i have good experience with a FC-SAN and LVM-storage on the LUNs.

Udo
 
ok, drbd without the whole rhcs makes it much easier :)
i am right that you are using a separate lvol for each vm?
one lvol for all my vm's are enough because when the backup job run's all vm's can be processed with the same snapshot - or is there something i missed?

so, i will try the drbd variant - it's cheap and i don't expect excessive disk-io's...

thx
 
ok, drbd without the whole rhcs makes it much easier :)
i am right that you are using a separate lvol for each vm?
...
Hi,
pve will do that for you - if you create a disk for a VM it's create a logical volume:
Code:
# lvdisplay | grep dev/drbd
  LV Name                /dev/drbdvg/vm-103-disk-1
  LV Name                /dev/drbdvg/vm-111-disk-1
  LV Name                /dev/drbdvg/vm-126-disk-1
  LV Name                /dev/drbdvg/vm-121-disk-1
  LV Name                /dev/drbdvg/vm-132-disk-1

It must be independent LVs, otherwise the migration can't work.

Udo
 

About

The Proxmox community has been around for many years and offers help and support for Proxmox VE, Proxmox Backup Server, and Proxmox Mail Gateway.
We think our community is one of the best thanks to people like you!

Get your subscription!

The Proxmox team works very hard to make sure you are running the best software and getting stable updates and security enhancements, as well as quick enterprise support. Tens of thousands of happy customers have a Proxmox subscription. Get yours easily in our online shop.

Buy now!