To Balance Host Memory Overcommitmnet

Would need expert advice if we can automate balancing for Host memory overcommitmnet ?
As always we have to do manual vmotion for VM from Host showing memory overcommitmnet..
Can we configure balancing like if all host can move VM from Host if Host memory usage going above 90% and same if possible for CPU usage.
Tried with all DRS & HA mode But no success to get cpu and memory balanced.
LVL 1
patronAsked:
Who is Participating?
 
Andrew Hancock (VMware vExpert / EE MVE^2)VMware and Virtualization ConsultantCommented:
Make sure you have the same memory in all the hosts, otherwise you will not get all the memory used.

please see this Article written by the Masters of DRS

Help my DRS cluster is not load balancing!

Frank has written many books on VMware HA and VMware DRS... it would be worth adding them to your VMware Book Collection.

VMware vSphere 4.1 HA and DRS Technical deepdive (Volume 1)

By Duncan Epping and Frank Denneman

(http://www.yellow-bricks.com/vmware-high-availability-deepdiv/)

ISBN-10: 1456301446
ISBN-13: 978-1456301446

Written by Duncan Epping and Frank Denneman, both of whom are Consulting Architects at VMware and are perceived by the industry as Subject Matter experts on VMware High Availability and VMware Distributed Resource Scheduler.
This book zooms in on two key components of every VMware based infrastructure. It covers the basic steps needed to create a VMware HA and DRS cluster, and goes on to explain the concepts and mechanisms behind HA and DRS which will enable you to make well educated decisions. You will get the tools to understand and implement e.g. HA admission control policies, DRS resource pools and resource allocation settings and more.

On Amazon US

[Paperback]

http://www.amazon.com/gp/product/1456301446?ie=UTF8&tag=yellowbricks20&linkCode=as2&camp=1789&creative=9325&creativeASIN=1456301446

[ebook]

http://www.amazon.com/dp/B004V49JGW/ref=as_li_tf_til?tag=yellowbricks20&camp=0&creative=0&linkCode=as1&creativeASIN=B004V49JGW&adid=0ED4RKK85G6ZTGTH9ENP

on Amazon UK


[Paperback]

http://www.amazon.co.uk/Vmware-Vsphere-4-1-Technical-Deepdive/dp/1456301446/ref=sr_1_2ie=UTF8&s=books&qid=1305637596&sr=8-2


[ebook]

http://www.amazon.co.uk/VMware-vSphere-4-1-technical-deepdive/dp/B004V49JGW/ref=sr_1_1?ie=UTF8&s=digitaltext&qid=1305637596&sr=8-1

Available in Europe from

http://www.comcol.nl/detail/73133.htm



Your resources are balanced and being delivered to your VMs.
0
 
Andrew Hancock (VMware vExpert / EE MVE^2)VMware and Virtualization ConsultantCommented:
DRS is the solution. This will distribute the VMs across your cluster based on ensuring resources are given to the VMs, that require them.

Are you hosts actually suffering from performance issues ?
0
 
patronAuthor Commented:
yes it is.
0
Ultimate Tool Kit for Technology Solution Provider

Broken down into practical pointers and step-by-step instructions, the IT Service Excellence Tool Kit delivers expert advice for technology solution providers. Get your free copy now.

 
Andrew Hancock (VMware vExpert / EE MVE^2)VMware and Virtualization ConsultantCommented:
Is your Cluster Balanced ?

Are your VMs receiving their CPU and Memory entitlement ?
0
 
patronAuthor Commented:
have shared the snap for ref. in another question...

http://www.experts-exchange.com/Software/Virtualization/Q_28657577.html#a40747940

So would need this to be rectified..as always getting this Host memory overcommitment

Out of 15 Host in Cluster ,14 Host have X RAM and Y CPU

while 15th Have 3x RAM and Y Memory. Rest all config is same on all 15 host in cluster
0
 
Andrew Hancock (VMware vExpert / EE MVE^2)VMware and Virtualization ConsultantCommented:
from the information you have provided, the VMs on your Cluster are receiving their entitlement of CPU and Memory resources which is what DRS is supposed to do, it's much better than the example I gave you.

I do not see what your issue is, I do not believe you have an issue, other than wanting to ensure, you have equal resources spread across all your hosts. (which I've explain DRS is not a load balancer).
0
 
patronAuthor Commented:
ok,Thanks Andrew.my only concern is ..like daily I am getting this memory overcommitment for all the host in cluster
0
 
Andrew Hancock (VMware vExpert / EE MVE^2)VMware and Virtualization ConsultantCommented:
so, what is the % used in the hosts of memory ?
0
 
patronAuthor Commented:
most of the hosts are above 97-99 % ..which is always same.

 and would appriciate if you please share  any KB article to get more clarity if DRS is not a load balancer in any case

Resource distribution is not a load balancing ?
0
 
Andrew Hancock (VMware vExpert / EE MVE^2)VMware and Virtualization ConsultantCommented:
If ALL your hosts are at 97-99% what do you think that is telling you ?

where can DRS move the VM ?

You need more memory in your hosts, or more hosts!

see this article

Best config, is equal memory between all hosts.

If you Run DRS manually, does it migrate any VMs ?

DRS is not a load balancer, it's designed to ensure that a VM gets the resources it requires, if it cannot get it on the current host it gets moved!

see this article

http://frankdenneman.nl/2014/03/18/help-drs-cluster-load-balancing/
0
 
patronAuthor Commented:
Agreed,but here we have one odd host with triple ram of other same config host in cluster..so will this impcat badly my cluster ?

or if any best config we can set..to get everything balanaced ?

as daily getting host memory overcommitment.
0
 
Andrew Hancock (VMware vExpert / EE MVE^2)VMware and Virtualization ConsultantCommented:
Yes, because ALL Hosts should be equal.
0
 
patronAuthor Commented:
ok. so what is wrong and could be impact..as now i have diffrenet config ? on one host in cluster ?

 and pls share best prectcie doc to get this resolved,or if any more config required in vmware cluster ?
 doc to share if drs is not load balancer..what should be used to get my cluster resources balanced ?
0
 
patronAuthor Commented:
Thanks a lot
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.