Cloud CMDB experts practice: The cornerstone of automated operations CMDB

Source: Internet
Author: User

CMDB What is it?

While operations and prosperity are flourishing, fragmentation issues arise, and everyone wants to integrate the operations platform, but it often backfired.

A CMDB is like the core of a person's brain, a library of information that stores information that coordinates the body's complete variety of complex movements.

in my Heart CMDB

. Fragmentation Consolidation

Fragmentation scenario for operations tools is the core of data that revitalizes the entire operation and maintenance management

. Meta-Database

Provides the basic metadata for operational activities and is the only trusted operational configuration data service

. Scene-driven

Data-driven for operations linkage, coordinating tools to complete a wide range of automation scenarios

Automatic expansion + automatic monitoring

CMDB How to build?

pain point phenomenon and Countermeasures I model not well built

Problems that exist:

-Modeling granularity out of control

If the granularity is too small, even the network cable, memory bar becomes a configuration item, the last 70% data stored in the CMDB has no effect, but did a lot of useless.

. Lack of industry practice reference

Many times in China are based on the BMC, HP and other models to build a model library, but in fact, the idea of foreigners and people are very different, often will make too complex model system.

. Model adjustment Too cumbersome

With a relational database, each type of attribute in the model is a column, and the final adjustment is always to use development, the completion of an adjustment takes 2 days, and this adjustment in the data replenishment phase, often to be carried out, time consuming.

How did we do that ? Management

. Target-driven

Continue to iterate in a way that only implements the minimum set of models required by the current target. It is not recommended to use the traditional software to develop a waterfall model to build a model, but to use a continuous iterative approach, each time set a small target, according to this goal to build just meet the requirements of the Model library.

. Industry reference

Find and learn from industry best practices. Look for best practices in the industry, learn their models, and especially learn their evolutionary path, and don't eat a fat bite.

 

How did we do that ? Technology

The first step, data type labeling, support multi-identity

Traditional CMDB systems, often using scientific classification of ideas, according to the boundaries, doors, outlines, and other tree structure to strict division, but this has brought great challenges to modeling, because there must be some data sibuxiang. such as virtual machines, in the end is zoned to traditional computing equipment resources, or to the virtual resources? So we propose to classify them in a way that is labeled with data types. For example, a virtual machine, I can simultaneously hit the computing device and virtual resources such as two tags.

The second step is to use relationships to establish relationships and distinguish between attributes.

A relationship that uses a weakly typed constraint, not a property. Because properties tend to be modeled ahead of time, many configuration items are actually created so that it is not clear which configuration items it might be associated with, so the use of relationships can be more lightweight.

Third step, easy to adjust the model, support dynamic properties

In the technical design of the CMDB system, it is important to pay attention to the use of fast-tuning storage models, such as using a scheme-friendly database, or a database such as PostgreSQL, which supports JSON extension fields, to implement dynamic properties.

pain point phenomenon and Countermeasures II Data not accurate

Problems that exist:

Manual data entry, low accuracy

. No timely maintenance, data expiration

. There are many sources of data, conflicts

How did we do that ? Management

. Identify status

Determine the CMDB as the only data source, if the upper and lower data stream is inaccurate, should be corrected from the CMDB

. Delineation of authority

Self-setting principles, such as who provides, who maintains

. Periodic review

The system needs to be determined that the team can periodically audit data in the CMDB, look for erroneous data and improve the problem. As with some warehousing management, it is necessary to periodically check the book and physical inventory, and the CMDB also needs to periodically review the actual compliance of the data with the production environment.

How did we do that ? Technology

. Support for collaboration

Configure the change hotspot and subscribe to the configuration item changes that I care about. Everyone can view the data footprints of others, the configuration items also allow to make a hot map by the number of changes or the number of times used, and finally should be allowed to subscribe to the configuration items I care about, so that when the configuration item changes, the relevant owner can receive timely notification.

. Record History

