ONTAP 9.15.1 commands

system license clean-up

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. Licenses that cannot be deleted are displayed with reasons for the non-deletion.

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:

cluster-1::> system license clean-up -expired -unused

The following licenses were safely deleted:

Serial number: 1-80-000011
Owner: cdancluster-1
Package                   Reason
------------------------- -----------------------------------------------------
CIFS                      License has expired

Serial number: 4067154888
Owner: none
Package                   Reason
------------------------- -----------------------------------------------------
Cloud                     License has expired

Serial number: 1-81-0000000000000004067154999
Owner: none
Package                   Reason
------------------------- -----------------------------------------------------
iSCSI                     License unused by any node in the cluster
The following licenses are either expired or unused but cannot be safely deleted:

Serial number: 4067154778
Owner: node1
Package                   Reason
------------------------- -----------------------------------------------------
Cloud                     Feature would be impaired upon removal

Serial number: 4067154779
Owner: node2
Package                   Reason
------------------------- -----------------------------------------------------
Cloud                     System generated license
Top of Page