License Keys of VMware Esxi and Vcenter Server. 3.In order to install or remove the existing License keys, you need to click on “Manage VSphere Licenses” (Step:2). This will popup the below window to manage the VSphere License keys.If you want to add any new license keys. Jun 01, 2017 Enter the vCenter Server 6.x Standard license key and press Enter to add a new line. Enter the vSphere 6.x Standard license key(For ESXi), and click Next. Label the license keys as per your convenient. Click on Next.
I’ve written a number of posts on how to install ESXi, vCenter and similar products but if memory serves me right, I don’t recall explaining in any detail how to apply license keys after you’re done installing. From a recently held conversation, I learned that licensing VMware products can be a tad confusing to some.
In today’s post, I go through the process of licensing the most frequently deployed VMware products these being ESXi and vCenter Server along with features such as vSAN. There are several options you can use to manage license keys; GUI, command line tools and PowerCLI. Let’s have a look.
How to license a standalone ESXi host
There are two ways to apply license keys on ESXi. You can either use the host client or run the vim-cmd shell command. The host must not be managed by vCenter Server – hence the term standalone – when using these methods.
Method 1: Using the host client
As always, navigate to https://<ESXi IP address> and log in as root. Click on Manage and select the Licensing tab.
Figure 1 – Using the ESXi host client to apply a license key
Click on the Assign license button and type in the designated license key. Click on Check License to verify the key. If it is valid, press Assign License once more to apply it.
Figure 2 – Verifying and applying a license key on ESXi
If for any reason you need to remove a license, you can do so by clicking on the Remove License button. Since there can only be one license assigned at any time, the last one entered is picked up by default.
Method 2: Running vim-cmd from shell
You first need to enable shell on ESXi using either the DCUI or the host client. Once you that, SSH to the ESXi host and log in as root. Run the following command: