I have written a load balancer algorithm for distributing the requests to different VMs. The load balancer what i have written is in Layer 7 in a VM that collects the requests.
If my other VMs have to share the physical resources, the load balancer in the hypervisor has to manage the VMs.
Thank You for your responses