Microsoft.Windows.FileServices.Service.SMB.6.3.FssAgentRpcServerIdleTimeout (Rule)

Knowledge Base article:

摘要

檔案伺服器 VSS 代理程式閒置逾時。

原因

檔案伺服器 VSS 代理程式在特定伺服器上一次只能允許一個陰影複製建立工作階段。為避免未回應的用戶端保留檔案伺服器的時間過長,它會維護一個陰影複製建立序列計時器,以便在陰影複製建立序列期間未於預期的時間間隔內收到下一個 RPC 命令時發出逾時。計時器有兩種時間間隔:用戶端的長時間作業 (比如 AddToShadowCopySet/PrepareShadowCopySet and GetShareMapping/RecoveryComplete) 間隔為 30 分鐘,而用戶端的短時間作業間隔為 60 秒鐘。

解決方式

同時檢查檔案伺服器和應用程式伺服器上的 VSS 事件記錄檔。重試後確定用戶端作業在預期的時間間隔內完成且適時發出下一個 RPC 命令。

Element properties:

TargetMicrosoft.Windows.FileServices.Service.SMB.6.3.FssAgentEnabled
CategoryAvailabilityHealth
EnabledTrue
Event_ID1008
Event SourceMicrosoft-Windows-FileShareShadowCopyAgent
Alert GenerateTrue
Alert SeverityError
Alert PriorityNormal
RemotableTrue
Alert Message
檔案伺服器 VSS 代理程式無法在預期的時間間隔內接收陰影複製建立序列中的下一個 RPC 命令
檔案伺服器 VSS 代理程式無法在預期的時間間隔內接收陰影複製建立序列中的下一個 RPC 命令。
Event LogMicrosoft-Windows-FileShareShadowCopyAgent/Operational

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.SMB.6.3.FssAgentRpcServerIdleTimeout" Target="Microsoft.Windows.FileServices.Service.SMB.6.3.FssAgentEnabled" Remotable="true" Enabled="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-FileShareShadowCopyAgent/Operational</LogName>
<Expression>
<And>
<Expression>
<SimpleExpression>
<ValueExpression>
<XPathQuery Type="String">PublisherName</XPathQuery>
</ValueExpression>
<Operator>Equal</Operator>
<ValueExpression>
<Value Type="String">Microsoft-Windows-FileShareShadowCopyAgent</Value>
</ValueExpression>
</SimpleExpression>
</Expression>
<Expression>
<SimpleExpression>
<ValueExpression>
<XPathQuery Type="UnsignedInteger">EventDisplayNumber</XPathQuery>
</ValueExpression>
<Operator>Equal</Operator>
<ValueExpression>
<Value Type="UnsignedInteger">1008</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.SMB.6.3.FssAgentRpcServerIdleTimeout.AlertMessage"]$</AlertMessageId>
<AlertParameters>
<AlertParameter1>$Target/Host/Property[Type="Windows!Microsoft.Windows.Computer"]/NetworkName$</AlertParameter1>
</AlertParameters>
<Suppression>
<SuppressionValue/>
</Suppression>
</WriteAction>
</WriteActions>
</Rule>