• Status: Solved
  • Priority: Medium
  • Security: Public
  • Views: 875
  • Last Modified:

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
0
R007j
Asked:
R007j
  • 3
  • 2
1 Solution
 
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
 
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
Microsoft Certification Exam 74-409

Veeam® is happy to provide the Microsoft community with a study guide prepared by MVP and MCT, Orin Thomas. This guide will take you through each of the exam objectives, helping you to prepare for and pass the examination.

 
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
 
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

Featured Post

Free Tool: Subnet Calculator

The subnet calculator helps you design networks by taking an IP address and network mask and returning information such as network, broadcast address, and host range.

One of a set of tools we're offering as a way of saying thank you for being a part of the community.

  • 3
  • 2
Tackle projects and never again get stuck behind a technical roadblock.
Join Now