Slashdot Mirror


Simple HA/HP clustering Using Only DNS

holviala writes "I cooked up a way to achieve high-availability and high-performance clustering using nothing but a few strangely configured dns zones. In case someone else is interested in an extremely easy clustering solution, I wrote a document about it. It's a bit technical, but the included examples should make it clear for anyone who's used to configuring dns. And yes, the linked site is clustered too, so... ummm... no need to be gentle :-)."

3 of 26 comments (clear)

  1. well, not really HA, is it? by passthecrackpipe · · Score: 4, Interesting

    This only guarantees DNS HA, since it will not test for apache being alive, or any other service being alive. More of a round robin type of setup, with automatic drop of dead addresses. Although it is a nice DNS experiment, I would never use this for HA, as there are better, and - critically - more reliable ways of doing HA, and some of those are pretty affordable.

    Face it, you do HA if your business depends on it, and would you really want to rely on a DNS hack in that case?

    Having said that - Cool Hack Dude!

    --
    People who think they know everything are a great annoyance to those of us who do.
    1. Re:well, not really HA, is it? by holviala · · Score: 3, Interesting
      This only guarantees DNS HA, since it will not test for apache being alive, or any other service being alive.

      True, which is why I called it "simple". But with this setup you only need to monitor local processes and services, and if those die only shut down the nameserver. No need for complicated setups where you need to decide if it was the application of the network that died.

      Face it, you do HA if your business depends on it, and would you really want to rely on a DNS hack in that case?

      My business, yes, I'd rely on this. I do "offical" HA for living for customers who don't like hacks like this. But that's something I'd personally never use, not even if I'd own a million billion zillion dollar company.

      Then again, I suffer from the Not Invented Here -syndrome. Guess I'd make a bad leader: "You'll use my DNS hack or you're fired!" :-)

  2. DNS caching? by Anonymous Coward · · Score: 2, Interesting

    What about client programs that cache DNS lookups (I think some web browsers do this)? I'd hardly call something HA if I have to do something clientside to flush any cached lookups.