License Management

This article was written for version 2.0.9 of Core. Click here for the most recent version of the help center.

1. Activate license with activation ID

New licenses are represented as activation IDs, which are provided by PolySync support. If you have multiple licenses, you will only want to run the following command on each machine once. Calling the license tool twice will assign two licenses (if available) to the same device.

To download your license from the server, paste the activation ID in the command below.

$ polysync-license-tool -a xxxx-xxxx-xxxx-xxxx-xxxx-xxxx

2. Download an existing license

Each license lives in the PolySync license server and can be downloaded to the local machine at any time.

$ polysync-license-tool -a

*****************************
*** PolySync License Tool ***
API Build Version: 2.0.9-1486494674

[...]
Current license status: valid

checking for available capabilities
lrwxrwxrwx 1 root root 16 Jan 31 11:44 /etc/alternatives/x-www-browser -> /usr/bin/firefox
License status: valid
*****************************

This will create a new entry in the license server, if the Host ID did not already exist in the database. This allows PolySync to administer licenses to the machine.

3. Query for license information

You can check the status of your license by passing the ’-q’ flag:

$ polysync-license-tool -q

Expected output with full authenticated license:

$ polysync-license-tool -q

*****************************
*** PolySync License Tool ***
API Build Version: 2.0.9-1486494674

Host ID: '(Ethernet) 080027B9A5EE'
Installation Directory (PSYNC_HOME): '/usr/local/polysync'
System Design File: '/home/${USER}/.local/share/polysync/config/psync.sdf'
Record and Replay Sessions Directory: '/home/${USER}/.local/share/polysync/rnr_logs'
IP Address: '127.0.0.1'
License Server: 'not used'
License file specified in SDF: 'not used'
Current license status: valid


number of features in license file 'no-file': 0

number of features in trusted storage: 1
1: polysync_lochsa v2 EXPIRES=2-feb-2018 uncounted    HOSTID=080027B9A5EE  ISSUER="PolySync-cotos" ISSUED=7-feb-2017   START=2-feb-2017
     Valid for acquisition
     Not valid for serving

number of features in trials storage: 0

*****************************