User Tools

Site Tools


linux:multipath_config

Differences

This shows you the differences between two versions of the page.

Link to this comparison view

Both sides previous revision Previous revision
Next revision
Previous revision
linux:multipath_config [2022/05/27 16:02]
manu
linux:multipath_config [2024/09/06 21:09] (current)
manu [PV not found]
Line 6: Line 6:
  
 https://​access.redhat.com/​solutions/​3790681  ​ https://​access.redhat.com/​solutions/​3790681  ​
 +
 +https://​access.redhat.com/​solutions/​41476
  
 ===== Packages installation ===== ===== Packages installation =====
Line 181: Line 183:
 # systemctl reload multipathd # systemctl reload multipathd
 </​cli>​ </​cli>​
 +
  
 ===== 2° method to configure ===== ===== 2° method to configure =====
Line 309: Line 312:
 </​cli>​ </​cli>​
  
 +
 +===== Multipathing per vendor =====
 +
 +==== IBM 2145/flash ====
 +
 +/​etc/​multipath.conf
 +<​code>​
 +     ​vendor "​IBM"​
 +     ​product "​2145"​
 +     ​path_grouping_policy "​group_by_prio"​
 +     ​path_selector "​service-time 0" # Used by Red Hat 7.x
 +     prio "​alua"​
 +     ​path_checker "​tur"​
 +     ​failback "​immediate"​
 +     ​no_path_retry 5
 +     ​rr_weight uniform
 +     ​rr_min_io_rq "​1"​
 +     ​dev_loss_tmo 120
 +</​code>​
 +
 +**DM-MPIO for dev_loss_tmo**\\
 +After a problem is detected on an FC port and it set to infinity, the SCSI layer can wait until 2147483647 seconds (68 years) before removing it from the system. The default value is determined by the OS.
 +
 +All Linux hosts should have a **dev_loss_tmo** setting, but the value in seconds is how long to wait for the device/​paths to be pruned. The suggested duration is 120-150 seconds, but extended duration is also supported.
 +
 +Care needs to be taken if it is too low since if paths are pruned, then they also need to be rediscovered and if too low, that may require manual rescan later. If inquiry timeout is right, the host should be able to re-add the paths when the SVC nodes are restored.
 +
 +If the inquiry is too short such as 20 seconds then the inquiry may timeout before the paths are ready.
  
 ===== temporary ===== ===== temporary =====
Line 614: Line 645:
 [root@linux01]/​usr/​bin # pvscan [root@linux01]/​usr/​bin # pvscan
 </​cli>​ </​cli>​
 +
 +
linux/multipath_config.1653660128.txt.gz · Last modified: 2022/05/27 16:02 by manu