Set-MSDSMGlobalDefaultLoadBalancePolicy
Set-MSDSMGlobalDefaultLoadBalancePolicy
Sets the default load balance policy for MPIO devices.
構文
Parameter Set: Default
Set-MSDSMGlobalDefaultLoadBalancePolicy [-Policy] <String> [ <CommonParameters>]
詳細説明
The Set-MSDSMGlobalDefaultLoadBalancePolicy cmdlet sets the default load balance policy for Microsoft Multipath I/O (MPIO) devices. Microsoft Device Specific Module (MSDSM) applies this policy only to devices that it claims after you set the policy.
Use the Get-MSDSMGlobalDefaultLoadBalancePolicy cmdlet to see the current default policy.
パラメーター
-Policy<String>
Specifies a default value for load balance policy. このパラメーターに対して使用できる値:
-- None. Clears any currently configured default load balance policy.
-- FOO. Fail Over Only.
-- RR. Round Robin.
-- LQD. Least Queue Depth.
-- LB. Least Blocks.
エイリアス |
なし |
必須? |
true |
位置は? |
1 |
既定値 |
なし |
パイプライン入力を許可する |
false |
ワイルドカード文字を許可する |
false |
<CommonParameters>
このコマンドレットは次の共通パラメーターをサポートします。-Verbose、-Debug、-ErrorAction、-ErrorVariable、-OutBuffer、-OutVariable.詳細については、以下を参照してください。 about_CommonParameters (https://go.microsoft.com/fwlink/p/?LinkID=113216)。
入力
入力型は、コマンドレットにパイプできるオブジェクトの型です。
- System.String
出力
出力型は、コマンドレットによって生成されるオブジェクトの型です。
例
Example 1: Set round robin as default policy
This command sets the default load balance policy to round robin.
PS C:\> Set-MSDSMGlobalLoadBalancePolicy -Policy RR
Example 2: Clear default policy
This command clears any current configured default load balance policy.
PS C:\> Set-MSDSMGlobalLoadBalancePolicy -Policy None