A CMDB is a model of the IT environment, not just an inventory of equipment: the database shows what parts the infrastructure consists of and how they depend on one another. The term was established by the ITIL library, but such databases are also maintained without ITIL processes. The data only stays alive when it flows in automatically: a manually kept reference goes stale within weeks.
Configuration items and relationships
The basic unit of record is the configuration item, CI: an element that is managed and modified as a whole. It can be a server, a virtual machine, an application, a network device or a business service. Each CI has its attributes and relationships stored: what it runs on, what it serves and what depends on it.
| Attribute | Example entry |
|---|---|
| Name and type | virtual machine app-frontend-04 |
| Owner | the online shop team |
| Environment | production, region eu-central-1 |
| State | running, software version 3.14.2 |
| Relationships | runs on the k8s-prod-1 cluster, serves the “Payments” service |
What it is used for
- Change impact assessment: before a cluster is upgraded, you can see which services run on it and who needs to be warned.
- Incident analysis: when several systems fail at once, the relationships point to the common cause.
- Audit and record-keeping: who owns each item, when it was changed and whether updates are installed.
How the database stays up to date
A CMDB cannot be maintained by hand: the environment changes every day. Data is collected by discovery systems and agents, and some sources are connected through federation — they keep owning their part of the data, and the CMDB displays it without copying. If the IaC repository lists 10 virtual machines while the database has 8, the discrepancy is visible at once: someone has been changing the environment by hand.
Sources
the term is written from these pagesVerified 9 Nov