Results 1 to 8 of 8

Thread: Servers Going Down

  1. #1
    Senior Member
    Join Date
    Aug 2001
    Posts
    356

    Servers Going Down

    I have a web server I host a few sites on. Today something happened... Not sure what, I think the power supply died. Well the web server went down. Since the server is down, the sites that were on there can't be reached.

    Now of course I have all the sites backed up on another machine on the network. I can get IIS up on another machine, and set that machine up to use the IP Address that the web server was using. Then setup IIS to serve the web sites.... But all that is a pain in the ass, not to mention I have to be physically in the office to set that up, or use PCAnywhere to get on the machine.

    My question is: Is there anyway that if a web server goes down, another server can automatically pick up where it left off? It would have been real convenient that when this power supply died, another server served the sites automatically while we fix up that machine. Any ideas, suggestions, theories that would help avoid this dilema in the future?

    Thanks in advance.

    Jared
    An Ounce of Prevention is Worth a Pound of Cure...
     

  2. #2
    Senior Member roswell1329's Avatar
    Join Date
    Jan 2002
    Posts
    670
    Sure, you could be running monitoring scripts on a separate monitoring server that ping the web server every 5 minutes or so. If the web server doesn't answer a ping for say 30 minutes, the script could automatically modify the DNS tables to route traffic to the new server. The major problems with that is that any DNS modifications take time to propagate, and if you're not in control of the DNS server, you can't make the changes. Hmm....

    There's gotta be another way that's easier than that. Lemmie ponder for awhile. I'll try to come up with some other solution.
    /* You are not expected to understand this. */

  3. #3
    Senior Member
    Join Date
    Aug 2001
    Posts
    356
    roswell1329, thanks for the suggestion... I do have control over the DNS server. I cannot program though, so writing that type of script would be kinda tricky for me.

    I'm thinking the same thing, there has to be an easier way.

    It figures... I make sure to get battery backups, I make sure to setup a file backup for twice a week, and the power supply goes on me when I'm not at the office.... Doesn't go out on the secondary DNS machine... It goes out on the one web server. Ha... Damn Murphy's law!
    An Ounce of Prevention is Worth a Pound of Cure...
     

  4. #4
    Senior Member
    Join Date
    Aug 2001
    Posts
    356
    I'm surprised that no one else has responded to this...

    Is there no way to ensure that web sites stay up when disaster strikes?
    An Ounce of Prevention is Worth a Pound of Cure...
     

  5. #5
    Senior Member roswell1329's Avatar
    Join Date
    Jan 2002
    Posts
    670
    I think most people who have a critical web server are likely to have a backup machine ready to go with the same configs as the primary. Using that method, all you would have to do is change the IP number of the secondary system to the primary IP and voila! This process would likely require some human intervention, though. You can be alerted of these failures, though with the monitoring scripts that I mentioned before. You don't have to have the scripts change anything themselves, just alert you of the problem. There are several monitoring packages out there that do exactly that. You don't have to program at all. The best one I've seen so far is Big Brother, and it's released under a fairly relaxed license. Hope this helps some. Other than switching IP's, I couldn't really come up with an automatic way of the redundancy you're looking for.
    /* You are not expected to understand this. */

  6. #6
    Leftie Linux Lover the_JinX's Avatar
    Join Date
    Nov 2001
    Location
    Beverwijk Netherlands
    Posts
    2,534
    I would go for a cron job powered bash script

    but hey, I'm a script-adult..

    Find someone to program a small thingy like rosswell adviced.
    ASCII stupid question, get a stupid ANSI.
    When in Russia, pet a PETSCII.

    Get your ass over to SLAYRadio the best station for C64 Remixes !

  7. #7
    Shadow Programmer mmelby's Avatar
    Join Date
    Jul 2002
    Location
    Ft. Myers, FL
    Posts
    291
    If you have money you can set up a server cluster that way there would be no downtime at all.

    Another method would be to use a CISCO Local Director. I am using one of these for a critical web app and it works great. I have two identical web servers running behind the Local Director and if one fails the other one is used with no interuption to the user and no lag time for DNS changes.
    Work... Some days it's just not worth chewing through the restraints...

  8. #8
    Senior Member roswell1329's Avatar
    Join Date
    Jan 2002
    Posts
    670
    Originally posted here by mmelby
    If you have money you can set up a server cluster that way there would be no downtime at all.

    Another method would be to use a CISCO Local Director. I am using one of these for a critical web app and it works great. I have two identical web servers running behind the Local Director and if one fails the other one is used with no interuption to the user and no lag time for DNS changes.
    There it is, the official "Easier way than that". Thanks mmelby!
    /* You are not expected to understand this. */

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •