Proxmox VE 7.2-3 iscsi multipath preffered ip

amfetamin

Member
Jul 18, 2022
2
0
6
Hi ppl. Need help with subj. I want to failover my iscsi 10G link with san ip 10.1.254.2 on endpoint with other two 1G san links.
As PVE docs says, I have to setup preffered ip.

my multipath.conf:

Code:
defaults {
        polling_interval        2
        path_selector           "round-robin 0"
        path_grouping_policy    failover
        uid_attribute           ID_SERIAL
        rr_min_io               100
        failback                immediate
        prio                    iet
        prio_args               "preferredip=10.1.254.2"
        no_path_retry           queue
        user_friendly_names     yes
}

multipaths {
  multipath {
        wwid "blabla"
        alias mpath1
  }
}

blacklist {
    wwid    .*
}

blacklist_exceptions {
        wwid "blabla"
}

multipath -ll shows:

size=3.3T features='1 queue_if_no_path' hwhandler='1 alua' wp=rw
`-+- policy='round-robin 0' prio=50 status=active
|- 6:0:0:1 sde 8:64 active ready running
|- 7:0:0:1 sdf 8:80 active ready running
`- 8:0:0:1 sdg 8:96 active ready running

And it seems wrong, if I understand correctly, all three links are used now, like multibus or smth like that. Am I wrong?
 
ALUA is present, which normally sets up real multipathing. This should normally not be a problem, you should select a path-selector that goes over link utilization or queue-depth and you'll end up with a 12 GBit connection.

thx for helping.
I stopped on this configuration:
Code:
devices {
        device {
        vendor                  "HP"
        product                 "MSA 2040 SAN"
        path_grouping_policy    multibus
        prio                    alua
        path_selector           "queue-length 0"
        path_checker            tur
        hardware_handler        "0"
        failback                immediate
        rr_weight               uniform
        rr_min_io_rq            1
        no_path_retry           18
        }
}
I will watch on backup jobs speed few days.