Hitachi Dynamic Link Manager Software Users Guide for AIX (6.6) (T5208-96010, April 2011)

2. HDLM Functions
24
This sub-section explains these keys.
Path priority number
This number indicates the priority level set for each path. Priority levels can be
set from
1 to 255. The lower the number, the higher the priority. The default is 1.
The priority level is set by using OS commands. The following shows an example
of the procedure for setting the path priority number.
1. Execute a command that displays the path information for the LU:
# lspath -l hdisk4 -F"name parent path_id connection
path_status status"
hdisk4 fscsi0 0 50060e8005271720,31000000000000
Available Enabled
hdisk4 fscsi1 1 50060e8005271730,31000000000000
Available Enabled
hdisk4 fscsi2 2 50060e8005271740,31000000000000
Available Enabled
hdisk4 fscsi3 3 50060e8005271750,31000000000000
Available Enabled
2. Execute a command that displays the information for the path whose path
priority number you want to set:
# lspath -l hdisk4 -p fscsi0 -w
50060e8005271720,31000000000000 -E
scsi_id 0x651400 SCSI ID False
node_name 0x50060e8005271720 FC Node Name False
state Enabled N/A True
priority 1 N/A True
3. Execute a command that changes the path priority number:
# chpath -l hdisk4 -p fscsi0 -w
50060e8005271720,31000000000000 -a priority=5
path Changed
4. Execute a command that displays the information for the path for which a
new path priority number has been set:
# lspath -l hdisk4 -p fscsi0 -w
50060e8005271720,31000000000000 -E
scsi_id 0x651400 SCSI ID False