Place server in restricted mode.

Huawei.Ism.hyperv.PRO.Recovery.ControllerBatteryTempAboveNormal (Recovery)

It is recommended that the server should be temporarily unavailable for placement of new virtual machines until the maintenance tasks have been completed.

Element properties:

TargetHuawei.Ism.hyperv.PRO.ManagedHost
MonitorHuawei.Ism.hyperv.PRO.UnitMonitor.ControllerBatteryTempAboveNormal
Reset MonitorFalse
RemotableTrue
Timeout86400
CategoryAvailabilityHealth
Enabledtrue
AccessibilityInternal

Member Modules:

ID Module Type TypeId RunAs 
CreateRecoveryEvent WriteAction Huawei.Ism.hyperv.PRO.CreateEvent Default

Source Code:

<Recovery ID="Huawei.Ism.hyperv.PRO.Recovery.ControllerBatteryTempAboveNormal" Target="Huawei.Ism.hyperv.PRO.ManagedHost" Monitor="Huawei.Ism.hyperv.PRO.UnitMonitor.ControllerBatteryTempAboveNormal" Accessibility="Internal" Enabled="true" ResetMonitor="false" ExecuteOnState="Warning" Remotable="true" Timeout="86400">
<Category>AvailabilityHealth</Category>
<WriteAction ID="CreateRecoveryEvent" TypeID="Huawei.Ism.hyperv.PRO.CreateEvent">
<EventParameter>"$Target/Property[Type="MSVP2L!Microsoft.SystemCenter.VirtualMachineManager.Pro.2008.Base"]/Name$" : "$Target/Property[Type="MSVP2L!Microsoft.SystemCenter.VirtualMachineManager.Pro.2008.Base"]/VMMServer$" : "$Data/StateChange/DataItem/EventOriginId$" : "2"</EventParameter>
</WriteAction>
</Recovery>