License Management

### 1. Activate license with activation ID An activation ID is 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. ```bash $ polysync-license-tool -a xxxx-xxxx-xxxx-xxxx-xxxx-xxxx ``` ### 2. Generate license information You can print the host information with the license tool. Once called, the application contacts the license server and allows PolySync to administer license rights. The output may be requested by PolySync support while debugging license issues. ### 2.1 License tool output example The below example requires an active Internet connection. ```bash $ polysync-license-tool -a ***************************** *** PolySync License Tool *** API Build Version: 2.0.0-1449243079 System Design File: "/usr/local/polysync/db/psync.sdf" Host ID: "(Ethernet) DAXX9D3X0XXE" IP Address: "AUTO" License File: "N/A" checking for available capabilities ***************************** ``` ### 3. Query for license information You can check the status of your license by passing the _'-q'_ flag: ```bash $ polysync-license-tool -q ``` Expected output with full authenticated license trial: ```bash $ polysync-license-tool -q ***************************** *** PolySync License Tool *** API Build Version: 2.0.0-1449243079 System Design File: "/usr/local/polysync/db/psync.sdf" Host ID: "(Ethernet) 507B9D3B0D16" IP Address: "AUTO" License File: "(null)" number of features in file "no-file": 0 number of features in trusted storage: 0 number of features in trials storage: 5 1: analytics 99.99 10-jan-2016 uncounted HOSTID=ANY START=12-dec-2015 Valid for acquisition Not valid for serving 2: c_api 99.99 10-jan-2016 uncounted HOSTID=ANY START=12-dec-2015 Valid for acquisition Not valid for serving 3: fault_monitoring 99.99 10-jan-2016 uncounted HOSTID=ANY START=12-dec-2015 Valid for acquisition Not valid for serving 4: pro 99.99 10-jan-2016 uncounted HOSTID=ANY START=12-dec-2015 Valid for acquisition Not valid for serving 5: rnr 99.99 10-jan-2016 uncounted HOSTID=ANY START=12-dec-2015 Valid for acquisition Not valid for serving ***************************** ``` ### 4. Download PolySync updates You can use the license tool to check for updates to PolySync. If updates are found, they will be downloaded for you and placed in the system default folder (Downloads). ```bash $ polysync-license-tool -u ``` This command will only work if your license has been activated by PolySync and you have an active Internet connection.