2 node cluster + iSCSI

  • Thread starter Thread starter adam0x54
  • Start date Start date
A

adam0x54

Guest
I 've been following Proxmox for a while and I noticed the addition of iSCSI in version 1.4.
Am I going to need a clustered filesystem to run a 2-node cluster with iSCSI? I have a dedicated NAS and I export luns from it to the servers. The idea is to use kvm + iSCSI partitioned with LVM on a two-node cluster to do live migration.

Thanks,

Adam
 
Am I going to need a clustered filesystem to run a 2-node cluster with iSCSI?

no, use LVM instead.

I have a dedicated NAS and I export luns from it to the servers. The idea is to use kvm + iSCSI partitioned with LVM on a two-node cluster to do live migration.

Yes, you can simply setup an LVM storage using the iSCSI lun as base.
 
Yeah this was my plan. I think for a two-node cluster it will be ok since one 1 vm will be writing in a logical volume. What about if you add 2 more servers in the cluster though?

-Adam
 
Yeah this was my plan. I think for a two-node cluster it will be ok since one 1 vm will be writing in a logical volume. What about if you add 2 more servers in the cluster though?

-Adam

no problem. just add another node, the master will make sure that it works as you expect.
 
Whats the problem with that?

I was just wondering if I will need any clustered filesystem to prevent any iSCSI lun corruption. But I guess since I will partition the lun with LVM and create each vm in its own logical volume it will be ok. Only one server at the time will access the logical volume. I lost my main iscsi lun recently because of iscsi corruption thats why I was asking. Better safe than sorry :)

-Adam