Table of ContentsView in Frames

Changing the default load balance policy using a cmdlet

You can use the set-ontapdsmparams cmdlet to change the default load balance policy for new virtual disks.

About this task

The default load balance policy applies to newly created virtual disks. To change the policy for an existing virtual disk, use the set-sandisk cmdlet.

Step

  1. Enter the following cmdlet at a Windows PowerShell prompt: set-ontapdsmparams -DefaultLoadBalancePolicy lbpolicy
    Where lbpolicy is one of the following. For all policies, optimized paths are used before non-optimized paths.
    Option Description
    Auto Auto Assign. Active/passive. An arbitrary path is used to access the virtual disk. A passive path takes over for the active path if the active path fails.
    FO Failover Only. Active/passive. The path you specify is used to access the virtual disk. A passive path takes over for the active path if the active path fails.
    RR Round Robin. Active/active. All paths are used to access the virtual disk, in round-robin order.
    RRwS Round Robin with Subset. Active/active. The paths you specify are used to access the virtual disk, in round-robin order. A non-preferred path takes over for a preferred path if the preferred path fails.
    WP Least Weighted Paths. Active/passive. The path with the lowest weight value is used to access the virtual disk.
    DLQD Least Queue Depth. Active/active. All paths are used to access the virtual disk, in order of the available path with the smallest queue.
    Example
    PS C:\>set-ontapdsmparams -DefaultLoadBalancePolicy RRwS