Load Balancing within Hyper-V guest machines on single node.

Hi we have a Dell PE R610 server win2k8 R2 datacenter and Dell MD3000i iScsi storage.  The VM has multiple instances for Hyper-V (win2k8 std R2) running our web apps. Is there way to create load balancing amongst the web servers.  and if so what are the steps, recommendations and warnings.

Thanks
R007jAsked:
Who is Participating?
 
kevinhsiehCommented:
I use Windows Network Load Balancing for Windows 2008 R2 VMs running under Hyper-V 2008 R2. I setup my VMs for two NICs and unicast method. I feel that it's better than DNS round robin because that has no knowledge of a server being offline, whereas NLB handles that well.

Network Load Balancing Deployment Guide
http://technet.microsoft.com/en-us/library/cc754833(WS.10).aspx

You will need to enable the VM to spoof MAC addresses
http://sbcengine.blogspot.com/2009/10/windows-nlb-on-hyper-v-r2.html

I have my NLB cluster for HA, not necessarily scaling out, but you can still use NLB to scale out on a single host.
0
 
Svet PaperovIT ManagerCommented:
I am curios what is the point of load balancing on a single physical server? However, you could do it using DNS round robin.
0
 
R007jAuthor Commented:
the point is to make HA in the interim.  we have a budget freeze until late october.  so need to make the best with what we have. hence the thought in that direction.  we understand the as far as the physical hardware is concern its a single point of failure.  for future what would be the best way to acheive this.  I am totally new to the load balancing and Hyper-V.
if you can point me in the right direction to get some info on DNS round robin setup, that would be great.

Thanks
0
Get your problem seen by more experts

Be seen. Boost your question’s priority for more expert views and faster solutions

 
Svet PaperovIT ManagerCommented:
Basically, DNS round robin is pretty easy to setup and it is nothing to do with Hyper-V. Here is some information about it: http://technet.microsoft.com/en-us/library/cc787484%28WS.10%29.aspx 

My point was that normally we do load balancing between two hardware hosts not virtual machines.
0
 
R007jAuthor Commented:
Thanks for the link will take a look. what are the pros and cons of LB between Virtual Machines.  can it be done at all ?

0
 
Svet PaperovIT ManagerCommented:
Yes, can be done, just doesn't make sense unless the 4 virtual processors assigned to the VM are not enough for the application, which will be really a very saturated VM. But in such a case you just don’t use virtual machines. When you do load balancing of virtual machines on one host the load actually stays on the same physical server; even worse, you add additional load of multiple OS.  

So, if you need more that 4 processors to run the same application and you could split the load, yes you can do that by load balancing 2 or more VMs which will give you the total number of 8 or more virtual processors. If you have multiple web applications, you could load each application on its own web server and you will achieve load balancing in that way. Basically, the idea of virtual machines is to keep no more than one role/application per server (VM).
0
Question has a verified solution.

Are you are experiencing a similar issue? Get a personalized answer when you ask a related question.

Have a better answer? Share it in a comment.

All Courses

From novice to tech pro — start learning today.