On February 5, 2018, Wang Jinyin, CEO of UV Technology, delivered a speech titled “Guide to the Construction of a New generation OF CMDB Model” in “The Way to break the current CMDB Model — EasyTalk-01”. IT Tycoon said (ID: ITdakashuo) as the exclusive video partner, by the sponsor and speaker review authorized release.

Read the word count: 3087 | 8 minutes to read

Guest Speech Video Address:
suo.im/5blKi9

Abstract

Today I bring you the topic of sharing is the construction guide of the new generation OF CMDB model, which is mainly divided into four parts.

Dilemma: A common dilemma facing the CURRENT CMDB model

A lot of CMDB construction in the early stage of the work, and later maintenance gradually abandoned by the role of development, operation and maintenance, become ruins. The reason is partly due to the obstacles of various factors of the system itself, but more due to methodology problems. They always think that they have found a strong driving force to build the process and scene of resource maintenance, but in fact, it is their own wishful thinking.

From a conventional department perspective, the infrastructure department of the data center takes care of the configuration construction and management of the CMDB, but the resource department doesn’t care (and can’t care) about the upper-layer applications associated with the resources. The whole problem seems to be a dead end.

So what are the industry’s problems with the CMDB model today? These problems can be disassembled and analyzed from what perspective?

Breaking the game: The correct idea of constructing CMDB model

Here, I prefer to carry out the construction of CMDB in different layers, and separate the construction of CMDB in business and resource layers. However, the construction of CMDB in application layer must be given priority, and the construction of CMDB in resource layer should be improved backwards.

However, from the perspective of actual business scenarios, how can the real physical world be accurately mapped to the model world?

How do we build models that match all the actual scenarios? Do you think that CMDB model design is as simple as database table design? What is the difference between the new CMDB model and the past CMDB model? What was the reason for the change?

Architecture: Model standard framework

The CMDB is an IT resource management system that can effectively support and reflect the occupied resources of an application. The server occupied by an application is a resource, the memory occupied by an application is a resource, the storage occupied by an application is a resource, and the load balancing occupied by an application is a resource.

However, it is important to note that this resource is more in the form of a back-end service, such as an IaaS or PaaS service.

This session will present a standard model framework for IaaS, PaaS, and the application layer. This framework changes the description of simple two-dimensional tables in the past, and actually builds a CMDB model that reflects the context of most IT systems today.

Demonstration: Deduction of application scenarios of the model

Of course, based on the construction model, we will also deduce each CMDB scenario to verify the adaptability of the new CMDB model.

Moreover, the new thinking of operation and maintenance management proposed this time has been proved to be effective through the implementation of many projects, providing solutions to many unsolved problems in the past. Resources close to the business are the strongest drivers.

Problems facing the current CMDB model

Current CMDB model issues

Most CMDB models today still focus on underlying resources. Part of this underlying resource refers to resource management for the IaaS layer and part refers to resource management for the PaaS layer middleware. When it comes to the upper application, the model is actually very simple, just some basic information about the application.

The second thing I want to talk about is the non-application perspective. Today we create and manage so many resource objects, but we do not know who is used, in fact, the real focus is the application. This I summarize as understanding without an application layer.

The model is not very dynamic. As each model object adjusts its properties or relationships, features on the technical side of a traditional database are particularly costly. I abstract the dynamics of the model into two dimensions: the first is the dynamics between model objects at the CI level, and the second is the instance level.

The fourth problem is the design of scene transition. I think scenarios can be preset, but fine-grained models can be a huge administrative burden. Sometimes scenarios are considered too complex, resulting in a particularly heavy subsequent burden of model management. It’s easy to go from simple to complex, but it’s hard to go from complex to simple.

Technology limits imagination. This model cannot be extended due to the limitations of the CMDB platform technology itself.

Lack of IT architecture thinking. I’m going to go from business architecture to application architecture to infrastructure. Business architecture also includes infrastructure architecture and data architecture. By understanding the relationship between these three, you can express what the essential relational connections are at each level of architecture.

CMDB system snapshot

The correct idea of constructing CMDB model

What’s new about the new CMDB?

New thinking: Break through the perception of configuration management, resulting in unclear boundaries. The configuration is changed to IT resources.

New approach: Push CMDB from the top down, not the bottom up.

New model: Model reconstruction, the traditional relational model can not meet.

