VMware Cloud Community
virtech
Expert
Expert

Cant Enable HA or VMotion

I have a strange strange issue when a couple of my ESXi servers were powered off for a few days, when I booted them back up I couldnt get FT working across a a couple of VM's or I coulnt even use Vmotion to migrate to another host.

I have rebuilt VC and both ESXi hosts, latest versions available. The error i keep getting is a general system error occurred: Failed to initalize migration at source. Error 0xbad00a4. Vmotion failed to start due to lack of CPU or memory resources. Also getting : No Compatible host has sufficnet resources to satisfy the reservation

This error makes no sense at all, there is plenty of spare capacity on both of my ESXi hosts.

0 Kudos
25 Replies
NTurnbull
Expert
Expert

Hi, when you say you've rebuilt VC and ther hosts, are there only 2 ESXi servers in this environment? Just trying to get a perspective here. Don't know if it'll help but I did have a weird one with HA on 3.5 (but didn't affect vMotion) recently. It seemed the HA config was corrupt and removing the hosts and recreating the cluster didn't fix it. I had to manually uninstall the two aam agents (the package with vcint in the name has to come off first) and then reconect the hosts which then re-installed the aam packages and directory structure and files which don't get removed when you just disable HA. Oh it's not one of those old ESXi HP dongles is it?



Thanks,

Neil

Thanks, Neil
0 Kudos
virtech
Expert
Expert

My problem is back ! Driving me nuts at the moment !.

Yes i only have two ESXi hosts, everything is running the latest versions. First problem was when I had a CPU reservation configured on my VM and wasn't able to migrate. Now I cant migrate anything from within the resource pools even though I have Enable reservation ticked.

If fact now ive deleted the resource pool and still cant even migrate. This has to be a bug surely ? Im trying to migrate to a host which inst evening being utilised using Use Available CPU resources. The host when the VM resides in using hardly any CPU , but memory is 75 % utilised. No dongle is being used.

Ok my problem is when I use Reserve CPU for optimal VMotion performance , it times out .....................

0 Kudos
AntonVZhbankov
Immortal
Immortal

What HA Runtime info show?


---

MCSA, MCTS Hyper-V, VCP 3/4, VMware vExpert '2009

http://blog.vadmin.ru

EMCCAe, HPE ASE, MCITP: SA+VA, VCP 3/4/5, VMware vExpert XO (14 stars)
VMUG Russia Leader
http://t.me/beerpanda
0 Kudos
virtech
Expert
Expert

See attached, but I have now removed all resource groups, I can vmotion but only Perform with available CPU resources.

I cant setup further FT VM's because its not able to migrate the secondary.

0 Kudos
JimKnopf99
Commander
Commander

Hi,

you know that you don´t have any slots available?

Maybe thats the problem.

Frank

If you find this information useful, please award points for "correct" or "helpful".
0 Kudos
JimKnopf99
Commander
Commander

Hi,

look at this paper.

http://www.vmware.com/pdf/vsphere4/r40/vsp_40_availability.pdf

Page 17

Frank

If you find this information useful, please award points for "correct" or "helpful".
0 Kudos
virtech
Expert
Expert

hmm I did see that and wonder, I have 19GHz of CPU and 32Gb of RAM, how can I only have 6 slots with that configuration in my entire cluster?

If its saying I've got 6 slots @ 256. MHz, 1 Virtual CPU, 2177 MB of RAM that's 1.5GHz CPU and 13062 RAM in total, less than half of my total capacity...

This cant be right, I've now powered down every VM expect for 3 !

0 Kudos
AntonVZhbankov
Immortal
Immortal

Here is detailed description what slot is: http://www.yellow-bricks.com/vmware-high-availability-deepdiv/

You need to lower your memory reservation or set slot size manually. 1 GB would be suitable for you I think.


---

MCSA, MCTS Hyper-V, VCP 3/4, VMware vExpert '2009

http://blog.vadmin.ru

EMCCAe, HPE ASE, MCITP: SA+VA, VCP 3/4/5, VMware vExpert XO (14 stars)
VMUG Russia Leader
http://t.me/beerpanda
0 Kudos
virtech
Expert
Expert

im not using any memory reservation what so ever, I cant see how the figures add up ! Only 6 slots between two hosts ?

0 Kudos
AntonVZhbankov
Immortal
Immortal

Double check all VMs. There should be reservation somewhere. Or do you have BIG VMs with multiple CPUs?


---

MCSA, MCTS Hyper-V, VCP 3/4, VMware vExpert '2009

http://blog.vadmin.ru

EMCCAe, HPE ASE, MCITP: SA+VA, VCP 3/4/5, VMware vExpert XO (14 stars)
VMUG Russia Leader
http://t.me/beerpanda
0 Kudos
JimKnopf99
Commander
Commander

You can check all your vm´s with only one powershell command.

get-vm

http://communities.vmware.com/community/vmtn/vsphere/automationtools/powercli?ei=9yHgS9yLEZahONTJ2cI...

Thats realy amazing.

Frank

If you find this information useful, please award points for "correct" or "helpful".
0 Kudos
virtech
Expert
Expert

ok I had one VM which had a memory reservation, I'll been through every VM now and I have 29 free slots. each VM has 1024 MB and one CPU.

I still cant migrate a VM using "Reserve CPU for optimal perf...................... when I use this option it tells me that " A general system error occurred: Migration failed copying data. Connection closed by remote host, possibly due to timeout."

When I use "Perform with available CPU resources" all is ok...........

0 Kudos
JimKnopf99
Commander
Commander

When you use the migration with "Reserve CPU for optimal perf, then VMware reservate cpu and memory on the destination host. When there isn´t enouth ressources available, migration fails.

The other option don´t do that. So Migration always succeed.

Frank

If you find this information useful, please award points for "correct" or "helpful".
0 Kudos
virtech
Expert
Expert

Forsure I know that Smiley Wink I dont have a resource problem, I have three VM's running!

Look at the attached jpg's , the error doesn't make sense at all.

0 Kudos
JimKnopf99
Commander
Commander

OK Smiley Happy

How many Hostfailures have you configured?

Maybe thats the reason why you have only a view slots available

Frank

If you find this information useful, please award points for "correct" or "helpful".
0 Kudos
virtech
Expert
Expert

admission control is disabled, this had been working fine but there is an under lying problem somewhere ?

0 Kudos
ikroumov
Contributor
Contributor

Hello Virtech,

I believe I can speak about this issue from some bad personal experience. Please follow the instructions below and you will be fine. You don't have to rebuild the hosts not even to reboot them.

1. On the management console (vCenter or vClient) highlight the host on the left side and select the configuration tab on the right side. That opens the host related configuration settings

2. In the right panel (the configuration tab) select "Advanced Settings" The last option

3. In the window that pops up (pic 1) select the "Migrate" option on the left

4. The veri first setting on the right side is Migrate.Enabled the setting's value is 1 by default.

5. Flip the value of that field from "1" to "0" and click OK. You DON'T NEED REBOOT !!!!

6. Wait few seconds and go to the same setting. At this time flip the setting from "0" to "1" and click OK

7. Repeat the steps above on the ssecond host(s) that participate in VMotion

8. Open a beer and enjoy

Sincerely

Ivaylo

0 Kudos
virtech
Expert
Expert

I will own my own brewery by the time I get this sorted, tried this and it hasnt made any difference.........................

0 Kudos
JimKnopf99
Commander
Commander

Hi,

sorry but i think you have to call VMware.

Smiley Sad

Frank

If you find this information useful, please award points for "correct" or "helpful".
0 Kudos