Introducing a new way to review your PRs.

Read the announcement

combodo / itop

A simple, web based CMDB & IT Service Management tool

View on GitHub

17 documents · Updated Nov 20, 2026

docs / itil-and-infrastructure-data-models

ITIL and infrastructure data models

The versioned data-model modules define the service-management and infrastructure model that extends the CMDB. They connect organizations, people, teams, services, tickets, configuration items, physical data-center resources, access paths, and optional product features so that service work can be traced to the infrastructure that supports it.

Read this page with CMDB and data model for the shared object model, CMDB object lifecycle for object changes, and Querying and OQL for the query language used by model relations and portal scopes.

Module composition

The 2.x module set is a versioned collection of data-model additions. Each module can define a domain, extend a shared class, add access or portal behavior, or supply an application support capability. Dependencies decide which combinations are valid.

The model is composed around a few shared paths:

flowchart TD
    Structure[Organizations people and teams] --> Tickets[Common tickets]
    Tickets --> ITIL[Requests incidents changes problems]
    Structure --> Services[Services and contracts]
    Services --> ITIL
    Services --> CMDB[Configuration items]
    CMDB --> DataCenter[Data-center domains]
    CMDB --> Optional[Optional infrastructure domains]
    PortalBase[Portal base] --> Portal[Customer portal]
    Tickets --> Portal
    Identity[Authentication choices] --> Access[User access]

The module set is not the same as a business workflow. A support module may enable administration or upgrade work without adding a customer-facing object. An optional module may add a complete infrastructure domain. Bridge modules make links between selected domains available.

References: datamodels/…/datamodel.itop-structure.xml• L3-39 datamodels/…/datamodel.itop-tickets.xml• L6-57 datamodels/…/datamodel.itop-service-mgmt.xml• L1-42 datamodels/…/datamodel.itop-portal.xml• L3-46

ITIL service management

Service management describes the services an organization delivers and the agreements that cover them. A service can belong to a service family and can expose service subcategories that guide how a customer request becomes work.

Model areaPurposeRelationship
Service catalogPresent services and request choicesService family → service → service subcategory
Customer coverageDecide which customer can request a serviceCustomer contract → service
Provider coverageDescribe service delivery and supporting CIsProvider contract → service and functional CI
Service levelsSet response and resolution goalsSLA and SLT → service and ticket context
Delivery ownershipFind the team that can handle workDelivery model → organization and team

The service model connects business coverage to the CMDB and ticket model. A customer contract limits the services available to an organization. Provider links show which infrastructure supports each service. This makes service choice, ticket routing, and impact analysis part of one path.

References: datamodels/…/datamodel.itop-service-mgmt.xml• L1111-1269 datamodels/…/datamodel.itop-service-mgmt-provider.xml• L1-41 datamodels/…/datamodel.itop-bridge-cmdb-services.xml• L4-222

Ticket domains

The ticket model is the common record for operational work. It gives specialized ticket domains a shared link to a caller, organization, team, agent, work orders, contacts, service context, and affected configuration items.

The main ticket domains are:

DomainPurposeMain business concern
Request managementHandle a user requestService choice, approval, targets, resolution, and satisfaction
Incident managementRestore service after an interruptionPriority, escalation, pending work, resolution, and related tickets
Change managementPlan and control a service changeAssignment, approval, outage, fallback, implementation, and closure
Problem managementManage the cause of recurring issuesLinks to incidents, requests, known errors, changes, and CIs
Known-error managementReuse known causes and fixesSymptoms, workarounds, solutions, and affected CIs

The request model can keep a single request record while its request type identifies a service request or incident. The full ITIL model uses the service subcategory to select the right ticket class. This keeps the service catalog in control of the customer entry point instead of making the portal choose a class in isolation.

Tickets can also form a work chain. A request or incident can relate to another ticket, a problem, or a change. Lifecycle states show whether work is open, waiting, escalated, resolved, or closed. Service targets can move work into escalation states when response or resolution time is exceeded.

References: datamodels/…/datamodel.itop-tickets.xml• L6-230 datamodels/…/datamodel.itop-request-mgmt.xml• L4-44 datamodels/…/datamodel.itop-request-mgmt-itil.xml• L4-44 datamodels/…/datamodel.itop-incident-mgmt-itil.xml• L4-44 datamodels/…/datamodel.itop-change-mgmt.xml• L4-44 datamodels/…/datamodel.itop-problem-mgmt.xml• L4-43 datamodels/…/datamodel.itop-knownerror-mgmt.xml• L4-134 datamodels/…/datamodel.itop-full-itil.xml• L3-72