New technologies: Redefine functional boundaries with new technologies, new functional architectures.

There are two types of uses for CMDB metadata

The CMDB model is ultimately about instantiating data and relationships, and the right model construction can provide a data base for changing scenarios.

The first is the ITSM process for management. In many traditional enterprises, THE CMDB still provides data support services for ITSM processes.

The second is the execution-oriented DevOps process. The entire end-to-end IT delivery process requires complete metadata, especially at the application level.

Two layers of CMDB, building different management perspectives

CMDB architecture is divided into basic resource layer architecture and application resource layer architecture. The resource architecture of the application layer integrates related resources with the application as the center. Resources and their relationship are called topologies (application topologies and physical topologies). Resources can be managed by manual maintenance or automatic discovery. A flow is a complex scenario and means of manual maintenance.

Five principles of basic CMDB construction

1. Designed for IaaS and PaaS, able to manage all the underlying resources.

2. State control is completed automatically by operation and maintenance process.

3. The maintenance of CI should deeply use automatic discovery rather than manual maintenance.

4. Resource information must be able to provide services for upper-layer applications.

5. CI management needs of basic resources must be met.

Application of CMDB construction principle of qi

1. Provides unified application metadata management capabilities, regardless of application types.

2. The core appeal is application life cycle management.

3. Be application-centric, not resource-centric.

4. Build an elastic relationship with IT resources from the perspective of application resources.

5. Provide support for unified management of application resources, actions, and states.

6. Based on the unified basic resource layer CMDB.

7. The core scenario is continuous delivery.

CMDB model is used for hierarchical understanding

The application CMDB is a complete description of resources. The resources of an application are divided into deployment resources, service resources, and action resources.

Deployment resources are resources that an application depends on for deployment. They are also called local resources, such as hosts and program packages.

Service resources are the resources on which application operation depends. Generally, they are called additional resources (from 12factor), such as application service interface, application dependent PaaS resources, application dependent application resources and so on.

A scene action is an additional action description on a resource and a resource management method.

A standardized framework for new models

A new generation of CMDB resource model framework

Core principle: a resource can provide services, but also depends on its associated resources, so must adopt three-dimensional model solution.

IaaS layer hardware object model

You can instantiate each image and describe them, just properties and relationships.

The IaaS layer software defines the object model

As shown in the figure above, the IaaS layer software definition object model is organized into three layers. The bottom layer is actually called the dependent running resource, of which the host is just one.

These three layers must contain services, component instances, and hosts. The IP list extends from which instances the service runs and which hosts the instance processes run on.

There are two kinds of component instances. One is its own instance, which needs to be instantiated by the application package when the program is running. One is dependency instance, which instantiates a dependent component.

Self-owned service refers to the way in which the service started by itself is exposed when it is provided externally. Dependent services are what other services are associated with the runtime.

This model representation is similar to that of PaaS layer objects.

PaaS layer object model core concepts

It is important to understand the hierarchy between services, instances, and hosts, and to accurately express the difference between a component and a cluster, such as a Mysql component and a Mysql cluster.

Core concepts of application layer object model

Application layer objects also have a deep understanding of the hierarchical relationships between services, instances, and hosts and need to be expressed precisely.

That’s all for today’s sharing, thank you!

Q&A

Q: How do you describe virtualized resources?

A: Today we manage virtualization and physical machine resource objects together. Added a field in the host object table, which belongs to the mother machine, only one dimension difference.

Q: Is there any introduction to things like disk and network?

A: I summarize disk and network as part of the underlying IaaS. In fact, the description of IaaS object CI is relatively simple. For example, hard disks are classified as hard disk size, classification information and so on, just some hardware information, nothing special. The network should be divided into various networks, such as access, convergence and core can be classified as one network equipment, firewalls should be classified as another. The network aspect needs to pay attention to resource information.

Q: How does the application automatically discover? Can you tell us more about automatic resource discovery?

A: For the application layer to truly automate discovery, it certainly needs to rely on rule libraries. System, subsystem, and application component are logical concepts that only human beings can accurately understand. If we want to relate the instance information of the machine running to the application components recorded and understood in our mind, we need to rely on rules. A rule is nothing more than a collection of rules based on the information scanned by the instance. The underlying resources are automatically discovered, there is an interface to write interface, there is a command to run command, nothing special. Because the complexity of automatic resource layer discovery is not its technology, but its infrastructure