license showid

Displays the cluster ID for use when creating a new license. Permissions required: login.

Syntax

CLI
maprcli license showid
[ -cluster <cluster> ]
-showNodes show the total licensed nodes available. default: false ]
REST
Request Type GET
Request URL
http[s]://<host>:<port>/rest/license/showid[?<parameters>] 

Parameters

Parameter

Description

cluster

The cluster on which to run the command.

showNodes When set to true, displays both the number of nodes that the license supports, and the current number of nodes to which the license applies.

A value of -1 indicates that there is no limit to the number of nodes to which this license applies.

Default Value: false

Output

Sample Output

# maprcli license showid
id                   
5119043355327235351
# maprcli license showid -showNodes true
maxLicensedNodes  id                    currentLicensedNodes
    -1            5119043355327235351   1

Examples

CLI
maprcli license showid -showNodes true
REST
https://abc.sj.us:8443/rest/license/showid?showNodes=true