Service restart on cluster

  • Just curious- can/should sql server service restart on cluster trigger failover to another node? Thanks

  • YES, SQL server gets restarted when you failover to the other node.

  • Thanks for your response but actually my question was quite different, sorry:-)- if I restart sql server service on currently active node #1 will it trigger automatic failover to passive node #2?

  • Yuri55 (2/19/2014)


    Thanks for your response but actually my question was quite different, sorry:-)- if I restart sql server service on currently active node #1 will it trigger automatic failover to passive node #2?

    No it should not, is that the behaviour you are seeing?

    does it happen each time?

    does it happen on only one node?

    -----------------------------------------------------------------------------------------------------------

    "Ya can't make an omelette without breaking just a few eggs" πŸ˜‰

  • Thanks Perry-

    no, it (failover) did not happen yet πŸ™‚

    We recently moved standalone server to cluster one but on Active node put Service Start Mode to Automatic one (probably- inertia, i.e. as for standalone sql server). I need to change it to Manual one (as recommended) and in case Service restarts (after Start Mode change- frankly not sure it will happen πŸ™‚ need to be sure Failover will not be triggered. Cannot risk- Prod server.

    Therefore digging ahead.

  • Yuri55 (2/20/2014)


    Thanks Perry-

    no, it (failover) did not happen yet πŸ™‚

    We recently moved standalone server to cluster one but on Active node put Service Start Mode to Automatic one (probably- inertia, i.e. as for standalone sql server). I need to change it to Manual one (as recommended) and in case Service restarts (after Start Mode change- frankly not sure it will happen πŸ™‚ need to be sure Failover will not be triggered. Cannot risk- Prod server.

    Therefore digging ahead.

    For clustered sql server installations, the services on each node should be set to manual. You do not want the service(s) trying to start outside of the control of the failover cluster manager!

    -----------------------------------------------------------------------------------------------------------

    "Ya can't make an omelette without breaking just a few eggs" πŸ˜‰

  • If you want to stop or start SQL Services on a Cluster, you should use the Cluster Manager to put the resource group On or Off. If you do this at a SSMS or Service Applet then you may not get the result you want.

    Original author: https://github.com/SQL-FineBuild/Common/wiki/ 1-click install and best practice configuration of SQL Server 2019, 2017 2016, 2014, 2012, 2008 R2, 2008 and 2005.

    When I give food to the poor they call me a saint. When I ask why they are poor they call me a communist - Archbishop HΓ©lder CΓ’mara

  • Yes, you need to make the service start up to be manual. In case of manual restart, just take the resource offline and then bring it back on line. This doesn't cause failover.

    However you should have some alerts set up to let you know if the SQL server goes down.

    --

    SQLBuddy

Viewing 8 posts - 1 through 8 (of 8 total)

You must be logged in to reply to this topic. Login to reply