Status van de fysieke schijf

Microsoft.Linux.SLES.11.PhysicalDisk.DiskHealth.Monitor (UnitMonitor)

Knowledge Base article:

Samenvatting

Een fysieke schijf die eerder beschikbaar was, is niet langer beschikbaar.

De status van de fysieke schijf wordt bepaald door de fysieke schijven te inspecteren die met gekoppelde bestandssystemen aan de schijf zijn gekoppeld. Als een fysieke schijf die in een vorige iteratie beschikbaar was, niet in de huidige opsomming wordt opgenomen, wordt de status van het systeem als niet in orde beschouwd.

Configuratie

De bewaking van de fysieke schijven is standaard uitgeschakeld. Schakel de bewaking in door de objectdetectie met de naam Fysieke schijven van SUSE Linux Enterprise Server 11 detecteren in te schakelen.

Standaardconfiguratie

Parameter

Standaardwaarde

Interval (seconden)

300

Onderdrukkingen kunnen worden gebruikt om de hierboven gedefinieerde parameterwaarden te wijzigen voor alle exemplaren of voor specifieke exemplaren of groepen.

Oorzaken

Een slechte status geeft aan dat een fysieke schijf offline is. Dit kan worden veroorzaakt door de schijfkabel, de controller of problemen door stroomstoringen of door een defecte fysieke schijf.

Oplossingen

Analyseer de systeemlogboeken om de oorzaak van de fout te bepalen.

Als u de status van de fysieke schijf wilt zien, kunt u de volgende weergave gebruiken:

Schijfstatus

Element properties:

TargetMicrosoft.Linux.SLES.11.PhysicalDisk
Parent MonitorSystem.Health.AvailabilityState
CategoryAvailabilityHealth
EnabledTrue
Alert GenerateTrue
Alert SeverityError
Alert PriorityNormal
Alert Auto ResolveTrue
Monitor TypeMicrosoft.Unix.WSMan.Status.Filtered.MonitorType
RemotableTrue
AccessibilityPublic
Alert Message
De fysieke schijf is niet online
Fysieke schijf {0} heeft de status Fout.
RunAsDefault

Source Code:

<UnitMonitor ID="Microsoft.Linux.SLES.11.PhysicalDisk.DiskHealth.Monitor" Accessibility="Public" Target="Microsoft.Linux.SLES.11.PhysicalDisk" TypeID="Unix!Microsoft.Unix.WSMan.Status.Filtered.MonitorType" Enabled="true" ParentMonitorID="SystemHealth!System.Health.AvailabilityState">
<Category>AvailabilityHealth</Category>
<AlertSettings AlertMessage="Microsoft.Linux.SLES.11.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>/DataItem/WsManData/*[local-name(.)='SCX_DiskDriveStatisticalInformation']/*[local-name(.)='Name']</InstanceProperty>
<Status>/DataItem/WsManData/*[local-name(.)='SCX_DiskDriveStatisticalInformation']/*[local-name(.)='IsOnline']</Status>
<ExpectedStatus>true</ExpectedStatus>
</Configuration>
</UnitMonitor>