System Center 2012 Virtual Machine Manager VMMServer 可透過 Powershell 2.0 連線

Microsoft.SystemCenter.VirtualMachineManager.2012.VMMServerReachableMonitor (UnitMonitor)

監視 PowerShell 2.0 遠端處理功能是否已啟用,並且可在 VMM 管理伺服器上使用

Knowledge Base article:

摘要

此監視會指出 VMM 伺服器是否可透過 PowerShell 遠端處理功能,從 Operations Manager 管理伺服器連線。

原因

如果 VMM 伺服器無法透過 Powershell 遠端從 Operations Manager 管理伺服器連線,則此監視的狀態會變成狀況不良。 VMM 效能與資源最佳化 (PRO) 功能,需要依賴 PowerShell 遠端處理功能才能叫用效能與資源最佳化 (PRO) 修復動作。

解決方式

確定 VMM 伺服器已啟用 PowerShell 遠端處理功能,並重新啟動 System Center Virtual Machine Manager 服務。

Element properties:

TargetMicrosoft.SystemCenter.ManagementServer
Parent MonitorSystem.Health.AvailabilityState
CategoryAvailabilityHealth
EnabledFalse
Alert GenerateTrue
Alert SeverityError
Alert PriorityNormal
Alert Auto ResolveTrue
Monitor TypeMicrosoft.SystemCenter.VirtualMachineManager.2012.VMMServerReachableUnitMonitorType
RemotableTrue
AccessibilityPublic
Alert Message
VMMServer 無法透過 Powershell 2.0 連線
PowerShell 2.0 無法連線到 VMM 管理伺服器。 電腦名稱: {0}
RunAsDefault

Source Code:

<UnitMonitor ID="Microsoft.SystemCenter.VirtualMachineManager.2012.VMMServerReachableMonitor" Accessibility="Public" Target="SC!Microsoft.SystemCenter.ManagementServer" TypeID="Microsoft.SystemCenter.VirtualMachineManager.2012.VMMServerReachableUnitMonitorType" ParentMonitorID="SystemHealth!System.Health.AvailabilityState" Enabled="false">
<Category>AvailabilityHealth</Category>
<AlertSettings AlertMessage="Microsoft.SystemCenter.VirtualMachineManager.2012.VMMServerReachableMonitor.AlertMessage">
<AlertOnState>Error</AlertOnState>
<AutoResolve>true</AutoResolve>
<AlertPriority>Normal</AlertPriority>
<AlertSeverity>Error</AlertSeverity>
<AlertParameters>
<AlertParameter1>$Data/Context/Property[@Name='VMMServerName']$</AlertParameter1>
</AlertParameters>
</AlertSettings>
<OperationalStates>
<OperationalState ID="VMMServerIsReachable" MonitorTypeStateID="VMMServerReachable" HealthState="Success"/>
<OperationalState ID="VMMServerNotReachable" MonitorTypeStateID="VMMServerNotReachable" HealthState="Error"/>
</OperationalStates>
<Configuration>
<VMMServer/>
<IntervalSeconds>180</IntervalSeconds>
<TimeoutSeconds>180</TimeoutSeconds>
</Configuration>
</UnitMonitor>