Sometimes you might need these steps in your lab environment to do your testings. VMware allows you to use your ESXi with the evaluations for 60 days. If you need to renew your evaluation licenses for next 60 days this blog post will help you to get it done in few steps.
If you don’t have the licenses and it exceeded the 60 days evaluation licenses host will disconnect from the vCenter server as below.
If you need to get the server connected to the vCenter just delete the “vmware.lic” and “licenses.cfg” files and reboot the ESXi host, use below command to perform the action
rm -rf /etc/vmware/vmware.lic /etc/vmware/licenses.cfg
After the reboot of the ESXi host reconnect the host in the vCenter
Click “Yes” on the pop-up window
Provide the root credentials of the ESXi host
You can see the host connected to the vCenter server after this.