- Connect Virtually - Wear Mask, Stay Home, Stay safe
- VMWare, PowerCLI, DevOps, Kubernetes
- Microsoft Azure, PowerShell, Ansible, Terraform
#header_text h1#site_heading a, #header_text h1#site_heading{ } @media (min-width: 650px) { #header_text h1#site_heading a, #header_text h1#site_heading{ } } Virtual Geek
#header_text h2#site_subheading a, #header_text h2#site_subheading{ } @media (min-width: 650px) { #header_text h2#site_subheading a, #header_text h2#site_subheading{ } } tales from real it system administrators world and non-production environment.
Solved Esxi host disconnected evaluation license expired
In my vmware vSphere homelab, I found my Esxi hosts were showing disconnected in vCenter. I tried connecting esxi host through vmware vSphere web client. But I was getting error notification of reconnect host failure with the message Evaluation mode licenses expired.
Task Name: Reconnect host Target: Esxi Host Status: Cannot complete the license assignment operation "vCenter agen for VMware host" The Evaluation Mode license on "Host" Esxi Host can not be changed to. To downgrade the license, first disable the following features.
As I was using no licenses in my lab or didn't assigned any LICs to host, and when licenses are not in use, it works as Trial period and Evaluation mode is for 60 days. I wanted to assign new licenses and there is already a previous article written on this ADDING AND ASSIGNING VSPHERE LICENSES IN VCENTER SERVER AND ESXI . To assign newly assigned licenses to esxi host, Right click disconnected esxi host and select assign license. (DO NOT REMOVE HOST FROM VCENTER)
Next follow the steps again, for reconnecting host by right clicking esxi host >> Connection >> Connect. Reconnect host message popup box open, Reconnecting a host will override any resource management changes that were made directly on the host while it was disconnected. Click Yes, next follow the step of adding host POWERCLI - CREATE DATACENTER AND ADD ESXI HOST IN VCENTER . It asks for root username and password.
Once all the requirement for connection is fulfilled you will see esxi host is connected successfully, with all the info.
Useful articles PART 1 : BUILDING AND BUYING GUIDE IDEAS FOR VMWARE LAB PART 2 : BUILDING AND HARDWARE BUYING GUIDE IDEAS FOR VMWARE LAB PART 3 : MY VSPHERE LAB CONFIGURATION ON VMWARE WORKSTATION PART 4 : CONFIGURING VMWARE WORKSTATION NETWORKING IN HOME LAB
Blog Search
1 2 1 4 4 0 5 4
Subscribe to our email newsletter & receive updates right in your inbox (550+ Users).
- October 2024 (7)
- September 2024 (12)
- August 2024 (22)
- July 2024 (11)
- June 2024 (1)
- May 2024 (3)
- April 2024 (5)
- November 2023 (1)
- September 2023 (6)
- July 2023 (15)
- June 2023 (5)
- May 2023 (9)
- April 2023 (4)
- March 2023 (7)
- February 2023 (1)
- January 2023 (1)
- December 2022 (10)
- November 2022 (15)
- October 2022 (15)
- September 2022 (14)
- March 2022 (8)
- December 2021 (9)
- November 2021 (6)
- October 2021 (12)
- September 2021 (10)
- August 2021 (8)
- July 2021 (9)
- June 2021 (9)
- May 2021 (11)
- April 2021 (8)
- March 2021 (13)
- February 2021 (9)
- January 2021 (5)
- November 2020 (7)
- October 2020 (3)
- September 2020 (4)
- August 2020 (7)
- July 2020 (8)
- June 2020 (10)
- May 2020 (10)
- April 2020 (5)
- March 2020 (4)
- February 2020 (3)
- January 2020 (3)
- December 2019 (11)
- November 2019 (2)
- October 2019 (3)
- June 2019 (1)
- May 2019 (5)
- April 2019 (11)
- March 2019 (5)
- February 2019 (2)
- December 2018 (1)
- September 2018 (4)
- July 2018 (3)
- June 2018 (7)
- May 2018 (12)
- April 2018 (9)
- March 2018 (13)
- February 2018 (4)
- January 2018 (10)
- December 2017 (11)
- November 2017 (10)
- October 2017 (11)
- September 2017 (7)
- August 2017 (10)
- July 2017 (12)
- June 2017 (4)
- May 2017 (3)
- February 2017 (1)
- January 2017 (3)
- December 2016 (7)
- November 2016 (8)
- October 2016 (13)
- September 2016 (7)
- August 2016 (9)
- July 2016 (11)
- June 2016 (17)
- May 2016 (7)
- Goransh Active Directory Powershell: Aduser A value for the attribute was not in the acceptable range of values October 19, 2024 10:32AM
- NeoMod Solved Visual studio Code make sure you configure your user.name and user.email in git July 30, 2024 11:14PM
- Roger Solved Visual studio Code make sure you configure your user.name and user.email in git July 22, 2024 10:13PM
- Don Patching update VMware vCenter Server Appliance from a zipped update bundle Web server June 28, 2024 11:29PM
- visamanx Powercli Get vCenter licenses information June 25, 2024 01:30AM
Disclaimer: All the steps and scripts shown in my posts are tested on non-production servers first. All the scripts provided on my blogs are comes without any warranty, The entire risk and impacts arising out of the use or performance of the sample scripts and documentation remains with you. Author is not liable for any damages whatsoever arising out of the use of or inability to use the sample scripts or documentation. Warning: Everything I say and do in these blogs or videos are subject to mistake and criticism. please do everything in your power to correct me if I saying or doing something wrong, or inform me of what I could be doing better. I am a man made out of my environment, and you are the ones creating who I am. Please don't let me fall to stupidity or ignorance, I expect the absolute best in each and every one of you and I hope you expect the same of me. Thank you. Usage of cookies: In order to optimize the website and for continuous improvement vcloud-lab.com uses cookies. You agree to the usage of cookies when you continue using this site.
© 2016 - 2020 vcloud-lab.com
VMware vCenter Server – Cannot Complete License Assignment Operation
Published by
Sam Swinson
Time to read:
In this post we are going to go over a potential solution to not being able to add a VMware ESXi host to vCenter Server because it cannot complete the license assignment operation.
For reference my VMware set up is version 7 with 2 vCenter Server Appliances connected via Enhanced Linked Mode . The fact there are 2 vCenter Server Appliances (VCSAs) is the main cause of the issue and I will explain why later in the post.
SECTION I – The Problem
Section ii – the solution.
When trying to add a new ESXi 7.0.3 host to one of my vCenter instances I get the following error message:
Failed to add ESXi host: Cannot complete license assignment operation
Before we get into my solution for the problem make sure that you have covered off the basics:
- The licensing service is running on the vCenter instance.
- You have available licenses with the required features and correct number of vCentral Processing Units (vCPUs) for the ESXi host you are trying to add.
Once you are happy that the basics are correct and you still get the same error then you are in the same position I was so hopefully the solution in Section II works for you.
The solution I found revolved around the VMDir which is synced between my multiple VCSA instances. If for some reason the VCSA instances VMDir fall out of sync for too long then one or both of them will convert into a read only mode in a way to protect itself from changing before they can be synced. I have seen the VMDir state being in read only mode cause a lot off strange things within VCSA where you cannot carry out normal operations.
To check the read only state connect to the VCSA instance via Secure Shell (SSH) and then enter the following command:
/usr/lib/vmware-vmdir/bin/vdcadmintool
This will bring up a number options menu, select the number 6 to view the current state of the VMDir.
If the output says Read Only then you will not be able to add ESXi hosts to the VCSA instance.
In order to change the state of the VMDir enter the following command again:
This time select option 5 and then enter ‘NORMAL’.
Now if you check the state of the VMDir again you should see that it says its in Normal mode. If it is then you should be able to add the ESXi host to the VCSA instance.
Keep an eye on the VMDir state to see if either VCSA instance switches back to Read Only mode because if it does then you have a bigger issue of the instances not replicating properly that you need to fix.
Share this:
Leave a comment cancel reply.
- Already have a WordPress.com account? Log in now.
- Subscribe Subscribed
- Copy shortlink
- Report this content
- View post in Reader
- Manage subscriptions
- Collapse this bar
IMAGES
VIDEO
COMMENTS
Status: Cannot complete the license assignment operation "vCenter agen for VMware host" The Evaluation Mode license on "Host" Esxi Host can not be changed to. To downgrade the license, first disable the …
The troubleshooting licensing topics provide solutions to problems that you might encounter as a result of an incorrect or incompatible license setup in vSphere.
In this post we are going to go over a potential solution to not being able to add a VMware ESXi host to vCenter Server because it cannot complete the license assignment …
You might encounter different problems that result from an incompatible or incorrect license configuration of ESXi hosts.
The licenses are applied successfully via the vCenter license management interface, then moments later each host displays the following error on the Summary page: …
Licensing error when attempting to add a host to vSphere 6.x. SOLUTION: The ESXi host versions and VSC/PSC were too close. The new ESXi host was patched and patching them …
Try assigning a trial license to everything (except vCenter) and adding the hosts to the datacenter. Then apply the essentials license to the datacenter with the hosts already …