DB 엔진을 통해 클러스터에서 SQL 에이전트 서비스 시작
Microsoft.SQLServer.2005.StartClusteredSQLAgentFromDBEngine (Task)
Element properties:
Member Modules:
Source Code:
<Task ID="Microsoft.SQLServer.2005.StartClusteredSQLAgentFromDBEngine" Target="SQL2005Core!Microsoft.SQLServer.2005.DBEngine" Accessibility="Internal" Enabled="true" Remotable="false">
<Category>Maintenance</Category>
<WriteAction ID="WA" TypeID="System!System.CommandExecuter">
<ApplicationName>%windir%\system32\cluster.exe</ApplicationName>
<WorkingDirectory>%windir%\system32</WorkingDirectory>
<CommandLine>/cluster:$Target/Host/Property[Type="Windows!Microsoft.Windows.Computer"]/NetworkName$ resource "$Target/Property[Type="SQL!Microsoft.SQLServer.DBEngine"]/AgentClusterName$" /online</CommandLine>
<TimeoutSeconds>300</TimeoutSeconds>
<RequireOutput>true</RequireOutput>
<Files/>
</WriteAction>
</Task>