Nie udało się zainicjować dysku wirtualnego dla obiektu docelowego iSCSI

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

Knowledge Base article:

Podsumowanie

Ta reguła monitoruje wirtualne dyski twarde (VHD), których nie można zainicjować na potrzeby usługi Obiekt docelowy iSCSI. Gdy tak się stanie, dyski VHD będą niedostępne dla wszystkich używających ich obiektów docelowych iSCSI.

Alert będzie generowany dla każdego dysku VHD, którego nie można zainicjować. Opis alertu będzie zawierać identyfikator urządzenia i ścieżkę lokalną niezainicjowanego pliku VHD. Dla każdego unikalnego pliku VHD dotkniętego problemem będzie wygenerowany tylko jeden alert.

Przyczyny

Dysk VHD może nie zostać zainicjowany z różnych powodów, w tym:

Problem może dotyczyć wielu dysków VHD. Dlatego należy zapoznać się z innymi wygenerowanymi alertami dotyczącymi usługi Obiekt docelowy iSCSI.

Rozwiązania

Sprawdź na komputerze z systemem Windows Server hostującym usługę Obiekt docelowy iSCSI, że plik VHD wymieniony w alercie istnieje i jest dostępny.

Jeśli plik był niedostępny podczas uruchomienia usługi Obiekt docelowy iSCSI, a teraz jest dostępny, należy ponownie uruchomić tę usługę. Pamiętaj, że ponowne uruchamianie usługi może przerwać obsługę inicjatorów iSCSI przez usługi obiektów docelowych iSCSI.

Aby uruchomić ponownie usługę Obiekt docelowy iSCSI, wykonaj następujące czynności:

Alerty muszą zostać rozwiązane ręcznie po rozwiązaniu problemów.

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
Nie udało się zainicjować dysku wirtualnego
Obiekt docelowy iSCSI na komputerze „{3}” nie mógł załadować indeksu dysku wirtualnego {0} znajdującego się w „{1}”. Komunikat o błędzie: {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>