Solved

SQL 2005 proper service stop/start order

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

DevOps Toolchain Recommendations

Read this Gartner Research Note and discover how your IT organization can automate and optimize DevOps processes using a toolchain architecture.

Question has a verified solution.

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

Suggested Solutions

Introduction: When running hybrid database environments, you often need to query some data from a remote db of any type, while being connected to your MS SQL Server database. Problems start when you try to combine that with some "user input" pass…
Data architecture is an important aspect in Software as a Service (SaaS) delivery model. This article is a study on the database of a single-tenant application that could be extended to support multiple tenants. The application is web-based develope…
Concerto provides fully managed cloud services and the expertise to provide an easy and reliable route to the cloud. Our best-in-class solutions help you address the toughest IT challenges, find new efficiencies and deliver the best application expe…
With Secure Portal Encryption, the recipient is sent a link to their email address directing them to the email laundry delivery page. From there, the recipient will be required to enter a user name and password to enter the page. Once the recipient …

914 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