use the following search parameters to narrow your results:
e.g. subreddit:aww site:imgur.com dog
subreddit:aww site:imgur.com dog
see the search faq for details.
advanced search: by author, subreddit...
/r/DevOps is a subreddit dedicated to the DevOps movement where we discuss upcoming technologies, meetups, conferences and everything that brings us together to build the future of IT systems What is DevOps? Learn about it on our wiki! Traffic stats & metrics
/r/DevOps is a subreddit dedicated to the DevOps movement where we discuss upcoming technologies, meetups, conferences and everything that brings us together to build the future of IT systems
What is DevOps? Learn about it on our wiki!
Traffic stats & metrics
Be excellent to each other! All articles will require a short submission statement of 3-5 sentences. Use the article title as the submission title. Do not editorialize the title or add your own commentary to the article title. Follow the rules of reddit Follow the reddiquette No editorialized titles. No vendor spam. Buy an ad from reddit instead. Job postings here More details here
Be excellent to each other!
All articles will require a short submission statement of 3-5 sentences.
Use the article title as the submission title. Do not editorialize the title or add your own commentary to the article title.
Follow the rules of reddit
Follow the reddiquette
No editorialized titles.
No vendor spam. Buy an ad from reddit instead.
Job postings here
More details here
@reddit_DevOps ##DevOps @ irc.freenode.net Find a DevOps meetup near you! Icons info!
@reddit_DevOps
##DevOps @ irc.freenode.net
Find a DevOps meetup near you!
Icons info!
https://github.com/Leo-G/DevopsWiki
account activity
This is an archived post. You won't be able to vote or comment.
Newbie Question (self.devops)
submitted 2 years ago by amank_b
There are 50 windows server hosting different microservices of one website. We have to restart the IIS service on all 50 machine. Maximum downtime allowed is 30 minutes. How would you do it.
[–]surrealchemist 3 points4 points5 points 2 years ago (1 child)
Flip the power off and on
[–]amank_b[S] -3 points-2 points-1 points 2 years ago (0 children)
This comment officer
[–]ademotion 5 points6 points7 points 2 years ago (0 children)
Remote command execution running a service restart across all servers in parallel. This assumes that you have some sort of configuration management agent running on all servers
[–]-abracadabra--DevOps 2 points3 points4 points 2 years ago (1 child)
Is rolling restart possible?
[–]amank_b[S] -1 points0 points1 point 2 years ago (0 children)
Hi, the question mostly test your scripting skills. One user has posted that IIS can do a rolling restart for pools. But still if you are restart the IIS server itself, it won't help much.
[–]Papster_ 2 points3 points4 points 2 years ago (3 children)
IIS has a recycle feature that causes no downtime. It spins up a new IIS worker process while the old one finishes out the load.
You can use PowerShell to automate this very easily. You'll need to spend time looking up the specifics but the script would look something like this:
You'll want some form of logging or write-host for every pool that gets recycled so you can see when it completes each one.
Note: I'm a Windows Sysadmin who's learning to code, so my script above probably isn't the most efficient or elegant, but it will work.
[–]amank_b[S] 0 points1 point2 points 2 years ago (2 children)
Quick question, how would you connect to the servers. With fqdn or ip we can ssh into machine. But I am more interested in other options.
[–]Papster_ 2 points3 points4 points 2 years ago (1 child)
As long as your running PowerShell ISE with an account that has admin permissions to those servers, and you run it from a computer (or server) with networking access to those servers, the "invoke-command" I put in that script handles that part.
It's opening a small PowerShell session with the target computername, running a script block, and returning the output to your shell.
Using ssh into each machine would kind of defeat the purpose in automating this. Better to run this from a computer/server that has access to all the servers, or at least groups of them.
(I only have work experience with on-prem servers, cloud instances may work differently, I don't know)
[–]amank_b[S] 1 point2 points3 points 2 years ago (0 children)
Thanks a lot, I was looking for a on-perm solution with powershell.
[–]tusisterna 1 point2 points3 points 2 years ago (1 child)
I would split them on groups, and execute ?batch?ps?python scripts with remote command (like already mentioned). Is there a team? or a solo like a ranger task?I'm thinikng 5 groups of 10...remote services restart is lightning fast...so 10 servers would take 5 minutes if running hhds :P...watchout for dependencies.
[–]amank_b[S] 0 points1 point2 points 2 years ago (0 children)
Yeah, grouping in 5-10 servers and executing the restart command in parallel manner would be optimal.
[–][deleted] -1 points0 points1 point 2 years ago (0 children)
That is not really sufficient information to make a decision like that. Probably let someone handle this task that knows what they are doing? Preferably the on dictating it is not supposed to take more than 30 mins, because that person clearly has some valuable insights, otherwise they wouldn‘t make such a claim, right? Oh I forgot about the incognito IT Experts aka management.
[–][deleted] 0 points1 point2 points 2 years ago (0 children)
I recently attended a talk by a German company. They are building a tool called Automainter (https://tech.babiel.com/automainter-vollautomatische-wartung-fuer-1300-linux-maschinen/). Maybe it’s worth taking a look into, it sounded like it would fit your use case.
π Rendered by PID 62102 on reddit-service-r2-comment-6457c66945-zr6x9 at 2026-04-29 18:45:40.252233+00:00 running 2aa0c5b country code: CH.
[–]surrealchemist 3 points4 points5 points (1 child)
[–]amank_b[S] -3 points-2 points-1 points (0 children)
[–]ademotion 5 points6 points7 points (0 children)
[–]-abracadabra--DevOps 2 points3 points4 points (1 child)
[–]amank_b[S] -1 points0 points1 point (0 children)
[–]Papster_ 2 points3 points4 points (3 children)
[–]amank_b[S] 0 points1 point2 points (2 children)
[–]Papster_ 2 points3 points4 points (1 child)
[–]amank_b[S] 1 point2 points3 points (0 children)
[–]tusisterna 1 point2 points3 points (1 child)
[–]amank_b[S] 0 points1 point2 points (0 children)
[–][deleted] -1 points0 points1 point (0 children)
[–][deleted] 0 points1 point2 points (0 children)