Skip to main content
A newer release of this product is available.

system license clean-up

Contributors
Suggest changes

Remove unnecessary licenses

Availability: This command is available to cluster administrators at the admin privilege level.

Description

This command manages licenses in the cluster that have no effect, and so can be removed. Licenses that have expired or are not affiliated with any controller in the cluster are deleted by this command.

Parameters

[-unused <true>] - Remove unused licenses

If you use this parameter, the command removes licenses in the cluster that are not affiliated with any controller in the cluster.

[-expired <true>] - Remove expired licenses

If you use this parameter, the command removes licenses in the cluster that have expired.

[-n, -simulate <true>] - Simulate Only

If you use this parameter, the command will not remove the licenses. Instead it will display the licenses that will be removed if this parameter was not provided.

Examples

The following example simulates and displays the licenses that can be cleaned up:

cluster1::> system license clean-up -n -unused -expired
Serial number: 1-80-000011
Owner: cluster1
Package                   Reason
------------------------- -----------------------------------------------------
SnapLock                  Demo License has expired
SnapProtectApps           Demo License has expired

Serial number: 1-81-0000000000000004062522917
Owner: none
Package                   Reason
------------------------- -----------------------------------------------------
NFS                       Serial number is not used by any node in the cluster
CIFS                      Serial number is not used by any node in the cluster

The following example deletes the expired licenses:

cluster1::> system license clean-up -expired
2 demo licenses deleted.

The following example deletes the unused licenses:

cluster1::> system license clean-up -unused
2 unused licenses deleted.