Set-MPIOSetting

Set-MPIOSetting

Changes MPIO settings.

구문

Parameter Set: Default
Set-MPIOSetting [[-NewPathVerificationPeriod] <Int32> ] [[-NewPathVerificationState] <String> ] [[-NewPDORemovePeriod] <Int32> ] [[-NewRetryCount] <Int32> ] [[-NewRetryInterval] <Int32> ] [[-NewDiskTimeout] <Int32> ] [[-CustomPathRecovery] <String> ] [[-NewPathRecoveryInterval] <Int32> ] [ <CommonParameters>]

자세한 설명

The Set-MPIOSetting cmdlet changes Microsoft Multipath I/O (MPIO) settings. The settings are as follows:

-- PathVerificationState
-- PathVerificationPeriod
-- PDORemovePeriod
-- RetryCount
-- RetryInterval
-- UseCustomPathRecoveryTime
-- CustomPathRecoveryTime
-- DiskTimeoutValue

You may be prompted to restart the computer for your changes to take effect.

매개 변수

-CustomPathRecovery<String>

Specifies whether MPIO performs custom path recovery. 이 매개 변수에 허용되는 값은 다음과 같습니다. Enabled and Disabled. The default value is Disabled.

별칭

없음

필수 여부

false

위치

7

기본값

없음

파이프라인 입력 적용 여부

false

와일드카드 문자 허용 여부

false

-NewDiskTimeout<Int32>

Specifies the disk timeout value, in seconds. This value is the length of time the server waits before it marks the I/O request as timed out. The default value for DiskTimeoutValue is 120. We recommend a maximum value of 30.

별칭

없음

필수 여부

false

위치

6

기본값

없음

파이프라인 입력 적용 여부

false

와일드카드 문자 허용 여부

false

-NewPathRecoveryInterval<Int32>

Specifies a custom path recovery time, in seconds. This is the length of time before the server attempts path recovery. The default value is 40. This parameter is not relevant unless the CustomPathRecovery parameter has the value Enabled.

별칭

없음

필수 여부

false

위치

8

기본값

없음

파이프라인 입력 적용 여부

false

와일드카드 문자 허용 여부

false

-NewPathVerificationPeriod<Int32>

Specifies a path verification period, in seconds. This is the length of time for the server to verify every path. This parameter is not relevant unless the path verification state has a value of Enabled. The default value is 30.

You can set the path verification state by using the NewPathVerificationState parameter.

별칭

없음

필수 여부

false

위치

1

기본값

없음

파이프라인 입력 적용 여부

false

와일드카드 문자 허용 여부

false

-NewPathVerificationState<String>

Specifies whether to enable path verification. 이 매개 변수에 허용되는 값은 다음과 같습니다. Enabled and Disabled. The default value is Disabled.

별칭

없음

필수 여부

false

위치

2

기본값

없음

파이프라인 입력 적용 여부

false

와일드카드 문자 허용 여부

false

-NewPDORemovePeriod<Int32>

Specifies a physical device object (PDO) removal period, in seconds. This period is the length of time the server waits after all paths to a PDO have failed before it removes the PDO. The default value is 20.

별칭

없음

필수 여부

false

위치

3

기본값

없음

파이프라인 입력 적용 여부

false

와일드카드 문자 허용 여부

false

-NewRetryCount<Int32>

Specifies the number of times to retry an I/O request. The default value is three times.

별칭

없음

필수 여부

false

위치

4

기본값

없음

파이프라인 입력 적용 여부

false

와일드카드 문자 허용 여부

false

-NewRetryInterval<Int32>

Specifies a retry interval, in seconds. This is the length of time after which the server retries a failed I/O request. The default value is one second.

별칭

없음

필수 여부

false

위치

5

기본값

없음

파이프라인 입력 적용 여부

false

와일드카드 문자 허용 여부

false

<CommonParameters>

이 cmdlet은 일반 매개 변수 -Verbose, -Debug, -ErrorAction, -ErrorVariable, -OutBuffer 및 -OutVariable을 지원합니다. 자세한 내용은 다음을 참조하세요. about_CommonParameters(https://go.microsoft.com/fwlink/p/?LinkID=113216).

입력

입력 유형은 cmdlet에 파이프할 수 있는 개체의 유형입니다.

출력

출력 유형은 cmdlet이 내보내는 개체의 유형입니다.

예제

Example 1: Change the disk timeout

This command sets the disk timeout value to 30 seconds. The system prompts you to restart after you change settings.

You can use the Get-MPIOSetting cmdlet to verify the change.

PS C:\> Set-MPIOSetting -NewDiskTimeout 30

관련 항목

Get-MPIOSetting