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
patronTechnical consultant Asked:
Who is Participating?

[Product update] Infrastructure Analysis Tool is now available with Business Accounts.Learn More

x
I wear a lot of hats...

"The solutions and answers provided on Experts Exchange have been extremely helpful to me over the last few years. I wear a lot of hats - Developer, Database Administrator, Help Desk, etc., so I know a lot of things but not a lot about one thing. Experts Exchange gives me answers from people who do know a lot about one thing, in a easy to use platform." -Todd S.

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
patronTechnical consultant Author Commented:
yes it is.
0
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
Determine the Perfect Price for Your IT Services

Do you wonder if your IT business is truly profitable or if you should raise your prices? Learn how to calculate your overhead burden with our free interactive tool and use it to determine the right price for your IT services. Download your free eBook now!

patronTechnical consultant Author 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
patronTechnical consultant Author 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
patronTechnical consultant Author 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
patronTechnical consultant Author 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
patronTechnical consultant Author 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
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

Experts Exchange Solution brought to you by

Your issues matter to us.

Facing a tech roadblock? Get the help and guidance you need from experienced professionals who care. Ask your question anytime, anywhere, with no hassle.

Start your 7-day free trial
patronTechnical consultant Author Commented:
Thanks a lot
0
It's more than this solution.Get answers and train to solve all your tech problems - anytime, anywhere.Try it for free Edge Out The Competitionfor your dream job with proven skills and certifications.Get started today Stand Outas the employee with proven skills.Start learning today for free Move Your Career Forwardwith certification training in the latest technologies.Start your trial today
VMware

From novice to tech pro — start learning today.