Solved

SQL 2005 proper service stop/start order

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

How to run any project with ease

Manage projects of all sizes how you want. Great for personal to-do lists, project milestones, team priorities and launch plans.
- Combine task lists, docs, spreadsheets, and chat in one
- View and edit from mobile/offline
- Cut down on emails

Join & Write a Comment

by Mark Wills Attending one of Rob Farley's seminars the other day, I heard the phrase "The Accidental DBA" and fell in love with it. It got me thinking about the plight of the newcomer to SQL Server...  So if you are the accidental DBA, or, simp…
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.…
Here's a very brief overview of the methods PRTG Network Monitor (https://www.paessler.com/prtg) offers for monitoring bandwidth, to help you decide which methods you´d like to investigate in more detail.  The methods are covered in more detail in o…
This demo shows you how to set up the containerized NetScaler CPX with NetScaler Management and Analytics System in a non-routable Mesos/Marathon environment for use with Micro-Services applications.

743 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

16 Experts available now in Live!

Get 1:1 Help Now