Hello,
we have recently installed a HP MSA 2040 to use with iSCSI. I am a total newbie in this field and decided to just try and learn stuff on the way. Therefore even though it's generally working right now (one host has access to the SAN and I was able to add a mount point to an existing CT), it's probably not configured the way it should be. And I have a lot of questions...
The setup
SAN:
Using a single disk group (RAID5 with 4 SSDs) and only one LUN.
We are using DAC instead of a switch, so every Proxmox host has to use a different IP address for accessing the SAN.
PVE:
We have two hosts in a cluster. I followed https://forum.proxmox.com/threads/iscsi-best-practice.38765/ to create an iSCSI storage and a LVM on top of that.
pve-manager/7.2-3/c743d6c1 (running kernel: 5.13.19-6-pve)
IP configuration:
- SAN Controller A
- Server 1, vm03 (to A1,B1)
The questions
1) Is a single LUN on the SAN sufficient or do I have to create a LUN for each Proxmox host?
2) If using a single LUN: Do I have to configure the same iSCSI storage on both PVE hosts (with differing IP addresses)?
Will one host know what the other host uses from that LUN?
3) Should I assign a separate subnet for each of the two ports that one host is connected to?
4) When creating the LVM storage, should I enable "Shared"?
5) Afaik, using snapshots is not possible with LVM on iSCSI. Is there a workaround to this? How do you use snapshots in that case or do you simply just not use them?
6) Would ZFS be better suited instead of LVM?
7) How do I migrate the existing containers and VMs (currently using lvm-thin) to the new storage?
we have recently installed a HP MSA 2040 to use with iSCSI. I am a total newbie in this field and decided to just try and learn stuff on the way. Therefore even though it's generally working right now (one host has access to the SAN and I was able to add a mount point to an existing CT), it's probably not configured the way it should be. And I have a lot of questions...
The setup
SAN:
Using a single disk group (RAID5 with 4 SSDs) and only one LUN.
We are using DAC instead of a switch, so every Proxmox host has to use a different IP address for accessing the SAN.
PVE:
We have two hosts in a cluster. I followed https://forum.proxmox.com/threads/iscsi-best-practice.38765/ to create an iSCSI storage and a LVM on top of that.
pve-manager/7.2-3/c743d6c1 (running kernel: 5.13.19-6-pve)
IP configuration:
- SAN Controller A
- Port 1: 10.0.1.100
- Port 3: 10.0.3.140
- SAN Controller B- Port 1: 10.0.1.110
- Port 3: 10.0.3.150
- Server 1, vm03 (to A1,B1)
- Port A: 10.0.1.200/24
- Port B: 10.0.1.210/24
- Server 2, vm04 (to A3,B3)- Port A: 10.0.3.240/24
- Port B: 10.0.3.250/24
The questions
1) Is a single LUN on the SAN sufficient or do I have to create a LUN for each Proxmox host?
2) If using a single LUN: Do I have to configure the same iSCSI storage on both PVE hosts (with differing IP addresses)?
Will one host know what the other host uses from that LUN?
3) Should I assign a separate subnet for each of the two ports that one host is connected to?
4) When creating the LVM storage, should I enable "Shared"?
5) Afaik, using snapshots is not possible with LVM on iSCSI. Is there a workaround to this? How do you use snapshots in that case or do you simply just not use them?
6) Would ZFS be better suited instead of LVM?
7) How do I migrate the existing containers and VMs (currently using lvm-thin) to the new storage?