Configuration-item domains

Configuration management records the managed things that support services and the links between them. A configuration item, or CI, is a managed object that can be owned by an organization, placed in an operational state, linked to other CIs, and connected to services or tickets.

The CI model grows from FunctionalCI into focused families such as physical devices, servers, software, applications, network resources, and other infrastructure. This shared base lets a ticket point to an affected CI and lets the CI show the open work and service impact around it.

The ticket bridge creates the two-way impact path:

flowchart LR
    Ticket[Ticket] <--> TicketLink[CI-to-ticket impact link]
    TicketLink <--> CI[Functional CI]
    CI <--> ServiceLink[CI-to-service link]
    ServiceLink <--> Service[Service]

CI groups provide a separate way to organize non-obsolete functional CIs. They support grouping without changing the CI's class or its service and ticket relations.

References: datamodels/…/datamodel.itop-config-mgmt.xml• L3-122 datamodels/…/datamodel.itop-bridge-cmdb-ticket.xml• L4-179 datamodels/…/datamodel.itop-bridge-cmdb-services.xml• L98-222

Data-center domains

Data-center management gives physical infrastructure a location and capacity model. It represents the place where equipment runs and the physical resources that support it.

The domain relates equipment through several kinds of dependency:

  • Racks and enclosures describe placement and available units.
  • Servers and network devices describe compute and network equipment.
  • Interfaces and links describe connectivity.
  • Power connections, power sources, and PDUs describe energy paths.
  • Redundancy settings describe how much supporting capacity must remain available.

These relationships let an engineer trace a service or ticket beyond a named server. A physical location, rack, power path, or network link can be part of the same impact view when the related bridge modules are selected.

References: datamodels/…/datamodel.itop-datacenter-mgmt.xml• L3-55 datamodels/…/datamodel.itop-datacenter-mgmt.xml• L238-290 datamodels/…/datamodel.itop-datacenter-mgmt.xml• L480-677 datamodels/…/datamodel.itop-bridge-datacenter-mgmt-services.xml• L3-75

Optional infrastructure capabilities

Optional modules extend the same CI model for installations that need more infrastructure detail. Their classes remain part of the common impact graph, but their availability depends on the selected module set.

CapabilityPurposeMain relationship
VirtualizationDescribe farms, hypervisors, virtual machines, and cloudsVirtual host → virtual machine; farm → hypervisor
ContainersDescribe container hosts, clusters, applications, and imagesContainer host or cluster → container application
StorageDescribe storage systems, SAN devices, volumes, and file systemsStorage system → volume → server or virtual device
End-user devicesDescribe phones, PCs, tablets, printers, and peripheralsPhysical device → service and provider contract
Data flowsDescribe movement between CIsSource CI → data flow → destination CI
FAQProvide a small knowledge base for known questionsFAQ category → FAQ entry
AttachmentsKeep files with selected business recordsAttachment → allowed object

Bridge modules connect optional domains to service management. They add service and provider-contract links for infrastructure families and add the CI-to-ticket path where needed. This avoids making every optional domain depend directly on every other optional domain.

Attachment activity can also start matching triggers. The attachment model covers creation, removal, and download events, so notifications or other actions can use the host object and attachment details. Download triggers apply to file downloads rather than inline previews. In the back office, protected AJAX actions add files to an object draft or refresh its attachment view. The response reports stable error codes for empty uploads and denied actions.

Data flows keep the kind of data separate from the protocol that carries it. This lets one flow describe both what moves between CIs and how it moves. The container model and storage model follow the same impact idea, so a service can be traced through virtual, container, and storage resources when those capabilities are installed.

References: datamodels/…/datamodel.itop-virtualization-mgmt.xml• L3-38 datamodels/…/datamodel.itop-container-mgmt.xml• L3-94 datamodels/…/datamodel.itop-storage-mgmt.xml• L3-42 datamodels/…/datamodel.itop-endusers-devices.xml• L3-40 datamodels/…/datamodel.itop-flow-map.xml• L3-190 datamodels/…/datamodel.itop-faq-light.xml• L3-69 datamodels/…/datamodel.itop-attachments.xml• L3-103 datamodels/…/ajax.itop-attachment.php• L44-163 datamodels/…/renderers.itop-attachments.php• L103-180 datamodels/…/AttachmentAjaxErrorEnum.php• L3-12 datamodels/…/EventListener.php• L31-175 datamodels/…/datamodel.itop-virtualization-mgmt-services.xml• L3-46

