Server Infrastructure Updates

About a week ago I started seeing some intermittent issues with my primary webserver, hosting most of my personal/professional sites, along with a few of my long standing clients websites and decided it was time to rethink my infrastructure scheme. I sat down and gave some thought as to what I wanted, needed and expected.

My shortlist of wants/needs:

  • Load Balanced / Automatic Failover
  • Entirely Open Source
  • Scalable for future growth
  • MySQL Master-Master Replication
  • Easy to maintain.

So I drew up a quick flowchart first by hand (during my lunch break at work):hand drawn network diagram

Once I had everything working the way I liked I drew it up again on the computer to give a clearer illustration of what was done:Diagram of overview for current server infrastucture.

Sounds easy right? And in the end it was much easier than I had expected. I'll break the topics here up into individual articles to  make things easier to read.

  1. The Servers
  2. File System Sync
  3. Database replication
  4. Load Balancing
  5. Failover Considerations
  6. Monitoring and maintenance