CMDB of automated operation and maintenance series
CMDB system introduction
The translation of cmdb is
Configuration Management Database, which is the configuration management database. From the literal meaning, everyone can easily understand the management of configuration files or parameters of the system or software. In fact, this understanding is relatively narrow. In a broad sense, it is a management system for all resources, including physical resources and virtual resources in various IT activities. The summary definition is as follows:
Narrow definition: The management system of system or software configuration files or parameters. Broad definition: The management system of all resources, including physical resources and
virtual resources in various IT activities. Provide basic data support for operation and maintenance automation-physical resources: including servers, network equipment, cabinets, computer rooms, personnel, etc. -Virtual resources: including software, IP, domain name, business, etc.
cmdb is the basis of all automation, and plays a vital role in the process of
operation and maintenance automation. It can be said that the collapse of the cmdb system will cause all upper-level automation to become meaningless.
How to build a CMDB system
Here our CMDB system is positioned as a storage warehouse for
automated operation and maintenance, including physical and virtual resources.
Abstract business operation and maintenance
Abstract operation and maintenance business scenarios, which use scenarios to drive the abstraction of asset models. To achieve the purpose of adapting to various business scenarios. Instead of abstracting the business attributes of physical or virtual resources themselves.
State flow control
Use detailed processes to control the entire life cycle of resources. There are two types of processes, internal and external. The processes in the column are normal processes such as online and offline of the server. The processes outside the list are those with special needs, which are special processes in situations where existing processes cannot be met.
Automatic reporting + manual replenishment
It is impossible for any system to be fully
automated. We have to look at the 28-80 principle, that is, 80% is automated and 20% is supplemented by humans. However, it is necessary to make control and records of manual modification, and not to have excessive authority, which may cause artificial modification.
Relationship topology visualization
Realize the relationship topology of each asset in the asset system for other external system calls; pay attention to the system boundary problem here, and quote a description from others as follows: Management, you can evaluate the impact of faults, but you cannot achieve fault and change impact assessment; CMDB implements business topology for fast fault location, but it cannot implement root cause analysis; everything is based on the data provided by CMDB The data capabilities provided by the system (change, monitoring, and release) with the help of CMDB realize its own scenario-based system capabilities. source
api interface
In addition to managing various resources, it is also necessary to provide rich APIs to interact with external systems.
The API needs to control the permissions, limit the flow, and record the call logs for later audits.
So far, our asset management system has been constructed.
The pain point of CMDB operation and maintenance
The operation and maintenance work after the construction is completed is also a major focus. In the real-time process of various business processes, there will inevitably be various problems that cause various data problems. The biggest pain points are summarized as follows:
The process cannot use all application scenarios
Data accuracy
How to deal with this understanding? It can be solved in the following ways;
System flow
Add non-listed processes, control the changes of resource attributes through the process, and reduce human modifications as much as possible;
Audit inventory
Traverse assets in stages, check asset attributes, and increase the ability to self-discover and repair errors;
Build relevant audit functions that can record changes in the entire life cycle of related assets;
to sum up
The asset management system CMDB is already a common issue, and all major factories have built their own CMDB system to suit their individual business needs. Under the personalized business, it is difficult to form a unified solution, but some experiences and lessons can still be extracted and shared. The above is summarized as follows:
Drive cmdb construction with real business scenarios, including models and processes;
Build exceptional business processes to meet individual and complex needs and reduce problems caused by manual participation;
Process control and self-audit can be used to reduce the generation of erroneous data;