邏輯磁碟健全狀況

Microsoft.Linux.RHEL.5.LogicalDisk.DiskHealth.Monitor (UnitMonitor)

Red Hat Enterprise Linux Server 5 邏輯磁碟健全狀況監視

Knowledge Base article:

摘要

此監視會檢查所有邏輯磁碟的健全狀況。如果您接收到此監視的警示,可能需要執行動作才能讓系統恢復操作狀態。

原因

狀況不良狀態表示邏輯磁碟的狀況不良。這可能是因為磁碟正在卸載所造成。

解決方式

從健全狀況總管檢視磁碟健全狀況。健全狀況總管提供重要資訊,以及重新掛接邏輯磁碟的機制。您可以從健全狀況總管,利用狀態變更磁碟掛接功能重新掛接邏輯磁碟。

您也可以使用健全狀況總管提供的邏輯磁碟描述,利用 'mount' 命令手動將邏輯磁碟掛接到受影響的主機。

磁碟健全狀況

Element properties:

TargetMicrosoft.Linux.RHEL.5.LogicalDisk
Parent MonitorSystem.Health.AvailabilityState
CategoryPerformanceHealth
EnabledTrue
Alert GenerateTrue
Alert SeverityError
Alert PriorityNormal
Alert Auto ResolveTrue
Monitor TypeMicrosoft.Unix.WSMan.Status.Filtered.MonitorType
RemotableTrue
AccessibilityPublic
Alert Message
磁碟不在線上
磁碟狀態的狀況不良。
RunAsDefault

Source Code:

<UnitMonitor ID="Microsoft.Linux.RHEL.5.LogicalDisk.DiskHealth.Monitor" Accessibility="Public" Target="Microsoft.Linux.RHEL.5.LogicalDisk" TypeID="Unix!Microsoft.Unix.WSMan.Status.Filtered.MonitorType" Enabled="true" ParentMonitorID="SystemHealth!System.Health.AvailabilityState">
<Category>PerformanceHealth</Category>
<AlertSettings AlertMessage="Microsoft.Linux.RHEL.5.LogicalDisk.DiskHealth.AlertMessage">
<AlertOnState>Error</AlertOnState>
<AutoResolve>true</AutoResolve>
<AlertPriority>Normal</AlertPriority>
<AlertSeverity>Error</AlertSeverity>
<AlertParameters>
<AlertParameter1>$Target/Property[Type="Unix!Microsoft.Unix.LogicalDevice"]/DeviceID$</AlertParameter1>
</AlertParameters>
</AlertSettings>
<OperationalStates>
<OperationalState HealthState="Success" MonitorTypeStateID="StatusOK" ID="StatusOK"/>
<OperationalState HealthState="Error" MonitorTypeStateID="StatusFailed" ID="StatusFailed"/>
</OperationalStates>
<Configuration>
<TargetSystem>$Target/Host/Property[Type="Unix!Microsoft.Unix.Computer"]/NetworkName$</TargetSystem>
<Uri>http://schemas.microsoft.com/wbem/wscim/1/cim-schema/2/SCX_FileSystemStatisticalInformation?__cimnamespace=root/scx</Uri>
<Filter/>
<SplitItems>true</SplitItems>
<Interval>300</Interval>
<InstanceName>$Target/Property[Type="Unix!Microsoft.Unix.LogicalDevice"]/DeviceID$</InstanceName>
<InstanceProperty>//*[local-name()="Name"]</InstanceProperty>
<Status>//*[local-name()="IsOnline"]</Status>
<ExpectedStatus>true</ExpectedStatus>
</Configuration>
</UnitMonitor>