Solved

Multiple SQL  services stop through Orchesrator

Posted on 2014-01-02
6
277 Views
Last Modified: 2014-01-14
Hi,

 I am looking to orchestrate the multiple services start / stop through orchestrator. Please suggest.

Thanks,
Prasad,
0
Comment
Question by:Prasadkosana
  • 3
  • 3
6 Comments
 
LVL 8

Expert Comment

by:Leon Taljaard
ID: 39762795
Hi

This is definitely possible and really easy, let me know what exactly you require and I will be more than happy to help.

Do you have a list of servers ?

Have a look at a few of my Orchestrator Articles as well to give you more ideas.

Thanks
0
 

Author Comment

by:Prasadkosana
ID: 39768147
Hi Leon,

  Its a SQL server having a list of Instances and SQL services. I need to restart them one after other in single step. Any suggestions!!

Thanks,
Prasad
0
 
LVL 8

Expert Comment

by:Leon Taljaard
ID: 39770281
Hi Prasad

Sure, is it just a single server with multiple windows services that you would like to restart, do you also need to restart them at a certain time of day or week ?

You can do a really simple runbook like the following :

Restart Services RunbookThe above is a really simple runbook that you can have running and set a time or date that it needs to repeat, you can also add a schedule which it would check as well.

Monitor Date/TimeHere you can set the schedule that it will actually fire off

Restart ServiceAnd then this should be the same for all the others with the exception of the service name.

Like I said this is really simple, you could also add conditions on the links to only continue to the next restart service if the previous one was a success, you could also add a "check service status" or even mail you if one of the restarts fail, log an event and create a SCOM alert.

Possibilities are endless :)

Hope this helps

Leon
0
Complete VMware vSphere® ESX(i) & Hyper-V Backup

Capture your entire system, including the host, with patented disk imaging integrated with VMware VADP / Microsoft VSS and RCT. RTOs is as low as 15 seconds with Acronis Active Restore™. You can enjoy unlimited P2V/V2V migrations from any source (even from a different hypervisor)

 

Author Comment

by:Prasadkosana
ID: 39771029
Is there a way in figure 1 .. Instead of 3 services are designed cant it be one and restart 3 services may be lopping or any other... If we have 6 services ..We need to create 3 stop / start services..

  I need a single stop /start object and it will be restarting many depending on the input provided

Thanks,
Prasad
0
 
LVL 8

Accepted Solution

by:
Leon Taljaard earned 500 total points
ID: 39775844
Hi

Yes sure you can, you could list the service names in a text file and then use the read line activity and have that pass the service name one at a time to the restart service activity therefore having 2 activities only which one of them would be the restart service.

Look at the attached files

Goodluck

Thanks
Read-Line1.PNG
Read-Line2.PNG
Read-Line3.PNG
Read-Line4.PNG
0
 

Author Closing Comment

by:Prasadkosana
ID: 39778580
Thanks Leon... It really helps
0

Featured Post

NAS Cloud Backup Strategies

This article explains backup scenarios when using network storage. We review the so-called “3-2-1 strategy” and summarize the methods you can use to send NAS data to the cloud

Question has a verified solution.

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

Hi Everyone Now IIS AppPool issues is something we have always had because of the amazing custom development and in-house applications we have :) The issues we had were getting out of control and it was time to do something about it, just for…
Deploying a Microsoft Access application in a Citrix environment is not difficult but takes a few steps. However, Citrix system people are often of little help, as they typically know next to nothing about Access. The script provided here will take …
Viewers will learn how to maximize accessibility options in an Excel workbook for users with accessibility issues.
The viewer will learn how to simulate a series of sales calls dependent on a single skill level and learn how to simulate a series of sales calls dependent on two skill levels. Simulating Independent Sales Calls: Enter .75 into cell C2 – “skill leve…

912 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

19 Experts available now in Live!

Get 1:1 Help Now