License Server Manual
Overview
Use RuntimeLicenseServer in the application that should act as a runtime license source. Applications that do not have local feature license files can then run by accepting licenses from a reachable license source on the same network.
Typical Use
- Add the LicenseServer library to the application that should serve licenses.
- Add a RuntimeLicenseServer component to that application.
- Install a valid local
license_serverfeature license on that application. - Install local feature licenses on that application for each feature it should serve to others.
- Start the source application and the consumer applications on the same controller network.
Consumer applications do not need a RuntimeLicenseServer component. They only need access to a reachable and properly licensed source application.
Behavior
- Local licenses always take precedence over runtime-served licenses.
- One good license source is enough. If multiple sources are present, a synchronized valid source is sufficient.
- Applications can receive runtime licenses even when the source application uses a different application domain.
- After an application has become licensed from a runtime license source, it continues running for the current start even if that source later disappears. The next start still requires either a local license or a reachable license source.
Controller Clock Synchronization
Runtime license sharing depends on controller clocks being kept closely synchronized.
- When the controller time difference is less than 3 seconds, the consumer application clears its license alarm.
- When the controller time difference is 3 seconds to 1 minute, the consumer application keeps running but shows a warning that controller time is not synchronized and the next start may fail.
- When the controller time difference is greater than 1 minute, the remote license is not accepted and the application remains unlicensed unless it has a local license.
Use NTP or PTP to keep controllers synchronized. For normal operation, target a time difference well below 3 seconds.
Requirements
- Only applications with a valid local
license_serverlicense can act as a license source. - A source can only serve features for which it also has valid local licenses.
- Adding
RuntimeLicenseServeralone does not enable license serving. The required local licenses must also be present.
Get started with CDP Studio today
Let us help you take your great ideas and turn them into the products your customer will love.