CMDB data model
How CI classes inherit from the CMDB table, what every CI records, and how relationships, models and logical classifications connect CIs.
The CMDB data model is the tree of tables that holds configuration items (CIs), and the tables that relate and classify them. Read it before you add a CI class, load CIs from another system or decide who may change them.
CI classes
Every CI class is a table that extends the CMDB table. A child class inherits all of its parent’s fields and adds its own. Class inheritance is an “is a” relationship: a laptop is an end-user device, which is a computer, which is a network device, which is hardware.
The first level below CMDB groups the classes:
| Class | Holds |
|---|---|
CMDBHardware |
Network devices (computers, servers, routers, switches, firewalls, printers, load balancers, network adaptors) and data-centre components (data centres, rooms, zones, racks, enclosures) |
CMDBSoftware |
Databases, end-user software, infrastructure software, management applications, load balancer applications, on-premises and SaaS business applications |
CMDBService |
Business, frontend and backend services |
CMDBCloudInfrastructure |
Cloud availability zones, clusters, databases, data centres, deployment templates, ephemeral instances and load balancers |
CMDBVirtual |
Virtual devices |
CMDBCluster |
Clusters |
CMDBBusinessProcess |
Business processes |
CMDBCloudProvider, CMDBCloudApplicationPlatform |
Cloud providers and application platforms |
CMDBISPConnection, CMDBESBIntegration, CMDBPointToPointIntegration |
Connections and integrations between systems |
CMDB → Administration → View physical CMDB tree shows the full tree in your instance. The CMDB menu lists the classes under Hardware, Software, Network, Virtual, Cloud Infrastructure and Model.
Each class has a CMDB metadata record (CMDBMetadata). It gives the class its title, icon, logical domain and infobox template. Its View definition is fragment setting makes the class’s form roll up the fields of every parent class, one tab per class.
What every CI records
Fields on the CMDB table appear on every class.
| Group | Fields |
|---|---|
| Identity | Name, Description, Type, Subtype, Status, OperatingSystem |
| Discovery | ExternalSource, ExternalKey, LastDiscovered |
| Place | Location, Latitude, Longitude |
| Ownership | Company, Vendor, BusinessOwner, Customers, ServiceProviders |
| Support | SupportGroup, ApprovalGroup, SubscribedUsers, SubscribedGroups, AllocatedSchedules |
| Classification | Model, LogicalTier, LogicalGroup, LogicalDomain |
BusinessOwner, Customers and ServiceProviders point at CMDB organisation groups. An organisation group bundles users, departments, companies and organisations. AllocatedSchedules links the CI to backup, blackout, maintenance and support schedules.
Discovery integrations fill ExternalSource, ExternalKey and LastDiscovered, so you can tell a discovered CI from one entered by hand.
Relationships
A relationship (CMDBRelationship) links a provider CI to a dependent CI through a relationship type. Each type (CMDBRelationshipType) has a name, a provider label and a dependent label, so the link reads correctly from either end. The “Runs” type, for example, reads “Runs” from the provider and “Runs on” from the dependent. A type can be marked as containment.
A peer relationship (CMDBPeerRelationship) links CIs that have no direction between them, such as two servers that fail over to each other. Its types (CMDBPeerRelationshipType) have one label each: “Communicates with”, “Fails over” and “Connects to”.
A CI group (CMDBGroup) is a named list of CIs and other CI groups.
The shipped relationship types:
| Type | Provider label | Dependent label |
|---|---|---|
| Administration | Administers | Administered by |
| Approval | Approves | Approved by |
| Authorization | Authorizes | Authorized by |
| Backup | Backs up | Backed up by |
| Compliance | Compiles to | Compiled by |
| Containment | Contains | Contained by |
| Control | Controls | Controlled by |
| Definition | Defines | Defined by |
| Deployment | Deploys | Deployed by |
| Documentation | Documents | Documented by |
| Gateway | Gateway for | Has gateway |
| Government | Governs | Governed by |
| Hosting | Hosts | Hosted by |
| Location | Location for | Located at |
| Management | Manages | Managed by |
| Monitoring | Monitors | Monitored by |
| Notification | Notifies | Notified by |
| Ownership | Owns | Owned by |
| Parent | Parent of | Child of |
| Provision | Provides | Provided by |
| Proxy | Proxy for | Proxied by |
| Regulation | Regulates | Regulated by |
| Run | Runs | Runs on |
| Security | Secures | Secured by |
| Service | Service for | Served by |
| Subscription | Subscribed for | Subscribes to |
| Support | Supports | Supported by |
| Update | Updates | Updated by |
| Usage | Is used by | Uses |
In 1.11 the relationship types, peer relationship types and logical classifications ship as demo data. An instance installed without demo data has none until you create them under CMDB → Relationships.
Models and logical classification
A CI model (CMDBModel) describes a make of hardware or software that many CIs share. Models are split into hardware and software models, list the CI classes they support and can name the model that replaces them. A CI points at its model through Model.
Logical classification (CMDBLogicalClassification) places a CI in a service view that cuts across the physical tree. It has three types, and a classification can have a parent:
| Type | Example values |
|---|---|
| Tier | Business tier, Services tier, Service configuration tier |
| Group | Business processes and services, Shared infrastructure, End user services |
| Domain | Business services, Databases, End user devices |
CMDB → Administration → View logical CMDB tree shows CIs by tier, group and domain.
How CIs get into the CMDB
| Source | How |
|---|---|
| By hand | The New button on any class list in the CMDB menu |
| Import | An import table and a transform map into the class table |
| Microsoft Intune | The Microsoft Intune Integration application loads laptops, desktops and their software |
| Lansweeper | The Lansweeper integration loads assets from Lansweeper |
The CMDB is not asset management. A CI describes what a component is and what depends on it. An asset record describes who owns it and what it costs.