December 17, 2012 at 3:19 pm
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
December 17, 2012 at 3:45 pm
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
December 17, 2012 at 3:51 pm
Thanks, that is what I think too.
December 17, 2012 at 9:04 pm
I would prefer a clean Sql Server shutdown , not by just windows shutdown.
http://www.sqlservercentral.com/Forums/Topic667203-146-1.aspx
December 18, 2012 at 2:08 am
Any way you like.
Gail Shaw
Microsoft Certified Master: SQL Server, MVP, M.Sc (Comp Sci)
SQL In The Wild: Discussions on DB performance with occasional diversions into recoverability
December 18, 2012 at 3:30 pm
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
December 18, 2012 at 3:54 pm
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, MVP, M.Sc (Comp Sci)
SQL In The Wild: Discussions on DB performance with occasional diversions into recoverability
December 18, 2012 at 11:11 pm
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----------
I work only to learn Sql Server...though my company pays me for getting their stuff done;-)
December 19, 2012 at 9:29 am
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
December 19, 2012 at 9:35 am
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, MVP, M.Sc (Comp Sci)
SQL In The Wild: Discussions on DB performance with occasional diversions into recoverability
Viewing 10 posts - 1 through 9 (of 9 total)
You must be logged in to reply to this topic. Login to reply