We have Proxmox on our previous-generation hardware, as a secondary environment to our newer VMWare environment. Our production Compellent SAN has the following topology:
Here is where I'm getting mixed up. I want to use pvesm to add the storage; my understanding is each target becomes its own storage device, so I have the following commands:
This successfully adds the devices; 2 storage devices show up in the GUI on the host. That being said, the LUN only shows up under the first storage device; if I go to make an LVM volume group and volume, and choose the base storage device, a LUN only shows up under the base volume of one device, not the 2nd.
While I've seen references to multiple targets going to the same storage device, the following command doesn't work as the storage device only shows the last "target" under "Path/Target" and the storage isn't available; the documentation on pvesm doesn't indicate anything about multiple target params:
Can I get a sanity check for this architecture?
- 2 Controllers
- Each controller has 2 ports
- One port on each controller is going to a non-routable 10.1.19 subnet, the other is going to a non-routable 10.1.13 subnet.
- Each subnet has its own fiber switch for redundancy.
- The SAN organizes those into iSCSI Fault Domains based on the subnet
- Each fault domain has 2 virtual ports.
- The VMWare environment hosts have 2 fiber nics which provide redundancy to the hosts.
- The Proxmox environment hosts have 1 fiber nic, and thus only connect to the 13 fault domain and the 13 subnet.
Here is where I'm getting mixed up. I want to use pvesm to add the storage; my understanding is each target becomes its own storage device, so I have the following commands:
Code:
pvesm add iscsi SAN-COMPELLENT-1 --portal 10.1.13.### --target iqn.2002-03.com.compellent:###1
pvesm add iscsi SAN-COMPELLENT-2 --portal 10.1.13.### --target iqn.2002-03.com.compellent:###3
This successfully adds the devices; 2 storage devices show up in the GUI on the host. That being said, the LUN only shows up under the first storage device; if I go to make an LVM volume group and volume, and choose the base storage device, a LUN only shows up under the base volume of one device, not the 2nd.
While I've seen references to multiple targets going to the same storage device, the following command doesn't work as the storage device only shows the last "target" under "Path/Target" and the storage isn't available; the documentation on pvesm doesn't indicate anything about multiple target params:
Code:
pvesm add iscsi SAN-COMPELLENT-1 --portal 10.1.13.### --target iqn.2002-03.com.compellent:###1 --target iqn.2002-03.com.compellent:###3
Can I get a sanity check for this architecture?
- What is the correct way to connect this LUN; one storage device with 2 iscsi targets, or 2 storage devices with 1 iscsi target each?
- If it's the latter, should the LUN show up under both iscsi targets/storage devices?
- Is the solution to making the lun show up something to do with multipathing; I am assuming since I only have 1 nic on the server I do NOT use multipathing here, or am I misunderstanding that?
- If I am correct in setting up both storage devices separately, my fault domains acting active/passive with the virtual ports; if a failover situation happens and a LUN with the same WWID shows up under the other storage device, will Proxmox see that seamlessly?