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

system license add

Contributors
Suggest changes

Add one or more licenses

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

Description

This command adds a license to a cluster. To add a license you must specify a valid license key, which you can obtain from your sales representative.

Parameters

-license-code <License Code V2>,…​ - License Code V2

This parameter specifies the key of the license that is to be added to the cluster. The parameter accepts a list of 28 digit upper-case alphanumeric character keys.

| [-use-license-file {true|false}] - Use License File (privilege: advanced) }

If this parameter is set to true, licenses from the local node /mroot/etc/lic_file license file will be installed if the file exists at this location.

Examples

The following example adds a list of licenses with the keys AAAAAAAAAAAAAAAAAAAAAAAAAAAA and BBBBBBBBBBBBBBBBBBBBBBBBBBBB to the cluster

cluster1::> system license add -license-code AAAAAAAAAAAAAAAAAAAAAAAAAAAA, BBBBBBBBBBBBBBBBBBBBBBBBBBBB

The following example installs the licenses from the local node "/mroot/etc/lic_file"

cluster1::> system license add -use-license-file true