Take the 2-minute tour ×
Server Fault is a question and answer site for system and network administrators. It's 100% free, no registration required.

I would like to create a fake server farm using virtual machines with Ubuntu server on them. I do not plan to use those as a real farm to host people websites etc.

I recently read about scalability, the ability to add new servers to your website without having to hassle too much with the code. I would like to learn more about this, just out of curiosity, plus I'm planning a website that might require such things.

I would like to understand clearly how load balancers work, how a MySql query or http request can be sent to any of hundreds of servers to avoid pressure on a single one.

Even though I own a Core i7, it's clear that as I approach to 4-5 virtual machines things will collapse, so just for fun :)

I know it will not be easy to find a "tutorial on how to build your own server farm". So I'm asking here. Which tools do I require? Where can I find appropriate documentation (please not the unix "man")? Any link that will explain things better?

Thanks in advance.

share|improve this question

closed as off topic by mgorven, RobM, EEAA, sysadmin1138 Jul 24 '12 at 21:31

Questions on Server Fault are expected to relate to server, networking, or related infrastructure administration within the scope defined by the community. Consider editing the question or leaving comments for improvement if you believe the question can be reworded to fit within the scope. Read more about reopening questions here.If this question can be reworded to fit the rules in the help center, please edit the question.

    
it's hard to write down all the info you need. search for some blogs. and at any time focus only one part of the picture. http and mysql are completely separate things, and the solutions for load balancing those are completely different. –  Karoly Horvath Jul 24 '12 at 20:53
    
This earned an OT close because of a few things 1) We don't do educational questions here (point 3 under NOT about in the faq). 2) This is 'in the home' (point 1). 3) isn't in "a professional capacity". –  sysadmin1138 Jul 24 '12 at 21:33
    
And just as a general comment to help you maybe better refine your search... how do you expect to learn anything meaningful about scalability by building a tiny cluster of VMs... that don't have enough resources to scale at all anyway? –  HopelessN00b Jul 24 '12 at 22:20

1 Answer 1

CPU is not a limiting factor for VMs. RAM is.

In your scenario look at OpenVZ. To start with. About load-balancing: look at LVS. If you are talking about application-server-load-balancing - get a proper tomcat training.

But what is your actual question?

share|improve this answer

Not the answer you're looking for? Browse other questions tagged or ask your own question.