|
|
|
SSCommitted
      
Group: General Forum Members
Last Login: Yesterday @ 4:55 PM
Points: 1,597,
Visits: 2,770
|
|
We have some server maintenance needed at weekend.
We plan to shut down web server first, then application server, then sql server.
My question is when we shut down SQL server, does it matter to shut down the OS directly or need to shut down SQL server services first then shut down the OS?
Thanks
|
|
|
|
|
SSC-Addicted
      
Group: General Forum Members
Last Login: Today @ 6:43 AM
Points: 467,
Visits: 2,337
|
|
I would expect you could just do a normal Windows shutdown. If you want to be paranoid, then shut down the SQL services first through the SQL Server Configuration Manager.
Of course, also make sure you've got a good backup of your databases beforehand, and not on the server you're working on!
Jason
|
|
|
|
|
SSCommitted
      
Group: General Forum Members
Last Login: Yesterday @ 4:55 PM
Points: 1,597,
Visits: 2,770
|
|
| Thanks, that is what I think too.
|
|
|
|
|
SSC Veteran
      
Group: General Forum Members
Last Login: Yesterday @ 2:42 AM
Points: 299,
Visits: 478
|
|
I would prefer a clean Sql Server shutdown , not by just windows shutdown.
http://www.sqlservercentral.com/Forums/Topic667203-146-1.aspx
|
|
|
|
|
SSC-Dedicated
           
Group: General Forum Members
Last Login: Today @ 8:45 AM
Points: 37,637,
Visits: 29,891
|
|
Any way you like.
Gail Shaw Microsoft Certified Master: SQL Server 2008, MVP SQL In The Wild: Discussions on DB performance with occasional diversions into recoverability
We walk in the dark places no others will enter We stand on the bridge and no one may pass
|
|
|
|
|
SSCommitted
      
Group: General Forum Members
Last Login: Yesterday @ 4:55 PM
Points: 1,597,
Visits: 2,770
|
|
Thanks all. Also the following is a related question.
Because we are going to do a data center maintenance for a lot of servers, we help networks group to shut down servers. We have some of the servers have dependency, for example , we need to shut down web server first, then application server, then SQL server. when bringing it back, the opposite order.
But for some applications they only have web server, or sql server, how do we know they have a dependency.
If we start web server first, then SQl server, is it going to be a problem to connect after that?
thanks
|
|
|
|
|
SSC-Dedicated
           
Group: General Forum Members
Last Login: Today @ 8:45 AM
Points: 37,637,
Visits: 29,891
|
|
sqlfriends (12/18/2012) If we start web server first, then SQl server, is it going to be a problem to connect after that?
Depends on how the application is written. Ask your developers.
Gail Shaw Microsoft Certified Master: SQL Server 2008, MVP SQL In The Wild: Discussions on DB performance with occasional diversions into recoverability
We walk in the dark places no others will enter We stand on the bridge and no one may pass
|
|
|
|
|
SSCrazy
      
Group: General Forum Members
Last Login: Tuesday, March 26, 2013 8:41 AM
Points: 2,562,
Visits: 3,451
|
|
sqlfriends (12/18/2012) If we start web server first, then SQl server, is it going to be a problem to connect after that? Application needs database connection first .So database server should be UP first
-------Bhuvnesh---------- While 1 = 1 (Learning SQL....) Click to get fast response of your post
|
|
|
|
|
SSCommitted
      
Group: General Forum Members
Last Login: Yesterday @ 4:55 PM
Points: 1,597,
Visits: 2,770
|
|
Thanks, I understand that.
But in most cases, even SQL server is up later than application server, the application still works.
I just want to know why this happens?
thanks
|
|
|
|
|
SSC-Dedicated
           
Group: General Forum Members
Last Login: Today @ 8:45 AM
Points: 37,637,
Visits: 29,891
|
|
sqlfriends (12/19/2012) I just want to know why this happens?
The developers implemented retry logic. The app doesn't keep persisted connections. The app uses a disconnected model. Many other possibilities.
Gail Shaw Microsoft Certified Master: SQL Server 2008, MVP SQL In The Wild: Discussions on DB performance with occasional diversions into recoverability
We walk in the dark places no others will enter We stand on the bridge and no one may pass
|
|
|
|