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 device
vxdmpadm setattr device [loadbalancepolicy=FO|RR|RS [path#=state#] |LQ|WP [path#=weight#]|LB|BP [blockshift=#]] [primarypath=#] <DiskName> | p#c#t#l#>
This command sets the load balance policy and primary path of the device to which the designated disk belongs. The following attributes apply:
loadbalancepolicy= FO|RR|RS| LQ| WP|LB | Specifies the load balance policy for the device where:
|
path#=state# | state# specifies either standby (0) or active (1) state of the specified path#. For example, 1-1-1=0 means that path 1-1-1 is assigned a state of standby. (Default state of a path is active (1).) |
path#=weight# | weight# specifies the weight that is assigned to the specified path#. For example, 1-1-1=10 means that path 1-1-1 is assigned a weight of 10. The path with the lowest weight indicates the most-favored path for I/O. (Range of values for weight#: 0 - 255.) |
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 device. For example, primarypath=1-1-1 sets path 1-1-1 as the primary path of the device. |
<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. |
Example
vxdmpadm setattr device loadbalancepolicy=FO primarypath=1-1-0 Harddisk6
Sets the load balance policy of the device to Fail Over Only (Active/Passive) and the primary path to path 1-1-0 for Harddiskd6.