HA configuration with RDM

inder441

New Member
Dec 17, 2024
27
2
3
Hello Team,

I have a query:

here is my setup:

1st: I have a VM sitting in a 5 node proxmox cluster.
2nd: I assigned a LUN to all the nodes on this cluster and using multipathing as well.
3rd: Then I assigned this LUN as passthrough to this VM. For which I ran this command on one of the nodes on proxmox cluster, for the VM: /sbin/qm set [VM-ID] -virtio2 /dev/disk/by-id/[DISK-ID] (/sbin/qm set 240 -virtio2 /dev/disk/by-id/scsi-360000970000197604069533030303536).


The problem is: After configuring it this way my VM is no longer HA. It does not live migrate to other nodes.

I am trying to understand how can I achieve HA/Live migration with passthrough disk connected to my VM. If anyone can help that would be highly appreciated :)
 
Hi,

live migration will not work if you do passthrough like that. Have a look at the Shared storage documentation. As an alternative to what you're doing, you have 2 options:
  • Create a shared LVM on your LUN (one big LUN for all your disks) and use that as hard disk
  • Create a LUN for each VM disk and add it at iSCSI storage. Then you can add it as a hard disk for your VM