Release unused licenses in VMware Avi Load Balancer
search cancel

Release unused licenses in VMware Avi Load Balancer

book

Article ID: 381957

calendar_today

Updated On:

Products

VMware Avi Load Balancer

Issue/Introduction

There might be cases when trying to deploy Service Engine and it fails but Avi Load Balancer does not release the license consumed by the Service Engine immediately and might take around 30 minutes to 1 hour. 

Resolution

You can check from the CLI if Avi Load Balancer is consuming licenses for Service Engine that no longer exists using the following command:

SSH to Controller Leader Node
# shell

Username: admin
Password: <admin-password>

> show license ledger details

 

To force AVI to release the licenses immediately there is an API call that can be made using the browser:

 

If you're using on premise licenses:

https://[controller]/api/licensing/ledger/clear/reservation

 

If you're using cloud licenses:

https://[controller]/api/licensing/saas/reconcile/

 

The Service Engine in question needs to be already deleted from Avi Load Balancer and then the above commands should release the license that the Service Engine consumed.