[PVE-User] lvm+iscsi

Martin Maurer martin at proxmox.com
Wed Jan 27 14:38:22 CET 2010


> -----Original Message-----
> From: pve-user-bounces at pve.proxmox.com [mailto:pve-user-
> bounces at pve.proxmox.com] On Behalf Of Hugh Saunders
> Sent: Mittwoch, 27. Jänner 2010 13:39
> To: pve-user at pve.proxmox.com
> Subject: [PVE-User] lvm+iscsi
> Hi,
> I am interested in using proxmox-ve, but have a few questions.
> I'd like to use two machines to host VMs in a cluster, so that VMs can
> be migrated from one to the other. The shared storage I'd like to use
> is iSCSI + LVM.
> So questions..
> 1) If I use hardware iSCSI HBAs in the two hosts, can I do live
> migration of VMs? Or does that only work with a software iSCSI
> initiator?

So you configure iSCSI on the bios and the host just see this drives like physical attached devices (/dev/sdx), right? So just go this way: http://pve.proxmox.com/wiki/Storage_Model#Use_local_devices_.28like_.2Fdev.2Fsd...2F.2C_FC.29

> 2) How does proxmox ensure the use of LVM is cluster safe?
> Eg if I have an iSCSI lun that is connected to both hosts, and each VM
> uses a separate LV, thats fine, but how does proxmox ensure that:
> a) The same LV is not mounted on both host machines at once
> b) That only one host attempts to update the LVM meta-data at a time?
> (Eg create a new lv/snapshot)

We implemented our own locking mechanism.

> 3)Is iscsi+lvm a recommended/supported shared storage configuration?
> Or would it be better/safer to go with NFS?

iSCSI and LVM is recommended. 

Br, Martin

> Thanks for any information
> --
> Hugh Saunders
> _______________________________________________
> pve-user mailing list
> pve-user at pve.proxmox.com
> http://pve.proxmox.com/cgi-bin/mailman/listinfo/pve-user

More information about the pve-user mailing list