VMM Engine Service Failure Rule

Microsoft.SystemCenter.VirtualMachineManager.2008.Engine.ServiceFailed.rule (Rule)

Knowledge Base article:

Summary

The Virtual Machine Manager service on the Virtual Machine Manager server encountered an unexpected error and shut down.

Causes

This alert is generated when the Virtual Machine Manager service on the VMM server shuts down unexpectedly and the cause is unknown. In the common case, the service restarts automatically after an unexpected failure.

Resolutions

To troubleshoot this issue:

1

Find out whether the Virtual Machine Manager service is running. In the common case, the service will be running. The service restarts automatically after a failure. If the service is not running, restart the service manually.

To restart a Virtual Machine Manager agent from Operations Manager:

a

In the Operations Console, click Monitoring.

b

In the Monitoring Explorer, expand Virtual Machine Manager, and then click Agent State.

c

In the results pane, select the computer on which the Virtual Machine Manager agent is installed. Then, in Actions pane, under Virtual Machine Manager 2008 R2 Agent, click Start Agent.

2

If restarting the agent does not resolve the issue, try the following:

  • To get more information, review the VM Manager event log, as well as application and system event logs on the VMM server.

  • Test connectivity between Virtual Machine Manager and SQL Server, especially if Virtual Machine Manager uses a remote instance of SQL Server.

  • Ensure that all ports used by Virtual Machine Manager are not in use by any other applications on the VMM server. For information about ports used by Virtual Machine Manager, see Virtual Machine Manager Network Requirements (http://go.microsoft.com/fwlink/?LinkId=121008) in the Microsoft TechNet Library.

Additional

System event 7031

External

VMM TechCenter (http://go.microsoft.com/fwlink/?LinkId=85920)

Element properties:

TargetMicrosoft.SystemCenter.VirtualMachineManager.2008.Engine
CategoryAvailabilityHealth
EnabledTrue
Alert GenerateTrue
Alert SeverityError
Alert PriorityHigh
RemotableTrue
Alert Message
Service failed
{0}
Event LogSystem

Member Modules:

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

Source Code:

<Rule ID="Microsoft.SystemCenter.VirtualMachineManager.2008.Engine.ServiceFailed.rule" Enabled="true" Target="Microsoft.SystemCenter.VirtualMachineManager.2008.Engine">
<Category>AvailabilityHealth</Category>
<DataSources>
<DataSource ID="DS" TypeID="Windows!Microsoft.Windows.EventProvider">
<ComputerName>$Target/Host/Property[Type="Windows!Microsoft.Windows.Computer"]/NetworkName$</ComputerName>
<LogName>System</LogName>
<Expression>
<And>
<Expression>
<SimpleExpression>
<ValueExpression>
<XPathQuery>PublisherName</XPathQuery>
</ValueExpression>
<Operator>Equal</Operator>
<ValueExpression>
<Value>Service Control Manager</Value>
</ValueExpression>
</SimpleExpression>
</Expression>
<Expression>
<SimpleExpression>
<ValueExpression>
<XPathQuery>EventDisplayNumber</XPathQuery>
</ValueExpression>
<Operator>Equal</Operator>
<ValueExpression>
<Value>7031</Value>
</ValueExpression>
</SimpleExpression>
</Expression>
<Expression>
<SimpleExpression>
<ValueExpression>
<XPathQuery>Params/Param[1]</XPathQuery>
</ValueExpression>
<Operator>Equal</Operator>
<ValueExpression>
<Value>Virtual Machine Manager</Value>
</ValueExpression>
</SimpleExpression>
</Expression>
</And>
</Expression>
</DataSource>
</DataSources>
<WriteActions>
<WriteAction ID="GenerateAlert" TypeID="SystemHealth!System.Health.GenerateAlert">
<Priority>2</Priority>
<Severity>2</Severity>
<AlertMessageId>$MPElement[Name="Microsoft.SystemCenter.VirtualMachineManager.2008.Engine.ServiceFailed_Rule.AlertMessage"]$</AlertMessageId>
<AlertParameters>
<AlertParameter1>$Data/EventDescription$</AlertParameter1>
</AlertParameters>
</WriteAction>
</WriteActions>
</Rule>