健康服務設定Health Service settings

適用於 Windows Server 2016Applies to Windows Server 2016

健康服務是 Windows Server 2016,可改善您的日常監視和操作叢集執行儲存空間直接存取體驗中的新功能。The Health Service is a new feature in Windows Server 2016 that improves the day-to-day monitoring and operational experience for clusters running Storage Spaces Direct.

控制 Health 服務的行為的參數許多是設定為公開。Many of the parameters which govern the behavior of the Health Service are exposed as settings. 您可以修改這些調整侵略錯誤的動作,請將某些行為開/關,以及更多。You can modify these to tune the aggressiveness of faults or actions, turn certain behaviors on/off, and more.

使用下列 PowerShell cmdlet 設定或修改設定。Use the following PowerShell cmdlet to set or modify settings.

使用Usage

Get-StorageSubSystem Cluster* | Set-StorageHealthSetting -Name <SettingName> -Value <Value>  

範例Example

Get-StorageSubSystem Cluster* | Set-StorageHealthSetting -Name "System.Storage.Volume.CapacityThreshold.Warning" -Value 70

通用設定Common settings

部分一般修改的設定,如下所示以及它們的預設值。Some commonly modified settings are listed below, along with their default values.

磁碟區容量閾值Volume Capacity Threshold

"System.Storage.Volume.CapacityThreshold.Enabled"  = True
"System.Storage.Volume.CapacityThreshold.Warning"  = 80
"System.Storage.Volume.CapacityThreshold.Critical" = 90

集區預約容量臨界值Pool Reserve Capacity Threshold

"System.Storage.StoragePool.CheckPoolReserveCapacity.Enabled" = True

實體磁碟週期Physical Disk Lifecycle

"System.Storage.PhysicalDisk.AutoPool.Enabled"                             = True
"System.Storage.PhysicalDisk.AutoRetire.OnLostCommunication.Enabled"       = True
"System.Storage.PhysicalDisk.AutoRetire.OnUnresponsive.Enabled"            = True
"System.Storage.PhysicalDisk.AutoRetire.DelayMs"                           = 900000 (i.e. 15 minutes)
"System.Storage.PhysicalDisk.Unresponsive.Reset.CountResetIntervalSeconds" = 360 (i.e. 60 minutes)
"System.Storage.PhysicalDisk.Unresponsive.Reset.CountAllowed"              = 3

支援的元件文件Supported Components Document

查看 [上一節。See the previous section.

韌體推出Firmware Rollout

"System.Storage.PhysicalDisk.AutoFirmwareUpdate.SingleDrive.Enabled"       = True
"System.Storage.PhysicalDisk.AutoFirmwareUpdate.RollOut.Enabled"           = True
"System.Storage.PhysicalDisk.AutoFirmwareUpdate.RollOut.LongDelaySeconds"  = 604800 (i.e. 7 days)
"System.Storage.PhysicalDisk.AutoFirmwareUpdate.RollOut.ShortDelaySeconds" = 86400 (i.e. 1 day)
"System.Storage.PhysicalDisk.AutoFirmwareUpdate.RollOut.LongDelayCount"    = 1
"System.Storage.PhysicalDisk.AutoFirmwareUpdate.RollOut.FailureTolerance"  = 3

平台日 QuiescencePlatform / Quiescence

"Platform.Quiescence.MinDelaySeconds" = 120 (i.e. 2 minutes)
"Platform.Quiescence.MaxDelaySeconds" = 420 (i.e. 7 minutes)

計量Metrics

"System.Reports.ReportingPeriodSeconds" = 1

Windows 偵錯Debugging

"System.LogLevel" = 4

也了See also