Hi
How about NET STOP?
John
> Gurus,
>
[quoted text clipped - 3 lines]
> --
> Spin
Spin - 29 Mar 2008 22:54 GMT
> Hi
>
> How about NET STOP?
No can do John. NET STOP stops the service outside of the Cluster
environment. What will happen is the Windows Cluster service will detect
the service down then automatically restart it! What I need is a Cluster
service command line tool which gracefully stops the service per "knowledge"
if you will, of the Cluster service.
For the default instance:
cluster.exe /cluster:<cluster name> resource "SQL Server Agent" /offline
For a named instance (assuming that the instance name is SQL2):
cluster.exe /cluster:<cluster name> resource "SQL Server Agent (SQL2)"
/offline
Linchi
> Gurus,
>
[quoted text clipped - 3 lines]
> --
> Spin
Spin - 30 Mar 2008 06:15 GMT
Thanks! I'll shout back on Monday if this works...
> For the default instance:
>
[quoted text clipped - 14 lines]
>> --
>> Spin
Spin - 31 Mar 2008 15:23 GMT
> For the default instance:
>
[quoted text clipped - 6 lines]
>
> Linchi
Worked!!!!! You are a Gentleman and a Scholar!
--
Spin