Thank you, i will mark as solved this thread, i did the following:
In /etc/iscsi/iscsid.conf
Change those settings
node.startup = automatic
node.session.timeo.replacement_timeout = 15
Install multipath-tools
# apt-get update
# apt-get install multipath-tools
In my case i have Dell EMC M5 version
in /etc/multipath.conf
##Default System Values
defaults {
user_friendly_names yes
find_multipaths yes
max_fds 8192
polling_interval 5
queue_without_daemon no
}
## Blacklist Exceptions
blacklist_exceptions {
device {
vendor "DellEMC"
product "ME5"
}
}
## Dell Device Configuration
devices {
device {
vendor "DellEMC"
product "ME5"
path_grouping_policy group_by_prio
path_checker "tur"
hardware_handler "1 alua"
prio "alua"
failback immediate
rr_weight "uniform"
path_selector "service-time 0"
}
}
Later execute:
systemctl restart multipath-tools.service
You can check with the following command:
multipath -ll
mpathc (3600c0ff00066487d95dd986301000000) dm-4 DellEMC,ME5
size=127T features='0' hwhandler='1 alua' wp=rw
|-+- policy='service-time 0' prio=50 status=active
| `- 11:0:0:1 sde 8:64 active ready running
`-+- policy='service-time 0' prio=10 status=enabled
`- 12:0:0:1 sdc 8:32 active ready running
mpathd (3600c0ff00066487db4dd986301000000) dm-3 DellEMC,ME5
size=99T features='0' hwhandler='1 alua' wp=rw
|-+- policy='service-time 0' prio=50 status=active
| `- 11:0:0:0 sdd 8:48 active ready running
`-+- policy='service-time 0' prio=10 status=enabled
`- 12:0:0:0 sdb 8:16 active ready running
root@srv01:~#
And do the following to get the multipath tools to start at new reboot:
systemctl enable multipath-tools.service
Thanks for your help.