Excellent article ,Chris! Recently , I wrote a couple of articles about "storage paths" management : http://unixhood.com/main/2013/02/26/change-the-status-of-a-path-to-storage/ http://unixhood.com/main/2013/02/26/how-to-remove-a-path-to-your-san-storage/
This document is also very helpful: Disk path design for AIX including SAN zoning: http://www-03.ibm.com/support/techdocs/atsmastr.nsf/WebIndex/WP101914 Cheers. Chris
Hi PontiacGeronimo, hdisk path priorities only apply to VSCSI environments. When using NPIV and virtual FC adapters, it is best to use MPIO. VSCSI only allows for failover only not real MPIO. True MPIO will allow you to use an appropriate MPIO algorithm such as round_robin. This will depend on your storage type and MPIO device drivers. You may want to take a look at my article on NPIV: http://www.ibm.com/developerworks/aix/library/au-NPIV/index.html Or this document: http://www-03.ibm.com/support/techdocs/atsmastr.nsf/5cb5ed706d254a8186256c71006d2e0a/383b52f8b7b82eda862577b300566c6a/$FILE/Power%20Systems%20SAN%20Multipath%20Configuration%20Using%20NPIV%20v1.2.pdf Cheers. Chris
Is there any script (IBM's) for paths prioritization in configuration like: NPIV, dual-vios, two HBAs on each VIOS 4 virtual FC adapters on LPAR 6 diskd/LUNs on LPAR 192 paths in total (32 paths per LUN = 8 paths via each of 4 adapters for each LUN) LUN1,2,3 - from storage box#1 LUN4,5,6 - from storage box#2 Now I have if configured so: LUN1 priority 1 for fscsi0 -> via VIOS1 HBA1 LUN1 priority 2 for all fscsi1,2,3 (the rest) LUN2 priority 1 for fscsi1 -> via VIOS1 HBA2 LUN2 priority 2 for all fscsi0,2,3 (the rest) LUN4 priority 1 for fscsi2 -> via VIOS2 HBA1 LUN4 priority 2 for all fscsi0,1,3 (the rest) LUN5 priority 1 for fscsi3 -> via VIOS2 HBA2 LUN5 priority 2 for all fscsi0,1,2 (the rest) LUN3 priority 1 for fscsi0 -> via VIOS1 HBA1 LUN3 priority 2 for all fscsi1,2,3 (the rest) LUN6 priority 1 for fscsi3 -> via VIOS2 HBA2 LUN6 priority 2 for all fscsi0,1,2 (the rest) So, when fscsi3 fails, LUN6,5,1 will go via fscsi0 and when VIOS2 will fail, LUN1,3,4,5,6 will go via VIOS1 fcs0 and only LUN2 via VIOS1 fcs1... any suggest how to get optimal and reliable configuration?
Good one, Chris. I never thought of using priority 255. I've only ever used 1 and 2!