License management
Install a license
The current system leverages an “offline” process, meaning that you need to activate a license and add it to the appliance. For this, a 3-step process is required, it is described in this section.
Get the license request file
The License Request File (LRF) is used on the Anapaya portal to generate a license. The LRF can be retrieved either via the Anapaya CONSOLE, or via the appliance CLI as described below.
- CONSOLE
- CLI
- Click on Appliances in the left menu.
- Select the appliance, for which you want a license request file.
- Click on the Software button
- Click on the Get License Request button.
appliance-cli get software/licenses/request > license_request.json
Associate the LRF with the subscription in the Anapaya portal
In case you purchased the license through a reseller, please contact them for assistance with this step.
To associate the LRF with the corresponding subscription in the Anapaya portal, follow the steps below:
This step requires that a subscription has been ordered beforehand in the Anapaya portal.
-
Connect to the Anapaya portal with a user granted with the Activate licenses permission.
-
Go to the Quotation/Ordering module and select the License Activation menu.
-
Select the relevant subscription from the list and click on the pencil to take an action.
noteIf the license was already manually activated in the past (meaning the validity period of the license has already started), make sure to toggle “Show activated licenses” to see these licenses in the list.
-
Upload the LRF file by click the Upload LRF button and check the parameters
-
Submit the LRF by clicking Activate and generate license.
-
Retrieve the signed license and store it for the next steps, by clicking the Copy license button.
Upload the signed license
Use the Anapaya CONSOLE or the appliance CLI to upload the signed license to the appliance.
- CONSOLE
- CLI
- Click on Appliances in the left menu.
- Select the appliance, for which you want to add a license.
- Click on the Software button
- Click on the Add License button.
Replace <license> in the command below with the signed license you copied in the previous step and
execute it on the appliance:
appliance-cli post software/licenses 'license: $license'
Check the license status
To check the status of the license on the appliance, either use the Anapaya CONSOLE or the appliance CLI as described below.
- CONSOLE
- CLI
- Click on Appliances in the left menu.
- Select the appliance, for which you want to check the license status.
- Click on the Software button
- The license status is shown in the Installed License field.