Allows you to query the history of your data at any time, and to backtrack to baselines. Each time the data is put into storage, it is possible to record the change history of the data so that it can be compared to the version changes at any time, as well as to retrace the baseline when correcting.

. Support Reconciliation

The use of policies, rules to achieve the harmonization of multiple data sources. Too many data sources can lead to data conflicts. In the event of data conflict, can show the conflict of different data sources, and support artificial reconciliation, while the CMDB system should also learn these artificial harmonic basis, can form an automatic reconciliation.

. Dependent Tools

In the data collection and the supplement, uses the monitoring and the automation tool mainly, they can reduce the massive entry work, and avoids the human error.

pain point phenomenon and Countermeasures III data not good to use

Problems that exist:

It is unclear what usage scenarios

There are often situations in which the CMDB is used for the CMDB, resulting in the last CMDB just as the resource ledger, and the most commonly used function becomes only Excel import and export. In fact, what we need to build is a service-oriented CMDB.

. System Open Poor

The CMDB is poor in openness, and often only provides a read-write API to use the CMDB as an ordinary database.

How did we do that ? Management

1. Proactively look for scenarios, consume data, and generate value for your data.

2. Impact Analysis: Use the message tray, do the configuration change walkthrough, do the Fault drill.

3. Automatic monitoring: When you add some configuration items, you can notify the monitoring system, automatic generation of monitoring strategy.

4. Automatic troubleshooting: When a fault is detected, it can be automatically disabled.

5. Capacity management: In the configuration library to expand the admission threshold for application records, in order to automatically scale expansion.

6. Transport: Data in the CMDB, in the current mobile terminal scenario, there is a particularly good consumption scene, is to do two-dimensional code, RFID, and mobile phone combination, can be in the room inspection and troubleshooting in the production of great convenience.

How did we do that ? Technology

1. Relational derivation: Provides the ability to refine other configuration items by relationship from one configuration item.

2. Full-Text search: Easy to use keywords, search for matching configuration items.

3. Change notification: Configuration item changes not only provide notifications to people, but also use MQ to provide notification of operations tools to trigger some automation scenarios.

4. Transaction control: Allows the sandbox to be built through the API, and the configuration items in the entire sandbox are committed together and rolled back together, which is particularly useful for applications that go live.

5. Version comparison: Allows querying of historical data and changes of a configuration item.

6.WEB Integration: In addition to the API, it should also provide interface integration between applications and should provide interface integration between applications as well as interface integration between applications.

CMDB Success Factors

to consume. CMDB is good CMDB !

Model: Defines the minimum available CMDB model structure and rules

Data: Correctly maintains the data of the CMDB and its relationship

API: Provides an open and friendly API service

Scenario: Using data from the CMDB to play a variety of operational scenarios

CMDB = Model + Data + API + Scene

▲ Author Yu Junwei

As a new generation of dual-state operation and maintenance brand superior cloud, it includes CMDB, monitoring center, Operation Center, Process Center, Measurement Center integration of "One Library four center" dual-state operation and maintenance product line, while supporting online services and private deployment.

Cloud software adheres to devops philosophy, from monitoring, to application experience, to automated continuous delivery, full stack operations solution

Cloud CMDB experts practice: The cornerstone of automated operations CMDB

Contact Us

The content source of this page is from Internet, which doesn't represent Alibaba Cloud's opinion; products and services mentioned on that page don't have any relationship with Alibaba Cloud. If the content of the page makes you feel confusing, please write us an email, we will handle the problem within 5 days after receiving your email.

If you find any instances of plagiarism from the community, please send an email to: info-contact@alibabacloud.com and provide relevant evidence. A staff member will contact you within 5 working days.

A Free Trial That Lets You Build Big!

Start building with 50+ products and up to 12 months usage for Elastic Compute Service

  • Sales Support

    1 on 1 presale consultation

  • After-Sales Support

    24/7 Technical Support 6 Free Tickets per Quarter Faster Response

  • Alibaba Cloud offers highly flexible support services tailored to meet your exact needs.