此規則會將配套的 Red Hat Enterprise Linux Server 7 代理程式套件部署至管理伺服器
此規則會將配套的 Red Hat Enterprise Linux Server 7 代理程式套件部署至管理伺服器。
Target | Microsoft.SystemCenter.ManagementServer |
Category | Operations |
Enabled | True |
Alert Generate | False |
Remotable | True |
ID | Module Type | TypeId | RunAs |
---|---|---|---|
Scheduler | DataSource | System.Discovery.Scheduler | Default |
CopyKits | WriteAction | Microsoft.Unix.CopyDownloadedKit.WriteAction | Default |
<Rule ID="Microsoft.Linux.RHEL.7.CopyAgentKits.Rule" Target="SC!Microsoft.SystemCenter.ManagementServer" Enabled="true" Remotable="true">
<Category>Operations</Category>
<DataSources>
<DataSource ID="Scheduler" TypeID="System!System.Discovery.Scheduler">
<Scheduler>
<SimpleReccuringSchedule>
<Interval Unit="Seconds">86400</Interval>
<SyncTime/>
</SimpleReccuringSchedule>
<ExcludeDates/>
</Scheduler>
</DataSource>
</DataSources>
<WriteActions>
<WriteAction ID="CopyKits" TypeID="Unix!Microsoft.Unix.CopyDownloadedKit.WriteAction">
<Files>$FileResource[Name='Microsoft.Linux.RHEL.7.Kit.x64']/Path$,$FileResource[Name='Microsoft.Linux.RHEL.7.Kit.ppc']/Path$</Files>
<PlatformID>RHEL.7</PlatformID>
<CurrentVersion>omsagent-1.4.1-45</CurrentVersion>
</WriteAction>
</WriteActions>
</Rule>