Hi,
we are testing our new iscsi storage. Based on proxmox iscsi documentation we have now:
Fio tests (pve, single vm, two vms) shows that all iscsi connection flows only via one of the iscsiX links. Do we need dedicated subnet per iscsiX interface or it can be on single subnet? Storage has 4 dedicated physical interfaces, IPs are from the same subnet as on PVE side. Disconnecting link redirect iscsi flow to other iscsiX.
TLDR: Bond is 2x 10G, both links shows iscsi flow in the test, but with multipath only one iscsiX has flow (and is capped somehow at 10G only).
we are testing our new iscsi storage. Based on proxmox iscsi documentation we have now:
Code:
root@proxmox-mon-01:/etc/network# lsblk
NAME MAJ:MIN RM SIZE RO TYPE MOUNTPOINT
sda 8:0 0 279.4G 0 disk
|-sda1 8:1 0 1007K 0 part
|-sda2 8:2 0 512M 0 part
`-sda3 8:3 0 278.9G 0 part
|-pve-swap 253:0 0 16G 0 lvm [SWAP]
`-pve-root 253:1 0 40G 0 lvm /
sdb 8:16 0 1T 0 disk
`-3674e9bf100ead535001541e000000000 253:2 0 1T 0 mpath
|-vg--iscsi-fiotest 253:3 0 50G 0 lvm
|-vg--iscsi-vm--100--disk--0 253:4 0 10G 0 lvm
|-vg--iscsi-vm--101--disk--0 253:5 0 10G 0 lvm
|-vg--iscsi-vm--100--cloudinit 253:6 0 4M 0 lvm
|-vg--iscsi-vm--102--cloudinit 253:7 0 4M 0 lvm
`-vg--iscsi-vm--102--disk--0 253:8 0 10G 0 lvm
sdc 8:32 0 1T 0 disk
`-3674e9bf100ead535001541e000000000 253:2 0 1T 0 mpath
|-vg--iscsi-fiotest 253:3 0 50G 0 lvm
|-vg--iscsi-vm--100--disk--0 253:4 0 10G 0 lvm
|-vg--iscsi-vm--101--disk--0 253:5 0 10G 0 lvm
|-vg--iscsi-vm--100--cloudinit 253:6 0 4M 0 lvm
|-vg--iscsi-vm--102--cloudinit 253:7 0 4M 0 lvm
`-vg--iscsi-vm--102--disk--0 253:8 0 10G 0 lvm
sdd 8:48 0 1T 0 disk
`-3674e9bf100ead535001541e000000000 253:2 0 1T 0 mpath
|-vg--iscsi-fiotest 253:3 0 50G 0 lvm
|-vg--iscsi-vm--100--disk--0 253:4 0 10G 0 lvm
|-vg--iscsi-vm--101--disk--0 253:5 0 10G 0 lvm
|-vg--iscsi-vm--100--cloudinit 253:6 0 4M 0 lvm
|-vg--iscsi-vm--102--cloudinit 253:7 0 4M 0 lvm
`-vg--iscsi-vm--102--disk--0 253:8 0 10G 0 lvm
sde 8:64 0 1T 0 disk
`-3674e9bf100ead535001541e000000000 253:2 0 1T 0 mpath
|-vg--iscsi-fiotest 253:3 0 50G 0 lvm
|-vg--iscsi-vm--100--disk--0 253:4 0 10G 0 lvm
|-vg--iscsi-vm--101--disk--0 253:5 0 10G 0 lvm
|-vg--iscsi-vm--100--cloudinit 253:6 0 4M 0 lvm
|-vg--iscsi-vm--102--cloudinit 253:7 0 4M 0 lvm
`-vg--iscsi-vm--102--disk--0 253:8 0 10G 0 lvm
Code:
root@proxmox-mon-01:/etc/network# multipath -l
3674e9bf100ead535001541e000000000 dm-2 HUAWEI,XSG1
size=1.0T features='1 queue_if_no_path' hwhandler='0' wp=rw
`-+- policy='round-robin 0' prio=0 status=active
|- 1:0:0:1 sdb 8:16 active undef running
|- 2:0:0:1 sdc 8:32 active undef running
|- 3:0:0:1 sdd 8:48 active undef running
`- 4:0:0:1 sde 8:64 active undef running
Code:
auto bond0
iface bond0 inet manual
ovs_bonds ens1f0 ens1f1
ovs_type OVSBond
ovs_bridge vmbr0
ovs_options lacp=active bond_mode=balance-tcp
auto vmbr0
iface vmbr0 inet manual
ovs_type OVSBridge
ovs_ports bond0 mgmt4 iscsi1 iscsi2
comment frontend networks
auto iscsi1
iface iscsi1 inet6 static
address IPV6::10/64
ovs_type OVSIntPort
ovs_bridge vmbr0
ovs_options tag=VLANID
comment iscsi storage
#::11 is proxmox-03
auto iscsi2
iface iscsi2 inet6 static
address IPV6::12/64
ovs_type OVSIntPort
ovs_bridge vmbr0
ovs_options tag=VLANID
comment iscsi storage
Fio tests (pve, single vm, two vms) shows that all iscsi connection flows only via one of the iscsiX links. Do we need dedicated subnet per iscsiX interface or it can be on single subnet? Storage has 4 dedicated physical interfaces, IPs are from the same subnet as on PVE side. Disconnecting link redirect iscsi flow to other iscsiX.
TLDR: Bond is 2x 10G, both links shows iscsi flow in the test, but with multipath only one iscsiX has flow (and is capped somehow at 10G only).