The CreatorCon Call for Content is officially open! Get started here.

Restart the Servers automatically.

prasannal
Kilo Contributor

How to Restart the Services of Mid Servers automatically through servicenow. All these days we were doing manually by login in to the server.

Please provide your thoughts how to restating the services through service-now automatically through scripting or using Flow Designer.

4 REPLIES 4

Matthew Glenn
Kilo Sage

I'm not sure what exactly you're trying to restart, as you mention restarting the "servers" by logging in to them. You then mention restarting the "services". Regardless, here's a few options you have

 

If you're looking to restart the servers themselves, as in reboot the host the MID Server is sitting on, you'll need orchestration. End of story. 

 

If you're looking to restart the MID Server services, read through this KB and apply it how you see fit. Not sure if this could be implemented via a flow, as I'm not all that experienced with flows, but it could easily be triggered via a Business Rule, Workflow, etc...

 

Hopefully this helps

Hi Mathew,

Thank You for the reply.

Sorry, it is restarting the Services of Mid Servers not automatic restart of mid servers.

I tired with the script provided in KB. However, it did not work.

Need to utilize the integration - hub to restart the services of Mid Servers. 

Please let me know your views/thoughts.

 

Thanks

Prasanna l

 

 

sachin_namjoshi
Kilo Patron
Kilo Patron

Check below KB article which has script to restart mid servers

 

https://hi.service-now.com/kb_view.do?sysparm_article=KB0692080

 

Regards,

Sachin

bernyalvarado
Mega Sage

Oh wow. I'm surprised by the answer above that says... "End of story". There's a lot more that can be accomplished these days. 🙂

 

Let me see if I can help @prasannal 

 

First, if you're trying to restart the MID Service, the logic is in a UI Action of the MID Server table. You can find it under the Related Links (see screenshot below where it says "Restart MID").

 

find_real_file.png

 

Now, second, if your question has to do with actually Restarting the Hardware (your entire Server); if your MID Server is AMT / VPro enabled, we (at Volteo) actually have a technology which allows you to restart the hardware / Server via OOB. Doesn't mean out of box... 😛 It means "Out of band". In other words we can manage, reboot the hardware, turn it off, turn it on... etc by interacting with the BIOS; pretty cool right? 🙂  

 

I hope you find this helpful! 

Please let me know if you're interested in the technology I mentioned above.

Thanks,

Berny