Hi everyone!
I would like to ask you for help:
I have a Proxmox 8 installation with next networks:
vmbr0 (10Gbps network) Management network/proxmox web-interface (192.168.10.0/24)
vmbr40 (40Gbps network) trunk connection with vlan awareness enabled
vlan9 (part of vmbr40 iface) (192.168.25.0/24)
I'm trying to add iSCSI lun (on QNAP) with multipath enabled (on both 10.0 and 25.0 network) but with 25.0 network preferrable and 10.0 used just for failover.
So i'd installed multipath-tools. Then:
So looks like all is ok but when i doing test (
) and looking on interfaces with iptraf-ng i see what traffic goes through vmbr0 (192.168.10.0). I tried some other values on path_selector and/or path_grouping_policy but traffic still goes through vmbr0 OR through vmbr0 AND vlan9/vmbr40 at the same time.
I would appreciate if somebody will help to make multipath work ONLY through vlan9/vmbr40 interface with vmbr0 ONLY as failover network
p/s/
Tried with
and yes, after restarting iscsi/multipath (not really know whitch process exactly) now i have different priority:
And traffic goes through vlan9/vmbr40 iface. But i don't think this is a good solution 'cause drive letters and hbtl can be changed (happened once).
So my question still actual -(
I would like to ask you for help:
I have a Proxmox 8 installation with next networks:
vmbr0 (10Gbps network) Management network/proxmox web-interface (192.168.10.0/24)
vmbr40 (40Gbps network) trunk connection with vlan awareness enabled
vlan9 (part of vmbr40 iface) (192.168.25.0/24)
I'm trying to add iSCSI lun (on QNAP) with multipath enabled (on both 10.0 and 25.0 network) but with 25.0 network preferrable and 10.0 used just for failover.
So i'd installed multipath-tools. Then:
Code:
iscsiadm -m discovery -t st -p 192.168.10.100
iscsiadm -m node -l -T iqn.2004-04.com.qnap:someinfo.mylun.xxx
Code:
root@pve-down-1:~# iscsiadm -m session
tcp: [12] 192.168.10.100:3260,1 iqn.2004-04.com.qnap:ts-ec...
tcp: [13] 192.168.25.100:3260,1 iqn.2004-04.com.qnap:ts-ec...
Code:
/lib/udev/scsi_id -g -u -d /dev/sdc
36e843b670b15a22d9c34d4b43d8ad0d5
/lib/udev/scsi_id -g -u -d /dev/sdd
36e843b670b15a22d9c34d4b43d8ad0d5
multipath -a 36e843b670b15a22d9c34d4b43d8ad0d5
multipath -a 36e843b670b15a22d9c34d4b43d8ad0d5
Code:
nano /etc/multipath.conf
blacklist {
wwid .*
}
blacklist_exceptions {
wwid "36e843b670b15a22d9c34d4b43d8ad0d5
wwid "36e843b670b15a22d9c34d4b43d8ad0d5"
}
defaults {
polling_interval 2
path_selector "round-robin 0"
path_grouping_policy failover
uid_attribute ID_SERIAL
failback immediate
no_path_retry queue
user_friendly_names yes
}
multipaths {
multipath {
wwid 36e843b670b15a22d9c34d4b43d8ad0d5
alias qnap2
path_selector "round-robin 0"
path_grouping_policy failover
rr_min_io 100
prio iet
prio_args preferredip=192.168.25.100
}
}
Code:
root@pve-down-1:~# multipath -ll
qnap2 (36e843b670b15a22d9c34d4b43d8ad0d5) dm-5 QNAP,iSCSI Storage
size=250G features='1 queue_if_no_path' hwhandler='1 alua' wp=rw
|-+- policy='round-robin 0' prio=50 status=active
| `- 18:0:0:0 sdc 8:32 active ready running
`-+- policy='round-robin 0' prio=50 status=enabled
`- 19:0:0:0 sdd 8:48 active ready running
So looks like all is ok but when i doing test (
Code:
fio --filename=/dev/mapper/qnap2 --direct=1 --rw=read --bs=1m --size=5G --numjobs=200 --runtime=30 --group_reporting --name=file1
I would appreciate if somebody will help to make multipath work ONLY through vlan9/vmbr40 interface with vmbr0 ONLY as failover network
p/s/
Tried with
Code:
prio weightedpath
prio_args 19:0:0:0
Code:
qnap2 (36e843b68087d9acdadbdd4c3fd857dd4) dm-5 QNAP,iSCSI Storage
size=250G features='1 queue_if_no_path' hwhandler='1 alua' wp=rw
|-+- policy='round-robin 0' prio=50 status=active
| `- 19:0:0:0 sdc 8:32 active ready running
`-+- policy='round-robin 0' prio=50 status=enabled
`- 18:0:0:0 sdd 8:48 active ready running
So my question still actual -(
Last edited: