If you want failover to work well, use it often

(bencane.com)

27 points | by madflojo 49 minutes ago

5 comments

  • trollbridge 7 minutes ago
    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.

  • pizzafeelsright 0 minutes ago
    One of my favorite was "Do you trust your RAID?'

    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.

  • UltraSane 6 minutes ago
    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.
  • quisquous 3 minutes ago
  • stackskipton 13 minutes ago
    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.