Classic License
This page describes how to obtain a classic Weka license (payment for a predetermined period of time) and apply it to the Weka system cluster.
A classic license is a text element entered in the cluster using the GUI or the CLI. The following is an example:
1
eyJhbGciOiJSUzI1NiIsInR5cCI6IkpXVCJ9.eyJzdWIiOiI0ZjQ4M2YxZi1jNGJhLTRkZDAtYTExNC04MTBmMzk0NGQ1MTUiLCJpc3MiOiJodHRwczovL2dldC53ZWthLmlvIiwibmJmIjoxNTMwNDM4NjI2LCJleHAiOjE1MzMwMzA2MjYsInctZ3VpZCI6IjZjZDI2ZTdlLWZmNDYtNGZmMC1iOGU2LTUzNmE0MzIwZTkyYyIsInctdHlwZSI6IkNsYXNzaWMiLCJ3LWNyZWRpdHMiOnsiZHJpdmVfY2FwYWNpdHlfZ2IiOjE2MSwib2JzX2NhcGFjaXR5X2diIjowfSwiaWF0IjoxNTMwNDM4NjQyfQ.oi1Vfp7nkJBN1jENfWTAxFyKkcKNKqmWR23ZlnPdvWHa78KnDvA2tgC8VXjVHPh6NM5s0nSfZLUv5HESjdnTG98hGxMSfTDhGLmK-jn6Kuk382p0sT5YSrWr7zyJu3AtGxSPCf0CMbXBsfvv3ivycTLx5ACpw9CSGl2CWvEhA5kDHi45EjM_Teo43z7AHvzog1HOEJDl6jZiEAMw0NLf6ZJ2Y6XCFgqxCIrmD0irGUI04GtHKsMPRSABUeakHshIFoy-TnaW1vMGS1GYNetYjyeQKyy74Baaos_SCzMHuLHMEjGXWJZjAN780KKSQN9DYEBC6HxZGpx4sEEqtyx_kg
Copied!

Creating a get.weka.io Account

Follow the instructions to create a get.weka.io account appearing in the log-in instructions.
Note: This step can be skipped if you already have created a Weka account.

Obtaining an Entitlement

After creating an account in get.weka.io, an entitlement will be applied to the account by a Weka sales or support person. Outstanding entitlements can be viewed in the account dashboard.
Account Dashboard

Creating a License

Start by running the weka cluster license command, which will output all the information required for creating your license. The following is an example output:
1
# weka cluster license
2
Licensing status: Unlicensed
3
4
Your cluster is currently unlicensed. Please go to https://get.weka.io/ to get a license
5
or enroll in a subscription.
6
7
When asked, you'll need the following details to create your license:
8
9
Cluster GUID : bbb6639d-3eaa-483b-b532-31a560d5859d
10
Raw Drive Capacity : 5699 GB
11
Usable Capacity : 0 GB
12
Object-store Capacity : 0 GB
13
14
If you already have a license, please enter it by running
15
16
weka cluster license set <license-key>
Copied!
Click Create a license in the Outstanding Entitlements pane in the Account dashboard. In the subsequent pane, select the line containing the entitlement for which a license is to be created (there is probably only one line) and then click the green Create a license button:
Create a License Pane
The Create License dialog box will be displayed. Enter the details obtained from the weka cluster license command.
Create License Dialog Box
Fill-in the cluster GUID and capacities. Then click the Create License button to confirm.
Note: If cluster expansion is planned for the future, it is possible to fill-in capacities larger than those appearing in the Weka cluster license.
The capacities in the license represent the limits to which it is possible to expand the cluster and do not have to match actual usage.

Applying the License to the Cluster

After creating the license, the page showing licenses is displayed. it is always possible to return to this page to get previously-created licenses.
Example of Licenses Page
To apply the license to the cluster, click the three dots to the right of the license details and then select Show License Text.
Applying a License to a Cluster Pane
The following dialog box with information on the new license is displayed.
License Text Dialog Box
Copy the license key or click copy to clipboard. Then run the following command on the cluster:
1
weka cluster license set <license-key>
Copied!
where <license-key> is the license copied to the clipboard.
The cluster now has a license assigned to it.

Getting the License Usage

To see the details of the current license and the current cluster usage, run the weka cluster license command again. The following is an example of the output obtained:
1
# weka cluster license
2
Licensing status: Classic
3
4
Current usage: 161 GB raw drive capacity
5
0 GB object-store capacity
6
7
Installed license: Valid from 2018-07-01T10:39:42Z
8
Expires at 2019-07-01T10:39:42Z
9
1024 GB raw drive capacity
10
2048 GB object-store capacity
Copied!

Reinstalling a Cluster

Every newly-installed cluster is assigned a new GUID. It is possible to use an existing license for a cluster that has been reinstalled by selecting the Change Cluster GUID in the Applying a License to a Cluster pane.
Applying a License to a Cluster Pane
Change Cluster GUID Dialog Box
After entering a new cluster GUID, click the Save Changes button and repeat the steps above for creating and applying the license key to your cluster.
Last modified 6mo ago