RSS LinkedIn Twitter

Archive for the ‘HTTP Servers’ Category

I’ll start off by going over the basic high level architecture for my self registration procedure: There is a register.php script residing on the load balancer, accessible via HTTP. There is a deregister.php script residing on the load balancer, accessible via HTTP. There is a register_with_lb.pl script residing on the web server, in /usr/local/bin/. There […]

Thursday, February 4th, 2010 at 16:25 0 comments

I think I have to break the self-registration into two posts, it took a lot longer than I expected last night. This post deals with getting scripts to run at startup and shutdown on Linux. I did this on Fedora, I imagine the process would be similar on Ubuntu, etc. This is actually the last […]

Thursday, February 4th, 2010 at 15:18 0 comments

Load balancers are great, but they become even more powerful when servers have the ability to self-register when they come online, and deregister when they go offline. This is especially true with services such as EC2, when the size of the server group might grow or shrink in response to need. This is a tutorial […]

Wednesday, February 3rd, 2010 at 14:39 1 comment

Just this afternoon, one of my colleagues and I were discussing our feelings about the “semicolon-class” of bugs that developers will inevitably spin their wheels on from time to time. I’ve had just such an experience the past two evenings with what started out as a simple recipe from the Apache Cookbook, entitled “Load Balancing […]

Tuesday, February 2nd, 2010 at 22:09 14 comments

I created some barebones Fedora servers that I’m intending to create a load balanced cluster from using Apache’s mod_proxy_balancer. My topology will eventually look like this: load_balancer -> (ws1, ws2, ws3) -> mysql_server As you can see, it’s nothing fancy. To test the balancer, each web server has a PHP script that connects to the […]

Tuesday, February 2nd, 2010 at 11:34 18 comments

I was expecting to learn a little about Native American cuisine when I ordered Apache Cookbook, 2nd ed., by Ken Coar and Rich Bowen.  I was disappointed in that respect, but I still found ample material to digest… On a more serious note, I enjoyed reading this book and I learn a lot of new […]

Wednesday, January 27th, 2010 at 15:37 0 comments

My ColdFusion VPS runs IIS 6.0 on Windows Server 2003.  I wanted to run Apache 2.2 on this server as well, and bind it to the IP address that IIS 6.0 wasn’t using.  I opened the IIS management console to force IIS to listen on a single IP address, but when trying to start Apache […]

Wednesday, January 27th, 2010 at 14:38 0 comments