OBLYTECH Logo
OBLYTECH Logo

CSDM Examples: Modeling an Application From Service to Server

CSDM examples show how one application is traced from the business service it supports down to the servers and database instances underneath it. The Common Service Data Model (CSDM) gives you layers and rules rather than a finished map, so a worked case is the quickest way to see how those rules behave on real software. The three models below are illustrative. They are invented for teaching, built from common patterns, and do not describe any real organization. For the wider framework, start with the CSDM guides hub.

Tracing one business service down to infrastructure

Begin with the question a business leader would ask: what does Finance need running to process staff expense claims? In the first illustrative model, the business service is Expense Claims, owned by the Finance operations team. It is the top of the chain, the thing a consumer asks for. Teams that need to draft that list first can use a starting point built around business services, and the difference between that record and the technical layers below it is covered in what a business service record should represent.

The expense portal that staff use to upload receipts sits under the business service as a business application. It runs on a technology management service and a service instance (formerly called a technical service and an application service), and each of those links back up the chain. A common error at this point is attaching servers straight to the business service and skipping the layers. That gives a quick inventory but breaks impact analysis, because a database change no longer shows which business services it touches.

Below the application layer, the example attaches an application server, a database instance and the server that hosts the database. The database instance is its own record, separate from the server it runs on. Keeping them apart is what lets you answer which databases share a physical host, a question that matters a great deal during a maintenance window.

A technology management service example: corporate email

Not every service in the model faces a business user directly. Corporate email is a technical service owned by the infrastructure team, and several business services depend on it at once. In the second illustrative model, the technical service groups the mail servers, the relay hosts and the directory that checks mailbox access. Business services such as expense approval and customer notifications point at it as a dependency rather than repeating the server list.

The benefit shows up during planned work. A relay outage appears against each business service that depends on the email service, with no separate list to maintain for each one. The mistake to avoid is copying the infrastructure under each business service, which lets the copies drift apart over time.

A non-business application: the warehouse stock script

Some internal tools do not appear in a service catalog. Take a small scheduled job that a warehouse team uses to reconcile stock counts each night. It would rarely be called a business service, and forcing it into one tends to create a record that people stop trusting. In the third illustrative model, the job is modeled as a single application running on one server, with that server as its only infrastructure item. Whether it should appear in a broader service view is a governance decision. Write the answer down so the next person does not have to guess.

Choosing dynamic groups or static relationships for each case

A recurring design question is whether a set of CIs should be selected by a rule or linked by hand. A dynamic CI group is built from attributes or criteria you set, so its membership changes as CIs start or stop matching them. A static relationship records a fixed link that someone creates and maintains. In the first model, the application servers that serve Finance suit a dynamic group, because a new server should join when it is built with the right attributes. The disaster recovery pair for the expense database suits static relationships, because that pairing is deliberate and should not change because someone edited a tag.

Teams tend to overuse one method. Heavy reliance on dynamic groups hides a missing tag until a report comes out wrong, and heavy reliance on static links goes stale as soon as the estate changes. Check which method each group uses before you trust its results.

Creating a static relationship in the relationship editor

A static relationship is made by hand from a CI form, in the relationship editor, which asks for a relationship type and at least one second CI. The direction is an easy step to get backwards, because the same two CIs can be linked as parent and child in opposite ways.

Open the CI form, scroll to the Related Items section and select the plus icon to launch the editor. With suggested relationships switched on, pick the relationship type first and then the CIs. With them switched off, select the CIs first and then the type. Use the Downstream Relationships list when the base CI is the parent and the Upstream Relationships list when it is the child, since the list you choose sets the direction of the new relationship. Before anyone edits a relationship, settle who owns each side of it, starting with how CMDB ownership is set up.

Deleting a CI relationship from the relationship editor

To remove a link between two CIs, open the CI form, select the plus icon in Related Items, pick relationships to delete, then select the delete icon. Deleting a link to a dependent CI leaves that CI without a relationship to the CI it depends on, so check dependencies first.

What finished CSDM examples should contain

Each worked model should name its top record, list each layer below it, and state the one design choice a reviewer should check. The table summarizes the three models.

Example Top record Records below it Design choice to check
Expense Claims Business service Business application, service instance (formerly application service), application server, database instance, database server Database instance kept as its own record, separate from its server
Corporate Email Technology management service Mail servers, relay hosts, directory Infrastructure referenced once, not copied under each business service
Warehouse stock script Application One server Whether the application belongs in a service view at all

Keep the examples in a shared document alongside the discovery data behind them, so the next review can compare the model against the live estate. For how this plays out across a whole organization, see how enterprise teams apply the model day to day.

Tracing when a CI relationship was changed

Changes to a CI relationship are written into the history of the CIs on both sides, so you can see when a dependency was added or removed from either record. This applies whether a person made the change or Discovery did, which can help when a map shows a link that nobody remembers creating.

Take a computer with a used by relationship to another computer. The history of the first records when that link was established, and the history of the second records the same event. If the relationship is removed later, both histories show that too. Auditing on the CI Relationship table (cmdb_rel_ci) can be turned off for teams that do not want this history displayed, so check with your reviewers whether the trail matters before you switch it off.

Frequently asked questions about CSDM examples

Do I need a business service for every application?

Not necessarily. An application that supports a single internal process can sit below a technical service without a business service above it. The deciding factor is whether anyone outside IT asks about that application when it fails. If they do, a business service record is worth creating.

Can one server support several business services?

Yes, and that is much of the reason for the layering. A single server or technical service often supports several business services, so each dependency should point at the shared record instead of duplicating it. Your own discovery data will show how common this is in your estate.

Can I copy these examples into my own instance?

Treat them as a pattern to test, not a template to import. The names are invented, and the exact record classes, relationship types and layers depend on the CSDM version and plugins your instance runs. Confirm those details in your own instance before you build anything.

Do I need outside help to build a CSDM model?

Some teams build the model in-house from discovery data and a clear list of business services. Others bring in help for the first pass. If you want that kind of support, see outside help with CSDM service modeling.