204 points madflojo 4 hours ago 50 comments
stackskipton 4 hours ago | parent
Coupled with most companies rarely need uptime they claim they need. Most companies I've worked at, downtime rarely resulted in lost revenue.
mlhpdx 3 hours ago | parent
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.
trollbridge 4 hours ago | parent
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.
j45 3 hours ago | parent
bonoboTP 2 hours ago | parent
dapperdrake 1 hour ago | parent
toast0 2 hours ago | parent
There have been firmware issues across multiple manufacturers where a lifetime counter rolled over and made the drive inaccessible ... if you knew in advance, you could pull those out of service before they failed, but how would you know.
For personal drives, I try to buy one at a time or at least bring them up a few weeks apart. For work drives, sometimes you just end up with a huge batch of servers coming online at the same time. Hopefully backups go to different systems.
trollbridge 2 hours ago | parent
I generally run RAID-1C3 plus a hot spare (periodically take it to C4, and then back to C3 to rotate what the hot spare is), with a cold spare on the shelf. With CephFS it’s a bit different but basically the same idea.
throwaway270925 30 minutes ago | parent
Use (soft)RAID, have hot spares, done.
Lemon drives usually fail within the first weeks, good drives keep running for years long after their 5th birthday.
rskeens 33 minutes ago | parent
Nothing filled blindspots in staff documentation more than those findings.
sandeepkd 11 minutes ago | parent
I miss it though. Somewhere down the line the expectation bar has gone down in a circular fashion
quisquous 4 hours ago | parent
pizzafeelsright 4 hours ago | parent
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.
theokrueger 3 hours ago | parent
al_borland 1 hour ago | parent
Some nights I would pull dozens of drives. I guess we had a lot of trust in the RAID.
esikich 14 minutes ago | parent
tonymet 3 hours ago | parent
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.
simonw 3 hours ago | parent
solatic 3 hours ago | parent
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.
thakoppno 3 hours ago | parent
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.
computerdork 3 hours ago | parent
Worked at company that did this. Didn't know why at the time, but seems like a really good idea.
j45 2 hours ago | parent
With software and solutions, until that exists, there is no failover. Whether it's how a cloud is used, or self-hosting on resources works, or a hybrid.
Disaster planning and other risks are things accounting departments can usually get behind to test and test often. The cloud can seem alluring to pay instead but it doesn't always work out.
XorNot 1 hour ago | parent
What works with say, 10,000 files might still work 10,000,000 but on no timeframe anyone can tolerate.
torvald 3 hours ago | parent
dangoodmanUT 3 hours ago | parent
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
starcommander 3 hours ago | parent
romanhn 3 hours ago | parent
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.
mock-possum 2 hours ago | parent
k3vinw 3 hours ago | parent
j45 3 hours ago | parent
plandis 2 hours ago | parent
bonoboTP 2 hours ago | parent
There is such a thing as overkill and using a sledgehammer to crack a nut. It's like when everyone wanted to introduce Kubernetes because Google uses it. Chaos monkey etc are great ideas but diving super deep into this with a prepper's paranoia for all kinds of dreamed up contingencies can be a form of procrastination, unless a business case can be clearly articulated.
The_Blade 2 hours ago | parent
intrasight 2 hours ago | parent
Blackarea 2 hours ago | parent
allthetime 2 hours ago | parent
Blackarea 1 hour ago | parent
allthetime 1 hour ago | parent
Of course management is often prone to over doing this, and managing engineers are prone to over building.
This is more a general business & people problem that applies to all areas though
godisdad 1 hour ago | parent
If you choose to acknowledge the risk you can price the risk or not price the risk.
If you choose to price the risk you can fund the risk.
If you fund the risk you are managing the risk.
I know people who drive around without car insurance, other people who don’t have life insurance. There are also people who are over insured at the other end of the spectrum.
It depends on what you’ve promised people giving you money and what you’re going for.
jiggawatts 2 hours ago | parent
All of my deployments are zone redundant and all sites are always serving live traffic. Databases write in only one zone but read-only workloads are steered to the replicas at the other zones.
This leads to hilarious audit workshop conversions.
“How often is the secondary site tested?”
“All the time.”
“What does that mean? Monthly?”
“Continuously.”
“Daily?”
“No, it’s tested all the time, moment to moment, request by request. All day, every day.
“Ooookaay… I’ll put down ‘daily’ on the form.”
hibikir 28 minutes ago | parent
arend321 1 hour ago | parent
sovrius 52 minutes ago | parent
stroebs 20 minutes ago | parent
A few years ago it took 8 hours and 10-15 engineers to release software (Oracle DB-backed, running migrations + deployments done on inactive nodes first). That’s down to 1-2 minutes and a single engineer now, and pushing for on-demand releases. Not too bad for a company founded in the nineties.
green-salt 18 minutes ago | parent
andrewguy9 8 minutes ago | parent