Identity and portal models

Identity modules decide where user credentials come from. The local model uses iTop's user data, LDAP checks a directory, and CAS provides an external login path. LDAP is an optional module that is registered only when the PHP LDAP extension is available. Its settings support a directory URI, user lookup, optional TLS, and more than one server.

The portal is a controlled view of the same service and ticket model. Portal scopes limit data to the current customer's organization and contact context. A portal user can browse permitted services, create or view permitted tickets, and manage the allowed part of the user profile. A broader portal profile can grant access to all tickets for that customer.

The structure model is the shared identity context for these views. Organizations contain locations and contacts. A Person can have a user account, a manager, a location, and team membership. A linked user's email is protected by the same access boundary: administrators and the person who owns the account can update it, while other users cannot. A Team groups people and provides the operational owner used by ticket work. These links let portal access and service work use the same organization boundary.

Portal service and ticket behavior follows this path:

sequenceDiagram
    participant Customer
    participant Portal
    participant Catalog as Service catalog
    participant TicketModel as Ticket model
    participant CMDB

    Customer->>Portal: Browse permitted services
    Portal->>Catalog: Apply customer scope
    Catalog-->>Portal: Return service subcategories
    Customer->>Portal: Choose a request type
    Portal->>TicketModel: Create request or incident
    TicketModel->>CMDB: Link affected CIs
    TicketModel-->>Portal: Show permitted ticket state

The portal base supplies the portal display event and runtime boundary. The enhanced portal adds the portal instance, customer scopes, service browsing, ticket lists, ticket search, and profile view. A class can exist in the CMDB but remain hidden from a portal user. A service can exist but remain unavailable without matching customer coverage.

References: datamodels/…/datamodel.itop-structure.xml• L4-39 datamodels/…/datamodel.itop-structure.xml• L396-434 datamodels/…/datamodel.itop-structure.xml• L594-848 datamodels/…/datamodel.itop-structure.xml• L990-1142 datamodels/…/datamodel.authent-local.xml• L1-9 datamodels/…/datamodel.authent-ldap.xml• L3-43 datamodels/…/module.authent-ldap.php• L6-61 datamodels/…/module.authent-ldap.php• L63-95 datamodels/…/datamodel.authent-cas.xml• L1-15 datamodels/…/datamodel.itop-portal-base.xml• L1-22 datamodels/…/datamodel.itop-portal.xml• L3-164 datamodels/…/datamodel.itop-profiles-itil.xml• L95-150 datamodels/…/datamodel.itop-tickets.xml• L992-1295

Integration and support capabilities

Some modules support the product around the data model rather than add a new service domain. OAuth clients hold provider connection details for mail and other OAuth use. The Hub connector defines the link to the iTop Hub service, while update, database, backup, and file-information modules support the application lifecycle.

The backup capability gives administrators one place to check backup readiness and manage backup files. The status page checks the database dump tool, backup directories, file-name format, schedule, retention, and current backup or restore locks. It lists automatic and manual backups, starts an immediate backup, and starts a restore through a short-lived token so the restore can continue without loading the full data model.

Access to these capabilities is narrower than access to ordinary business records. Profiles protect connection records and system actions, and administrators receive the strongest maintenance rights. Themes and the welcome model provide presentation and navigation choices without changing the business relations between services, tickets, and CIs.

The support capabilities include:

  • OAuth provider records for external authorization and mail use.
  • Hub connection settings and remote message routes.
  • Administrator-only entry points for database tools, backup status, and core update work.
  • Backup readiness checks, scheduled and manual backup files, and controlled restore actions.
  • Data-feature removal support for changing the selected extension set.
  • Back-office themes for dark, high-contrast, and color-vision needs.
  • A welcome dashboard that exposes the main structure and audit areas.

References: datamodels/…/datamodel.itop-oauth-client.xml• L3-40 datamodels/…/datamodel.itop-hub-connector.xml• L3-26 datamodels/…/datamodel.combodo-db-tools.xml• L3-11 datamodels/…/datamodel.itop-backup.xml• L3-11 datamodels/…/status.php• L64-217 datamodels/…/status.php• L219-396 datamodels/…/ajax.backup.php• L71-125 datamodels/…/ajax.backup.php• L128-237 datamodels/…/datamodel.itop-core-update.xml• L3-11 datamodels/…/datamodel.combodo-data-feature-removal.xml• L3-28 datamodels/…/datamodel.itop-welcome-itil.xml• L3-118 datamodels/…/datamodel.itop-themes-compat.xml• L3-33 datamodels/…/datamodel.combodo-backoffice-darkmoon-theme.xml• L3-21

