Server licensing and migration
A CADVault server holds one license for the whole installation. Everyone who works against that server is covered by it; you do not license each workstation separately. How seats, the trial and the license states work is described in Trial and activation.
This page is about the license that lives on the server: how it is bound, and what to do when the server moves.
How the license is bound
Section titled “How the license is bound”When an administrator activates a license key, the server registers itself with the licensing service as a single machine. That registration is the license’s one slot: a second server cannot activate the same key while the first one holds it.
The server is identified by a small identity file, not by its hardware. CADVault writes this file into its data directory on first start and uses it from then on. Two things follow:
- Replacing hardware, moving to another host, or rebuilding a container changes nothing, as long as the data directory comes along.
- Copying the data directory to a second machine and running both does not give you two licensed servers. The second one finds the slot taken.
The identity file sits next to your vault data, in the reserved _license folder of the data
directory. Back it up the way you back up the rest of that directory.
Activating
Section titled “Activating”Activation is an administrator action in the Viewer:
- Make sure the server can reach the internet.
- Open Settings → Admin → Licensing, paste the key into License key and choose Activate.
- Check that the status at the top of the page reads Licensed.
For a scripted installation, the same action is available on the server as
POST /api/v1/license/activate, called as an administrator.
The key is stored in the server’s data directory. It is never sent to a client and never written to the server’s log.
Moving a server
Section titled “Moving a server”There are two cases, and they need opposite actions.
You are moving the installation, and the data directory comes with it
Section titled “You are moving the installation, and the data directory comes with it”Nothing to do. Restore the data directory on the new host and start CADVault. The identity file comes along, the licensing service recognizes the same server, and the license stays active.
This covers most moves: a new VM, a rebuilt container, a restored backup, different hardware. There is no reactivation step and no support request.
You are decommissioning the server, and the data directory is not coming with it
Section titled “You are decommissioning the server, and the data directory is not coming with it”Release the license first, while the old server is still running. In the Viewer, open Settings → Admin → Licensing and choose Release license. This frees the license’s machine slot so the next server can take it.
If you skip this and simply switch the old server off, the slot stays claimed by a server that no longer exists. The licensing service releases it by itself once it stops hearing from that server, but that takes time, and until then a new server cannot activate the same key.
The same applies to a server you are rebuilding from scratch rather than restoring: release the license on the old one before you tear it down.
When the licensing service cannot be reached
Section titled “When the licensing service cannot be reached”CADVault re-checks the license about once a day. A server that cannot reach the licensing service (a firewall change, a DNS problem, an outage) keeps running on what it last confirmed: a paid license for 7 days, a running trial for 48 hours. During that time the status reads Licensed · grace until date. After it, the status reads Grace period lapsed and changes are blocked until the server reaches the licensing service again. Reading the vault keeps working.
Starting the server does not require the licensing service either. A CADVault server behind a blocked outbound connection starts normally and reports its last known license state.
Restoring the connection resolves it on the next check. An administrator can also choose Refresh now under Settings → Admin → Licensing to check right away.
When the license itself has a problem
Section titled “When the license itself has a problem”Some answers from the licensing service are not outages, and waiting does not help. Settings → Admin → Licensing names the problem:
| What the Viewer shows | What it means | What to do |
|---|---|---|
| The license is suspended: contact the vendor | The licensing service blocks the license | Contact us: this is a billing or account matter |
| The license has been revoked: contact the vendor | The license is withdrawn | Contact us |
| License ended or Trial ended | The license or trial term is over | Enter a new key in License key; the ended one is released for you |
| Another deployment holds this license: deactivate it there first | Another server holds this license’s machine slot | Release the license on the other server, or contact us if it no longer exists |
| This license cannot be used by this vault | The key is valid, but not for CADVault | Check that you activated the right key |
A renewed or reinstated license is picked up by the next check; no reactivation is needed, and the key stays where it is.
What the server never does with your key
Section titled “What the server never does with your key”- It is not returned to any client, on any response, including error responses.
- It is not written to the server log, not even when a request fails.
- It is not sent anywhere other than the licensing service itself.