Upgrading the KMS
Every release page lists what changes by area and what to do on an existing installation. The procedure below applies to every release.
Upgrade procedure
- Read the release page for your target version and apply its What to do column.
- Check that your source version is supported: see supported source versions.
- Take a cold backup with the server stopped. For SQLite, copy the whole
sqlite_pathdirectory (cp -a). For the other backends, use the backend's own dump tool. - Stop every node: do not run two versions of the server against one database.
- Upgrade the server,
ckmsand the packages together, then start the server. The database migrates at startup; see Database Migrations. - Run the "Verify the upgrade" list of the release page.
- To go back, restore the pre-upgrade backup and the pre-upgrade
kms.toml, and start the old binary.
Release pages
| Release | Page | Highlights |
|---|---|---|
| 5.30 | Upgrading to 5.30 | Secure-by-default configuration and identities, KMIP 2.1 conformance, versioned database migrations, multi-node cluster support |
Releases earlier than 5.30 are documented in the changelog (CHANGELOG.md in the repository root).