Version and migration boundaries

Module versions and dependencies are part of the data-model contract. A selected module set determines which classes, links, portal scopes, and reference values can be resolved. A model change can therefore affect stored records and every consumer that names the changed class or value.

When a model changes, the important boundary is the match between the selected modules and the stored data:

  1. The selected module must expose a compatible version and dependency range.
  2. The model must define the new class, field, relation, or portal design.
  3. Stored class names and enum values must still match the new model.
  4. Links, OQL, portal scopes, and relation views must still resolve the changed objects.

Changing the selected extension set also requires a cleanup path. The data-feature removal capability identifies records from removed modules, separates safe deletes from updates and issues, and leaves unresolved issues for review before cleanup.

The structure model is also a shared contract for organization and contact identity. Its document family provides file, note, and web-link forms under one document concept. Its typology classes provide reusable values for document and contact types. Changes to these shared classes can affect portal identity, team assignment, attachments, and any module that uses organization-scoped records.

References: datamodels/…/datamodel.itop-structure.xml• L3-39 datamodels/…/datamodel.itop-structure.xml• L396-434 datamodels/…/datamodel.itop-structure.xml• L594-724 datamodels/…/datamodel.itop-structure.xml• L1347-1999 datamodels/…/datamodel.itop-config-mgmt.xml• L3-32 datamodels/…/datamodel.itop-service-mgmt.xml• L1111-1269 datamodels/…/datamodel.combodo-data-feature-removal.xml• L3-28

Change checklist

When these files or sections are changed, remember to consider these:

  • Keep an optional CI family, its service bridge, and its ticket impact bridge aligned with the modules that provide the target classes.
  • When a service subcategory or request type changes, check the portal service tree and the ticket class selected from that choice.
  • When a ticket status changes, check its operational status mapping, service targets, portal ticket groups, and relation queries.
  • When a service or contract link changes, check customer coverage and provider coverage because both control what users can select and what infrastructure can be traced.
  • When an organization, person, or team relation changes, check portal scopes, ticket assignment, and organization-filtered OQL.
  • When a linked person's email access changes, check the profile boundary and the rules for self-service and administrator updates.
  • When a class or enum value changes, check stored values plus OQL, relation definitions, portal scopes, and impact views.
  • When an authentication model or module registration changes, check its external runtime requirement, module availability, version, and whether password changes or local credentials remain valid.
  • When an OAuth or Hub connection changes, check the profile boundary and the provider authorization state.
  • When backup settings or backup entry points change, check dump-tool availability, backup paths, schedule and retention display, transaction checks, restore locks, and single-use restore tokens.
  • When removing an extension, check the target module set, records from removed classes, and unresolved cleanup issues before execution.
  • When document or attachment scope changes, keep allowed object classes and object links aligned with the back-office access boundary.
  • When attachment events or triggers change, keep creation, removal, download, and email-attachment behavior aligned with their host-object targets.
  • When attachment AJAX responses change, keep the error codes, back-office authorization boundary, draft attachment flow, and attachment-list refresh behavior aligned.
  • When a theme changes, keep its theme identifier and shared style imports aligned with the theme compatibility layer.

Important failure modes

