Physical Disk Health

Microsoft.Linux.XenServer.6.PhysicalDisk.DiskHealth.Monitor (UnitMonitor)

Citrix XenServer 6 Physical Disk Health Monitor

Knowledge Base article:

Summary

This monitor checks the health of all Physical Disks. If you receive an alert from this monitor, action can be required in order to bring the System back to an operational state.

Causes

An unhealthy state indicates that a Physical disk has become unhealthy. This may be caused by disk cable, controller, or power related failures, as well as actual physical disk failure.

Resolutions

View the Disk Health from the Health Explorer. Health explorer provides the critical information and a mechanism to remount a logical disk. You can remount a logical disk from Health Explorer utilizing the State Change disk mount feature. Optionally, you can utilize the logical disk description provided by the Health Explorer to manually mount the logical disk on the affected host with the “mount” command.

Disk Health

Element properties:

TargetMicrosoft.Linux.XenServer.6.PhysicalDisk
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
Disk is not online
The status for disk {0} is not healthy.
RunAsDefault

Source Code:

<UnitMonitor ID="Microsoft.Linux.XenServer.6.PhysicalDisk.DiskHealth.Monitor" Accessibility="Public" Target="Microsoft.Linux.XenServer.6.PhysicalDisk" TypeID="Unix!Microsoft.Unix.WSMan.Status.Filtered.MonitorType" Enabled="true" ParentMonitorID="SystemHealth!System.Health.AvailabilityState">
<Category>PerformanceHealth</Category>
<AlertSettings AlertMessage="Microsoft.Linux.XenServer.6.PhysicalDisk.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_DiskDriveStatisticalInformation?__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>