Hello!
This is my first time addressing the community, and I know my issue isn't a dedicated ProxMox VE topic, but maybe someone can still help me or at least point me in the right direction. Unfortunately, the SAN manufacturer hasn't provided any information on multipath and Linux. Or I just can't find it
I have a question about the iSCSI multipath configuration in the following scenario (following the instructions: https://pve.proxmox.com/wiki/Multipath#Add_WWIDs_to_the_WWIDs_file):
- PVE host with 2 x 10 GbE for iSCSI (two separate VLANs/subnets)
-- nic1: 192.168.251.1
-- nic2: 192.168.252.1
- active/active dual-controller SAN with 2 x 10 GbE per controller (2 x 2) (Synology UC3200)
-- Controller-A nic1: 192.168.251.10
-- Controller-A nic2: 192.168.252.10
-- Controller-B nic1: 192.168.251.11
-- Controller-B nic2: 192.168.252.11
-- Each LUN is available on all NICs
- 2 iSCSI switches (left & right), stacked
-- Each switch operates one of the iSCSI VLANs/subnets (left: 251; right: 252)
-- The PVE host is connected to the left switch with its nic1 and to the right switch with its nic2
-- Both SAN nic1s are connected to the left switch and both SAN nic2s are connected to the right switch
This results in 4 paths per LUN. I'm aware, or rather, I believe, that only one path per VLAN/subnet (= 2 paths in total) will be actively used (isn't that one of the reasons why you should use different subnets?), but that's OK!
My actual question is: Can I safely operate this configuration? What should I be aware of? I've read about potential MAC issues?
And since I keep reading that "each path should have its own subnet": How would that even be possible with four SAN NICs and only two server NICs? Or does this always only affect the server NICs and not the SAN side?
And does it make sense to group the paths in /etc/multipath.conf because of the active/active dual controllers (a LUN is assigned to a "primary" controller, but can also be accessed by the "secondary" controller, with a performance loss -> inter-controller communication)? For example:
multipaths {
multipath {
wwid "xxxxxxxxxxxxxxxx"
alias mpath_ssd
path_grouping_policy "group_by_prio"
prio "alua"
prio_args "exclusive_pref_bit"
}
}
Or is this already (potentially unnecessary) fine-tuning?
Thank you very much,
Stefan
This is my first time addressing the community, and I know my issue isn't a dedicated ProxMox VE topic, but maybe someone can still help me or at least point me in the right direction. Unfortunately, the SAN manufacturer hasn't provided any information on multipath and Linux. Or I just can't find it
I have a question about the iSCSI multipath configuration in the following scenario (following the instructions: https://pve.proxmox.com/wiki/Multipath#Add_WWIDs_to_the_WWIDs_file):
- PVE host with 2 x 10 GbE for iSCSI (two separate VLANs/subnets)
-- nic1: 192.168.251.1
-- nic2: 192.168.252.1
- active/active dual-controller SAN with 2 x 10 GbE per controller (2 x 2) (Synology UC3200)
-- Controller-A nic1: 192.168.251.10
-- Controller-A nic2: 192.168.252.10
-- Controller-B nic1: 192.168.251.11
-- Controller-B nic2: 192.168.252.11
-- Each LUN is available on all NICs
- 2 iSCSI switches (left & right), stacked
-- Each switch operates one of the iSCSI VLANs/subnets (left: 251; right: 252)
-- The PVE host is connected to the left switch with its nic1 and to the right switch with its nic2
-- Both SAN nic1s are connected to the left switch and both SAN nic2s are connected to the right switch
This results in 4 paths per LUN. I'm aware, or rather, I believe, that only one path per VLAN/subnet (= 2 paths in total) will be actively used (isn't that one of the reasons why you should use different subnets?), but that's OK!
My actual question is: Can I safely operate this configuration? What should I be aware of? I've read about potential MAC issues?
And since I keep reading that "each path should have its own subnet": How would that even be possible with four SAN NICs and only two server NICs? Or does this always only affect the server NICs and not the SAN side?
And does it make sense to group the paths in /etc/multipath.conf because of the active/active dual controllers (a LUN is assigned to a "primary" controller, but can also be accessed by the "secondary" controller, with a performance loss -> inter-controller communication)? For example:
multipaths {
multipath {
wwid "xxxxxxxxxxxxxxxx"
alias mpath_ssd
path_grouping_policy "group_by_prio"
prio "alua"
prio_args "exclusive_pref_bit"
}
}
Or is this already (potentially unnecessary) fine-tuning?
Thank you very much,
Stefan