CN112765188A - Configuration information processing method, configuration management system, electronic device, and storage medium - Google Patents
Configuration information processing method, configuration management system, electronic device, and storage medium Download PDFInfo
- Publication number
- CN112765188A CN112765188A CN202011641748.1A CN202011641748A CN112765188A CN 112765188 A CN112765188 A CN 112765188A CN 202011641748 A CN202011641748 A CN 202011641748A CN 112765188 A CN112765188 A CN 112765188A
- Authority
- CN
- China
- Prior art keywords
- configuration information
- line
- configuration
- information
- target
- Prior art date
- Legal status (The legal status is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the status listed.)
- Granted
Links
Images
Classifications
-
- G—PHYSICS
- G06—COMPUTING OR CALCULATING; COUNTING
- G06F—ELECTRIC DIGITAL DATA PROCESSING
- G06F16/00—Information retrieval; Database structures therefor; File system structures therefor
- G06F16/20—Information retrieval; Database structures therefor; File system structures therefor of structured data, e.g. relational data
- G06F16/23—Updating
- G06F16/2365—Ensuring data consistency and integrity
-
- G—PHYSICS
- G06—COMPUTING OR CALCULATING; COUNTING
- G06F—ELECTRIC DIGITAL DATA PROCESSING
- G06F16/00—Information retrieval; Database structures therefor; File system structures therefor
- G06F16/20—Information retrieval; Database structures therefor; File system structures therefor of structured data, e.g. relational data
- G06F16/28—Databases characterised by their database models, e.g. relational or object models
Landscapes
- Engineering & Computer Science (AREA)
- Theoretical Computer Science (AREA)
- Databases & Information Systems (AREA)
- Data Mining & Analysis (AREA)
- Physics & Mathematics (AREA)
- General Engineering & Computer Science (AREA)
- General Physics & Mathematics (AREA)
- Computer Security & Cryptography (AREA)
- Management, Administration, Business Operations System, And Electronic Commerce (AREA)
- Information Retrieval, Db Structures And Fs Structures Therefor (AREA)
Abstract
The embodiment of the invention provides a configuration information processing method, a configuration management system, electronic equipment and a storage medium, wherein the method comprises the steps of performing format rendering on second configuration information through a configuration analysis template to obtain first target configuration information when the first configuration information in a plurality of local configuration information stored in a configuration management database is changed into the second configuration information; according to the first target configuration information, controlling the updating of first on-line configuration information corresponding to the first configuration information in an on-line cluster configuration set corresponding to at least one service cluster, and triggering the updated first on-line configuration information to operate and take effect; the local configuration information stored in the configuration management database corresponds to the online configuration information in the online cluster configuration set, and the local configuration information and the corresponding online configuration information have the same content and different information formats. The invention can ensure the consistency of the configuration in the configuration management database and the on-line cluster configuration set, and realize the effective management of the configuration.
Description
Technical Field
The present invention relates to the field of computer technologies, and in particular, to a configuration information processing method, a configuration management system, an electronic device, and a storage medium.
Background
With the continuous development of the internet, the service scale of the internet company is larger and larger at present, and correspondingly, the configuration corresponding to the service is more and more complex. In the process of providing the service, the service needs to be managed more effectively, and the application configuration needs to be managed effectively, so that efficient change is realized.
However, in a practical production environment two problems are faced: the service scale is more and more complex, and no effective tool is available for realizing effective management of service configuration; the service configuration may be modified, validated, rolled back, etc. to cause inconsistency with the configuration recorded in the system.
Disclosure of Invention
Embodiments of the present invention provide a configuration information processing method, a configuration management system, an electronic device, and a storage medium, so as to solve the problems in the prior art that an effective tool is not available to effectively manage service configuration and service configuration is not synchronized with configuration in the system.
In a first aspect of the embodiments of the present invention, a method for processing configuration information is provided, which is applied to a configuration management system, and includes:
under the condition that first configuration information in a plurality of local configuration information stored in a Configuration Management Database (CMDB) is changed into second configuration information, format rendering is carried out on the second configuration information through a configuration analysis template to obtain first target configuration information;
controlling the first on-line configuration information in an on-line cluster configuration set corresponding to at least one service cluster to be updated according to the first target configuration information, and triggering the updated first on-line configuration information to operate and take effect;
the local configuration information stored in the CMDB corresponds to the on-line configuration information in the on-line cluster configuration set, and the local configuration information and the corresponding on-line configuration information have the same content and different information formats, and the first on-line configuration information corresponds to the first configuration information.
In a second aspect of the embodiments of the present invention, there is provided a configuration management system including:
the configuration updating engine module is used for performing format rendering on second configuration information through a configuration analysis template under the condition that the first configuration information in a plurality of local configuration information stored in a Configuration Management Database (CMDB) is changed into the second configuration information, acquiring first target configuration information, controlling updating of first on-line configuration information in an on-line cluster configuration set corresponding to at least one service cluster according to the first target configuration information, and triggering the updated first on-line configuration information to operate and take effect;
the local configuration information stored in the CMDB corresponds to the on-line configuration information in the on-line cluster configuration set, and the local configuration information and the corresponding on-line configuration information have the same content and different information formats, and the first on-line configuration information corresponds to the first configuration information.
In a third aspect of the embodiments of the present invention, there is further provided an electronic device, including a processor, a communication interface, a memory, and a communication bus, where the processor, the communication interface, and the memory complete communication with each other through the communication bus;
a memory for storing a computer program;
and the processor is used for realizing the configuration information processing method when executing the program stored in the memory.
In a fourth aspect implemented by the present invention, there is also provided a computer-readable storage medium having stored therein instructions, which, when run on a computer, cause the computer to execute the above-described configuration information processing method.
In a fifth aspect of the present invention, there is also provided a computer program product containing instructions which, when run on a computer, cause the computer to perform the above-described configuration information processing method.
The embodiment of the invention at least comprises the following technical effects:
and under the condition that the local configuration information stored in the CMDB is changed, format rendering is carried out on the changed configuration in the CMDB based on a configuration analysis template, the configuration with the same format as the on-line configuration information is obtained, the corresponding on-line configuration information is modified, the on-line configuration information can be updated based on the change of the configuration in the CMDB, the consistency of the configuration in the CMDB and the configuration in an on-line cluster configuration set is ensured, the configuration is effectively managed, and meanwhile, the on-line configuration information is ensured to be the latest configuration information.
Drawings
In order to more clearly illustrate the embodiments of the present invention or the technical solutions in the prior art, the drawings used in the description of the embodiments or the prior art will be briefly described below.
Fig. 1 is a schematic diagram of a system architecture corresponding to a configuration information processing method according to an embodiment of the present invention;
fig. 2 is a schematic diagram of a configuration information processing method according to an embodiment of the present invention;
fig. 3 is a schematic diagram illustrating a relationship between configuration information, on-line configuration information, and first target configuration information according to an embodiment of the present invention;
fig. 4 is a flowchart corresponding to a specific example of the configuration information processing method according to the embodiment of the present invention;
FIG. 5 is a diagram illustrating a configuration management system according to an embodiment of the present invention;
fig. 6 is a block diagram of an electronic device provided in an embodiment of the present invention.
Detailed Description
The technical solutions in the embodiments of the present invention will be described below with reference to the drawings in the embodiments of the present invention.
The embodiment of the invention updates the on-line Configuration information through format rendering when the Configuration in a Configuration Management Database (CMDB) is changed by introducing the Configuration analysis template so as to flexibly realize the format change based on the rendering to acquire the corresponding Configuration information and ensure the consistency of the Configuration in the CMDB and the Configuration in the on-line cluster Configuration set.
Referring to fig. 1, a system architecture corresponding to the configuration information processing method provided by the embodiment of the present invention includes a configuration management system 11, a configuration management database 12, and at least one service cluster 13. At least one service cluster 13 corresponds to the online cluster configuration set, a plurality of local configuration information is stored in the configuration management database 12, the local configuration information in the configuration management database 12 corresponds to the online configuration information in the online cluster configuration set, and the local configuration information and the corresponding online configuration information have the same content and different information formats.
The configuration management system 11 may include a configuration collection agent module 110 and a configuration update engine module 111, where the configuration collection agent module 110 may collect online configuration information corresponding to local configuration information one to one, and the configuration management system 11 may compare the collected online configuration information with the local configuration information in the configuration management database 12 to implement comparison and inspection.
The configuration update engine module 111 is configured to, when the local configuration information in the configuration management database 12 is changed, obtain information in the same format as the online configuration information according to the modified local configuration information in the configuration management database 12, and control the corresponding online configuration information to be modified, so as to ensure consistency between configurations in the configuration management database 12 and the online cluster configuration set.
The following describes in detail a configuration information processing method provided in an embodiment of the present invention, where the configuration information processing method provided in the embodiment of the present invention is applied to a configuration management system, as shown in fig. 2, the method includes:
The CMDB can determine whether the local configuration information is changed by regular detection, wherein the change comprises the change of parameters corresponding to configuration items in the local configuration information, a trigger device can be added in the CMDB, when the local configuration information is determined to be changed, the trigger information can be sent, and when the configuration management system receives the trigger information, the local configuration information stored in the CMDB is determined to be changed. The local configuration information in the CMDB can be artificially updated according to actual requirements. And the specific content of the configuration information (local configuration information or online configuration information) is different for different services. For example, for a relational database management system (MySQL) service, the configuration information may include a version number, a master node identifier, a memory, a Central Processing Unit (CPU) core number, and the like. Or for the rocktmq service, the configuration information may include file retention time, a disk flushing manner, the number of message sending thread pools, and the like.
And under the condition that the first configuration information in the CMDB is determined to be changed into the second configuration information, format rendering can be carried out on the second configuration information through the configuration analysis template, first target configuration information which has the same content and different information formats as the second configuration information is obtained, and the format of the first target configuration information is the same as that of the on-line configuration information.
The local configuration information stored in the CMDB corresponds to the on-line configuration information in the on-line cluster configuration set, and the local configuration information and the corresponding on-line configuration information have the same content and different information formats, and the first on-line configuration information corresponds to the first configuration information.
After the first target configuration information is obtained, the first on-line configuration information corresponding to the first configuration information in the on-line cluster configuration set can be controlled to be updated according to the first target configuration information, and after the first on-line configuration information is controlled to be updated, the updated first on-line configuration information is triggered to operate and take effect, so that the on-line configuration information corresponding to the local configuration information in the CMDB is modified according to the change of the local configuration information in the CMDB, the content consistency of the local configuration information stored in the CMDB and the on-line configuration information in the on-line cluster configuration set is ensured, and meanwhile, the on-line configuration information is ensured to be the latest configuration information.
When the configuration information on the first line is controlled to be updated according to the first target configuration information, the configuration information on the first line corresponding to the first configuration information in the cluster configuration set on the line can be determined based on the corresponding relationship between the local configuration information and the configuration information on the line, and then the configuration information on the running first line is modified according to the first target configuration information which has the same content as the second configuration information and has a different information format, so that the configuration information on the first line is modified into the information which has the same content as the second configuration information and has a different information format. And when the updated configuration information on the first line is triggered to be effective, triggering by the corresponding workflow system.
It should be noted that, for at least one service cluster, each service cluster corresponds to different on-line configuration information, and each service cluster may correspond to a plurality of servers, and each server includes the same on-line configuration information, so as to ensure high availability. The number of the configuration information on the first line may be N, where N is the number of the servers in the service cluster corresponding to the configuration information on the first line, and for example, the number of the servers in one service cluster is preferably 4 to 6, a value of N may be determined according to the number of the servers, and the configuration information on each first line corresponds to the first configuration information. The number of online configuration information in the online cluster configuration set is greater than the number of local configuration information in the CMDB. When the configuration information on the first line is updated, the configuration information on the N first lines may be updated.
In the implementation process, when the local configuration information stored in the CMDB is changed, the changed configuration in the CMDB can be flexibly analyzed into a format consistent with the online configuration information based on the configuration analysis template, and then the online configuration information is updated based on the change configured in the CMDB, so that the consistency between the configuration in the CMDB and the configuration in the online cluster configuration set is ensured, the configuration is effectively managed, and the online configuration information is ensured to be the latest configuration information.
On the basis of the foregoing embodiment, the present invention further provides an optional embodiment, in the current optional embodiment, the local configuration information is in a first information format, and the online configuration information is in a second information format, where in step 201, when performing format rendering on the second configuration information through a configuration parsing template to obtain first target configuration information, specifically:
rendering the second configuration information in the first information format based on the second information format through a configuration analysis template to obtain first target configuration information;
the first target configuration information is in a second information format, and the content of the first target configuration information is the same as that of the second configuration information.
The local configuration information stored in the CMDB is in a first information format, the on-line configuration information is in a second information format, the number of the configuration analysis templates is one, the configuration analysis templates are used for format rendering, and the configuration analysis templates can comprise different information formats and conversion modes among the different information formats. When format rendering is performed on the second configuration information, the method specifically includes: and extracting second configuration information from the CMDB, and then performing format rendering on the second configuration information based on a configuration analysis template to obtain first target configuration information. The first target configuration information is not stored in the CMDB, and the second configuration information in the CMDB still maintains the original information format.
In this embodiment, the configuration parsing template includes a first information format, a second information format, and a conversion relationship between the first information format and the second information format, so as to convert the first information format into the second information format through the configuration parsing template, and optionally, the second information format may also be converted into the first information format.
The second configuration information is local configuration information, is in a first information format, and when the first target configuration information is obtained by performing format rendering on the second configuration information through the configuration parsing template, the second configuration information in the first information format can be rendered into the second information format through the configuration parsing template to obtain the first target configuration information, that is, the second configuration information in the first information format is rendered based on the second information format through the configuration parsing template to obtain the first target configuration information which is the same as the second configuration information in content and is in the second information format. After the first target configuration information is obtained, the first target configuration information may be saved, for example, the first target configuration information is saved in a web service created by Git (open source distributed version control system) serving as a code management tool for an open source project of a warehouse management system, and subsequent use of the first target configuration information may be facilitated by saving the first target configuration information.
After the second configuration information is format-rendered to obtain the first target configuration information, the first on-line configuration information in the on-line cluster configuration set may be updated based on the first target configuration information. The configuration information on the first line is in a second information format, the first configuration information is in a first information format, and the configuration information on the first line and the first configuration information have the same content and different information formats. The first target configuration information is in a second information format, the information format is the same as that of the configuration information on the first line, the content of the first target configuration information is different from that of the configuration information on the first line, and the content of the first target configuration information is the same as that of the second configuration information, so that after the configuration information on the first line is updated according to the first target configuration information, the information in the second information format, which is the same as that of the second configuration information, can be acquired. After the update is completed, the execution may be triggered to take effect by the corresponding workflow system.
It should be noted that, because the online service may correspond to at least one service cluster, each service cluster may include a plurality of (two or more) servers, and each server includes the same online configuration information for one service cluster, when updating the online configuration information, the online configuration information of one server may be updated first (the online configuration information is verified), so as to implement local control, and the online configuration information of a plurality of servers may be updated synchronously, so as to implement concurrent control.
In the implementation process of the embodiment of the present invention, the format rendering is performed on the second configuration information to obtain the first target configuration information corresponding to the second information format, the first on-line configuration information in the on-line cluster configuration set is updated based on the first target configuration information, and the operation is triggered to take effect, so as to flexibly implement format change based on the rendering to obtain the latest on-line configuration information, ensure the consistency between the local configuration information in the CMDB and the on-line configuration information, and simultaneously ensure that the on-line configuration information is the latest configuration information.
The present invention further provides an optional embodiment, where in the current optional embodiment, according to the first target configuration information, the method controls the update of the configuration information on the first line in the online cluster configuration set corresponding to the at least one service cluster, and triggers the updated configuration information on the first line to become effective, includes:
the first target configuration information is pushed to a workflow system and a first approval worksheet is generated, and the first approval worksheet is used for indicating that the first on-line configuration information is modified according to the first target configuration information;
under the condition that the first approval worksheet passes the approval, the workflow control system changes the configuration information on the first line into the configuration information on the second line according to the first target configuration information and triggers the configuration information on the second line to operate and take effect;
the first target configuration information and the second target configuration information have the same content and the same information format.
First, a schematic diagram is used to describe a relationship between first configuration information, second configuration information, first on-line configuration information, second on-line configuration information, and first target configuration information. Referring to fig. 3, the first configuration information and the second configuration information are information stored in a CMDB (configuration management database) and have a first information format, and the second configuration information is obtained by modifying the first configuration information, and the first target configuration information is obtained by rendering the second configuration information in a second information format. The configuration information on the first line is stored in the on-line cluster configuration set and is in a second information format, the configuration information on the first line corresponds to the first configuration information, and the configuration information on the first line is the same as the first configuration information in content and is different from the first configuration information in information format. After the first configuration information is modified into the second configuration information, the first target configuration information can be obtained through format rendering, the first on-line configuration information is modified into the second on-line configuration information according to the first target configuration information, the second on-line configuration information corresponds to the second configuration information, and the second on-line configuration information is the same as the second configuration information in content and different in information format. The first target configuration information has the same content and the same information format as the configuration information on the second line.
When the configuration information on the first line in the cluster configuration set on the control line is updated according to the first target configuration information and the updated configuration information on the first line is triggered to operate and become effective, the first target configuration information can be pushed to the workflow system, that is, the workflow system is allocated with a task for changing the configuration information on the first line in the cluster configuration set on the control line according to the first target configuration information. The pushing process triggers a first approval worksheet for modifying the first online configuration information according to the first target configuration information, and relevant personnel determine whether to modify the first online configuration information in the online cluster configuration set according to the first target configuration information. And under the condition of passing the approval, controlling the workflow system to execute the task, so that the workflow system changes the configuration information on the first line in the on-line cluster configuration set according to the first target configuration information, acquires the configuration information on the second line and triggers the configuration information on the second line to operate and take effect. The number of the configuration information on the first line may be multiple, the configuration information on the multiple first lines may be changed during the change, and correspondingly, the number of the configuration information on the second line obtained is also multiple.
The process may be understood as invoking a corresponding workflow with the modified configuration in the CMDB as a parameter, modifying the on-line configuration information by the workflow and validating the modified on-line configuration information. The first target configuration information and the configuration items of the configuration information on the first line are the same, but the parameters corresponding to the configuration items are different, so that a first approval worksheet for modifying the configuration information on the first line according to the first target configuration information can be triggered after the first target configuration information is pushed to the workflow system, related personnel can approve the worksheets by triggering the first approval worksheet, and modification is executed after approval is passed, so that the process can be modified.
In the implementation process of the embodiment of the invention, the first target configuration information is pushed to the workflow system to generate the first approval worksheet, and the first online configuration information is modified according to the first target configuration information under the condition that the approval is passed, so that the process can be modified perfectly.
The present invention further provides an optional embodiment, where in the current optional embodiment, after controlling the update of the configuration information on the first line in the online cluster configuration set corresponding to at least one service cluster, and triggering the updated configuration information on the first line to become effective, the method further includes:
detecting whether the configuration information on the first line is successfully modified into the configuration information on the second line and whether the configuration information on the second line is operated and effective;
and outputting the first prompt message under the condition that the configuration information on the first line is not successfully modified or the configuration information on the first line is successfully modified but the operation of the configuration information on the second line is not effective.
After updating the first on-line configuration information in the on-line cluster configuration set according to the first target configuration information and triggering the updated first on-line configuration information to operate and become effective, a detection process may be performed, specifically, whether the first on-line configuration information has been successfully modified into the second on-line configuration information is detected, and whether the second on-line configuration information has operated and become effective is detected. When detecting whether the configuration information on the first line is successfully modified into the configuration information on the second line, the method can detect the parameters corresponding to the configuration items through the first command, and whether the parameters corresponding to the configuration items of the first target configuration information are modified, if the modification is completed, the method indicates that the configuration information on the first line is successfully modified into the configuration information on the second line.
After the configuration information on the first line is successfully modified to the configuration information on the second line, the service needs to be restarted to trigger the operation of the configuration information on the second line to take effect, but the situation that the operation of the configuration information on the second line is not taken effect due to machine downtime and network fluctuation may occur, so that the configuration information on the first line is successfully modified to the configuration information on the second line but the operation of the configuration information on the second line is not taken effect. In detecting whether the configuration information on the second line has been run in effect, a detection may be made by the second command.
Wherein, the detection result can be:
the configuration information on the first line is not successfully modified into the configuration information on the second line, and the configuration information on the second line is not operated and is not effective; or,
the configuration information on the first line is successfully modified into the configuration information on the second line, but the operation of the configuration information on the second line is not effective; or,
the configuration information on the first line is successfully modified to the configuration information on the second line and the configuration information on the second line is in effect.
When the configuration information on the first line is unsuccessfully modified to the configuration information on the second line, the configuration information on the second line cannot be operated, so when the configuration information on the first line is unsuccessfully modified, only the following conditions are corresponded to: the configuration information on the first line is unsuccessfully modified to the configuration information on the second line and the configuration information on the second line is not operationally valid.
The first prompt information is alarm information used for prompting that the configuration information on the second line does not operate smoothly. And the first prompt message can be sent to a target person (a person in charge related to service) so that the target person can perform processing, such as sending a mail, a short message or a warning tone to the target person.
In the implementation process of the embodiment of the present invention, whether the latest on-line configuration information is already running can be determined by executing the detection process, so as to ensure the consistency between the local configuration information in the CMDB and the on-line configuration information.
The present invention further provides an optional embodiment, in the current optional embodiment, after the first prompt information is output, one of the following schemes is further included:
under the condition that the configuration information on the first line is not successfully modified into the configuration information on the second line, responding to a retry instruction input by a user based on the first prompt message, controlling the workflow system to change the configuration information on the first line into the configuration information on the second line again according to the first target configuration information and triggering the configuration information on the second line to operate and take effect;
under the condition that the configuration information on the first line is successfully modified into the configuration information on the second line and the operation of the configuration information on the second line is not effective, responding to a retry instruction input by a user based on the first prompt information, and controlling the workflow system to trigger the operation of the configuration information on the second line to be effective;
in the case that the configuration information on the first line is not successfully modified into the configuration information on the second line, responding to a first rollback instruction input by a user based on the first prompt information, and controlling the second configuration information in the CMDB to be restored into the first configuration information;
and under the condition that the configuration information on the first line is successfully modified into the configuration information on the second line and the operation of the configuration information on the second line is not effective, responding to a first rollback instruction input by a user based on the first prompt message, controlling the second configuration information in the CMDB to be restored into the first configuration information, and controlling the configuration information on the second line to be restored into the configuration information on the first line.
After outputting the first prompt, a retry order or a first rollback order of the user, which is usually the target person, i.e., the technician, may be obtained. And under the condition of obtaining a retry instruction input by a user, executing a retry process, and for the condition that the configuration information on the first line is not successfully modified, controlling the workflow system to change the configuration information on the first line in the on-line cluster configuration set into the configuration information on the second line and trigger the configuration information on the second line to operate and take effect again according to the first target configuration information obtained by rendering based on the second configuration information. Because the approval for changing the configuration information on the first line according to the first target configuration information is passed, the workflow system can be directly controlled to work, namely, the workflow system is directly controlled to change the configuration information on the first line according to the first target configuration information and trigger the configuration information on the second line obtained after the change to operate and take effect, so that the process is simplified, and the efficiency of configuration change is ensured.
For the situation that the configuration information on the first line is successfully modified into the configuration information on the second line but the configuration information on the second line does not operate and become effective, because the configuration information on the first line is successfully modified into the configuration information on the second line, when the workflow system re-executes the modification process, the configuration information on the first line is modified according to the first target configuration information and the configuration information on the second line obtained after modification is triggered to operate and become effective, and the process can be simplified into the process that only the workflow system is controlled to trigger the configuration information on the second line to operate and become effective. The process of triggering the operation to take effect is the process of restarting the service of the workflow system.
And under the condition that the first rollback instruction input by the user is acquired, performing rollback operation, namely controlling the second configuration information in the CMDB to be restored into the first configuration information, so as to realize the restoration of the configuration information. Since the second configuration information is obtained by modifying the first configuration information, and the first configuration information can store a corresponding record in the CMDB, the second configuration information can be restored to the first configuration information. And the second line configuration information is not operated, so that the second line configuration information can be controlled to be restored to the first line configuration information. Correspondingly, the configuration information on the second line is obtained by modifying the configuration information on the first line, and the configuration information on the first line can have a corresponding record, so that the configuration information on the second line can be restored to the configuration information on the first line.
In the implementation process of the present invention, after the first prompt information is output, the configuration information on the first line is modified and triggered to take effect again according to the retry instruction of the user and the first target configuration information, so that at least two opportunities may be provided to synchronize the local configuration information in the CMDB with the configuration information on the line in the on-line cluster configuration set, and the configuration information on the second line is triggered to take effect again according to the retry instruction of the user, so that at least two opportunities may be provided to restart the service to ensure that the latest configuration information on the line is run to take effect.
The present invention also provides an alternative embodiment, in which the method further comprises:
after the configuration information on the first line is successfully modified and the configuration information on the second line is effective in operation, under the condition that a second rollback instruction input by a user is received, responding to the second rollback instruction, and controlling the second configuration information in the CMDB to be restored into the first configuration information, wherein the second rollback instruction is used for indicating that the configuration information on the second line is controlled to be restored into the configuration information on the first line;
format rendering is carried out on the first configuration information through a configuration analysis template, second target configuration information is obtained, the second target configuration information is pushed to a workflow system, a second approval worksheet is generated, the workflow system is controlled to modify the second on-line configuration information into the first on-line configuration information according to the second target configuration information under the condition that the second approval worksheet passes approval, and the first on-line configuration information is triggered to operate and take effect;
and the second approval worksheet is used for indicating that the second on-line configuration information is modified according to the second target configuration information.
For the case that the configuration information on the first line is successfully modified into the configuration information on the second line and the operation of the configuration information on the second line is effective, a second rollback instruction input by a user can be received, for example, when the service effect is poor due to the operation of the configuration information on the second line, rollback can be selected as the configuration information on the first line, so that the service effect is ensured.
After receiving the second rollback instruction, the CMDB may first control the second configuration information in the CMDB to be restored to the first configuration information according to the second rollback instruction, and since the configuration information in the CMDB is changed, the update of the on-line configuration information may be triggered according to the first configuration information. For the on-line cluster configuration set, because the configuration information on the first line is successfully modified into the configuration information on the second line, the format rendering of the first configuration information can be performed through the configuration analysis template, the second target configuration information which has the same content as the first configuration information and is different from the first configuration information in information format is obtained, then the second target configuration information is pushed to the workflow system, a second approval worksheet which modifies the configuration information on the second line according to the second target configuration information is generated, and under the condition that the approval is passed, the workflow system is controlled to modify the configuration information on the second line into the configuration information on the first line corresponding to the first configuration information according to the second target configuration information, and the configuration information on the first line is triggered to operate and take effect. Wherein the plurality of second on-line configuration information may be changed to corresponding first on-line configuration information.
The implementation process of the invention can control the configuration information in the CMDB to rollback according to the second rollback instruction of the user under the condition that the online configuration information is successfully modified and normally operates, and trigger the updating of the online configuration information according to the rollback of the configuration information in the CMDB, thereby realizing the reduction of the online configuration according to the requirements of the user to ensure the service effect.
The present invention also provides an alternative embodiment, in which the method further comprises:
acquiring a plurality of pieces of on-line configuration information corresponding to a plurality of pieces of local configuration information one by one on the basis of a configuration acquisition agent component according to a preset period;
checking whether content difference exists between a plurality of local configuration information stored in the CMDB and a plurality of acquired online configuration information;
and outputting second prompt information under the condition that the third configuration information in the plurality of local configuration information stored in the CMDB and the collected third on-line configuration information have content difference.
The configuration management system can periodically collect a plurality of pieces of online configuration information corresponding to a plurality of pieces of local configuration information one by one in an online cluster configuration set based on a configuration collection Agent (configuration collection Agent), and store the online configuration information in a database, wherein the database can be a MySQL database, so that the online configuration information is stored in different tables, the search efficiency can be improved, and the storage flexibility can be improved. And the acquisition time can be marked for each acquisition, and the acquisition batch can be determined according to the acquisition time. The on-line configuration information can be rapidly acquired by acquiring based on the configuration acquisition Agent, and the initiative and the intelligence of the Agent can be exerted.
The configuration management system has a comparison polling function, can periodically check whether content difference exists between local configuration information stored in the CMDB and corresponding on-line configuration information, acquires the corresponding on-line configuration information based on the configuration acquisition agent component aiming at each check, and can select the latest batch of on-line configuration information to execute the check according to the acquisition time by marking the acquisition time aiming at each acquisition.
When the verification is executed, the method specifically includes: and checking whether the parameters of the configuration items of the local configuration information are consistent with the parameters of the configuration items of the corresponding on-line configuration information or not, and checking through a third command. When the parameters of the configuration item of the third configuration information stored in the CMDB are different from the parameters of the configuration item of the acquired configuration information on the third line, it may be determined that the third configuration information and the configuration information on the third line have a content difference, and at this time, second prompt information may be output to prompt the target person, so that the target person performs processing, where the output mode of the second prompt information may include: and sending a mail, a short message or a warning tone to the target person. By timing inspection, the consistency of the configuration information in the CMDB and the on-line configuration information can be dually ensured.
Wherein, after outputting the second prompt message, further comprising:
responding to a first modification instruction input by a user based on the second prompt message, controlling the running third-line configuration information to be updated according to the third configuration information, and triggering the updated third-line configuration information to be effective;
or,
and in response to a second modification instruction input by the user based on the second prompt message, modifying the third configuration message according to the third on-line configuration message.
And the second prompt information can be output aiming at the condition that the third configuration information stored in the CMDB is determined to have content difference with the configuration information on the third line through comparison and routing inspection. When a first modification instruction input by a user based on the second prompt message is received, the updating of the configuration information on the third line can be controlled according to the third configuration information in response to the first modification instruction. When the update of the configuration information on the third line is controlled according to the third configuration information, format rendering can be performed on the third configuration information (corresponding to the first information format) according to the configuration analysis template, third target configuration information corresponding to the second information format is obtained, then the configuration information on the third line is changed according to the third target configuration information corresponding to the second information format, and the changed configuration information on the third line is triggered to operate and take effect. When the configuration information on the third line is changed, the workflow system changes and triggers the first approval worksheet, and the detailed process is not specifically described.
Under the condition that a second modification instruction input by a user based on second prompt information is received, the third configuration information can be controlled to be updated according to the third on-line configuration information in response to the second modification instruction, and when the third configuration information is controlled to be updated according to the third on-line configuration information, format rendering can be performed on the third on-line configuration information (corresponding to the second information format) according to the configuration parsing template, the fourth target configuration information corresponding to the first information format is obtained, and then the third configuration information is modified according to the fourth target configuration information corresponding to the first information format.
In the implementation process of the present invention, the configuration information in the CMDB may be modified or the on-line configuration information in the on-line cluster configuration set may be modified according to the modification instruction, so as to update the on-line configuration information according to the configuration information in the CMDB or update the configuration information in the CMDB according to the on-line configuration information according to the requirement of the user, thereby ensuring the synchronization between the configuration information in the CMDB and the on-line configuration information in the on-line cluster configuration set.
Next, a process of changing the online configuration information according to the configuration in the CMDB according to the embodiment of the present invention is described through a specific implementation flow, and as shown in fig. 4, the online configuration information corresponding to the local configuration information is collected based on the configuration collection Agent and stored in the database. Adding a trigger device in the CMDB, triggering a configuration pushing process when first configuration information (corresponding to a first information format) is modified, calling a configuration updating engine module (a configuration management system comprises a configuration updating engine module) as a parameter through an interface by using second configuration information (corresponding to the first information format) obtained after the first configuration information is modified, performing format rendering on the second configuration information through a configuration analysis template by using the configuration updating engine module, obtaining first target configuration information of the second information format, and storing the first target configuration information and the second configuration information into Gitlab, wherein the first target configuration information and the second configuration information have the same content and different information formats.
And comparing the first on-line configuration information with the first target configuration information, and pushing the first target configuration information under the condition that the first on-line configuration information is different from the first target configuration information. And a first approval worksheet for changing the configuration information on the first line according to the first target configuration information is triggered in the pushing process, after the approval is passed, the first target configuration information is taken as a parameter to call a corresponding workflow, and the workflow is responsible for modifying the configuration information on the first line and triggering the modified configuration information on the first line to operate and take effect. After the workflow is successfully triggered, the configuration management system can check whether the configuration information on the first line is successfully modified and whether the modified configuration information on the first line is effective, if the configuration information on the first line is not successfully modified or the configuration information on the first line is successfully modified but the modified configuration information on the first line is not operated, an alarm is sent to a related responsible person, the related responsible person determines whether to start the retry operation of the whole process, if the retry operation is successful, the workflow is triggered to execute a task, and if the retry operation is not successful, the configuration information in the CMDB is rolled back, so that the restoration of the configuration information is realized.
In this case, for the case that the configuration information on the first line is successfully modified but the modified configuration information on the first line is not executed, the configuration on the line may be rolled back, which is not illustrated in fig. 4. If the modification is successful and the configuration is effective, the pushing process is basically finished, and the version rollback can be performed according to the operation of the user, wherein the version rollback can trigger the process again by using the configuration information before modification, that is, the local configuration information and the on-line configuration information in the CMDB are rolled back to the configuration before modification.
The configuration management system also has a configuration polling function, and can compare the difference between the local configuration information and the online configuration information in the CMDB at regular time, send an email to the related responsible person according to the difference, the related responsible person selects to take the CMDB or the online configuration information as the standard, if the CMDB is taken as the standard, the configuration pushing process is triggered, and if the online configuration information is taken as the standard, the configuration information in the CMDB is modified.
According to the configuration information processing method provided by the embodiment of the invention, under the condition that the local configuration information stored in the CMDB is changed, the changed configuration in the CMDB can be flexibly analyzed into a format consistent with the online configuration based on the configuration analysis template, the online configuration information is updated based on the change of the configuration in the CMDB, the consistency of the configuration in the CMDB and the configuration in an online cluster configuration set is ensured, the configuration is effectively managed, and meanwhile, the online configuration information is ensured to be the latest configuration information.
The configuration acquisition agent component is used for acquiring the on-line configuration information, so that a plurality of pieces of on-line configuration information can be quickly acquired, the configuration can be effectively managed by supporting concurrency control, local control and pushing, and the workload of service operation and maintenance personnel is reduced; by adding the configuration polling function, the double-layer ensures the consistency of the local configuration information and the on-line configuration information in the CMDB.
An embodiment of the present invention provides a configuration management system, as shown in fig. 5, a configuration management system 500 includes:
a configuration update engine module 501, configured to, when a first configuration information in a plurality of local configuration information stored in a configuration management database CMDB is changed to a second configuration information, perform format rendering on the second configuration information through a configuration parsing template to obtain a first target configuration information, control, according to the first target configuration information, an update of a first online configuration information in an online cluster configuration set corresponding to at least one service cluster, and trigger the updated first online configuration information to become effective;
the local configuration information stored in the CMDB corresponds to the on-line configuration information in the on-line cluster configuration set, and the local configuration information and the corresponding on-line configuration information have the same content and different information formats, and the first on-line configuration information corresponds to the first configuration information.
Optionally, the local configuration information is in a first information format, and the online configuration information is in a second information format; the configuration update engine module 501 is further configured to:
rendering the second configuration information in the first information format based on the second information format through the configuration analysis template to obtain the first target configuration information;
the first target configuration information is in a second information format, and the content of the first target configuration information is the same as that of the second configuration information.
Optionally, the configuration update engine module 501 includes:
the first processing sub-module 5011 is configured to push the first target configuration information to a workflow system and generate a first approval worksheet, where the first approval worksheet is used to instruct to modify the first online configuration information according to the first target configuration information;
the second processing submodule 5012 is configured to, when the first approval worksheet passes the approval, control the workflow system to change the configuration information on the first line to the configuration information on the second line according to the first target configuration information, and trigger the configuration information on the second line to operate and take effect;
the first target configuration information and the second target configuration information have the same content and the same information format.
Optionally, the configuration management system 500 further includes:
a detecting module 502, configured to detect whether the configuration information on the first line has been successfully modified into the configuration information on the second line and whether the configuration information on the second line has been operated and validated after the configuration update engine module 501 triggers the updated configuration information on the first line to be operated and validated;
a first output module 503, configured to output a first prompt message when the configuration information on the first line is not successfully modified, or when the configuration information on the first line is successfully modified but the configuration information on the second line is not in effect.
Optionally, the configuration management system 500 further includes one of the following modules:
a first processing module 504, configured to, in response to a retry instruction input by a user based on the first prompt information when the configuration information on the first line is not successfully modified to the configuration information on the second line, control the workflow system to change the configuration information on the first line to the configuration information on the second line according to the first target configuration information again and trigger the configuration information on the second line to be valid;
a second processing module 505, configured to, in a case that the configuration information on the first line is successfully modified into the configuration information on the second line, and the operation of the configuration information on the second line is not in effect, respond to a retry instruction input by a user based on the first prompt information, and control the workflow system to trigger the operation of the configuration information on the second line to be in effect;
a third processing module 506, configured to, in response to a first rollback instruction input by a user based on the first prompt information, control the second configuration information in the CMDB to be restored to the first configuration information if the first on-line configuration information is not successfully modified to the second on-line configuration information;
a fourth processing module 507, configured to, in response to a first rollback instruction input by a user based on the first prompt information, control the second configuration information in the CMDB to be restored to the first configuration information, and control the second on-line configuration information to be restored to the first on-line configuration information, when the first on-line configuration information is successfully modified to the second on-line configuration information and the second on-line configuration information is not in operation and is in effect.
Optionally, the configuration management system 500 further includes:
a control module 508, configured to, after the configuration information on the first line is successfully modified and the configuration information on the second line is valid in operation, in a case that a second rollback instruction input by a user is received, in response to the second rollback instruction, control the second configuration information in the CMDB to be restored to the first configuration information, where the second rollback instruction is used to instruct to control the second configuration information to be restored to the first configuration information;
a fifth processing module 509, configured to perform format rendering on the first configuration information through the configuration parsing template, obtain second target configuration information, push the second target configuration information to the workflow system, generate a second approval worksheet, control the workflow system to modify the second on-line configuration information into the first on-line configuration information according to the second target configuration information and trigger the first on-line configuration information to operate and take effect when the second approval worksheet passes approval;
wherein the second approval worksheet is configured to instruct modification of the second on-line configuration information in accordance with the second target configuration information.
Optionally, the configuration management system 500 further includes:
a configuration collection agent component module 510, configured to collect, according to a preset period, a plurality of pieces of on-line configuration information corresponding to the plurality of pieces of local configuration information one to one based on a configuration collection agent component;
a checking module 511, configured to check whether there is a content difference between the multiple pieces of local configuration information stored in the CMDB and the multiple pieces of collected online configuration information;
a second output module 512, configured to output second prompt information when a content difference exists between third configuration information in the plurality of local configuration information stored in the CMDB and the collected third on-line configuration information.
Optionally, the configuration management system 500 further includes:
an update triggering module 513, configured to respond to a first modification instruction input by a user based on the second prompt information, control, according to the third configuration information, to update the running configuration information on the third line, and trigger the running updated configuration information on the third line to take effect;
or,
a modification module 514, configured to, in response to a second modification instruction input by the user based on the second prompt message, modify the third configuration information according to the third on-line configuration information.
For the embodiment of the configuration management system, since it is basically similar to the embodiment of the method, the description is simple, and for the relevant points, reference may be made to the partial description of the embodiment of the method.
An embodiment of the present invention further provides an electronic device, as shown in fig. 6, including a processor 61, a communication interface 62, a memory 63, and a communication bus 64, where the processor 61, the communication interface 62, and the memory 63 complete mutual communication through the communication bus 64, and the memory 63 is used for storing a computer program; the processor 61 is configured to implement the following steps when executing the program stored in the memory 63: under the condition that first configuration information in a plurality of local configuration information stored in a Configuration Management Database (CMDB) is changed into second configuration information, format rendering is carried out on the second configuration information through a configuration analysis template to obtain first target configuration information; controlling the first on-line configuration information in an on-line cluster configuration set corresponding to at least one service cluster to be updated according to the first target configuration information, and triggering the updated first on-line configuration information to operate and take effect; the local configuration information stored in the CMDB corresponds to the on-line configuration information in the on-line cluster configuration set, and the local configuration information and the corresponding on-line configuration information have the same content and different information formats, and the first on-line configuration information corresponds to the first configuration information. The processor, when executing the program stored in the memory, may also implement other steps in embodiments of the present invention.
The communication bus mentioned in the electronic device may be a Peripheral Component Interconnect (PCI) bus, an Extended Industry Standard Architecture (EISA) bus, or the like. The communication bus may be divided into an address bus, a data bus, a control bus, etc. For ease of illustration, only one thick line is shown, but this does not mean that there is only one bus or one type of bus.
The Memory may include a Random Access Memory (RAM) or a non-volatile Memory (non-volatile Memory), such as at least one disk Memory. Optionally, the memory may also be at least one memory device located remotely from the processor.
The Processor may be a general-purpose Processor, and includes a Central Processing Unit (CPU), a Network Processor (NP), and the like; the Integrated Circuit may also be a Digital Signal Processor (DSP), an Application Specific Integrated Circuit (ASIC), a Field Programmable Gate Array (FPGA) or other Programmable logic device, a discrete Gate or transistor logic device, or a discrete hardware component.
In still another embodiment provided by the present invention, a computer-readable storage medium is further provided, which stores instructions that, when executed on a computer, cause the computer to execute the configuration information processing method described in the above embodiment.
In yet another embodiment provided by the present invention, there is also provided a computer program product containing instructions which, when run on a computer, cause the computer to perform the configuration information processing method described in the above embodiment.
In the above embodiments, the implementation may be wholly or partially realized by software, hardware, firmware, or any combination thereof. When implemented in software, may be implemented in whole or in part in the form of a computer program product. The computer program product includes one or more computer instructions. When loaded and executed on a computer, cause the processes or functions described in accordance with the embodiments of the invention to occur, in whole or in part. The computer may be a general purpose computer, a special purpose computer, a network of computers, or other programmable device. The computer instructions may be stored in a computer readable storage medium or transmitted from one computer readable storage medium to another, for example, from one website site, computer, server, or data center to another website site, computer, server, or data center via wired (e.g., coaxial cable, fiber optic, Digital Subscriber Line (DSL)) or wireless (e.g., infrared, wireless, microwave, etc.). The computer-readable storage medium can be any available medium that can be accessed by a computer or a data storage device, such as a server, a data center, etc., that incorporates one or more of the available media. The usable medium may be a magnetic medium (e.g., floppy Disk, hard Disk, magnetic tape), an optical medium (e.g., DVD), or a semiconductor medium (e.g., Solid State Disk (SSD)), among others.
It is noted that, herein, relational terms such as first and second, and the like may be used solely to distinguish one entity or action from another entity or action without necessarily requiring or implying any actual such relationship or order between such entities or actions. Also, the terms "comprises," "comprising," or any other variation thereof, are intended to cover a non-exclusive inclusion, such that a process, method, article, or apparatus that comprises a list of elements does not include only those elements but may include other elements not expressly listed or inherent to such process, method, article, or apparatus. Without further limitation, an element defined by the phrase "comprising an … …" does not exclude the presence of other identical elements in a process, method, article, or apparatus that comprises the element.
All the embodiments in the present specification are described in a related manner, and the same and similar parts among the embodiments may be referred to each other, and each embodiment focuses on the differences from the other embodiments. In particular, for the system embodiment, since it is substantially similar to the method embodiment, the description is simple, and for the relevant points, reference may be made to the partial description of the method embodiment.
The above description is only for the preferred embodiment of the present invention, and is not intended to limit the scope of the present invention. Any modification, equivalent replacement, or improvement made within the spirit and principle of the present invention shall fall within the protection scope of the present invention.
Claims (11)
1. A configuration information processing method is applied to a configuration management system and is characterized by comprising the following steps:
under the condition that first configuration information in a plurality of local configuration information stored in a Configuration Management Database (CMDB) is changed into second configuration information, format rendering is carried out on the second configuration information through a configuration analysis template to obtain first target configuration information;
controlling the first on-line configuration information in an on-line cluster configuration set corresponding to at least one service cluster to be updated according to the first target configuration information, and triggering the updated first on-line configuration information to operate and take effect;
the local configuration information stored in the CMDB corresponds to the on-line configuration information in the on-line cluster configuration set, and the local configuration information and the corresponding on-line configuration information have the same content and different information formats, and the first on-line configuration information corresponds to the first configuration information.
2. The method according to claim 1, wherein the local configuration information is in a first information format, and the on-line configuration information is in a second information format;
the performing format rendering on the second configuration information through the configuration analysis template to obtain first target configuration information includes:
rendering the second configuration information in the first information format based on the second information format through the configuration analysis template to obtain the first target configuration information;
the first target configuration information is in a second information format, and the content of the first target configuration information is the same as that of the second configuration information.
3. The method according to claim 2, wherein the controlling, according to the first target configuration information, updating the first on-line configuration information in the on-line cluster configuration set corresponding to the at least one service cluster, and triggering the updated first on-line configuration information to become effective includes:
the first target configuration information is pushed to a workflow system and a first approval work order is generated, and the first approval work order is used for indicating that the first on-line configuration information is modified according to the first target configuration information;
under the condition that the first approval worksheet passes the approval, controlling the workflow system to change the configuration information on the first line into the configuration information on the second line according to the first target configuration information, and triggering the configuration information on the second line to operate and take effect;
the first target configuration information and the second target configuration information have the same content and the same information format.
4. The method according to claim 3, wherein after controlling the update of the configuration information on the first line in the configuration set of the on-line cluster corresponding to the at least one service cluster, and triggering the operation of the updated configuration information on the first line to take effect, the method further comprises:
detecting whether the configuration information on the first line is successfully modified into the configuration information on the second line and whether the configuration information on the second line is operated and effective;
and outputting first prompt information under the condition that the configuration information on the first line is not successfully modified or the configuration information on the first line is successfully modified but the operation of the configuration information on the second line is not effective.
5. The method according to claim 4, wherein after outputting the first prompt message, the method further comprises one of the following schemes:
under the condition that the configuration information on the first line is not successfully modified into the configuration information on the second line, responding to a retry instruction input by a user based on the first prompt message, controlling the workflow system to change the configuration information on the first line into the configuration information on the second line according to the first target configuration information again and triggering the configuration information on the second line to operate and take effect;
under the condition that the configuration information on the first line is successfully modified into the configuration information on the second line and the operation of the configuration information on the second line is not effective, responding to a retry instruction input by a user based on the first prompt information, and controlling the workflow system to trigger the operation of the configuration information on the second line to be effective;
in the case that the first on-line configuration information is not successfully modified into the second on-line configuration information, controlling the second configuration information in the CMDB to be restored into the first configuration information in response to a first rollback instruction input by a user based on the first prompt information;
and under the condition that the configuration information on the first line is successfully modified into the configuration information on the second line and the operation of the configuration information on the second line is not effective, responding to a first rollback instruction input by a user based on the first prompt information, controlling the second configuration information in the CMDB to be restored into the first configuration information, and controlling the configuration information on the second line to be restored into the configuration information on the first line.
6. The method for processing configuration information according to claim 4, further comprising:
after the configuration information on the first line is successfully modified and the operation of the configuration information on the second line is effective, under the condition that a second rollback instruction input by a user is received, responding to the second rollback instruction, and controlling the second configuration information in the CMDB to be restored into the first configuration information, wherein the second rollback instruction is used for indicating that the configuration information on the second line is controlled to be restored into the configuration information on the first line;
performing format rendering on the first configuration information through the configuration analysis template, acquiring second target configuration information, pushing the second target configuration information to the workflow system and generating a second approval worksheet, controlling the workflow system to modify the second on-line configuration information into the first on-line configuration information according to the second target configuration information and triggering the first on-line configuration information to operate and take effect under the condition that the second approval worksheet passes approval;
wherein the second approval worksheet is configured to instruct modification of the second on-line configuration information in accordance with the second target configuration information.
7. The configuration information processing method according to claim 1, further comprising:
acquiring a plurality of pieces of on-line configuration information corresponding to the plurality of pieces of local configuration information one by one on the basis of a configuration acquisition agent component according to a preset period;
checking whether content difference exists between a plurality of pieces of local configuration information stored in the CMDB and a plurality of pieces of collected on-line configuration information;
and outputting second prompt information under the condition that the third configuration information in the plurality of local configuration information stored in the CMDB and the acquired third on-line configuration information have content difference.
8. The configuration information processing method according to claim 7, further comprising:
responding to a first modification instruction input by a user based on the second prompt message, controlling the running configuration information on the third line to be updated according to the third configuration information, and triggering the updated configuration information on the third line to be effective;
or,
and responding to a second modification instruction input by the user based on the second prompt message, and modifying the third configuration message according to the third on-line configuration message.
9. A configuration management system, comprising:
the configuration updating engine module is used for performing format rendering on second configuration information through a configuration analysis template under the condition that the first configuration information in a plurality of local configuration information stored in a Configuration Management Database (CMDB) is changed into the second configuration information, acquiring first target configuration information, controlling updating of first on-line configuration information in an on-line cluster configuration set corresponding to at least one service cluster according to the first target configuration information, and triggering the updated first on-line configuration information to operate and take effect;
the local configuration information stored in the CMDB corresponds to the on-line configuration information in the on-line cluster configuration set, and the local configuration information and the corresponding on-line configuration information have the same content and different information formats, and the first on-line configuration information corresponds to the first configuration information.
10. An electronic device is characterized by comprising a processor, a communication interface, a memory and a communication bus, wherein the processor and the communication interface are used for realizing mutual communication by the memory through the communication bus;
a memory for storing a computer program;
a processor for implementing the steps in the configuration information processing method according to any one of claims 1 to 8 when executing the program stored in the memory.
11. A computer-readable storage medium on which a computer program is stored, characterized in that the program realizes the steps in the configuration information processing method according to any one of claims 1 to 8 when executed by a processor.
Priority Applications (1)
| Application Number | Priority Date | Filing Date | Title |
|---|---|---|---|
| CN202011641748.1A CN112765188B (en) | 2020-12-31 | 2020-12-31 | Configuration information processing method, configuration management system, electronic device and storage medium |
Applications Claiming Priority (1)
| Application Number | Priority Date | Filing Date | Title |
|---|---|---|---|
| CN202011641748.1A CN112765188B (en) | 2020-12-31 | 2020-12-31 | Configuration information processing method, configuration management system, electronic device and storage medium |
Publications (2)
| Publication Number | Publication Date |
|---|---|
| CN112765188A true CN112765188A (en) | 2021-05-07 |
| CN112765188B CN112765188B (en) | 2023-09-08 |
Family
ID=75698563
Family Applications (1)
| Application Number | Title | Priority Date | Filing Date |
|---|---|---|---|
| CN202011641748.1A Active CN112765188B (en) | 2020-12-31 | 2020-12-31 | Configuration information processing method, configuration management system, electronic device and storage medium |
Country Status (1)
| Country | Link |
|---|---|
| CN (1) | CN112765188B (en) |
Cited By (1)
| Publication number | Priority date | Publication date | Assignee | Title |
|---|---|---|---|---|
| WO2023246168A1 (en) * | 2022-06-23 | 2023-12-28 | 华为云计算技术有限公司 | Micro-service migration method and apparatus, and computing device |
Citations (10)
| Publication number | Priority date | Publication date | Assignee | Title |
|---|---|---|---|---|
| US5838918A (en) * | 1993-12-13 | 1998-11-17 | International Business Machines Corporation | Distributing system configuration information from a manager machine to subscribed endpoint machines in a distrubuted computing environment |
| US20170337236A1 (en) * | 2016-05-17 | 2017-11-23 | International Business Machines Corporation | Verifying configuration management database configuration items |
| US20170351746A1 (en) * | 2016-06-06 | 2017-12-07 | International Business Machines Corporation | Test data management |
| US20180365271A1 (en) * | 2017-06-16 | 2018-12-20 | Amadeus S.A.S. | Systems and methods for geographically distributed database systems |
| CN110019111A (en) * | 2017-08-15 | 2019-07-16 | 北京国双科技有限公司 | Data processing method, device, storage medium and processor |
| WO2019187208A1 (en) * | 2018-03-30 | 2019-10-03 | 日本電気株式会社 | Information processing device, data management system, data management method, and non-temporary computer-readable medium in which data management program is stored |
| CN110727697A (en) * | 2019-08-29 | 2020-01-24 | 北京奇艺世纪科技有限公司 | Data processing method and device, storage medium and electronic device |
| CN111061498A (en) * | 2019-12-25 | 2020-04-24 | 上海众源网络有限公司 | Configuration information management system |
| CN111580884A (en) * | 2020-04-30 | 2020-08-25 | 北京金山云网络技术有限公司 | Configuration updating method and device, server and electronic equipment |
| US20200364143A1 (en) * | 2019-05-15 | 2020-11-19 | Adp, Llc | Externalized configurations and caching solution |
-
2020
- 2020-12-31 CN CN202011641748.1A patent/CN112765188B/en active Active
Patent Citations (10)
| Publication number | Priority date | Publication date | Assignee | Title |
|---|---|---|---|---|
| US5838918A (en) * | 1993-12-13 | 1998-11-17 | International Business Machines Corporation | Distributing system configuration information from a manager machine to subscribed endpoint machines in a distrubuted computing environment |
| US20170337236A1 (en) * | 2016-05-17 | 2017-11-23 | International Business Machines Corporation | Verifying configuration management database configuration items |
| US20170351746A1 (en) * | 2016-06-06 | 2017-12-07 | International Business Machines Corporation | Test data management |
| US20180365271A1 (en) * | 2017-06-16 | 2018-12-20 | Amadeus S.A.S. | Systems and methods for geographically distributed database systems |
| CN110019111A (en) * | 2017-08-15 | 2019-07-16 | 北京国双科技有限公司 | Data processing method, device, storage medium and processor |
| WO2019187208A1 (en) * | 2018-03-30 | 2019-10-03 | 日本電気株式会社 | Information processing device, data management system, data management method, and non-temporary computer-readable medium in which data management program is stored |
| US20200364143A1 (en) * | 2019-05-15 | 2020-11-19 | Adp, Llc | Externalized configurations and caching solution |
| CN110727697A (en) * | 2019-08-29 | 2020-01-24 | 北京奇艺世纪科技有限公司 | Data processing method and device, storage medium and electronic device |
| CN111061498A (en) * | 2019-12-25 | 2020-04-24 | 上海众源网络有限公司 | Configuration information management system |
| CN111580884A (en) * | 2020-04-30 | 2020-08-25 | 北京金山云网络技术有限公司 | Configuration updating method and device, server and electronic equipment |
Cited By (1)
| Publication number | Priority date | Publication date | Assignee | Title |
|---|---|---|---|---|
| WO2023246168A1 (en) * | 2022-06-23 | 2023-12-28 | 华为云计算技术有限公司 | Micro-service migration method and apparatus, and computing device |
Also Published As
| Publication number | Publication date |
|---|---|
| CN112765188B (en) | 2023-09-08 |
Similar Documents
| Publication | Publication Date | Title |
|---|---|---|
| CN108874558B (en) | Message subscription method of distributed transaction, electronic device and readable storage medium | |
| CN113127347B (en) | Interface testing method, device, equipment and readable storage medium | |
| CN108804215B (en) | Task processing method and device and electronic equipment | |
| JP4880376B2 (en) | Support apparatus, program, information processing system, and support method | |
| CN108776643B (en) | Target code merging control method and system based on version control process | |
| CN108255620B (en) | Service logic processing method, device, service server and system | |
| CN113448862B (en) | Software version testing method and device and computer equipment | |
| CN112115200B (en) | Data synchronization method, device, electronic equipment and readable storage medium | |
| CN110727575B (en) | Information processing method, system, device and storage medium | |
| CN116523457B (en) | Workflow processing method, device, equipment and storage medium based on business process | |
| CN111158730B (en) | System updating method, device, electronic equipment and readable storage medium | |
| CN113535587A (en) | Target application detection method and device and computer equipment | |
| CN111190892A (en) | Method and device for processing abnormal data in data backfilling | |
| CN111949607A (en) | Method, system and device for monitoring UDT file | |
| CN113296796A (en) | Project release method, device, system, storage medium and electronic equipment | |
| CN111367934B (en) | Data consistency checking method, device, server and medium | |
| CN117971401A (en) | Distributed transaction processing method, device, electronic equipment and storage medium | |
| CN112732757A (en) | Degraded data processing method, system, device, equipment and storage medium | |
| CN112765188B (en) | Configuration information processing method, configuration management system, electronic device and storage medium | |
| CN111144804A (en) | Order processing method, device and system | |
| CN113326052B (en) | Business component upgrade method, device, computer equipment and storage medium | |
| CN112988776B (en) | Method, device and equipment for updating text parsing rule and readable storage medium | |
| CN112463887B (en) | A data processing method, device, equipment and storage medium | |
| CN110489208B (en) | Virtual machine configuration parameter checking method, system, computer equipment and storage medium | |
| CN111159988A (en) | Model processing method and device, computer equipment and storage medium |
Legal Events
| Date | Code | Title | Description |
|---|---|---|---|
| PB01 | Publication | ||
| PB01 | Publication | ||
| SE01 | Entry into force of request for substantive examination | ||
| SE01 | Entry into force of request for substantive examination | ||
| GR01 | Patent grant | ||
| GR01 | Patent grant |