Interromper Serviço SQL Reporting Services no Cluster
Microsoft.SQLServer.2005.ReportingServices.StopClusteredService (Task)
Element properties:
Member Modules:
Source Code:
<Task ID="Microsoft.SQLServer.2005.ReportingServices.StopClusteredService" Target="SQL2005Core!Microsoft.SQLServer.2005.ReportingServices" 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.ReportingServices"]/ServiceClusterName$" /offline</CommandLine>
<TimeoutSeconds>300</TimeoutSeconds>
<RequireOutput>true</RequireOutput>
<Files/>
</WriteAction>
</Task>