VMware Cloud Community
haripadmam
Hot Shot
Hot Shot
Jump to solution

DRS Load Balancing

Hi Folks,

Based on few blogs now I understand DRS now does the load balancing based on the active memory being used on individual ESXi cluster nodes. Yesterday we migrated VM to one ESXi node which pushed the consumed memory to 99% but DRS never seems to bothered. I assumed justification as the active memory usage for only 11GB of 160GB.

But my query is that what happens when I migrate more VMs to the hosts which is already showing alarm for 99% of memory consumption? If DRS considered only active utilization then why it throws alarms based on consumption creating panic with customer?

Please let me to understand the same.

Thank you!

Best Regards,

Hari.

1 Solution

Accepted Solutions
vThinkBeyondVM
VMware Employee
VMware Employee
Jump to solution

Hi Hari,

Good point.

DRS behavior can be changed to consider consumed memory as well. From 5.5 U2c and above, DRS does consider consumed memory as well. How much it considers is specified in below KBs.

Refer: https://kb.vmware.com/selfservice/microsites/search.do?language=en_US&cmd=displayKC&externalId=20598...

There is one more KB linked into above KB. Please have look into that as well.

As per me, alarm is bit generic, it works even without DRS. It seems, alarm is designed a way that it is not aware that host is part of DRS enabled cluster. DRS comes with enterprise license and alarm will work with basic licenses as well.

are you suggesting that Alarm should be aware of the hosts those are part of DRS enabled cluster and only raise alarm as per the memory metric configured on DRS?


----------------------------------------------------------------
Thanks & Regards
Vikas, VCP70, MCTS on AD, SCJP6.0, VCF, vSphere with Tanzu specialist.
https://vThinkBeyondVM.com/about
-----------------------------------------------------------------
Disclaimer: Any views or opinions expressed here are strictly my own. I am solely responsible for all content published here. Content published here is not read, reviewed or approved in advance by VMware and does not necessarily represent or reflect the views or opinions of VMware.

View solution in original post

3 Replies
vThinkBeyondVM
VMware Employee
VMware Employee
Jump to solution

Hi Hari,

Good point.

DRS behavior can be changed to consider consumed memory as well. From 5.5 U2c and above, DRS does consider consumed memory as well. How much it considers is specified in below KBs.

Refer: https://kb.vmware.com/selfservice/microsites/search.do?language=en_US&cmd=displayKC&externalId=20598...

There is one more KB linked into above KB. Please have look into that as well.

As per me, alarm is bit generic, it works even without DRS. It seems, alarm is designed a way that it is not aware that host is part of DRS enabled cluster. DRS comes with enterprise license and alarm will work with basic licenses as well.

are you suggesting that Alarm should be aware of the hosts those are part of DRS enabled cluster and only raise alarm as per the memory metric configured on DRS?


----------------------------------------------------------------
Thanks & Regards
Vikas, VCP70, MCTS on AD, SCJP6.0, VCF, vSphere with Tanzu specialist.
https://vThinkBeyondVM.com/about
-----------------------------------------------------------------
Disclaimer: Any views or opinions expressed here are strictly my own. I am solely responsible for all content published here. Content published here is not read, reviewed or approved in advance by VMware and does not necessarily represent or reflect the views or opinions of VMware.

haripadmam
Hot Shot
Hot Shot
Jump to solution

Hi Vicky, sorry for the delay in response.

May be additional alarm settings should be enabled to observe DRS memory metrics if considering consumed memory is not worthy.

My actual problem is that customer can't understand much on this. They keep questioning DRS not migrating VMs off host when alarm showing 90%+ utilization where active usage is less than 20% as per DRS. They all hate 'red' color!

Thank you!

Hari.

Reply
0 Kudos
vThinkBeyondVM
VMware Employee
VMware Employee
Jump to solution

All right Hari. I will check if something is already there to watch the active memory rather consumed memory. I will take this forward to engineering team as well. Will update this thread if I get any response.


----------------------------------------------------------------
Thanks & Regards
Vikas, VCP70, MCTS on AD, SCJP6.0, VCF, vSphere with Tanzu specialist.
https://vThinkBeyondVM.com/about
-----------------------------------------------------------------
Disclaimer: Any views or opinions expressed here are strictly my own. I am solely responsible for all content published here. Content published here is not read, reviewed or approved in advance by VMware and does not necessarily represent or reflect the views or opinions of VMware.