Lattice license check-in
What it does. Checks Lattice in with the Magicite licensing service through the licensing module that is installed with Lattice: the check-in sends the installed Lattice version and brings back the environment's current license, which Lattice then reads for every license decision. Runs: once at each environment start, as a one-time batch job that Lattice schedules itself; the licensing module checks in again once a day between restarts. Who looks after it: System administrator.
Purpose
Lattice never asks for a license key. The environment proves its license by checking in, and the licensing service answers with the license it holds for the environment. Every license decision in Lattice (the warnings, and on a production environment the date Lattice processing stops) is taken from the last answer that was stored.
Without check-ins, the stored answer grows old. A new environment stays without a license, and an environment that held one eventually counts as having lost contact. On a production environment both end in Lattice processing stopping; see When Lattice blocks for the dates.
When it runs
At every server start, Lattice schedules the batch job Check in the Lattice license with the licensing service (environment start). It runs once, starting immediately, unless such a job is already waiting or running, or one started in the last 15 minutes. So there is one check-in per environment start, not one per server. The job runs as the built-in Admin user. The licensing module also checks in once a day between restarts.
The Lattice job has no menu item; to check in at any other time, run System administration > Setup > Magicite > License refresh.
Configuration and scheduling
There is nothing to schedule and nothing to set for Lattice.
| Setting | Where | Default |
|---|---|---|
| Check in now | System administration > Setup > Magicite > License refresh, then OK | |
| Usage counts sent to Magicite (see Usage counts sent to Magicite) | System administration > Setup > Magicite > License parameters, Behavior tab, Usage telemetry enabled | On |
The pages under Magicite need the Magicite license administrator role or System administrator. The Lattice roles do not include them.
How it works
- When a server starts, Lattice registers itself with the licensing module and schedules the check-in job, unless one is already scheduled or ran in the last 15 minutes. Both steps are guarded: a failure never delays or stops the server.
- On the batch server, the job registers Lattice again and checks Lattice in with the licensing service. The check-in carries the installed Lattice version.
- The answer is stored, and Lattice reads it from then on.
- The job logs "Lattice %1 checked in with the licensing service. License status: %2." with the installed version and the license status.
- When the check-in cannot complete, the job logs the warning "The license check-in of Lattice %1 did not complete. The licensing client keeps the last license status and checks in again on its daily refresh." and still ends normally.
Before it can run
- The batch service is running.
- The Admin user is enabled: the batch service does not run a job whose user is disabled.
- The servers can reach the licensing service over the internet.
- The licensing module is deployed with Lattice. Every Lattice download carries it, so there is nothing to install separately.
Inputs and outputs
| Reads | Writes |
|---|---|
| The installed Lattice version | The stored license answer, which every Lattice license decision reads |
| The check-in job's log, with the version and the license status |
The check-in changes no Lattice data and raises no business event.
Monitoring and logs
- System administration > Inquiries > Batch jobs: the Lattice job is removed from the list once it has run; select Batch job history to read its log with the version and license status.
- System administration > Workspaces > Integration operations: a license that needs attention shows as a warning each time the workspace opens, with the status and, on a production environment, the date Lattice processing stops. No warning means the license is valid, or the environment has no license yet and nothing is scheduled to stop. License status in the workspace's Links section shows the current status at any time, and whether Lattice is blocked or the date it will be.
When it fails
A failed check-in never fails the job and never changes the stored license: Lattice keeps working on the last answer, and the next check-in tries again.
| Symptom | Cause | Fix |
|---|---|---|
| No check-in job after a restart | The batch service is stopped, the Admin user is disabled, or a check-in started less than 15 minutes earlier | Start the batch service or enable Admin; the last case is expected |
| The job's log shows "The license check-in of Lattice %1 did not complete. ..." | Registering Lattice with the licensing module, the check-in or reading the status afterwards raised an error | Run License refresh. If the message comes back after the next environment start, contact Magicite support with the job log |
| The Integration operations workspace shows a license warning | The stored license is expired, missing, suspended or out of contact | Follow I want to act on a license warning |
| A new environment shows no license after deployment | The first check-in has not run or has not reached the licensing service | Run License refresh and open the workspace again |
Effect on the rest of Lattice
- Every license decision reads the stored answer, so an outage of the licensing service does not stop Lattice; only a long loss of contact does, and only on production.
- A check-in after a renewal is what lifts a warning or a block. Run License refresh instead of waiting for the next day.
- The check-in tells the licensing service which Lattice version is installed, so after an update the new version is reported at the next server start.