System Center 1801+ Virtual Machine Manager VMM-agent-versie op host

Microsoft.SystemCenter.VirtualMachineManager.HostVMMAgentVersionMonitor (UnitMonitor)

Hiermee wordt gecontroleerd of de versie van de VMM-agent op de virtualisatiehost moet worden bijgewerkt

Knowledge Base article:

Samenvatting

De Virtual Machine Manager-agent op de virtuele-machinehost of bibliotheekserver is incompatibel met de huidige versie van System Center VMM (Virtual Machine Manager).

Oorzaken

Virtual Machine Manager is bijgewerkt, waardoor Virtual Machine Manager-agent eveneens moet worden bijgewerkt op de virtuele-machinehost of bibliotheekserver .

Oplossingen

Nadat u Virtual Machine Manager hebt bijgewerkt, controleert u het knooppunt Agentbeheer in de weergave Beheer van de VMM-console om te bepalen of de agenten op beheerde hosts en bibliotheekservers moeten worden bijgewerkt. Als de VMM-agent moet worden bijgewerkt, is de actie Bijwerken beschikbaar voor de computer.

Element properties:

TargetMicrosoft.SystemCenter.VirtualMachineManager.Discovery.HyperVHost
Parent MonitorSystem.Health.AvailabilityState
CategoryAvailabilityHealth
EnabledTrue
Alert GenerateTrue
Alert SeverityError
Alert PriorityNormal
Alert Auto ResolveTrue
Monitor TypeMicrosoft.SystemCenter.VirtualMachineManager.TwoStatesMonitorType
RemotableTrue
AccessibilityPublic
Alert Message
VMM-agentversie niet bijgewerkt op VM-host
De status van de versie van de VMM-agent is {1} op {0}
RunAsDefault

Source Code:

<UnitMonitor ID="Microsoft.SystemCenter.VirtualMachineManager.HostVMMAgentVersionMonitor" Accessibility="Public" Target="VMMDiscovery!Microsoft.SystemCenter.VirtualMachineManager.Discovery.HyperVHost" TypeID="Microsoft.SystemCenter.VirtualMachineManager.TwoStatesMonitorType" ParentMonitorID="SystemHealth!System.Health.AvailabilityState">
<Category>AvailabilityHealth</Category>
<AlertSettings AlertMessage="Microsoft.SystemCenter.VirtualMachineManager.HostVMMAgentVersionMonitor.AlertMessage">
<AlertOnState>Error</AlertOnState>
<AutoResolve>true</AutoResolve>
<AlertPriority>Normal</AlertPriority>
<AlertSeverity>Error</AlertSeverity>
<AlertParameters>
<AlertParameter1>$Target/Host/Property[Type="Windows!Microsoft.Windows.Computer"]/NetworkName$</AlertParameter1>
<AlertParameter2>$Target/Property[Type="VMMBase!Microsoft.SystemCenter.VirtualMachineManager.VMHost"]/AgentVersionState$</AlertParameter2>
</AlertParameters>
</AlertSettings>
<OperationalStates>
<OperationalState ID="VMMAgentVersionHealthy" MonitorTypeStateID="Success" HealthState="Success"/>
<OperationalState ID="VMMAgentVersionCritical" MonitorTypeStateID="Error" HealthState="Error"/>
</OperationalStates>
<Configuration>
<IntervalSeconds>7200</IntervalSeconds>
<TimeoutSeconds>300</TimeoutSeconds>
<ErrorExpression>
<SimpleExpression>
<ValueExpression>
<Value Type="String">Updated</Value>
</ValueExpression>
<Operator CaseSensitive="false">NotEqual</Operator>
<ValueExpression>
<Value Type="String">$Target/Property[Type="VMMBase!Microsoft.SystemCenter.VirtualMachineManager.VMHost"]/AgentVersionState$</Value>
</ValueExpression>
</SimpleExpression>
</ErrorExpression>
<SuccessExpression>
<SimpleExpression>
<ValueExpression>
<Value Type="String">Updated</Value>
</ValueExpression>
<Operator CaseSensitive="false">Equal</Operator>
<ValueExpression>
<Value Type="String">$Target/Property[Type="VMMBase!Microsoft.SystemCenter.VirtualMachineManager.VMHost"]/AgentVersionState$</Value>
</ValueExpression>
</SimpleExpression>
</SuccessExpression>
</Configuration>
</UnitMonitor>