This is documentation for MapR Version 5.0. You can also refer to MapR documentation for the latest release.

Skip to end of metadata
Go to start of metadata

You can add and remove licenses on your cluster using the MapR Control System or the command line:

  • In the MapR Control System, click Manage Licenses to display the License Management dialog.
  • On the command line, use the maprcli license commands.
Icon

Remove old licenses from the cluster when you add a new license. If multiple licenses exist, the cluster will activate only the license with the lowest node count.

 

The following sections provide more detail about managing licenses.

Adding Licenses

To add a license using the MapR Control System:

  1. On a machine that is connected to the cluster and to the Internet, perform the following steps to open the MapR Control System and install the license:
    1. In a browser, view the MapR Control System by navigating to the node that is running the MapR Control System: https:/<webserver>/:8443
      Your computer won't have an HTTPS certificate yet, so the browser will warn you that the connection is not trustworthy. You can ignore the warning this time.
    2. The first time MapR starts, you must accept the Terms of Use and choose whether to enable the MapR Dial Home service.
    3. Log in to the MapR Control System as the administrative user you designated earlier.
      Until a license is applied, the MapR Control System dashboard might show some nodes in the amber "degraded" state. Don't worry if not all nodes are green and "healthy" at this stage.
  2. In the navigation pane of the MapR Control System, expand the System Settings Views group and click Manage Licenses to display the MapR License Management dialog.
    1. Click Add Licenses via Web.
    2. If the cluster is already registered, the license is applied automatically. Otherwise, click OK to register the cluster on MapR.com and follow the instructions there.

To add a license using the MapR CLI:

  1. Obtain a valid license file from MapR
  2. Copy the license file to a cluster node
  3. Run the following command to add the license:
    maprcli license add [ -cluster <name> ] -license <filename> -is_file true
     

Removing Licenses

To remove a license using the MapR Control System:

  1. In the MapR Control System, click Manage Licenses.
  2. In the License Management dialog that appears, click the [X] next to the license you wish to remove. The license is removed.

To remove a license using the MapR CLI:

  1. From the command line, issue the maprcli license list command. Example:
    maprcli license list 
  2. Look for the id parameter in the output from the license list command. This is the license ID. Example:

    grace  id                           description        deletable   license         maxnodes
    true   5CTFWAeQQUIOc5Wm/onoOJqcCls= MapR Base Edition  false       version: "1.0"
    customerid: "BaseLicenseUser"
    issuer: "MapR Technologies, Inc."
    licType: Base
    description: "MapR Base Edition"
    ... 

  3. Use the maprcli license remove command to remove the license. Example:

    maprcli license remove -license_id 5CTFWAeQQUIOc5Wm/onoOJqcC

  • No labels