Pcornel
Automation · Inventory

CMDB

Cheat sheet · https://pcornel.dk/topic.php?topic=5848

Back to the Topic

Answer

A CMDB (configuration management database) stores configuration items and their relationships, such as servers, applications and owners. As an inventory source it is only useful if kept accurate.

Remember

  • Only useful if accurate.
  • Fed by discovery and automation.
  • Relationships matter.

First checks

  • CMDB CI records and relationships — configuration items
  • Sync with discovery/SoT — accuracy
  • CI owner fields — accountability

Verify in this order

discovery/SoT → CMDB → ITSM processes

Where it usually breaks

Inventory/vars → play/task selection → connection/become → module request → module result → target object read-back → handler/service effective state → workload verification.

Read-only verification commands unless stated otherwise. Confirm syntax for your platform and release. Full reference: https://pcornel.dk/topic.php?topic=5848

Confirmation

Confirm action

Continue?