How to manually remove a license from VMware vCenter using JXplorer
search cancel

How to manually remove a license from VMware vCenter using JXplorer

book

Article ID: 327486

calendar_today

Updated On:

Products

VMware vCenter Server VMware vSphere ESXi

Issue/Introduction

  • Removal of an expired or irrelevant license from vCenter Server fails through the Graphical User Interface (GUI) as the option is graded out.

  • Stale or duplicate license associations for ESXi hosts and vCenter Servers persist within the VMDir Database.

  • Attempts to remove assignments via the Managed Object Browser (MOB) do not update the inventory. JXplorer facilitates the manual cleanup of these entries.

Environment

  • VMware vCenter Server 8.0.x

  • VMware vCenter Server 7.0.x

Cause

This condition occurs when a license remains in the VMDir Database as a LicenseEntity or AssetEntity after product usage ends.

Resolution

    1. Take a Snapshot of the vCenter server. (Offline Snapshots for vCenters in Linked Mode).
    2. Download the JXplorer and install it on a local computer.

    3. Open the JXplorer and provide the vCenter details, from where the License has to be removed as follows:
      • Host: IP/FQDN of the vCenter/PSC
      • Protocol: LDAP v3
      • Security Level: User + Password
      • Security User DN: cn=administrator,cn=users,dc=vsphere,dc=local
      • Security Password: the password of the administrator user for the SSO identity server

        • It should look similar to this:

    4. Once logged in, navigate to Services > License Service and look for the objects listed with the names LicenseEntity (Usually at the bottom of the dropdown list).
    5. When we select the license in question, the license code of our vCenter will be displayed on the right side of the application.
    6. When we identify the necessary license, we can delete it by right clicking on the LicenseEntity object and then clicking delete.

    7. Similarly, the license association to objects like ESXi hosts and vCenters can be removed by deleting the AssetEntity for the Object ID.

    8. Login to vCenter UI and validate , the License should no longer be available on the vCenter Server.

Additional Information

To speak with a customer representative or a Support Engineer, see Contact Support. Scroll to the bottom of the page and click on your respective region.

Reference: Using JXplorer to connect to the vSphere Single Sign-on