Solved

SQL 2005 proper service stop/start order

Posted on 2008-10-06
3
787 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 143

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

Free Tool: Path Explorer

An intuitive utility to help find the CSS path to UI elements on a webpage. These paths are used frequently in a variety of front-end development and QA automation tasks.

One of a set of tools we're offering as a way of saying thank you for being a part of the community.

Question has a verified solution.

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

Suggested Solutions

Occasionally there is a need to clean table columns, especially if you have inherited legacy data. There are obviously many ways to accomplish that, including elaborate UPDATE queries with anywhere from one to numerous REPLACE functions (even within…
In this article I will describe the Copy Database Wizard method as one possible migration process and I will add the extra tasks needed for an upgrade when and where is applied so it will cover all.
Nobody understands Phishing better than an anti-spam company. That’s why we are providing Phishing Awareness Training to our customers. According to a report by Verizon, only 3% of targeted users report malicious emails to management. With compan…

733 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