Úloha instalace agenta systému SUSE Linux Enterprise Server 12
Microsoft.Linux.SLES.12.Agent.Install.Task (Task)
Element properties:
Member Modules:
Source Code:
<Task ID="Microsoft.Linux.SLES.12.Agent.Install.Task" Target="SC!Microsoft.SystemCenter.ManagementServicePool" Accessibility="Internal" Enabled="true">
<Category>Maintenance</Category>
<WriteAction ID="InstallAgent" TypeID="Unix!Microsoft.Unix.SSHCommand.InstallLinuxAgent.WriteAction">
<Host/>
<Port/>
<UserName>$RunAs[Name="Unix!Microsoft.Unix.AgentMaintenanceAccount"]/UserName$</UserName>
<Password>$RunAs[Name="Unix!Microsoft.Unix.AgentMaintenanceAccount"]/Password$</Password>
<InstallCommand>--install --enable-opsmgr; if [ -f /opt/microsoft/omsagent/bin/omsadmin.sh ] && [ ! -f /etc/opt/microsoft/omsagent/scom/certs/scom-cert.pem ]; then /opt/microsoft/omsagent/bin/omsadmin.sh -w scom; fi</InstallCommand>
<InstallPackage/>
<TimeoutSeconds>400</TimeoutSeconds>
</WriteAction>
</Task>