Administering dynamic multipathing (DMP)

 

153

 

 

 

 

 

 

 

 

 

 

Administering DMP using vxdmpadm

 

 

c4t2d15

1086

0

1086

0

0.390424

0.000000

 

 

c4t3d15

1048

0

1048

0

0.391221

0.000000

 

 

c5t3d15

1036

0

1036

0

0.390927

0.000000

 

 

c5t4d15

1021

0

1021

0

0.392752

0.000000

 

 

The enclosure can be returned to the single active I/O policy by entering the following command:

#vxdmpadm setattr enclosure ENC0 iopolicy=singleactive

Disabling I/O for paths, controllers or array ports

Note: From release 5.0 of VxVM, this operation is supported for controllers that are used to access disk arrays on which cluster-shareable disk groups are configured.

Disabling I/O through a path, HBA controller or array port prevents DMP from issuing I/O requests through the specified path, or the paths that are connected to the specified controller or array port. The command blocks until all pending I/O requests issued through the paths are completed.

To disable I/O for a path, use the following command:

#vxdmpadm [-c-f]disable path=path_name

To disable I/O for the paths connected to an HBA controller, use the following command:

#vxdmpadm [-c-f]disable ctlr=ctlr_name

To disable I/O for the paths connected to an array port, use one of the following commands:

#vxdmpadm [-c-f]disable enclosure=enclr_name \ portid=array_port_ID

#vxdmpadm [-c-f]disable pwwn=array_port_WWN

where the array port is specified either by the enclosure name and the array port ID, or by the array port’s worldwide name (WWN) identifier.

The following are examples of using the command to disable I/O on an array port:

#vxdmpadm disable enclosure=HDS9500V0 portid=1A

#vxdmpadm disable pwwn=20:00:00:E0:8B:06:5F:19

You can use the -c option to check if there is only a single active path to the disk. If so, the disable command fails with an error message unless you use the -foption to forcibly disable the path.