I have a vmware box, where there are multiple VM nodes running on it. Today I am trying to bring up all the VMs after an reboot.
1. One VM failed to be brought up, for this message "There are insufficient licenses to complete this operation", and if I was to downsize its CPU number to be 1, then it was able to be brought up.
2. But the funny thing is, at the same time, for the other vms on the same box, I can even increase the cpu number and have them brought up.
3. That failed one with multi-CPU had been running for months, before this rebooting.
Any clue what could be wrong ?
Thanks,
Jack
Which license do you use? Is it a fresh ESXi 6.7 host and have you installed a free license for ESXi 6.7 or has the host been upgraded from 6.0 or 6.5? Have you configured VMs with more than 8 vCPUs?
Hi there,
Thanks for the help. To your questions:
1. Currently we are still using a trial version license.
2. The system is of a fresh ESXi 6.7 installation, and not updated from the lower ones. this is the message I got if was to run uname on it :
" VMkernel ... 6.7.0 #1 SMP Release build-8169922 Apr 3 2018 14:48:22 x86_64 x86_64 x86_64 ESXi "
3. This vm was originally created with 16-CPU, and started without any problems. But today, if I was to downsize it to 2-CPU, I still got this failure.
Thanks,
Jack
Currently we are still using a trial version license.
You mean the evaluation period of 60 days? And you have never configured a license key?
So, if this is true, you need a free license key which can be downloaded from the VMware website. Without that the virtual machines can't be powered on after this 60-day period.
See here for more information on how to obtain the free license key:
https://www.virten.net/2018/05/free-esxi-6-7-how-to-download-and-get-license-keys/
Sorry, I have already done this, and that is the key I am using right now. A side question I have is, this free key does expire. Is there a way to generate a new one, when the old one is gone ?
The free license key has no expiration date.
Is a license key displayed under the menu item "License & Download" when you log in to the my.vmware.com portal? And is this displayed license key the same as the one used for your ESXi host?
The answer is "yes" to both questions. Thanks. -Jack
You can try to remove the license on the ESXi host and then assign it again.
You won't be able to change the VCPU count if the machine is running as the free license does not license the HA module.