维护模式

Microsoft.SystemCenter.SqlJobs.MaintenanceMode (Rule)

更新维护模式数据的系统规则。

Knowledge Base article:

摘要

此规则供内部使用,用于执行数据库维护任务和作业。 此规则不应被替代,因为会对操作数据库的总体运行状况、功能和一致性产生负面影响。

原因

本节不适用于此类型规则。

解决方法

此类型规则无需任何用户操作。

Element properties:

TargetMicrosoft.SystemCenter.AllManagementServersPool
CategoryMaintenance
EnabledTrue
Alert GenerateFalse
RemotableTrue

Member Modules:

ID Module Type TypeId RunAs 
DS DataSource System.SimpleScheduler Default
WA WriteAction Microsoft.SystemCenter.SqlJobExecuter Default

Source Code:

<Rule ID="Microsoft.SystemCenter.SqlJobs.MaintenanceMode" Enabled="true" Target="SCLibrary!Microsoft.SystemCenter.AllManagementServersPool" ConfirmDelivery="false" Remotable="true" Priority="Normal" DiscardLevel="100">
<Category>Maintenance</Category>
<DataSources>
<DataSource ID="DS" TypeID="System!System.SimpleScheduler">
<IntervalSeconds>300</IntervalSeconds>
<SyncTime/>
</DataSource>
</DataSources>
<WriteActions>
<WriteAction ID="WA" TypeID="Microsoft.SystemCenter.SqlJobExecuter">
<JobName>p_ScheduledJobsEveryFiveMinutes</JobName>
</WriteAction>
</WriteActions>
</Rule>