[Nano Server] 叢集共用磁碟區 - 可用空間監視器 (\%)

Microsoft.Windows.Server.ClusterSharedVolumeMonitoring.ClusterSharedVolume.Monitoring.FreeSpacePercent.NanoServer (UnitMonitor)

此監視器會檢查目標叢集共用磁碟區的可用空間 (以百分比為單位)。

Knowledge Base article:

摘要

叢集共用磁碟區上的可用磁碟空間量已超過閾值。系統效能可能會產生不利影響,並且在提供額外可用空間之前,可能無法新增或修改叢集共用磁碟區上的現有檔案。

設定

叢集共用磁碟區可用空間監視常式是一種具有高設定性的解決方案,可讓操作員設定系統和非系統邏輯磁碟區的各種閾值。此外並可針對警告和錯誤狀態設定不同的閾值。

由於叢集共用磁碟區的大小可能會從較小的 GB 變為較大的 TB 或更多,叢集共用磁碟區可用空間監視常式要求操作員指示,必須在達到警告和錯誤閾值之前達到根據 MB 數和百分比所設的閾值。這表示必須同時達到根據 MB 數和百分比所設的系統或非系統磁碟機閾值,才有可能達到閾值。

原因

現有檔案大小增加及新增檔案時,會使用叢集共用磁碟區上的可用空間。叢集共用磁碟區磁碟上的可用空間量降到閾值以下時,叢集共用磁碟區磁碟的狀態將會變更。

解決方式

若要增加可用磁碟空間的容量,請執行下列一項或多項操作:

Element properties:

TargetMicrosoft.Windows.Server.ClusterSharedVolumeMonitoring.ClusterSharedVolume.NewOS
Parent MonitorMicrosoft.Windows.Server.ClusterSharedVolumeMonitoring.ClusterSharedVolume.Monitoring.FreeSpaceMonitorRollup.Nano
CategoryAvailabilityHealth
EnabledTrue
Alert GenerateTrue
Alert SeverityMatchMonitorHealth
Alert PriorityNormal
Alert Auto ResolveTrue
Monitor TypeMicrosoft.Windows.Server.ClusterSharedVolumeMonitoring.ClusterSharedVolume.Monitoring.FreeSpacePercent.Monitortype.NanoServer
RemotableTrue
AccessibilityPublic
Alert Message
叢集共用磁碟區的可用空間 (\%) 警示
{0}:掛接在 {2} 上的叢集共用磁碟區 {1} 已用盡磁碟空間。超過警告或錯誤閾值的值為 {4}\% 的可用空間。(磁碟分割:{3})。
RunAsDefault

Source Code:

<UnitMonitor ID="Microsoft.Windows.Server.ClusterSharedVolumeMonitoring.ClusterSharedVolume.Monitoring.FreeSpacePercent.NanoServer" Accessibility="Public" Enabled="true" Target="Microsoft.Windows.Server.ClusterSharedVolumeMonitoring.ClusterSharedVolume.NewOS" ParentMonitorID="Microsoft.Windows.Server.ClusterSharedVolumeMonitoring.ClusterSharedVolume.Monitoring.FreeSpaceMonitorRollup.Nano" Remotable="true" Priority="Normal" TypeID="Microsoft.Windows.Server.ClusterSharedVolumeMonitoring.ClusterSharedVolume.Monitoring.FreeSpacePercent.Monitortype.NanoServer" ConfirmDelivery="false">
<Category>AvailabilityHealth</Category>
<AlertSettings AlertMessage="Microsoft.Windows.Server.ClusterSharedVolumeMonitoring.ClusterSharedVolume.Monitoring.FreeSpacePercent.AlertMessage">
<AlertOnState>Error</AlertOnState>
<AutoResolve>true</AutoResolve>
<AlertPriority>Normal</AlertPriority>
<AlertSeverity>MatchMonitorHealth</AlertSeverity>
<AlertParameters>
<AlertParameter1>$Target/Host/Property[Type="Windows!Microsoft.Windows.Computer"]/PrincipalName$</AlertParameter1>
<AlertParameter2>$Target/Property[Type="Microsoft.Windows.Server.ClusterSharedVolumeMonitoring.ClusterSharedVolume.Base"]/ClusterSharedVolumeName$</AlertParameter2>
<AlertParameter3>$Target/Property[Type="Microsoft.Windows.Server.ClusterSharedVolumeMonitoring.ClusterSharedVolume.Base"]/FriendlyVolumeName$</AlertParameter3>
<AlertParameter4>$Target/Property[Type="Microsoft.Windows.Server.ClusterSharedVolumeMonitoring.ClusterSharedVolume.Base"]/PartitionName$</AlertParameter4>
<AlertParameter5>$Data/Context/Value$</AlertParameter5>
</AlertParameters>
</AlertSettings>
<OperationalStates>
<OperationalState ID="MonitorOk" MonitorTypeStateID="MonitorOk" HealthState="Success"/>
<OperationalState ID="MonitorWarning" MonitorTypeStateID="MonitorWarning" HealthState="Warning"/>
<OperationalState ID="MonitorError" MonitorTypeStateID="MonitorError" HealthState="Error"/>
</OperationalStates>
<Configuration>
<IntervalSeconds>900</IntervalSeconds>
<SyncTime/>
<LogSuccessEvent>false</LogSuccessEvent>
<ScriptGroupId>ClusterSharedVolumeMonitoring</ScriptGroupId>
<TargetComputer>$Target/Host/Property[Type="Windows!Microsoft.Windows.Computer"]/PrincipalName$</TargetComputer>
<ClusterName>$Target/Property[Type="Microsoft.Windows.Server.ClusterSharedVolumeMonitoring.ClusterSharedVolume.Base"]/ClusterName$</ClusterName>
<TimeoutSeconds>300</TimeoutSeconds>
<ClusterSharedVolumeName>$Target/Property[Type="Microsoft.Windows.Server.ClusterSharedVolumeMonitoring.ClusterSharedVolume.Base"]/ClusterSharedVolumeName$</ClusterSharedVolumeName>
<DriveErrorPercentThreshold>5</DriveErrorPercentThreshold>
<DriveWarningPercentThreshold>10</DriveWarningPercentThreshold>
</Configuration>
</UnitMonitor>