CMDB schema model
Summarize
Summary of CMDB schema model
The Configuration Management Database (CMDB) schema model in ServiceNow Yokohama release is a structured set of interconnected tables that store detailed information about all assets, business services, and their configurations managed by an organization. It supports IT and non-IT configuration items (CIs) and their relationships, enabling comprehensive visibility into organizational resources and their interdependencies.
Show less
CMDB tables hold data about network devices, computers, software contracts, licenses, business services, and more. The CMDB is integral to various ServiceNow applications such as Asset Management, Software Asset Management, and Contract Management, providing a unified source of truth for assets, vendors, contracts, warranties, and licenses.
Key Features
- Core Tables:
- Base Configuration Item [cmdb]: Core table for non-IT CIs, using a partition extension model.
- Configuration Item [cmdbci]: Stores attributes of all IT CIs; access requires admin, itil, or asset user roles.
- CI Relationship [cmdbrelci]: Defines relationships between CIs.
- Extended tables for specialized CI types, e.g., Database, Computer, Server, UNIX Server.
- Schema Map: Visual tool to explore table structures and relationships via System Definition > Tables & Columns.
- CI Attributes and Classification: Attributes classify CIs within a hierarchy. Unique attributes branch classification, supporting detailed differentiation (e.g., servers vs. computers, Linux vs. UNIX servers).
- Related Apps and Integrations:
- CMDB CI Class Models app extends base class hierarchy with new classes and identification rules.
- Discovery Patterns app helps discover devices and applications.
- Service Graph Connectors provide pre-built integrations for importing third-party data.
- IntegrationHub ETL wizard assists in creating custom data import mappings.
Practical Benefits for ServiceNow Customers
- Gain a centralized, structured view of all IT and non-IT assets and their configurations.
- Improve IT service management by understanding relationships and dependencies between CIs.
- Leverage integrated applications like Asset Management and Contract Management with consistent and accurate CMDB data.
- Use schema maps and classification hierarchies to customize and extend CMDB structures based on organizational needs.
- Easily integrate and populate the CMDB with external data sources through ServiceNow Store apps and IntegrationHub tools.
The Configuration Management Database (CMDB) schema model is a series of connected tables that contain all the assets and business services controlled by a company and its configurations.
- CMDB tables descriptions: Descriptions of key CMDB tables in the base system.
- CMDB CI Class Models: A ServiceNow Store app that adds class models that extend the base CMDB class hierarchy. This includes class descriptions, identification rules, identifier entries, and dependent relationships if applicable. You can then use the added classes as any other CMDB base class.
- Populating the CMDB: Information about the various options for populating the CMDB.
- Discovery patterns: A ServiceNow Store app that provides a library of Discovery patterns for discovering specific devices and applications in the industry.
- Getting started with Service Graph Connectors: ServiceNow Store apps that provide pre-defined integrations for importing and integrating common third-party data into CMDB classes. Also includes the IntegrationHub ETL wizard for creating new ETL transform maps.
CMDB tables contain information about computers and devices on the network, software contracts and licenses, business services, and so on. The IT desk can use the CMDB to better understand their network users' equipment, and the relationships between them. The CMDB can also be referenced by other processes within the system.
Applications such as Asset Management and Contract Management, operate in conjunction with the CMDB. Asset Management and Software Asset Management link to CMDB all assets, hardware, software, assets in stock, as well as records for manufacturers and vendors. The Contract Management application contains information about contracts, including leases, service contracts, purchase orders, warranties, and software licenses. The Configuration Management Database (CMDB) application has a focus on operation.
For more background information about the CMDB, see the ServiceNow Community post) at CMDB 101- What is a configuration management database and why do you need one?.
Key CMDB tables
Key tables in the configuration management database (CMDB):
- The Base Configuration Item [cmdb] table, which is the core CMDB table for non IT CIs (descending classes are non IT CIs).
- The core Configuration Item [cmdb_ci] table, which stores the basic attributes of all the CIs. The admin, itil, or asset user role is required to access this table (descending classes are IT CIs).
- The CI Relationship [cmdb_rel_ci] table, which defines all relationships between CIs.
The Configuration Item table is extended to other tables, such as Database [cmdb_ci_database] and Computer [cmdb_ci_computer]. The Computer table is extended to the Server [cmdb_ci_server] table, which is extended to the UNIX Server [cmdb_ci_unix_server] table, and so on.
- Navigate to .
- Select a table and click Schema Map.
CI attributes
Attributes apply to all the CIs in a classification. To change attribute values for a CI, edit the appropriate CI. To add a unique attribute to a class, extend the class table and create a new classification for that CI.
The position of a CI in a classification hierarchy is determined by the attributes it shares with the CIs below it. Each time a CI has a single different attribute from its parent, the classification hierarchy branches.
For example, servers have different attributes from computers, which include workstations and laptops. Linux servers and UNIX servers have different attributes from the parent server classification and from each other, so they occupy separate branches in the hierarchy.