A thousand times, yes. I now do rolling reboots in my clusters, partly because I needed to get a lot better about keeping them patched.
Once you trust your HA, you just take the server or service offline, do what you need to do, and then turn it back on. And you have a backup plan of “it’s trivial to just spin up a new server because we made sure to test that regularly, too”.
Occasionally we do “pull the power cord” (or more realistically tell the ups/peu to turn it off), and then testing that AMT/iLO/iDRAC/whatever functions to turn it back on. If you have things set up properly this can all happen with almost no effort via an agent harness.
The same is true if you’re relying on clustered storage or RAID at all. You’d better periodically just fail over off a drive (and should do this rolling) instead of waiting for a drive to fail.
I like the idea of injecting failover into the release process. Another similar approach is chaos engineering, where you intentionally introduce failures to validate your systems' reliability.
When I was at PagerDuty we regularly ran Failure Fridays (perhaps they still do). The goal was to identify a victim sub-system and start applying all sorts of failures to it - excessive latencies, dropped server connections, availability zone outages, etc. It was all done in a controlled manner, with the operations team sitting together with the service owners. The idea was that even if there is an impact to the customer, it's much better to catch it now and fix the underlying issue with many eyes on it, rather than a bleary-eyed on-call dealing with it in the middle of the night. This sort of exercise was very scary to get started with, and only minimally-impacting failures were introduced, but over time we got to the point where we were comfortable with simulating a full region outage.
That said, such investments in reliability made sense for PagerDuty. If a company can survive just fine with 2-3 nines of availability, it's a lot harder to make the business case for it.
There aren't "normal" and "recovery" reconfigurations, there's just recovery (with a few exceptions for planned maintenance).
This means: 1) simpler code, 2) you're constantly testing the recovery path, and 3) the recovery path is designed to be quick because it's constantly happening
Companies rarely test this because they have no desire to test this. There is no management push to get it done and massive downside in testing causes outages which impacts engineering teams.
Coupled with most companies rarely need uptime they claim they need. Most companies I've worked at, downtime rarely resulted in lost revenue.
Perhaps oddly, almost every company I’ve worked at suffered real financial pain as a result of outages. Lost production at one that did quick-turn manufacture to order, and two more with customers that (rightly) demanded steep SLA penalties. None of them got to a point where failover was comfortable.
With my own company I started doing zero downtime deployments (I run hot/hot over multiple AWS regions) literally from day one. Our rate of rollouts has been slower this year than last, with only about 1,500 so far.
Constant failover is a big win in my experience. Hard to retrofit, though.
I only trust HA fail over to actually work if companies have been doing frequent switch and stay for years. Switching every 6 months is the minimum IMHO but the more frequently the better.
these are easier said than done, because using failover means potential (and likely ) customer disruption.
The Devil is in the details, and because many tech solutions are a hodgepodge of open source, commercial and home grown components, the failover strategy also needs investment.
Convincing me to do more failover drills is not the hurdle needing overcome. Unlocking the budget to develop and exercise the protocols is the hard part.
You might have missed it further down this article, but this person suggests adding failover to your release process. During a release, you can switch the network traffic to the failover environment, then release updates to the original environment, test them there, then switch back to the original environment.
Worked at company that did this. Didn't know why at the time, but seems like a really good idea.
Not an excuse. Run a parallel environment that isn’t customer-facing if you’re forced to so that you can drill. Either you’re going to disrupt your customers or an act of God will, and your customers won’t let you scapegoat God.
In my experience, the issue with this is simulating production in a meaningful way. Let’s say you have 10k mobile users, how can traffic approximate that well enough with network conditions, p99 user behavior.
It’s as good as possible but like parent points out, not necessarily worth it.
Once you trust your HA, you just take the server or service offline, do what you need to do, and then turn it back on. And you have a backup plan of “it’s trivial to just spin up a new server because we made sure to test that regularly, too”.
Occasionally we do “pull the power cord” (or more realistically tell the ups/peu to turn it off), and then testing that AMT/iLO/iDRAC/whatever functions to turn it back on. If you have things set up properly this can all happen with almost no effort via an agent harness.
The same is true if you’re relying on clustered storage or RAID at all. You’d better periodically just fail over off a drive (and should do this rolling) instead of waiting for a drive to fail.
When I was at PagerDuty we regularly ran Failure Fridays (perhaps they still do). The goal was to identify a victim sub-system and start applying all sorts of failures to it - excessive latencies, dropped server connections, availability zone outages, etc. It was all done in a controlled manner, with the operations team sitting together with the service owners. The idea was that even if there is an impact to the customer, it's much better to catch it now and fix the underlying issue with many eyes on it, rather than a bleary-eyed on-call dealing with it in the middle of the night. This sort of exercise was very scary to get started with, and only minimally-impacting failures were introduced, but over time we got to the point where we were comfortable with simulating a full region outage.
That said, such investments in reliability made sense for PagerDuty. If a company can survive just fine with 2-3 nines of availability, it's a lot harder to make the business case for it.
Confident "yes"
And then I would put my finger on the tab to pull a drive.
If they didn't flinch I would pull the drive out.
There aren't "normal" and "recovery" reconfigurations, there's just recovery (with a few exceptions for planned maintenance).
This means: 1) simpler code, 2) you're constantly testing the recovery path, and 3) the recovery path is designed to be quick because it's constantly happening
Coupled with most companies rarely need uptime they claim they need. Most companies I've worked at, downtime rarely resulted in lost revenue.
With my own company I started doing zero downtime deployments (I run hot/hot over multiple AWS regions) literally from day one. Our rate of rollouts has been slower this year than last, with only about 1,500 so far.
Constant failover is a big win in my experience. Hard to retrofit, though.
The Devil is in the details, and because many tech solutions are a hodgepodge of open source, commercial and home grown components, the failover strategy also needs investment.
Convincing me to do more failover drills is not the hurdle needing overcome. Unlocking the budget to develop and exercise the protocols is the hard part.
Worked at company that did this. Didn't know why at the time, but seems like a really good idea.
Not an excuse. Run a parallel environment that isn’t customer-facing if you’re forced to so that you can drill. Either you’re going to disrupt your customers or an act of God will, and your customers won’t let you scapegoat God.
In my experience, the issue with this is simulating production in a meaningful way. Let’s say you have 10k mobile users, how can traffic approximate that well enough with network conditions, p99 user behavior.
It’s as good as possible but like parent points out, not necessarily worth it.