The License Manager is essential for licensing DriveWorks Live.
The DriveWorks Live tab, in the License Manager, gives you an overview of all DriveWorks Live product codes that have been activated on the machine it is running on.
Licenses for previous versions of DriveWorks Live, that have been activated on the same machine, can also be viewed.
It also shows you information about active sessions in DriveWorks Live, with the option to forcefully end a session.
Centralized licenses are the number of allowable concurrent sessions served from the license manager.
Used to allow an overrun on top of the available Centralized licenses.
New Versions
Each new version of DriveWorks License Management will host and serve earlier version DriveWorks licenses.
Once the DriveWorks Live License has been activated, in the License Manager, DriveWorks Live can connect to the License Server to be licensed.
When DriveWorks Live is first launched, or the License Server cannot be reached, you will be prompted to connect to the License Server.
To connect to a shared license server enter the name of the machine the DriveWorks License Manager has been installed on.
For example:
DW-SVR-LMAN
For example:
driveworks-licensing.mycompany.com
However we do not recommend having the License Manager on a machine exposed to the entire internet.
However it can be installed in one location to manage DriveWorks Live Licenses and another location to manage Network License for DriveWorks Administrator and DriveWorks User.
It should also be installed alongside each DriveWorks Pro module that uses Fixed Licenses so these Licenses can be returned if necessary.
New Versions
Each new version of DriveWorks License Management will host and serve earlier version DriveWorks licenses.
Please see the section Multi-Application Deployment in the topic How To: Deploy DriveWorks Pro for typical deployment scenarios.
From the DriveWorks Live tab of the License Manager:
If manually entering the code please take care to enter it exactly as given.
Further information about the License can be seen by:
Repair License will attempt to repair a license that has become untrusted.
See Repair License for more information, and additional steps if the License cannot be repaired.
Active Connections to DriveWorks Live are shown at the bottom of the DriveWorks Live tab.
This displays all current connections to the DriveWorks Live site.
The information displayed includes:
Connections can be forcefully dismissed by:
DriveWorks Advanced filtering is available for the active connections.
For example:
To filter all sessions running on a particular server name, enter the following filter term in the filter box:
Server name: srv-dw-live
Where srv-dw-live is the name of the server (change to an appropriate server name).
By default the DriveWorks Live License server runs on port 27080.
This can be changed by:
This ensures a backup exists to revert to if necessary.
[Version] is the full version number of the installed version of DriveWorks.
For example: 20.2.0.66
In the event of any issues with Live Licenses the following messages can be returned to the License Manager.
Message | Description |
---|---|
The license code has expired. (-10) | Centralized Network (CN) License has Expired. |
An unknown error has occurred. (-10) | OnDemand (OD) License has Expired. |
Unexpected license error code 'TrustedStorageRequiresRepair'. Please contact support (-157) | Centralized Network (CN) License is Untrusted. Returning and re-activating the license may resolve this issue. If not, please contact your DriveWorks reseller for assistance. |
An unknown error has occurred. (-157)) | OnDemand (OD) License is Untrusted. Returning and re-activating the license may resolve this issue. If not, please contact your DriveWorks reseller for assistance. |
It's time to top up your payment. (524289) | Your OnDemand (OD) License credit needs topping up. If you have purchased your DriveWorks Live
OnDemand Licenses through a DriveWorks Reseller please contact them for assistance.
Otherwise please contact DriveWorks. |
Unable to contact the DriveWorks OnDemand Server. (524290) | Your DriveWorks Live License Server hasn’t been able to send data to DriveWorks for 3 Days. |
The license code was not recognized, please contact support. (524291) | Your DriveWorks Live License Server has tried sending data to DriveWorks, but DriveWorks didn't recognize your license. Please contact your DriveWorks reseller for assistance. |
The DriveWorks OnDemand Server is temporarily unavailable, please try again later. (524292) | Your DriveWorks Live License Server has tried sending data to DriveWorks, but DriveWorks is not responding. If this error persists, please contact your DriveWorks reseller. |
Unexpected response from DriveWorks OnDemand Server, please contact support. (524293) | Your DriveWorks Live License Server has tried sending data to DriveWorks, but received an unexpected response. If this error persists, please contact your DriveWorks reseller. |
The DriveWorks Live Floating License Server exposes a RESTish API.
This can be used to expose license information, status, usage and session limits.
The URL to get to the DriveWorks Live license information is in the format:
http://<machinename>:<portnumber>
Where:
<machinename> - is the name of the machine hosting the DriveWorks License Manager.
<portnumber> - is the port the DriveWorks Live License Manager has been set to use. This is 27080 by default.
The full URL will look like:
http://PC-LIC-SVR:27080
The following table lists the additional parameters that can be added to the end of the URL:
Parameter | Description |
---|---|
/ | Returns a text response in the format:
"DriveWorks Live {VERSION} ({CONFIGURATION}) Synchronization Server. {DateTime.UtcNow}" |
/info | Returns a JSON array of object describing all major versions of DriveWorks that have been activated through a product code. |
/info/MajorVersion | Exactly the same as above, but instead of an array returns the information specifically for the
specified major version.
Or a status code of 404 if a product code has not been activated for the specified major version). |
/status | Return a JSON object describing the version of the Live Floating License Service. |
/sessions | Returns a JSON array of objects describing currently active sessions ordered by the major
version of DriveWorks.
The array returns the following elements along with their respective values:
|
An example website that presents some of this information, titled "Dashboard", is included with the Integration Theme examples and shown below:
A live version of this site can be viewed in the following link Dashboard.
DriveWorks Live License information can be obtained using a REST request.
This can be consumed into a DriveWorks Project, for instance, by using the Send HTTP Request task.
The following table gives an example of the information required in the task properties:
Property | Example |
---|---|
Request URL | http://company.driveworks-licensing:27080 |
Request Verb | "Get" |
Request Headers | "/sessions" |
A website, or DriveWorks Project, can be created using a REST Request to present the information into a dashboard, as below: