HP-UX 11i v3 Native Multi-Pathing for Mass Storage (August 2012)

20
# ioscan -m hwpath -H 64000/0xfa00/0x5
Lun H/W Path Lunpath H/W Path Legacy H/W Path
====================================================================
64000/0xfa00/0x5
0/2/1/0.0x500508b3009097f9.0x4014000000000000 0/2/1/0.3.8.0.0.2.4
0/4/1/0.0x500508b3009097f9.0x4014000000000000 0/4/1/0.3.8.0.0.2.4
0/2/1/0.0x500508b3009097f1.0x4014000000000000 0/2/1/0.3.14.0.0.2.4
0/4/1/0.0x500508b3009097f1.0x4014000000000000 0/4/1/0.3.14.0.0.2.4
# scsimgr save_attr -D /dev/rdisk/disk17 -a load_bal_policy=preferred_path -a
preferred_path=0/2/1/0.0x500508b3009097f9.0x4014000000000000
Value of attribute load_bal_policy saved successfully
Value of attribute preferred_path saved successfully
# scsimgr get_attr -D /dev/rdisk/disk17
name = load_bal_policy
current = preferred_path
default = round_robin
saved = preferred_path
name = preferred_path
current = 0/2/1/0.0x500508b3009097f9.0x4014000000000000
default =
saved = 0/2/1/0.0x500508b3009097f9.0x4014000000000000
Note
The preferred_path attribute is only relevant when the
load_bal_policy attribute is set to preferred_path.
In the previous example, if you want the two paths to the optimized target port to be used preferably
for I/O transfer to disk17, set the I/O load balancing policy to pref_tport and the pref_tport
attribute to 0x500508b3009097f9. For example:
# scsimgr save_attr -D /dev/rdisk/disk17 -a load_bal_policy=pref_tport -a
pref_tport=0x500508b3009097f9
Value of attribute load_bal_policy saved successfully
Value of attribute pref_tport saved successfully
# scsimgr get_attr -D /dev/rdisk/disk17 a load_bal_policy a pref_tport
name = load_bal_policy
current = pref_tport
default = round_robin
saved = pref_tport
name = pref_tport
current = 0x500508b3009097f9
default =
saved = 0x500508b3009097f9
Note
The pref_tport attribute is only relevant when the load_bal_policy
attribute is set to pref_tport.
To reset load_bal_policy, pref_tport, and preferred_path to their default values, run the
following command:
# scsimgr save_attr default -D /dev/rdisk/disk17 -a load_bal_policy a
pref_tport a preferred_path