Command Reference Guide

Chapter 1: Matrix Server Commands 23
Copyright © 1999-2006 PolyServe, Inc. All rights reserved.
An Example of Changing the I/O Path
In this example, we will change the target for a device. The mxmpio status -l
command identifies the path currently being used by each device. That path
is labeled “active.” The following output shows that device psd2p1 is active
on target 1.
# /opt/polyserve/sbin/mxmpio status -l
MPIO Failover is globally enabled
Failover Timeout Targets
psd1 enabled 30000 0. (41:50) scsi2/0/2/19 (active)
1. (08:90) scsi1/0/2/19
psd1p1 enabled 10000 0. (41:51) scsi2/0/2/19
1. (08:91) scsi1/0/2/19 (active)
psd1p2 enabled 30000 0. (41:52) scsi2/0/2/19 (active)
1. (08:92) scsi1/0/2/19
psd2 enabled 30000 0. (41:10) scsi2/0/1/20 (active)
1. (08:50) scsi1/0/1/20
psd2p1 enabled 10000 0. (41:11) scsi2/0/1/20
1. (08:51) scsi1/0/1/20 (active)
psd2p2 enabled 30000 0. (41:12) scsi2/0/1/20 (active)
1. (08:52) scsi1/0/1/20
Now use the mxmpio command to change the path for psd2p1 to target 0:
# /opt/polyserve/sbin/mxmpio active 0 psd2p1
To verify the change, run the mxmpio status -l command again. In the
following output, device psd2p1 is now active on target 0.
# /opt/polyserve/sbin/mxmpio status -l
MPIO Failover is globally enabled
Failover Timeout Targets
psd1 enabled 30000 0. (41:50) scsi2/0/2/19 (active)
1. (08:90) scsi1/0/2/19
psd1p1 enabled 10000 0. (41:51) scsi2/0/2/19
1. (08:91) scsi1/0/2/19 (active)
psd1p2 enabled 30000 0. (41:52) scsi2/0/2/19 (active)
1. (08:92) scsi1/0/2/19
psd2 enabled 30000 0. (41:10) scsi2/0/1/20 (active)
1. (08:50) scsi1/0/1/20
psd2p1 enabled 10000 0. (41:11) scsi2/0/1/20 (active)
1. (08:51) scsi1/0/1/20
psd2p2 enabled 30000 0. (41:12) scsi2/0/1/20 (active)
1. (08:52) scsi1/0/1/20