Bookmarks

CMDB — configuration management database

A store of data about the IT environment: the configuration items — servers, services, applications — and the relationships between them.

Also: CMDB, configuration repository

checked 9 Nov

All terms

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.

AttributeExample entry
Name and typevirtual machine app-frontend-04
Ownerthe online shop team
Environmentproduction, region eu-central-1
Staterunning, software version 3.14.2
Relationshipsruns 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 pages

Verified 9 Nov

Not to be confused with

what it is mixed up with and how it differs

  • ITSMIT service management

    ITSM is an approach to managing IT services as a whole; the CMDB is one of its tools, a database of configurations.

  • change management

    Change management is the process of approving and implementing changes; the CMDB serves as its data source but changes nothing itself.

In depth in the references

where the topic is covered in detail