vSAN add-on license for VVF still shows under vCenter after changing to VCF license
search cancel

vSAN add-on license for VVF still shows under vCenter after changing to VCF license

book

Article ID: 456061

calendar_today

Updated On:

Products

VMware Cloud Foundation

Issue/Introduction

When you change licenses from VVF with a vSAN Add-on license to VCF the following shows in the vCenter under licensing:

Cause

This is due to VMDIR for vCenter holding onto the older subscription licensing for VVF and not cleaning up.

Resolution

This is a cosmetic issue and should not cause any issues. If this needs to be cleaned up the followings steps can be used:

Prerequisite: Snapshot the vCenter. If this is a linked mode vCenter, powered off snapshots are recommended

  1. Log onto the vCenter via SSH 

  2. Export VMDIR to an LDIF file

  3. Search the LDIF file created from the above KB to search for the following value: SubscriptionLicense

    (Note: there will be multiple values, one is for your VCF and one is the leftover VVF license)

  4. Once the values are found, notate the entryDN on each:

    Example: cn=LicenseEntity_#######-####-####-####-7557c764c6f0,cn=LicenseService,cn=services,dc=vsphere,dc=local

  5. After notating the values modify the below command to clean up the entries:

    /opt/likewise/bin/ldapmodify -h localhost -D "cn=administrator,cn=users,dc=vsphere,dc=local" -W << EOF
    cn=LicenseEntity_#######-####-####-####-7557c764c6f0,cn=LicenseService,cn=services,dc=vsphere,dc=local
    changetype: delete
    EOF

    Note: Delete both values. VCF Operations will resync the VCF license as needed

  6. After the above deletes have been completed, refresh the browser and check that the "Add-ons unlicensed usage" is no longer showing

Additional Information

How to remove a License Manually from vCenter using ldapmodify