Results 1 to 6 of 6

Thread: Is there a Cluster command line I can run which will stop my "SQL Agent Service"?

  1. #1
    Spin Guest

    Is there a Cluster command line I can run which will stop my "SQL Agent Service"?

    Gurus,

    Running SQL Server 2005 SP2 on a Windows Server 2003 Cluster. Is there a
    Cluster command line I can run which will stop my "SQL Agent Service"?

    --
    Spin



  2. #2
    John Bell Guest

    Re: Is there a Cluster command line I can run which will stop my "SQL Agent Service"?

    Hi

    How about NET STOP?

    John

    "Spin" <Spin@invalid.com> wrote in message
    news:656t5iF2eq3dbU1@mid.individual.net...
    > Gurus,
    >
    > Running SQL Server 2005 SP2 on a Windows Server 2003 Cluster. Is there a
    > Cluster command line I can run which will stop my "SQL Agent Service"?
    >
    > --
    > Spin
    >




  3. #3
    Spin Guest

    Re: Is there a Cluster command line I can run which will stop my "SQL Agent Service"?

    "John Bell" <jbellnewsposts@hotmail.com> wrote in message
    news:e2yjJedkIHA.5368@TK2MSFTNGP04.phx.gbl...
    > 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.


  4. #4
    Linchi Shea Guest

    RE: Is there a Cluster command line I can run which will stop my "SQL

    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

    "Spin" wrote:

    > Gurus,
    >
    > Running SQL Server 2005 SP2 on a Windows Server 2003 Cluster. Is there a
    > Cluster command line I can run which will stop my "SQL Agent Service"?
    >
    > --
    > Spin
    >
    >
    >


  5. #5
    Spin Guest

    Re: Is there a Cluster command line I can run which will stop my "SQL

    Thanks! I'll shout back on Monday if this works...

    "Linchi Shea" <LinchiShea@discussions.microsoft.com> wrote in message
    news:C9EF5727-A88B-4261-B445-266B2C45990C@microsoft.com...
    > 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
    >
    > "Spin" wrote:
    >
    >> Gurus,
    >>
    >> Running SQL Server 2005 SP2 on a Windows Server 2003 Cluster. Is there a
    >> Cluster command line I can run which will stop my "SQL Agent Service"?
    >>
    >> --
    >> Spin
    >>
    >>
    >>



  6. #6
    Spin Guest

    Re: Is there a Cluster command line I can run which will stop my "SQL

    "Linchi Shea" <LinchiShea@discussions.microsoft.com> wrote in message
    news:C9EF5727-A88B-4261-B445-266B2C45990C@microsoft.com...
    > 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


    Worked!!!!! You are a Gentleman and a Scholar!

    --
    Spin



Similar Threads

  1. NET START STOP Service Command Line
    By Dr. Network in forum Vista Help
    Replies: 4
    Last Post: 30-03-2012, 06:20 PM
  2. Replies: 5
    Last Post: 11-11-2010, 11:10 AM
  3. Replies: 8
    Last Post: 16-06-2010, 05:53 PM
  4. move cluster resource using the command line cluster.exe
    By faf1967 in forum Windows Server Help
    Replies: 7
    Last Post: 06-04-2010, 01:58 AM
  5. Replies: 2
    Last Post: 07-12-2006, 05:56 PM

Tags for this Thread

Bookmarks

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •  
Page generated in 1,711,625,652.10271 seconds with 17 queries