iSCSI ターゲットの仮想ディスクが初期化できない

Microsoft.Windows.FileServices.Service.iSCSITarget.6.3.FailedInitVHD (Rule)

Knowledge Base article:

概要

このルールは、iSCSI ターゲット サービスに対して初期化できない仮想ハード ディスク (VHD) を監視します。 初期化できない VHD が検出されると、VHD を使用するすべての iSCSI ターゲットでは VHD を利用できなくなります。

初期化できないすべての VHD に対するアラートが生成されます。 アラート説明には、初期化できなかったデバイス ID と VHD へのローカル パスが含まれます。 問題が発生している一意の VHD ごとに生成されるアラートは 1 つのみです。

原因

VHD が初期化できない理由には、以下が考えられます。

複数の VHD が影響を受ける可能性があるので、iSCSI ターゲット サービスに対して生成されたその他のアラートも確認してください。

解決方法

iSCSI ターゲット サービスをホストしている Windows Server コンピューター上で、アラート内で参照されている VHD ファイルが存在し、使用できる状態であることを確認してください。

iSCSI ターゲット サービスを開始したときにファイルを使用できず、現在は使用できる場合は、iSCSI ターゲット サービスを再起動する必要があります。 iSCSI ターゲット サービスの再起動中に、iSCSI イニシエーターに対してサービスが中断する場合があるので注意してください。

iSCSI ターゲット サービスを再起動するには、次の手順を実行してください。

問題が解決したら、手動でアラートを解決する必要があります。

Element properties:

TargetMicrosoft.Windows.FileServices.Service.iSCSITarget.6.3
CategoryAvailabilityHealth
EnabledTrue
Event_ID15
Event SourceMicrosoft-Windows-iSCSITarget-Service
Alert GenerateTrue
Alert SeverityError
Alert PriorityNormal
RemotableTrue
Alert Message
仮想ディスクを初期化できない
コンピューター '{3}' 上の iSCSI ターゲットが '{1}' にある仮想ディスク インデックス {0} を読み取ることができませんでした。エラー メッセージ: {2}
Event LogMicrosoft-Windows-iSCSITarget-Service/Admin

Member Modules:

ID Module Type TypeId RunAs 
DS DataSource Microsoft.Windows.EventProvider Default
GenerateAlert WriteAction System.Health.GenerateAlert Default

Source Code:

<Rule ID="Microsoft.Windows.FileServices.Service.iSCSITarget.6.3.FailedInitVHD" Target="Microsoft.Windows.FileServices.Service.iSCSITarget.6.3" Enabled="true" Remotable="true" ConfirmDelivery="true">
<Category>AvailabilityHealth</Category>
<DataSources>
<DataSource ID="DS" TypeID="Windows!Microsoft.Windows.EventProvider">
<ComputerName>$Target/Host/Property[Type="Windows!Microsoft.Windows.Computer"]/NetworkName$</ComputerName>
<LogName>Microsoft-Windows-iSCSITarget-Service/Admin</LogName>
<Expression>
<And>
<Expression>
<SimpleExpression>
<ValueExpression>
<XPathQuery Type="String">PublisherName</XPathQuery>
</ValueExpression>
<Operator>Equal</Operator>
<ValueExpression>
<Value Type="String">Microsoft-Windows-iSCSITarget-Service</Value>
</ValueExpression>
</SimpleExpression>
</Expression>
<Expression>
<SimpleExpression>
<ValueExpression>
<XPathQuery Type="UnsignedInteger">EventDisplayNumber</XPathQuery>
</ValueExpression>
<Operator>Equal</Operator>
<ValueExpression>
<Value Type="UnsignedInteger">15</Value>
</ValueExpression>
</SimpleExpression>
</Expression>
</And>
</Expression>
</DataSource>
</DataSources>
<WriteActions>
<WriteAction ID="GenerateAlert" TypeID="SystemHealth!System.Health.GenerateAlert">
<Priority>1</Priority>
<Severity>2</Severity>
<AlertMessageId>$MPElement[Name="Microsoft.Windows.FileServices.Service.iSCSITarget.6.3.FailedInitVHD.AlertMessage"]$</AlertMessageId>
<AlertParameters>
<AlertParameter1>$Data/Params/Param[1]$</AlertParameter1>
<AlertParameter2>$Data/Params/Param[2]$</AlertParameter2>
<AlertParameter3>$Data/Params/Param[3]$</AlertParameter3>
<AlertParameter4>$Target/Host/Property[Type="Windows!Microsoft.Windows.Computer"]/NetworkName$</AlertParameter4>
</AlertParameters>
<Suppression>
<SuppressionValue>$Data/Params/Param[1]$</SuppressionValue>
</Suppression>
</WriteAction>
</WriteActions>
</Rule>