HP Clustered Gateway Device Management Software manual An Example of Changing the I/O Path

Models: Clustered Gateway Device Management Software

1 95
Download 95 pages 29.82 Kb
Page 28
Image 28

Chapter 1: Matrix Server Commands

23

An Example of Changing the I/O Path

In this example, we will change the target for a device. The mxmpio status -lcommand 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

psd1

Failover

Timeout

Targets

enabled

30000

0.

(41:50) scsi2/0/2/19 (active)

psd1p1

enabled

10000

1.

(08:90) scsi1/0/2/19

0.

(41:51) scsi2/0/2/19

psd1p2

enabled

30000

1.

(08:91) scsi1/0/2/19 (active)

0.

(41:52) scsi2/0/2/19 (active)

psd2

enabled

30000

1.

(08:92) scsi1/0/2/19

0.

(41:10) scsi2/0/1/20 (active)

psd2p1

enabled

10000

1.

(08:50) scsi1/0/1/20

0.

(41:11) scsi2/0/1/20

psd2p2

enabled

30000

1.

(08:51) scsi1/0/1/20 (active)

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 -lcommand again. In the following output, device psd2p1 is now active on target 0.

#/opt/polyserve/sbin/mxmpio status -l MPIO Failover is globally enabled

psd1

Failover

Timeout

Targets

enabled

30000

0.

(41:50) scsi2/0/2/19 (active)

psd1p1

enabled

10000

1.

(08:90) scsi1/0/2/19

0.

(41:51) scsi2/0/2/19

psd1p2

enabled

30000

1.

(08:91) scsi1/0/2/19 (active)

0.

(41:52) scsi2/0/2/19 (active)

psd2

enabled

30000

1.

(08:92) scsi1/0/2/19

0.

(41:10) scsi2/0/1/20 (active)

psd2p1

enabled

10000

1.

(08:50) scsi1/0/1/20

0.

(41:11) scsi2/0/1/20 (active)

psd2p2

enabled

30000

1.

(08:51) scsi1/0/1/20

0.

(41:12) scsi2/0/1/20 (active)

 

 

 

1. (08:52) scsi1/0/1/20

Copyright © 1999-2006 PolyServe, Inc. All rights reserved.

Page 28
Image 28
HP Clustered Gateway Device Management Software manual An Example of Changing the I/O Path