Data ONTAP PRO: Hyper-V Host VHD Alignment Monitor

DataONTAP.PRO.VHD.Alignment.Protip.Monitor (UnitMonitor)


This monitor checks the alignment of Virtual Hard Disks. For optimal performance, the file system of the VHD and the storage array should be in proper alignment.

Failure to make sure that all VHDs are aligned can result in mild to severe performance degradation depending upon the configuration and overall environment.

Knowledge Base article:

Summary

This monitor checks the alignment of Virtual Hard Disks. For optimal performance, the file system of the VHD and the storage array should be in proper alignment.

Failure to make sure that all VHDs are aligned can result in mild to severe performance degradation depending upon the configuration and overall environment.

Causes

This VHD has one or more of the following problems:

Resolutions

See Best Practices for File System Alignment in Virtual Environments: http://media.netapp.com/documents/tr-3747.pdf for details on resolutions.

Element properties:

TargetDataONTAP.PRO.HyperV.Host
Parent MonitorSystem.Health.AvailabilityState
CategoryCustom
EnabledTrue
Alert GenerateTrue
Alert SeverityMatchMonitorHealth
Alert PriorityNormal
Alert Auto ResolveTrue
Monitor TypeMicrosoft.Windows.2SingleEventLog2StateMonitorType
RemotableTrue
AccessibilityPublic
Alert Message
Data ONTAP PRO: Hyper-V Host VHD Alignment
{0}
RunAsDataONTAP.SecureReference.RunAsProfileVirtualization

Source Code:

<UnitMonitor ID="DataONTAP.PRO.VHD.Alignment.Protip.Monitor" Accessibility="Public" Enabled="true" Target="DataONTAP.PRO.HyperV.Host" ParentMonitorID="Health!System.Health.AvailabilityState" Remotable="true" Priority="Normal" TypeID="Windows!Microsoft.Windows.2SingleEventLog2StateMonitorType" ConfirmDelivery="true" RunAs="DS!DataONTAP.SecureReference.RunAsProfileVirtualization">
<Category>Custom</Category>
<AlertSettings AlertMessage="DataONTAP.PRO.VHD.Alignment.Protip.Monitor_AlertMessageResourceID">
<AlertOnState>Warning</AlertOnState>
<AutoResolve>true</AutoResolve>
<AlertPriority>Normal</AlertPriority>
<AlertSeverity>MatchMonitorHealth</AlertSeverity>
<AlertParameters>
<AlertParameter1>$Data/Context/EventDescription$</AlertParameter1>
</AlertParameters>
</AlertSettings>
<OperationalStates>
<OperationalState ID="UIGeneratedOpStateId9033559ef7b94fc0afd299a49517b2db" MonitorTypeStateID="FirstEventRaised" HealthState="Warning"/>
<OperationalState ID="UIGeneratedOpStateId1d66d6903221456c984fcf4b972f0294" MonitorTypeStateID="SecondEventRaised" HealthState="Success"/>
</OperationalStates>
<Configuration>
<FirstComputerName/>
<FirstLogName>OnCommand</FirstLogName>
<FirstExpression>
<And>
<Expression>
<SimpleExpression>
<ValueExpression>
<XPathQuery Type="UnsignedInteger">EventDisplayNumber</XPathQuery>
</ValueExpression>
<Operator>Equal</Operator>
<ValueExpression>
<Value Type="UnsignedInteger">661</Value>
</ValueExpression>
</SimpleExpression>
</Expression>
<Expression>
<SimpleExpression>
<ValueExpression>
<XPathQuery Type="String">PublisherName</XPathQuery>
</ValueExpression>
<Operator>Equal</Operator>
<ValueExpression>
<Value Type="String">Data ONTAP Virtualization MP</Value>
</ValueExpression>
</SimpleExpression>
</Expression>
<Expression>
<RegExExpression>
<ValueExpression>
<XPathQuery Type="String">Params/Param[1]</XPathQuery>
</ValueExpression>
<Operator>ContainsSubstring</Operator>
<Pattern>$Target/Property[Type="DataONTAP.PRO.HyperV.Host"]/HostFqdn$</Pattern>
</RegExExpression>
</Expression>
</And>
</FirstExpression>
<SecondComputerName/>
<SecondLogName>OnCommand</SecondLogName>
<SecondExpression>
<And>
<Expression>
<Or>
<Expression>
<SimpleExpression>
<ValueExpression>
<XPathQuery Type="UnsignedInteger">EventDisplayNumber</XPathQuery>
</ValueExpression>
<Operator>Equal</Operator>
<ValueExpression>
<Value Type="UnsignedInteger">660</Value>
</ValueExpression>
</SimpleExpression>
</Expression>
<Expression>
<SimpleExpression>
<ValueExpression>
<XPathQuery Type="UnsignedInteger">EventDisplayNumber</XPathQuery>
</ValueExpression>
<Operator>Equal</Operator>
<ValueExpression>
<Value Type="UnsignedInteger">663</Value>
</ValueExpression>
</SimpleExpression>
</Expression>
</Or>
</Expression>
<Expression>
<SimpleExpression>
<ValueExpression>
<XPathQuery Type="String">PublisherName</XPathQuery>
</ValueExpression>
<Operator>Equal</Operator>
<ValueExpression>
<Value Type="String">Data ONTAP Virtualization MP</Value>
</ValueExpression>
</SimpleExpression>
</Expression>
<Expression>
<RegExExpression>
<ValueExpression>
<XPathQuery Type="String">Params/Param[1]</XPathQuery>
</ValueExpression>
<Operator>ContainsSubstring</Operator>
<Pattern>$Target/Property[Type="DataONTAP.PRO.HyperV.Host"]/HostFqdn$</Pattern>
</RegExExpression>
</Expression>
</And>
</SecondExpression>
</Configuration>
</UnitMonitor>