Skip navigation
VMware
1,627 Views 10 Replies Last post: Apr 28, 2008 11:06 AM by steven_catania RSS
ian4563 Enthusiast 73 posts since
Jan 10, 2007
Currently Being Moderated

Dec 18, 2007 3:24 PM

VC 2.5 HA bug?

I just noticed that after upgrading to VC 2.5, on both of my clusters (one ESX 3.5, the other 3.02) in the summary screen under HA the "Current Failover Capacity" shows zero.  Before the upgrade one cluster showed 4 and the other 2, so I know there's capacity.  I have completely disabled then re-enabled HA on both clusters and still no luck.  Anyone else seeing this?

eziskind Expert VMware Employees 458 posts since
Feb 21, 2006
Currently Being Moderated
1. Dec 18, 2007 3:56 PM in response to: ian4563
Re: VC 2.5 HA bug?

 

A few questions for you:

 

 

Are there any HA errors on any of the hosts in the cluster?

 

 

Is DRS enabled on this cluster?

 

 

What is the maximum cpu and memory reservation among all powered on vms in the cluster?

 

 

Do you have both 1-cpu and 2-cpu vms in the cluster?

 

 

PatruMau Enthusiast 14 posts since
Dec 18, 2007
Currently Being Moderated
2. Dec 18, 2007 4:23 PM in response to: ian4563
Re: VC 2.5 HA bug?

Same problem here.

 

I have a 4 hosts cluster (DL380 G5 with 16Gb of ram and 2 quadcore cpu). Ram is 40% free on any host...

Prior the VC upgrade, I was able to power on all my VMs without allow HA constraint violations, ... after the upgrade, to power on the same number of VMs (with the same resources) I must allow constraint violations, and "Current Failover Capacity" show 0

 

 

- No HA error on any host

- No CPU or RAM reservations

- DRS is enabled

- 1-cpu and 2-cpu VMs

Byron_Zhao Enthusiast 131 posts since
Nov 7, 2006
Currently Being Moderated
4. Dec 18, 2007 6:09 PM in response to: ian4563
Re: VC 2.5 HA bug?

 

Not sure how HA algorithem works, but if you set it to "allow constraint violations", HA will work regardless.

 

 

It happens in my 3.0.1 environment, but I did see it worked.

 

 

eziskind Expert VMware Employees 458 posts since
Feb 21, 2006
Currently Being Moderated
5. Dec 18, 2007 6:25 PM in response to: ian4563
Re: VC 2.5 HA bug?

 

The HA admission control algorithm has got somewhat more conservative in VC2.5 to cover some corner cases. One case where it can be overly conservative is where you have both 1-cpu and 2-cpu vms (in general, vms with mixed number of virtual cpus).

 

 

I can verify if this is the problem if you can get some extra logging:

 

 

Make sure  HA admission control is enabled (to not allow constraint violations).

 

 

Enable verbose logging on the VirtualCenter server (Administration->"VirtualCenter Management Server Configuration..."->"Logging Options").

 

 

Try power on a vm (this should fail).

 

 

Check the vpxd.log file (C:\Documents and Settings\All Users\Application Data\VMware\VMware VirtualCenter\Logs) for a line like this: "[VpxdDas] Slot info". Post the 5 lines that follow this one.

 

 

eziskind Expert VMware Employees 458 posts since
Feb 21, 2006
Currently Being Moderated
7. Dec 18, 2007 10:24 PM in response to: ian4563
Re: VC 2.5 HA bug?

Looks like you have some 4-cpu vms in the clusters too. That will really skew things. You're being hit by the combination of 2 new things in the HA admission control for VC 2.5:

 

1) If no reservation is set for a vm (or it is set to 0), use default of 256MHz, 256MB. (these values can be changed using HA advanced options: das.vmMemoryMinMB, das.vmCpuMinMHz)

 

 

 

2) For the cpu component of the slot, use (max MHz per virtual cpu) * (max number of vcpu's per vm)

 

 

 

The HA admission control algorithm is overly conservative in non-homogenous clusters, ie. ones with vms which have different reservations and/or vcpu number. #2 above makes it more conservative. Given these limitations, its best to try to keep the cluster as homogenous as possible. Is it possible to put the 4-cpu vms in a separate cluster? If not, you can try setting the default vm  resources to 0 (using the advanced options in #1). This is how things worked in  VC 2.0.

nsusa Novice 31 posts since
Dec 2, 2005
Currently Being Moderated
9. Jan 18, 2008 9:41 AM in response to: eziskind
Re: VC 2.5 HA bug?

 

Is there better documentation somewhere that explains this? The current documentation is a little weak in that regards and not everyone has the luxury available of having 'clean' clusters or to downgrade a machine.

 

 

Thanks.

 

 

CP

 

 

steven_catania Enthusiast 37 posts since
Oct 3, 2006
Currently Being Moderated
10. Apr 28, 2008 11:06 AM in response to: nsusa
Re: VC 2.5 HA bug?

 

Gentlemen,

 

 

Thanks for all the info n this thread, we were experiencing the same issues.  We had one VM with 4 CPU in a Farm of 1 and 2 CPU VMs.  Once we moved the 4 CPU VM back to 2 CPU the Farm showed many servers avail for failover.

 

 

Steve

 

 

Bookmarked By (0)

Share This Page

Communities