클러스터에서 SQL 에이전트 서비스 중지

Microsoft.SQLServer.2012.StopClusteredSQLAgent (Task)

클러스터에서 SQL 에이전트 서비스를 중지합니다.
모든 SQL Express 버전에서는 클러스터링을 지원하지 않습니다.

Element properties:

TargetMicrosoft.SQLServer.2012.Agent
AccessibilityInternal
CategoryMaintenance
EnabledTrue
RemotableFalse
Timeout300

Member Modules:

ID Module Type TypeId RunAs 
WA WriteAction System.CommandExecuter Default

Source Code:

<Task ID="Microsoft.SQLServer.2012.StopClusteredSQLAgent" Target="SQL2012Core!Microsoft.SQLServer.2012.Agent" 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/Host/Property[Type="Windows!Microsoft.Windows.Computer"]/NetworkName$ resource "$Target/Host/Property[Type="SQL!Microsoft.SQLServer.DBEngine"]/AgentClusterName$" /offline</CommandLine>
<TimeoutSeconds>300</TimeoutSeconds>
<RequireOutput>true</RequireOutput>
<Files/>
</WriteAction>
</Task>