TriggerConsequenceGuard
An OQL, relation, or portal scope names a class from an absent optional moduleThe query or link cannot resolve its targetMake the reference conditional or require the module through dependencies
A service subcategory has no matching request type or ticket classPortal creation cannot create the intended request or incidentKeep service subcategory values and the full ITIL ticket factory aligned
A customer has no active contract for a serviceThe portal does not offer that service for ticket creationCheck customer-contract coverage and organization scope
The database dump tool is missing or the backup directory is not writableAutomatic and manual backups cannot complete or cannot be savedUse the backup status checks before relying on backup output
A backup or restore is already locked when another operation startsThe new operation is blocked or restore controls remain disabledCheck the environment mutex and wait for the active operation to finish
A restore request uses an invalid path or an expired, missing, or reused tokenThe restore is rejected before database changes beginResolve the backup path under the backup directory and use the single-use restore token flow
Backup or restore is attempted in demonstration modeThe operation is disabledTreat demonstration mode as read-only for this capability
The PHP LDAP extension is absent when the LDAP authentication module is neededThe LDAP module is not registered, so LDAP authentication is unavailableCheck runtime LDAP support before selecting or deploying the module
A changed class name or enum value has no stored-data repairExisting records no longer match the active modelInclude the change in the upgrade boundary and update consumers
A bridge is missing when its source and target domains are selectedService, ticket, or infrastructure impact links are absentKeep bridge selection tied to both connected domains
A person changes organization while an enabled portal user account remains tied to the old organizationThe person update is blocked to prevent an invalid portal boundaryMove the user account or update the organization access before changing the person
A user other than the account owner or an administrator edits the email of a person with a linked user accountThe email stays read-only or the save is rejectedUse the account owner's self-service path or an administrator path
An OAuth client is changed without fresh authorizationExternal mail or provider actions have no active tokenRe-authorize the client after changing client or redirect data
A portal object form expires before submitThe user action is rejected instead of changing the objectStart a new portal transaction and submit the current object state
Cleanup finds records from a removed module with unresolved issuesExtension removal cannot be treated as safeReview and resolve the cleanup issues before execution
An attachment trigger fails during an attachment eventThe trigger action is logged as an error and does not completeCheck trigger target classes, event data, and action settings
A back-office attachment AJAX request has no valid login, CSRF transaction, or modify right on the host objectThe upload or attachment refresh is rejectedUse the authenticated back-office request flow with the current transaction and host-object permission

Key files

FileWhy to read it
datamodels/…/datamodel.itop-structure.xmlDefines organizations, locations, contacts, people, teams, shared document types, typologies, and the administration context used by other domains.
datamodels/…/datamodel.itop-tickets.xmlDefines the common ticket record and its operational status model.
datamodels/…/datamodel.itop-service-mgmt.xmlDefines services, contracts, service families, and service subcategories.
datamodels/…/datamodel.itop-config-mgmt.xmlDefines the FunctionalCI base and the main CI relationship model.
datamodels/…/datamodel.itop-bridge-cmdb-ticket.xmlShows how tickets and CIs form an impact path.
datamodels/…/datamodel.itop-bridge-cmdb-services.xmlShows how services and provider contracts connect to CIs.
datamodels/…/datamodel.itop-datacenter-mgmt.xmlDefines physical placement, power, and data-center dependencies.
datamodels/…/datamodel.itop-request-mgmt-itil.xmlDefines the ITIL user-request domain and its service-driven flow.
datamodels/…/datamodel.itop-incident-mgmt-itil.xmlDefines incident response, escalation, resolution, and SLA targets.
datamodels/…/datamodel.itop-change-mgmt.xmlDefines the standard change flow and its links to other tickets.
datamodels/…/datamodel.itop-problem-mgmt.xmlDefines problem records and their links to known errors and tickets.
datamodels/…/datamodel.itop-full-itil.xmlConnects service subcategories to request or incident creation.
datamodels/…/datamodel.itop-portal.xmlDefines the customer portal instance, scopes, profile view, and portal settings.
datamodels/…/datamodel.itop-profiles-itil.xmlDefines the access groups and profiles for ITIL, CMDB, tickets, and portal use.
datamodels/…/module.authent-ldap.phpRegisters optional LDAP authentication only when the PHP LDAP runtime is available and prepares its server settings.
datamodels/…/datamodel.itop-flow-map.xmlDefines CI-to-CI data flows and their type and protocol vocabularies.
datamodels/…/datamodel.itop-virtualization-mgmt.xmlDefines virtual hosts, farms, hypervisors, virtual machines, and clouds.
datamodels/…/datamodel.itop-container-mgmt.xmlDefines container hosts, clusters, applications, and images.
datamodels/…/datamodel.itop-storage-mgmt.xmlDefines storage systems, volumes, and storage-related CI links.
datamodels/…/datamodel.itop-attachments.xmlDefines attachment scope and the relationship between files and business objects.
datamodels/…/ajax.itop-attachment.phpDefines the protected back-office actions for adding draft attachments and refreshing attachment views.
datamodels/…/renderers.itop-attachments.phpShows how stored and draft attachments are presented with preview, download, and delete behavior.
datamodels/…/AttachmentAjaxErrorEnum.phpDefines the stable error codes returned by attachment upload actions.
datamodels/…/EventListener.phpConnects attachment creation, removal, and download events to matching triggers.
datamodels/…/status.phpPresents backup readiness checks, schedules, retention, backup lists, and operation controls.
datamodels/…/ajax.backup.phpHandles authenticated backup, download, and token-protected restore actions.
datamodels/…/datamodel.combodo-data-feature-removal.xmlDefines the administration entry point for changing the selected feature set.