Solved

SQL 2005 proper service stop/start order

Posted on 2008-10-06
3
785 Views
Last Modified: 2012-05-05
Hello all,

I am setting up a SQL 2005 server.  I'm trying to figure out what the best way to take a monthly image of the server.  We are using Symantec Livestate Server Ed.  Looking at the SQL Server configuration manager -> services there are 7 SQL services:
SQL Server Integration
SQL Server FullText Search
SQL Server
SQL Server Analysis
SQL Server Reporting
SQL Server Browser
SQL Server Agent

I want to create a batch job that stops the services before the imaging software kicks off and another batch job that restarts the services after the imaging is done. SQL server is a stand alone server.

I've googled this question but I can't seem to find anything that says in what order these services need to be stopped and then restarted.

0
Comment
Question by:ozzalot
3 Comments
 
LVL 142

Accepted Solution

by:
Guy Hengel [angelIII / a3] earned 50 total points
ID: 22650874
this should do to stop:
REM first the dependent services:
SQL Server Integration
SQL Server Agent
SQL Server Reporting
SQL Server Analysis
SQL Server FullText Search
REM finally the real sql server service
SQL Server 

starting will be in the reverse "order".
the browser service does not need to be restarted, actually.

Open in new window

0
 
LVL 60

Assisted Solution

by:chapmandew
chapmandew earned 50 total points
ID: 22650880
SQL Server will need to be the last one stopped...at least stopped before the SQL Server Agent.  Integration, Analysis, and Reporting aren't necessarily dependend upon SQL Server, so you can stop them whenever necessary.  
0
 

Author Comment

by:ozzalot
ID: 22650902
Awesome.  Yeah i figured the SQL server needed to be the last one to shutdown, but I just didn't know about the rest if they depended on each other.  

Thank you very much for your replies.
0

Featured Post

Microsoft Certification Exam 74-409

Veeam® is happy to provide the Microsoft community with a study guide prepared by MVP and MCT, Orin Thomas. This guide will take you through each of the exam objectives, helping you to prepare for and pass the examination.

Question has a verified solution.

If you are experiencing a similar issue, please ask a related question

Introduction Hopefully the following mnemonic and, ultimately, the acronym it represents is common place to all those reading: Please Excuse My Dear Aunt Sally (PEMDAS). Briefly, though, PEMDAS is used to signify the order of operations (http://en.…
PL/SQL can be a very powerful tool for working directly with database tables. Being able to loop will allow you to perform more complex operations, but can be a little tricky to write correctly. This article will provide examples of basic loops alon…
This Micro Tutorial hows how you can integrate  Mac OSX to a Windows Active Directory Domain. Apple has made it easy to allow users to bind their macs to a windows domain with relative ease. The following video show how to bind OSX Mavericks to …
Windows 10 is mostly good. However the one thing that annoys me is how many clicks you have to do to dial a VPN connection. You have to go to settings from the start menu, (2 clicks), Network and Internet (1 click), Click VPN (another click) then fi…

813 members asked questions and received personalized solutions in the past 7 days.

Join the community of 500,000 technology professionals and ask your questions.

Join & Ask a Question

Need Help in Real-Time?

Connect with top rated Experts

12 Experts available now in Live!

Get 1:1 Help Now