Dynamic Multi-Pathing 8.0.1 Administrator's Guide - Windows
- Understanding DMPW
- Setting up DMPW
- Administering DMPW
- DMP DSMs menus
- View array, disk, and path status
- vxdmpadm
- Performance tuning
- Troubleshooting
- Glossary
vxdmpadm setattr dsm
vxdmpadm setattr dsm [loadbalancepolicy=FO|RR|LQ|LB|BP [blockshift=#]] [primarypath=#] [testpathretrycount=# scsicmdtimeout=# kernalsleeptime=# failoverretrycount=#] <DiskName> | p#c#t#l#> [dsmName=ALL | <DsmFileName>]
This command sets the load balance policy and primary path of the DSM to which the designated disk belongs. It also lets you set tunable parameters (control timer settings) that affect the testing and failover of the paths. The following attributes apply:
loadbalancepolicy= FO|RR|LQ| LB|BP | Specifies the load balance policy for the DSM where:
|
blockshift=# | # specifies the number of contiguous I/O blocks that are sent along a path to an Active/Active array before switching to the next available path. (Default value is 2048 blocks.) |
primarypath=# | # specifies the primary path of the DSM. For example, primarypath=1-1-1 sets path 1-1-1 as the primary path of the DSM. |
testpathretrycount=# |
Range: 0 ~ 50 times. Default: 0. |
scsicmdtimeout=# | # specifies the amount of time a SCSI command waits for a device to respond to a SCSI command. Default is 30 seconds. Maximum is 120 seconds. |
kernalsleeptime=# | # specifies the interval of time the DMP DSMs kernel waits between attempts to recover a path from an error condition. Default is 200 milliseconds. Maximum is 10000 milliseconds. |
failoverretrycount=# | # specifies the number of times DMP DSMs attempts a failover to another path when the current path fails. Default is 0. Maximum is 50 times. Note: For DMP DSMs, Failover Retry Count does not apply to the EMC Symmetrix array. |
<DiskName> | The designated disk, which can be specified by the device name (such as Harddisk2). |
p#c#t#l# | The #s correspond to the port, channel, target, and LUN of a disk. |
dsmName = ALL |<DsmFileName> | Specifies whether to apply settings to all installed DSMs or only to the DSM specified by file name. Only the load balance policy settings are applied. If other settings are specified, the command returns an error. Note: This parameter can be applied with or without a storage connection. If the array hasn't been configured with load balance settings previously, it inherits the load balance settings that are specified for the DSM once it is connected. However, if the array was previously connected and has been configured with load balance settings in the registry, the previous settings are maintained when the array is reconnected. |
Example
vxdmpadm setattr dsm loadbalancepolicy=FO primarypath=1-1-0 scsicmdtimout=34 Harddisk6
Sets the load balance policy of the DSM to Fail Over Only (Active/Passive), the primary path to path 1-1-0, the scsicmdtimeout to 34 seconds.