叢集共用磁碟區 - 可用空間監視 (MB)

Microsoft.Windows.Server.ClusterSharedVolumeMonitoring.ClusterSharedVolume.Monitoring.FreeSpaceMB (UnitMonitor)

此監視會檢查目標叢集共用磁碟區的可用空間 MB 數。

Knowledge Base article:

摘要

叢集共用磁碟區上的可用磁碟空間已超過閾值。 系統效能可能會受到負面影響,且在空出更多可用空間之前可能將無法新增或修改叢集共用磁碟區上的現有檔案。

設定

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

由於叢集共用磁碟區的大小差異極大,小自數 GB 而大至多個 TB 以上,因此操作員在設定叢集共用磁碟區可用空間監視常式時,必須同時指定在達到警告和錯誤閾值之前必須超過的 MB 數閾值和百分比閾值。 這表示必須同時達到根據 MB 數和百分比所設的系統或非系統磁碟機閾值,才有可能達到閾值。

原因

當現有的檔案大小變大以及加入新檔案時,都會佔用叢集共用磁碟區的可用空間。 當叢集共用磁碟區磁碟上的可用空間容量低於閾值時,叢集共用磁碟區磁碟的狀態將會改變。

解決方式

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

Element properties:

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

Source Code:

<UnitMonitor ID="Microsoft.Windows.Server.ClusterSharedVolumeMonitoring.ClusterSharedVolume.Monitoring.FreeSpaceMB" Accessibility="Public" Enabled="true" Target="Microsoft.Windows.Server.ClusterSharedVolumeMonitoring.ClusterSharedVolume" ParentMonitorID="Microsoft.Windows.Server.ClusterSharedVolumeMonitoring.ClusterSharedVolume.Monitoring.FreeSpaceMonitorRollup" Remotable="true" Priority="Normal" TypeID="Microsoft.Windows.Server.ClusterSharedVolumeMonitoring.ClusterSharedVolume.Monitoring.FreeSpaceMB.Monitortype" ConfirmDelivery="false">
<Category>AvailabilityHealth</Category>
<AlertSettings AlertMessage="Microsoft.Windows.Server.ClusterSharedVolumeMonitoring.ClusterSharedVolume.Monitoring.FreeSpaceMB.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"]/ClusterSharedVolumeName$</AlertParameter2>
<AlertParameter3>$Target/Property[Type="Microsoft.Windows.Server.ClusterSharedVolumeMonitoring.ClusterSharedVolume"]/FriendlyVolumeName$</AlertParameter3>
<AlertParameter4>$Target/Property[Type="Microsoft.Windows.Server.ClusterSharedVolumeMonitoring.ClusterSharedVolume"]/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"]/ClusterName$</ClusterName>
<TimeoutSeconds>300</TimeoutSeconds>
<ClusterSharedVolumeName>$Target/Property[Type="Microsoft.Windows.Server.ClusterSharedVolumeMonitoring.ClusterSharedVolume"]/ClusterSharedVolumeName$</ClusterSharedVolumeName>
<DriveErrorMBytesThreshold>100</DriveErrorMBytesThreshold>
<DriveWarningMBytesThreshold>500</DriveWarningMBytesThreshold>
</Configuration>
</UnitMonitor>