Adding a License

Add a license through the Control System or the CLI.

Adding a License Using the Control System

About this task

Complete the following steps to add a license using the Control System:

Procedure

  1. On a machine that is connected to the cluster and to the Internet, perform the following steps to open the Control System:
    1. In a browser, view the Control System by navigating to the node that is running the Control System: https:/<webserver>/:8443.
      Your computer will not have a HTTPS certificate yet, so the browser will warn you that the connection is not trustworthy. You can ignore the warning this time.
    2. Log in to the Control System as the administrative user you designated earlier.
      Until a license is applied, the Control System dashboard might show some nodes in the amber "degraded" state. Do not worry if not all nodes are green and "healthy" at this stage.
  2. In the Control System, go to Admin > Cluster Settings > Licenses.
  3. Add a license using the following options:
    Import License Allows you to import a license from the server. You must enter your credentials in the Import License window to retrieve your license information.
    Upload License Allows you to upload your license file through a browser.
    Copy/Paste License Allows you to copy and paste a license key in the Copy and Paste License window.
    Get a Free Trial License Navigates to the HPE Ezmeral Data Fabric licensing form online to get a trial license.
  4. Click Submit.
    If the cluster is already registered, the license is applied automatically. Otherwise, go to hpe.com and follow the instructions there to register the cluster.

Adding a License Using the CLI or the REST API

About this task

To add a license from the CLI:

Procedure

  1. Obtain a valid license file from HPE Ezmeral Data Fabric.
  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

    See license add for complete reference information.