Iniciar Serviço de Configuração do Gerenciamento

Microsoft.SystemCenter.ConfigService.Recovery.StartConfigService (Recovery)

Tentativas de iniciar o serviço de Configuração do Gerenciamento

Element properties:

TargetMicrosoft.SystemCenter.RootManagementServer
MonitorMicrosoft.SystemCenter.ConfigurationService.ServiceMonitor
Reset MonitorTrue
RemotableTrue
Timeout300
CategoryMaintenance
Enabledfalse
AccessibilityInternal
CommentStart config service

Member Modules:

ID Module Type TypeId RunAs 
StartService WriteAction Microsoft.Windows.ServiceControlManager.StartService Microsoft.SystemCenter.AgentManagementAccount

Source Code:

<Recovery ID="Microsoft.SystemCenter.ConfigService.Recovery.StartConfigService" Comment="Start config service" Accessibility="Internal" Enabled="false" Target="SCLibrary!Microsoft.SystemCenter.RootManagementServer" Monitor="Microsoft.SystemCenter.ConfigurationService.ServiceMonitor" ResetMonitor="true" ExecuteOnDiagnostic="Microsoft.SystemCenter.ConfigService.Diagnostic.QueryConfigService" Remotable="true" Timeout="300">
<Category>Maintenance</Category>
<ConditionDetection ID="Filter" TypeID="System!System.ExpressionFilter">
<Expression>
<And>
<Expression>
<SimpleExpression>
<ValueExpression>
<XPathQuery>Diagnostic/DataItem/Property[@Name='State']</XPathQuery>
</ValueExpression>
<Operator>Equal</Operator>
<ValueExpression>
<Value Type="Integer">1</Value>
</ValueExpression>
</SimpleExpression>
</Expression>
<Expression>
<SimpleExpression>
<ValueExpression>
<XPathQuery>Diagnostic/DataItem/Property[@Name='StartMode']</XPathQuery>
</ValueExpression>
<Operator>NotEqual</Operator>
<ValueExpression>
<Value Type="Integer">4</Value>
</ValueExpression>
</SimpleExpression>
</Expression>
</And>
</Expression>
</ConditionDetection>
<WriteAction ID="StartService" RunAs="SCLibrary!Microsoft.SystemCenter.AgentManagementAccount" TypeID="Windows!Microsoft.Windows.ServiceControlManager.StartService">
<ComputerName>$Target/Host/Property[Type="Windows!Microsoft.Windows.Computer"]/PrincipalName$</ComputerName>
<ServiceName>OMCFG</ServiceName>
</WriteAction>
</Recovery>