CDRouter Support

How do I update my CDRouter license?

knowledge-base version 13.5

Overview

This guide describes how to update the license file on a CDRouter system. A valid license file must be installed in order to use and run tests with CDRouter.

(Note, if you need to upgrade the CDRouter software, please see the CDRouter Installation Guide for detailed instructions.)

The CDRouter license file contains the following information:

  • The expiration date of the system’s Maintenance and Support Agreement (MSA)
  • The list of add-ons expansions that have been purchased and that are enabled
  • The unique system ID of the server that the license is locked to
  • The number of test instances available on the system

CDRouter license files are node locked to a single server which is identified by a unique 32-character hex string known as a system ID. License files cannot be transferred to other CDRouter systems.

If the MSA for a system is renewed, or if additional add-ons are purchased, the license file must be updated for the changes to become effective.

Updating the CDRouter License File

There are 4 methods to update your CDRouter license file. Each method is described below:

Automatic Installation

Automatic installation using the web interface

On CDRouter systems with an active internet connection, the current active license file may be automatically downloaded and installed directly from the CDRouter web interface.

This is done by clicking on the Download & Install License button on the System > License page. This is the easiest and fastest way to upgrade a CDRouter license file.

Automatic installation using the command line

On CDRouter systems with an active internet connection, the current active license file may also be automatically downloaded and installed from the command line using the CDRouter CLI.

First run the command cdrouter-cli -update-license:

$ cdrouter-cli -update-license

INFO: 17:19:29.270| System-id is 0123456789abcdef0123456789abcdef
INFO: 17:19:29.270| Requesting updated cdrouter license from www.qacafe.com
INFO: 17:19:30.354| Installing new license file to /etc/cdrouter.lic
INFO: 17:19:30.355| License update successful

INFO: 17:19:30.355| Please run 'systemctl restart cdrouter' to restart CDRouter
INFO: 17:19:30.355| Note that any tests that are running in CDRouter will be stopped

CDRouter must be restarted to activate the new license file:

$ systemctl restart cdrouter

The output should look like this:

Restarting cdrouter...done

Or this:

Redirecting to /bin/systemctl restart cdrouter.service

Manual Installation

To update the license file on CDRouter systems that do not have a direct Internet connection, you must first download the license file from the Active Licenses section of the QA Cafe Customer Lounge or obtain a copy via email by contacting support@qacafe.com.

When downloading a license file from the QA Cafe Customer Lounge, be aware that you will be asked whether you are running or upgrading to CDRouter 13.0 or later. Be sure to check which version of CDRouter you are running and download the appropriate license.

Manual installation using the web interface

Once the license file has been downloaded from the QA Cafe Customer Lounge, it may be installed using the drag and drop feature from the System > License page within the CDRouter web interface.

Manual installation using the command line

CDRouter versions 13.0 and newer

License files for CDRouter versions 13.0 and newer are distributed in plain text. The system ID within the downloaded license file must match the system ID of the CDRouter instance it is being installed on. The system ID may be verified by opening the license file in a text editor such as vi and looking for the following field:

hostid=isv=<system ID>

After copying the license file to the CDRouter system, move it to the /usr/cdrouter-data/etc directory.

$ mv cdrouter-dab527d436690369a35bb6f8dcad0762b8cdae5824a94f48a01fe923d208ac87.lic /etc/cdrouter-data/etc/

License files are named using the checksum of the license to avoid overwriting any existing licenses. CDRouter will use all valid license files to determine the capabilities of the CDRouter system.

CDRouter versions 12.24 and older

License files for CDRouter versions older than 13.0 are named using the convention <system ID>-cdrouter.lic

After copying the downloaded license file to the CDRouter system, rename it cdrouter.lic and move it to the /etc/ directory.

$ mv 0123456789abcdef0123456789abcdef-cdrouter.lic /etc/cdrouter.lic

Any old license files in this directory may be overwritten.

Manually apply the new license file (all CDRouter versions)

Next, restart CDRouter to activate the new license file:

$ service cdrouter restart

The output should look like this:

Restarting cdrouter...done

or

Redirecting to /bin/systemctl restart cdrouter.service

To verify that the license file has been applied, run the following command:

$ cdrouter-cli -info

This should display the most current MSA information and list of add-ons for the system.

Contents

×

About CDRouter

QA Cafe CDRouter is a comprehensive and powerful test automation solution focused on feature, security, and performance testing for broadband and enterprise edge gateways, Wi-Fi and mesh systems, and other CPE.

Get in touch via our Contact page or by following us on your favorite service: