The best thing about a website is it’s on 24/7. That means you can make money in your sleep, in the shower, when you are on vacation, etc. It’s extremely awesome. But it also means it’s on 24/7. That means your site can fail at any time for any number of reasons, leaving you permanently on edge, waiting for that dreaded text message alert saying your site is down. Such is the life of a webmaster.
One of my servers’ network cards decided it had had enough of this life and promptly died, leaving me scratching my head as to why my site went down. I mean who would think the network card would fail right? I spent an hour trying to figure out what the hell was wrong, why can’t I connect to this server!?!?!! Then eventually I noticed the little green light next to the network card was blinking. I am not sure what that means other than it ain’t working, so I switched to the secondary network card and viola, fixed.
I had bought a couple of new servers and was configuring them this week, and wouldn’t you know it, one of them has already had a hardware failure. What the hell, 2 failures in one week? I hadn’t had a hardware failure in the previous 7 years, so suffice it to say I am a bit paranoid at the moment. My plan is to make sure for every process I have at least 2 servers that can handle the job, so if one fails I will be able to move the process to another server. As soon as this new server actually works I might be able to implement this plan. Yeah I know it’s probably not the ideal way to set up redundancy, but it should work pretty well. Networks and servers are not my strong suit, plus my cabinet is a bit cramped and I am not going to be moving it to a new rack any time soon (what a pain that would be, I shudder to think about it..), so no super fancy load balancing or replication for me right now. I just figure that would be one more thing that could fail anyway.
Do you hate servers as much as me? Someday they will just work, everything will have 10 backups built in, nothing will ever fail. Ahh, that would be the life. I eagerly await that day.