Infrastructure deployment configuration and management method, system and device and storage medium
By storing and filtering component configuration parameters of cloud computing platform nodes, forming configuration function groups and synchronizing configuration versions, the problem of nodes being unable to be automatically managed and grouped is solved, improving efficiency and avoiding infrastructure failures.
Patent Information
- Application Number
- CN202410983966.5
- Authority / Receiving Office
- CN · China
- Patent Type
- Applications(China)
- Current Assignee / Owner
- Filing Date
- 2024-07-22
- Publication Date
- 2024-10-22
AI Technical Summary
The nodes of the cloud computing platform cannot realize automatic management and grouping of hardware configurations, resulting in low efficiency and prone to infrastructure failure.
By obtaining the node component configuration parameters and deployment status of the cloud computing platform, and storing them in the distributed system component configuration table, components that meet the target configuration parameters are screened to form a configuration function group, and the configuration is synchronized into the target code version.
It realizes centralized management, automatic management and grouping of node component configurations, improves processing efficiency, and avoids infrastructure functional failures caused by different hardware configurations.
Smart Images

Figure CN118819680A_ABST
Abstract
Description
Technical Field
[0001] The present application relates to the field of server technology, and in particular to an infrastructure deployment configuration and management method, system, computer equipment and storage medium. Background Art
[0002] With the rapid development of cloud computing and virtualization technology, the configuration, deployment and management of infrastructure are facing unprecedented challenges. A cloud computing platform usually has a large number of nodes, which may be divided into different groups to assume different roles. This requires that these nodes with the same role have consistent behavior and ultimately consistent states during deployment and configuration. Traditional manual configuration and management methods are not only inefficient, but also prone to errors and cannot meet rapidly changing needs.
[0003] Specifically, if the various nodes of the cloud computing platform are currently grouped into the same functional group, they need to be manually configured and managed one by one. First, it is necessary to check whether the hardware configuration of each node exists and is qualified. Secondly, the hardware functions of each node must be set to the same functional group. In addition, the hardware installation application of the same functional group must be uniformly called. In this way, it is impossible to automatically manage and group the hardware configurations of each node, nor to synchronously upgrade the hardware configuration code version, and it is impossible to achieve centralized operation. If a node or hardware configuration is different from other hardware configurations, it will cause infrastructure function failure. Summary of the invention
[0004] Based on this, an infrastructure deployment configuration and management method, system, computer device and storage medium are provided to solve the current technical problems that the hardware configuration of each node of the cloud computing platform cannot be automatically managed and grouped, the hardware configuration code version cannot be upgraded synchronously, centralized operation cannot be achieved, resulting in low efficiency, and different hardware configurations are prone to cause infrastructure function failures.
[0005] On the one hand, a method for infrastructure deployment configuration and management is provided, the method comprising:
[0006] Obtain component configuration parameters and component deployment status of each node of the cloud computing platform, and store them in the distributed system component configuration table;
[0007] In response to receiving the configuration requirement information submitted by the user, obtaining the target component configuration parameters, the target component configuration quantity and the target configuration code version information in the configuration requirement information;
[0008] Filter components that meet the target component configuration parameters from the distributed system component configuration table, and obtain the target component configuration quantity target components to form a configuration function group;
[0009] All configuration objects in the configuration function group are synchronously configured to the target configuration code version.
[0010] In one embodiment, the obtaining of component configuration parameters and component deployment status of each node of the cloud computing platform and storing them in a distributed system component configuration table includes:
[0011] Obtaining configuration information of each node of the cloud computing platform, identifying component names, component versions, component configuration parameters, and component configuration code versions in the configuration information;
[0012] Set up distributed system component configuration tables in the database;
[0013] Recording the component name, component version, component configuration parameters and component configuration code version of each node of the cloud computing platform in the distributed system component configuration table;
[0014] After each configuration of the functional group is completed, the distributed system component configuration table is updated.
[0015] In one embodiment, recording the component name, component version, component configuration parameter and component configuration code version of each node of the cloud computing platform in the distributed system component configuration table includes:
[0016] Describing the component configuration parameters in code form, and rendering the component configuration parameters in code form into a configuration object;
[0017] Record the component name and component version of each node of the cloud computing platform in the distributed system component configuration table, and record the component configuration parameters, deployment status and current configuration code version of the configuration object;
[0018] Setting the deployment status in the distributed system component configuration table to include unconfigured and configured;
[0019] The configuration code history version of the configuration object of each node is obtained, and the configuration code history version of the configuration object is recorded in the distributed system component configuration table for user tracking and configuration rollback.
[0020] In one embodiment, recording the component name, component version, component configuration parameter and component configuration code version of each node of the cloud computing platform in the distributed system component configuration table includes:
[0021] Forming a component summary in the distributed system component configuration table by calculating a hash value of the component version;
[0022] A configuration summary is formed in the distributed system component configuration table by calculating a hash value of the historical version of the configuration code.
[0023] In one embodiment, the step of screening components that meet the target component configuration parameters from the distributed system component configuration table and obtaining the target component configuration number of target components to form a configuration function group includes:
[0024] According to the target component configuration parameters, filter out configuration objects that meet the target component configuration parameters and whose deployment status is unconfigured from the distributed system component configuration table;
[0025] The target configuration number of filtered configuration objects is obtained to form a configuration function group.
[0026] In one embodiment, obtaining the target configuration number of filtered configuration objects to form a configuration function group includes:
[0027] Traversing and determining whether the current configuration code version of the configuration object of each filtered node is the target configuration code version;
[0028] If yes, classify the configuration object of the corresponding node into a configuration function group, and set the current number of the configuration function group to be increased by one;
[0029] If not, marking the configuration object of the corresponding node as not being classified as a configuration function group, and setting the current number of the configuration function group not to increase;
[0030] In response to the current number of the configuration function groups being increased by one, determining whether the current number of the configuration function groups is equal to the target configuration number;
[0031] If yes, stop traversing and determine whether the current configuration code version of the configuration object of each node screened out is the target configuration code version;
[0032] If not, then in the nodes marked as not classified as configuration function groups, the configuration objects are sorted in the order of the current configuration code versions and the target configuration code versions, and the configuration objects of the corresponding nodes are classified into configuration function groups one by one in order;
[0033] In response to the current number of the configuration function groups being increased by one, determining whether the current number of the configuration function groups is equal to the target configuration number;
[0034] If yes, stop classifying the configuration object of the next node as a configuration function group;
[0035] If not, the configuration objects of the next node are continuously classified into configuration function groups in order until the current number of the configuration function groups is equal to the target configuration number.
[0036] In one embodiment, the step of synchronously configuring all configuration objects in the configuration function group to the target configuration code version includes:
[0037] Determine one by one whether the current configuration code version of the configuration objects in the configuration function group is the target configuration code version;
[0038] If so, the configuration object is not adjusted to the target configuration code version, and it is determined whether the current configuration code version of the next configuration object is the target configuration code version;
[0039] If not, the configuration object is adjusted to the target configuration code version.
[0040] In another aspect, an infrastructure deployment configuration and management system is provided, the system comprising:
[0041] The node component configuration information storage module is used to obtain the component configuration parameters and component deployment status of each node of the cloud computing platform and store them in the distributed system component configuration table;
[0042] A configuration requirement acquisition module, configured to, in response to receiving configuration requirement information submitted by a user, acquire target component configuration parameters, target component configuration quantity, and target configuration code version information in the configuration requirement information;
[0043] An automated deployment module, used to filter components that meet the target component configuration parameters from the distributed system component configuration table, and obtain the target component configuration quantity target components to form a configuration function group;
[0044] The code version control module is used to synchronously configure all configuration objects in the configuration function group to the target configuration code version.
[0045] In another aspect, a computer device is provided, comprising a memory, a processor, and a computer program stored in the memory and executable on the processor, wherein when the processor executes the computer program, the following steps are implemented:
[0046] Obtain component configuration parameters and component deployment status of each node of the cloud computing platform, and store them in the distributed system component configuration table;
[0047] In response to receiving the configuration requirement information submitted by the user, obtaining the target component configuration parameters, the target component configuration quantity and the target configuration code version information in the configuration requirement information;
[0048] Filter components that meet the target component configuration parameters from the distributed system component configuration table, and obtain the target component configuration quantity target components to form a configuration function group;
[0049] All configuration objects in the configuration function group are synchronously configured to the target configuration code version.
[0050] In another aspect, a computer-readable storage medium is provided, on which a computer program is stored, and when the computer program is executed by a processor, the following steps are implemented:
[0051] Obtain component configuration parameters and component deployment status of each node of the cloud computing platform, and store them in the distributed system component configuration table;
[0052] In response to receiving the configuration requirement information submitted by the user, obtaining the target component configuration parameters, the target component configuration quantity and the target configuration code version information in the configuration requirement information;
[0053] Filter components that meet the target component configuration parameters from the distributed system component configuration table, and obtain the target component configuration quantity target components to form a configuration function group;
[0054] All configuration objects in the configuration function group are synchronously configured to the target configuration code version.
[0055] The above-mentioned infrastructure deployment configuration and management method, system, computer equipment and storage medium can realize centralized management of component configuration status of each node by storing component configuration parameters and component deployment status of each node of the cloud computing platform in the distributed system component configuration table. After receiving the configuration requirement information, it can automatically form a configuration function group that meets the configuration requirement information, realize automatic management and grouping, improve processing efficiency, and can synchronously upgrade the hardware configuration code version of the components of the formed configuration function group, so that infrastructure function failures will not occur due to different hardware configurations. BRIEF DESCRIPTION OF THE DRAWINGS
[0056] In order to more clearly illustrate the technical solutions in the embodiments of the present invention, the following briefly introduces the drawings required for use in the description of the embodiments. Obviously, the drawings described below are only some embodiments of the present invention. For ordinary technicians in this field, other drawings can be obtained based on these drawings without creative work.
[0057] Figure 1 This is an application environment diagram of the infrastructure deployment configuration and management method in one embodiment of the present application;
[0058] Figure 2A schematic diagram of an infrastructure deployment configuration and management system for implementing an infrastructure deployment configuration and management method in one embodiment of the present application;
[0059] Figure 3 A flowchart of an infrastructure deployment configuration and management method in one embodiment of the present application;
[0060] Figure 4 A flowchart of the steps of obtaining component configuration parameters and component deployment status of each node of a cloud computing platform and storing them in a distributed system component configuration table in one embodiment of the present application;
[0061] Figure 5 A flowchart of the steps of selecting components that meet the target component configuration parameters from the distributed system component configuration table and obtaining the target component configuration number and target components to form a configuration function group in one embodiment of the present application;
[0062] Figure 6 A flowchart of the steps of synchronously configuring all configuration objects in the configuration function group to the target configuration code version in one embodiment of the present application;
[0063] Figure 7 This is a structural block diagram of an infrastructure deployment configuration and management system in one embodiment of the present application;
[0064] Figure 8 This is a diagram of the internal structure of a computer device in one embodiment of the present application. DETAILED DESCRIPTION
[0065] In order to make the purpose, technical solution and advantages of the present application more clearly understood, the present application is further described in detail below in conjunction with the accompanying drawings and embodiments. It should be understood that the specific embodiments described herein are only used to explain the present application and are not used to limit the present application.
[0066] The infrastructure deployment configuration and management method provided in this application can be applied to Figure 1 In the application environment shown. Among them, the terminal 102 communicates with the server 104 through the network. Among them, the terminal 102 can be but not limited to various personal computers, laptops, smart phones, tablet computers and portable wearable devices, and the server 104 can be implemented by an independent server or a server cluster composed of multiple servers. The terminal 102 can enable the user to input the configuration parameters of the infrastructure through a graphical interface or a command line tool. The server 104 is configured as an infrastructure.
[0067] like Figure 2As shown, the terminal 102 can be used as an infrastructure deployment configuration and management system, including a code definition module, a version control module, an automatic deployment module, and a monitoring and management module. The terminal 102 is used to configure and manage infrastructure such as a server 104. The server 104 is each node of the cloud computing platform, and the parameters of each component in the node are rendered as objects of the configuration class, and the program of each component is a configuration code version.
[0068] Code definition module: This module is responsible for defining and describing the infrastructure component information in the form of code. Users can enter the configuration parameters of the infrastructure through a graphical interface or command line tool, and the deployment configuration and management system renders these parameters into configuration class objects, such as YAML, JSON, or a specific scripting language file.
[0069] Version control module: This module is responsible for version control of infrastructure configuration code. By integrating a version control system (such as Git), the system can record the change history of each configuration, making it easier for users to track and roll back configurations. At the same time, version control can also ensure smooth collaboration between teams and avoid configuration conflicts.
[0070] Automated deployment module: This module is responsible for automatically deploying infrastructure according to the configuration code. Users only need to submit the configuration code, and the system will automatically create, configure, and start the required infrastructure resources according to the definition in the code. Automated deployment can greatly improve deployment efficiency and reduce human errors.
[0071] Monitoring and management module: This module is responsible for real-time monitoring and management of the deployed infrastructure. The system can collect data such as the operating status and performance indicators of the infrastructure and display them to users through a visual interface. At the same time, the system also supports remote operation and management of the infrastructure, such as restarting, upgrading, and expanding capacity.
[0072] In one embodiment, Figure 3 As shown, a method for infrastructure deployment configuration and management is provided, which is applied to Figure 1 The terminal 102 in the example is used as an example to illustrate, and the following steps are included:
[0073] Step S1, obtaining component configuration parameters and component deployment status of each node of the cloud computing platform, and storing them in a distributed system component configuration table;
[0074] Step S2, in response to receiving the configuration requirement information submitted by the user, obtaining the target component configuration parameters, target component configuration quantity and target configuration code version information in the configuration requirement information;
[0075] Step S3, screening components that meet the target component configuration parameters from the distributed system component configuration table, obtaining the target component configuration number of target components to form a configuration function group;
[0076] Step S4: Synchronously configure all configuration objects in the configuration function group to the target configuration code version.
[0077] This embodiment can realize centralized management of component configuration status of each node by storing component configuration parameters and component deployment status of each node of the cloud computing platform in the distributed system component configuration table. After receiving configuration requirement information, it can automatically form a configuration function group that meets the configuration requirement information, realize automatic management and grouping, improve processing efficiency, and synchronously upgrade the hardware configuration code version of the components of the formed configuration function group, so that infrastructure function failures will not occur due to different hardware configurations.
[0078] like Figure 4 As shown, in this embodiment, the component configuration parameters and component deployment status of each node of the cloud computing platform are obtained and stored in the distributed system component configuration table, including:
[0079] Step S11, obtaining configuration information of each node of the cloud computing platform, and identifying component name, component version, component configuration parameter and component configuration code version in the configuration information;
[0080] Step S12, setting a distributed system component configuration table in a database;
[0081] Step S13, recording the component name, component version, component configuration parameters and component configuration code version of each node of the cloud computing platform in the distributed system component configuration table;
[0082] Step S14: after each configuration of the functional group is completed, the distributed system component configuration table is updated.
[0083] This embodiment drives the cloud computing infrastructure through code, uses code to describe the deployment process of the cloud computing infrastructure and the status when the deployment is completed, and maintains this status through code monitoring and cannot be changed at will. When the status of the infrastructure needs to be changed, it can only be done through code-declarative centralized operations to ensure that nodes with the same role or the same load can take effect when changed, avoiding infrastructure function failures caused by a node or load configuration that is different from other configurations.
[0084] Specifically, in this embodiment, recording the component name, component version, component configuration parameter and component configuration code version of each node of the cloud computing platform in the distributed system component configuration table includes:
[0085] Describing the component configuration parameters in code form, and rendering the component configuration parameters in code form into a configuration object;
[0086] Record the component name and component version of each node of the cloud computing platform in the distributed system component configuration table, and record the component configuration parameters, deployment status and current configuration code version of the configuration object;
[0087] Setting the deployment status in the distributed system component configuration table to include unconfigured and configured;
[0088] The configuration code history version of the configuration object of each node is obtained, and the configuration code history version of the configuration object is recorded in the distributed system component configuration table for user tracking and configuration rollback.
[0089] It is understandable that the configuration requirement information submitted by the user is received as the configuration code submitted by the user. The required infrastructure resources are automatically created, configured and started according to the definition in the code. Automated deployment can greatly improve deployment efficiency and reduce human errors.
[0090] In this embodiment, the component name, component version, component configuration parameter and component configuration code version of each node of the cloud computing platform recorded in the distributed system component configuration table include:
[0091] Forming a component summary in the distributed system component configuration table by calculating a hash value of the component version;
[0092] A configuration summary is formed in the distributed system component configuration table by calculating a hash value of the historical version of the configuration code.
[0093] Combined with Figure 2 The architecture diagram shown introduces the specific implementation process as follows:
[0094] First, use the code definition module to define the distributed servers. The definition includes the grouping of servers, the components to be installed on the servers in the group, the versions of the components, and the configuration file versions corresponding to the component versions. Grouping a group of server host names or IP addresses into a group can be considered as grouping. Servers in the same group will have the same component installation, the same component version and configuration installed, and thus exhibit the same behavior. For example, Figure 2 The three servers in the architecture are described as a group and components A / B / C are to be installed. The remaining servers (not shown in the architecture) are described as a group and components D / E, etc. may be installed.
[0095] The code definition module describes the deployment topology of the infrastructure to be deployed, which will be included in the version control module. The version control module describes the initial version of the application on the infrastructure, the change history, including the version changes of components A / B / C and configuration parameter changes. When the code definition module describes the topology of the application to be deployed on the infrastructure, the distributed system component correspondence table shown in the following table will be generated.
[0096] The above table describes the state that the infrastructure will eventually reach. This state data is also the input of the monitoring and management module and the basis for the monitoring and management module to make management decisions. The state in the above table requires that all three servers deploy components A / B / C, and the component versions and configuration versions on the three servers are consistent and the same, so as to ensure that there will be no inconsistent states on the three servers. The version control module eliminates the problem of manually replacing component versions and changing configurations on the server in the traditional mode, which leads to inconsistent states between servers, and then causes application access failures and operation and maintenance difficulties. When the infrastructure needs to be changed, it can only be driven by code, and the infrastructure is re-described through the code definition module. The version control module updates the state table that the infrastructure is expected to achieve. Finally, by comparing the component version of the current infrastructure environment with the expected version, unified and consistent changes are achieved on multiple servers to avoid inconsistent server states under the same group.
[0097] The automated deployment module will automatically distribute component versions and configuration versions in batches to the servers in the group to which they should be deployed, according to the input from the code description module and the version control module, thus completing the infrastructure environment deployment.
[0098] The monitoring and management module will maintain the status of the infrastructure according to the status table to ensure that the infrastructure meets the component version and configuration version status required by the status table. This module is also used to monitor the operating status and sha256 value of the component version on the infrastructure environment. When the sha256 value of the component version of the server is inconsistent with the sha256 value maintained in the status table, the component will be rolled back or configured to the correct version, which can also avoid inconsistent component versions and configurations on servers in the same group.
[0099] like Figure 5 As shown, in this embodiment, the filtering of components that meet the target component configuration parameters from the distributed system component configuration table and obtaining the target component configuration number of target components to form a configuration function group includes:
[0100] Step S31, according to the target component configuration parameters, filter out configuration objects that meet the target component configuration parameters and whose deployment status is unconfigured from the distributed system component configuration table;
[0101] Step S32, obtaining the target configuration number of filtered configuration objects to form a configuration function group.
[0102] In this embodiment, the step of obtaining the target configuration number of filtered configuration objects to form a configuration function group includes:
[0103] Traversing and determining whether the current configuration code version of the configuration object of each filtered node is the target configuration code version;
[0104] If yes, classify the configuration object of the corresponding node into a configuration function group, and set the current number of the configuration function group to be increased by one;
[0105] If not, marking the configuration object of the corresponding node as not being classified as a configuration function group, and setting the current number of the configuration function group not to increase;
[0106] In response to the current number of the configuration function groups being increased by one, determining whether the current number of the configuration function groups is equal to the target configuration number;
[0107] If yes, stop traversing and determine whether the current configuration code version of the configuration object of each node screened out is the target configuration code version;
[0108] If not, then in the nodes marked as not classified as configuration function groups, the configuration objects are sorted in the order of the current configuration code versions and the target configuration code versions, and the configuration objects of the corresponding nodes are classified into configuration function groups one by one in order;
[0109] In response to the current number of the configuration function groups being increased by one, determining whether the current number of the configuration function groups is equal to the target configuration number;
[0110] If yes, stop classifying the configuration object of the next node as a configuration function group;
[0111] If not, the configuration objects of the next node are continuously classified into configuration function groups in order until the current number of the configuration function groups is equal to the target configuration number.
[0112] like Figure 6 As shown, in this embodiment, the step of synchronously configuring all configuration objects in the configuration function group to the target configuration code version includes:
[0113] Step S41, determining one by one whether the current configuration code version of the configuration objects in the configuration function group is the target configuration code version;
[0114] Step S42: If yes, then the configuration object is not adjusted to the target configuration code version, and it is determined whether the current configuration code version of the next configuration object is the target configuration code version;
[0115] Step S43: If not, adjusting the configuration object to the target configuration code version.
[0116] In this embodiment, the infrastructure deployment configuration and management method further includes:
[0117] Setting the distributed system component configuration table to be divided into a plurality of distributed system component corresponding tables according to the configuration function groups, each distributed system component corresponding table correspondingly storing component configuration parameters and component deployment status of a configuration function group;
[0118] In response to receiving a restart of the target configuration function group, controlling the components of all nodes in the distributed system component correspondence table to restart;
[0119] In response to receiving a request to upgrade the target configuration function group, controlling component upgrades of all nodes in the distributed system component correspondence table;
[0120] In response to receiving a request to expand the target configuration function group, a group of server host names or IP addresses are assigned to the target configuration function group, and configuration objects corresponding to components of newly added nodes are configured as configuration code versions of the target configuration function group.
[0121] The infrastructure deployment configuration and management method also supports remote operation and management of the infrastructure, such as restart, upgrade, expansion, etc. This application drives the deployment, configuration change and management of the infrastructure through code. First, the code definition module is used to describe the organizational form and deployment topology of the infrastructure; secondly, the version control module is used to generate the desired state that the infrastructure will eventually achieve, ensuring that the distributed infrastructure cannot be arbitrarily modified and changed by humans in the traditional mode. The state changes of the infrastructure can only be centrally controlled by the state table generated by the code. Changes between servers with the same responsibilities are changed together, and the changed states are also consistent. Their software control behaviors are completely consistent, and software failures caused by inconsistent states will not occur; thirdly, the automated deployment module will distribute components and configurations in batches to the server groups that should be deployed according to the description of the state table; finally, the monitoring and management module monitors the state changes of the infrastructure, executes management, and can implement restart, upgrade, and expansion operations.
[0122] In the above-mentioned infrastructure deployment configuration and management method, by storing the component configuration parameters and component deployment status of each node of the cloud computing platform in the distributed system component configuration table, it is possible to centrally manage the component configuration status of each node. After receiving the configuration requirement information, it is possible to automatically form a configuration function group that meets the configuration requirement information, which can realize automatic management and grouping, improve processing efficiency, and synchronously upgrade the hardware configuration code version of the components of the formed configuration function group, so that different hardware configurations will not cause infrastructure function failures.
[0123] It should be understood that although Figure 3-Figure 6 The steps in the flowchart are shown in sequence as indicated by the arrows, but these steps are not necessarily executed in the order indicated by the arrows. Unless otherwise specified in this document, there is no strict order restriction for the execution of these steps, and these steps can be executed in other orders. Moreover, Figure 3-Figure 6 At least part of the steps may include multiple sub-steps or multiple stages. These sub-steps or stages are not necessarily executed at the same time, but can be executed at different times. The execution order of these sub-steps or stages is not necessarily sequential, but can be executed in turn or alternately with other steps or at least part of the sub-steps or stages of other steps.
[0124] In one embodiment, Figure 7 As shown, an infrastructure deployment configuration and management system 10 is provided, including: a node component configuration information storage module 1, a configuration requirement acquisition module 2, an automatic deployment module 3, and a code version control module 4.
[0125] The node component configuration information storage module 1 is used to obtain component configuration parameters and component deployment status of each node of the cloud computing platform, and store them in a distributed system component configuration table.
[0126] The configuration requirement acquisition module 2 is used to obtain target component configuration parameters, target component configuration quantity and target configuration code version information in the configuration requirement information in response to receiving the configuration requirement information submitted by the user.
[0127] The automatic deployment module 3 is used to filter components that meet the target component configuration parameters from the distributed system component configuration table, and obtain the target component configuration number of target components to form a configuration function group.
[0128] The code version control module 4 is used to synchronously configure all configuration objects in the configuration function group to the target configuration code version.
[0129] In this embodiment, the obtaining of component configuration parameters and component deployment status of each node of the cloud computing platform and storing them in the distributed system component configuration table includes:
[0130] Obtaining configuration information of each node of the cloud computing platform, identifying component names, component versions, component configuration parameters, and component configuration code versions in the configuration information;
[0131] Set up distributed system component configuration tables in the database;
[0132] Recording the component name, component version, component configuration parameters and component configuration code version of each node of the cloud computing platform in the distributed system component configuration table;
[0133] After each configuration of the functional group is completed, the distributed system component configuration table is updated.
[0134] In this embodiment, recording the component name, component version, component configuration parameter and component configuration code version of each node of the cloud computing platform in the distributed system component configuration table includes:
[0135] Describing the component configuration parameters in code form, and rendering the component configuration parameters in code form into a configuration object;
[0136] Record the component name and component version of each node of the cloud computing platform in the distributed system component configuration table, and record the component configuration parameters, deployment status and current configuration code version of the configuration object;
[0137] Setting the deployment status in the distributed system component configuration table to include unconfigured and configured;
[0138] The configuration code history version of the configuration object of each node is obtained, and the configuration code history version of the configuration object is recorded in the distributed system component configuration table for user tracking and configuration rollback.
[0139] In this embodiment, the component name, component version, component configuration parameter and component configuration code version of each node of the cloud computing platform recorded in the distributed system component configuration table include:
[0140] Forming a component summary in the distributed system component configuration table by calculating a hash value of the component version;
[0141] A configuration summary is formed in the distributed system component configuration table by calculating a hash value of the historical version of the configuration code.
[0142] In this embodiment, the filtering of components satisfying the target component configuration parameters from the distributed system component configuration table and obtaining the target component configuration number of target components to form a configuration function group includes:
[0143] According to the target component configuration parameters, filter out configuration objects that meet the target component configuration parameters and whose deployment status is unconfigured from the distributed system component configuration table;
[0144] The target configuration number of filtered configuration objects is obtained to form a configuration function group.
[0145] In this embodiment, the step of obtaining the target configuration number of filtered configuration objects to form a configuration function group includes:
[0146] Traversing and determining whether the current configuration code version of the configuration object of each filtered node is the target configuration code version;
[0147] If yes, classify the configuration object of the corresponding node into a configuration function group, and set the current number of the configuration function group to be increased by one;
[0148] If not, marking the configuration object of the corresponding node as not being classified as a configuration function group, and setting the current number of the configuration function group not to increase;
[0149] In response to the current number of the configuration function groups being increased by one, determining whether the current number of the configuration function groups is equal to the target configuration number;
[0150] If yes, stop traversing and determine whether the current configuration code version of the configuration object of each node screened out is the target configuration code version;
[0151] If not, then in the nodes marked as not classified as configuration function groups, the configuration objects are sorted in the order of the current configuration code versions and the target configuration code versions, and the configuration objects of the corresponding nodes are classified into configuration function groups one by one in order;
[0152] In response to the current number of the configuration function groups being increased by one, determining whether the current number of the configuration function groups is equal to the target configuration number;
[0153] If yes, stop classifying the configuration object of the next node as a configuration function group;
[0154] If not, the configuration objects of the next node are continuously classified into configuration function groups in order until the current number of the configuration function groups is equal to the target configuration number.
[0155] In this embodiment, the step of synchronously configuring all configuration objects in the configuration function group to the target configuration code version includes:
[0156] Determine one by one whether the current configuration code version of the configuration objects in the configuration function group is the target configuration code version;
[0157] If so, the configuration object is not adjusted to the target configuration code version, and it is determined whether the current configuration code version of the next configuration object is the target configuration code version;
[0158] If not, the configuration object is adjusted to the target configuration code version.
[0159] In the above-mentioned infrastructure deployment configuration and management system, by storing the component configuration parameters and component deployment status of each node of the cloud computing platform in the distributed system component configuration table, it is possible to centrally manage the component configuration status of each node. After receiving the configuration requirement information, it is possible to automatically form a configuration function group that meets the configuration requirement information, which can realize automatic management and grouping, improve processing efficiency, and synchronously upgrade the hardware configuration code version of the components of the formed configuration function group, so that infrastructure function failures will not occur due to different hardware configurations.
[0160] For the specific definition of the infrastructure deployment configuration and management system, please refer to the definition of the infrastructure deployment configuration and management method above, which will not be repeated here. Each module in the above-mentioned infrastructure deployment configuration and management system can be implemented in whole or in part by software, hardware and a combination thereof. The above-mentioned modules can be embedded in or independent of the processor in the computer device in the form of hardware, or can be stored in the memory of the computer device in the form of software, so that the processor can call and execute the operations corresponding to the above modules.
[0161] In one embodiment, a computer program product is provided, comprising a computer program, which, when executed by a processor, implements the following steps:
[0162] Obtain component configuration parameters and component deployment status of each node of the cloud computing platform, and store them in the distributed system component configuration table;
[0163] In response to receiving the configuration requirement information submitted by the user, obtaining the target component configuration parameters, the target component configuration quantity and the target configuration code version information in the configuration requirement information;
[0164] Filter components that meet the target component configuration parameters from the distributed system component configuration table, and obtain the target component configuration quantity target components to form a configuration function group;
[0165] All configuration objects in the configuration function group are synchronously configured to the target configuration code version.
[0166] In one embodiment, the computer program further implements the following steps when executed by a processor:
[0167] The obtaining of component configuration parameters and component deployment status of each node of the cloud computing platform and storing them in the distributed system component configuration table includes:
[0168] Obtaining configuration information of each node of the cloud computing platform, identifying component names, component versions, component configuration parameters, and component configuration code versions in the configuration information;
[0169] Set up distributed system component configuration tables in the database;
[0170] Recording the component name, component version, component configuration parameters and component configuration code version of each node of the cloud computing platform in the distributed system component configuration table;
[0171] After each configuration of the functional group is completed, the distributed system component configuration table is updated.
[0172] In one embodiment, when the computer program is executed by a processor, the following steps are also implemented:
[0173] The component name, component version, component configuration parameter and component configuration code version of each node of the cloud computing platform recorded in the distributed system component configuration table include:
[0174] Describing the component configuration parameters in code form, and rendering the component configuration parameters in code form into a configuration object;
[0175] Record the component name and component version of each node of the cloud computing platform in the distributed system component configuration table, and record the component configuration parameters, deployment status and current configuration code version of the configuration object;
[0176] Setting the deployment status in the distributed system component configuration table to include unconfigured and configured;
[0177] The configuration code history version of the configuration object of each node is obtained, and the configuration code history version of the configuration object is recorded in the distributed system component configuration table for user tracking and configuration rollback.
[0178] In one embodiment, when the computer program is executed by a processor, the following steps are also implemented:
[0179] The component name, component version, component configuration parameter and component configuration code version of each node of the cloud computing platform recorded in the distributed system component configuration table include:
[0180] Forming a component summary in the distributed system component configuration table by calculating a hash value of the component version;
[0181] A configuration summary is formed in the distributed system component configuration table by calculating a hash value of the historical version of the configuration code.
[0182] In one embodiment, when the computer program is executed by a processor, the following steps are also implemented:
[0183] The step of screening components that meet the target component configuration parameters from the distributed system component configuration table and obtaining the target component configuration number and target components to form a configuration function group comprises:
[0184] According to the target component configuration parameters, filter out configuration objects that meet the target component configuration parameters and whose deployment status is unconfigured from the distributed system component configuration table;
[0185] The target configuration number of filtered configuration objects is obtained to form a configuration function group.
[0186] In one embodiment, when the computer program is executed by a processor, the following steps are also implemented:
[0187] The step of obtaining the target configuration number of filtered configuration objects to form a configuration function group comprises:
[0188] Traversing and determining whether the current configuration code version of the configuration object of each filtered node is the target configuration code version;
[0189] If yes, classify the configuration object of the corresponding node into a configuration function group, and set the current number of the configuration function group to be increased by one;
[0190] If not, marking the configuration object of the corresponding node as not being classified as a configuration function group, and setting the current number of the configuration function group not to increase;
[0191] In response to the current number of the configuration function groups being increased by one, determining whether the current number of the configuration function groups is equal to the target configuration number;
[0192] If yes, stop traversing and determine whether the current configuration code version of the configuration object of each node screened out is the target configuration code version;
[0193] If not, then in the nodes marked as not classified as configuration function groups, the configuration objects are sorted in the order of the current configuration code versions and the target configuration code versions, and the configuration objects of the corresponding nodes are classified into configuration function groups one by one in order;
[0194] In response to the current number of the configuration function groups being increased by one, determining whether the current number of the configuration function groups is equal to the target configuration number;
[0195] If yes, stop classifying the configuration object of the next node as a configuration function group;
[0196] If not, the configuration objects of the next node are continuously classified into configuration function groups in order until the current number of the configuration function groups is equal to the target configuration number.
[0197] In one embodiment, when the computer program is executed by a processor, the following steps are also implemented:
[0198] The step of synchronously configuring all configuration objects in the configuration function group to the target configuration code version includes:
[0199] Determine one by one whether the current configuration code version of the configuration objects in the configuration function group is the target configuration code version;
[0200] If so, the configuration object is not adjusted to the target configuration code version, and it is determined whether the current configuration code version of the next configuration object is the target configuration code version;
[0201] If not, the configuration object is adjusted to the target configuration code version.
[0202] For specific limitations on the steps implemented when the computer program is executed by the processor, please refer to the limitations on the method for infrastructure deployment, configuration and management mentioned above, which will not be repeated here.
[0203] In one embodiment, a computer device is provided. The computer device may be a terminal, and its internal structure diagram may be as follows: Figure 8 As shown. The computer device includes a processor, a memory, a network interface, a display screen and an input system connected through a system bus. Among them, the processor of the computer device is used to provide computing and control capabilities. The memory of the computer device includes a non-volatile storage medium and an internal memory. The non-volatile storage medium stores an operating system and a computer program. The internal memory provides an environment for the operation of the operating system and the computer program in the non-volatile storage medium. The network interface of the computer device is used to communicate with an external terminal through a network connection. When the computer program is executed by the processor, an infrastructure deployment configuration and management method is implemented. The display screen of the computer device can be a liquid crystal display screen or an electronic ink display screen, and the input system of the computer device can be a touch layer covering the display screen, or a button, trackball or touchpad set on the computer device housing, or an external keyboard, touchpad or mouse, etc.
[0204] Those skilled in the art will understand that Figure 8 The structure shown in the figure is only a block diagram of a part of the structure related to the solution of the present application, and does not constitute a limitation on the computer device to which the solution of the present application is applied. The specific computer device may include more or fewer components than those shown in the figure, or combine certain components, or have a different arrangement of components.
[0205] In one embodiment, a computer device is provided, including a memory, a processor, and a computer program stored in the memory and executable on the processor, wherein the processor implements the following steps when executing the computer program:
[0206] Obtain component configuration parameters and component deployment status of each node of the cloud computing platform, and store them in the distributed system component configuration table;
[0207] In response to receiving the configuration requirement information submitted by the user, obtaining the target component configuration parameters, the target component configuration quantity and the target configuration code version information in the configuration requirement information;
[0208] Filter components that meet the target component configuration parameters from the distributed system component configuration table, and obtain the target component configuration quantity target components to form a configuration function group;
[0209] All configuration objects in the configuration function group are synchronously configured to the target configuration code version.
[0210] In one embodiment, when the processor executes the computer program, the processor further implements the following steps:
[0211] The obtaining of component configuration parameters and component deployment status of each node of the cloud computing platform and storing them in the distributed system component configuration table includes:
[0212] Obtaining configuration information of each node of the cloud computing platform, identifying component names, component versions, component configuration parameters, and component configuration code versions in the configuration information;
[0213] Set up distributed system component configuration tables in the database;
[0214] Recording the component name, component version, component configuration parameters and component configuration code version of each node of the cloud computing platform in the distributed system component configuration table;
[0215] After each configuration of the functional group is completed, the distributed system component configuration table is updated.
[0216] In one embodiment, when the processor executes the computer program, the processor further implements the following steps:
[0217] The component name, component version, component configuration parameter and component configuration code version of each node of the cloud computing platform recorded in the distributed system component configuration table include:
[0218] Describing the component configuration parameters in code form, and rendering the component configuration parameters in code form into a configuration object;
[0219] Record the component name and component version of each node of the cloud computing platform in the distributed system component configuration table, and record the component configuration parameters, deployment status and current configuration code version of the configuration object;
[0220] Setting the deployment status in the distributed system component configuration table to include unconfigured and configured;
[0221] The configuration code history version of the configuration object of each node is obtained, and the configuration code history version of the configuration object is recorded in the distributed system component configuration table for user tracking and configuration rollback.
[0222] In one embodiment, when the processor executes the computer program, the processor further implements the following steps:
[0223] The component name, component version, component configuration parameter and component configuration code version of each node of the cloud computing platform recorded in the distributed system component configuration table include:
[0224] Forming a component summary in the distributed system component configuration table by calculating a hash value of the component version;
[0225] A configuration summary is formed in the distributed system component configuration table by calculating a hash value of the historical version of the configuration code.
[0226] In one embodiment, when the processor executes the computer program, the processor further implements the following steps:
[0227] The step of screening components that meet the target component configuration parameters from the distributed system component configuration table and obtaining the target component configuration number and target components to form a configuration function group comprises:
[0228] According to the target component configuration parameters, filter out configuration objects that meet the target component configuration parameters and whose deployment status is unconfigured from the distributed system component configuration table;
[0229] The target configuration number of filtered configuration objects is obtained to form a configuration function group.
[0230] In one embodiment, when the processor executes the computer program, the processor further implements the following steps:
[0231] The step of obtaining the target configuration number of filtered configuration objects to form a configuration function group comprises:
[0232] Traversing and determining whether the current configuration code version of the configuration object of each filtered node is the target configuration code version;
[0233] If yes, classify the configuration object of the corresponding node into a configuration function group, and set the current number of the configuration function group to be increased by one;
[0234] If not, marking the configuration object of the corresponding node as not being classified as a configuration function group, and setting the current number of the configuration function group not to increase;
[0235] In response to the current number of the configuration function groups being increased by one, determining whether the current number of the configuration function groups is equal to the target configuration number;
[0236] If yes, stop traversing and determine whether the current configuration code version of the configuration object of each node screened out is the target configuration code version;
[0237] If not, then in the nodes marked as not classified as configuration function groups, the configuration objects are sorted in the order of the current configuration code versions and the target configuration code versions, and the configuration objects of the corresponding nodes are classified into configuration function groups one by one in order;
[0238] In response to the current number of the configuration function groups being increased by one, determining whether the current number of the configuration function groups is equal to the target configuration number;
[0239] If yes, stop classifying the configuration object of the next node as a configuration function group;
[0240] If not, the configuration objects of the next node are continuously classified into configuration function groups in order until the current number of the configuration function groups is equal to the target configuration number.
[0241] In one embodiment, when the processor executes the computer program, the processor further implements the following steps:
[0242] The step of synchronously configuring all configuration objects in the configuration function group to the target configuration code version includes:
[0243] Determine one by one whether the current configuration code version of the configuration objects in the configuration function group is the target configuration code version;
[0244] If so, the configuration object is not adjusted to the target configuration code version, and it is determined whether the current configuration code version of the next configuration object is the target configuration code version;
[0245] If not, the configuration object is adjusted to the target configuration code version.
[0246] For specific limitations on the steps implemented when the processor executes a computer program, please refer to the limitations on the methods for infrastructure deployment, configuration and management mentioned above, which will not be repeated here.
[0247] In one embodiment, a computer readable storage medium is provided, on which a computer program is stored, and when the computer program is executed by a processor, the following steps are implemented:
[0248] Obtain component configuration parameters and component deployment status of each node of the cloud computing platform, and store them in the distributed system component configuration table;
[0249] In response to receiving the configuration requirement information submitted by the user, obtaining the target component configuration parameters, the target component configuration quantity and the target configuration code version information in the configuration requirement information;
[0250] Filter components that meet the target component configuration parameters from the distributed system component configuration table, and obtain the target component configuration quantity target components to form a configuration function group;
[0251] All configuration objects in the configuration function group are synchronously configured to the target configuration code version.
[0252] In one embodiment, when the computer program is executed by a processor, the following steps are also implemented:
[0253] The obtaining of component configuration parameters and component deployment status of each node of the cloud computing platform and storing them in the distributed system component configuration table includes:
[0254] Obtaining configuration information of each node of the cloud computing platform, identifying component names, component versions, component configuration parameters, and component configuration code versions in the configuration information;
[0255] Set up distributed system component configuration tables in the database;
[0256] Recording the component name, component version, component configuration parameters and component configuration code version of each node of the cloud computing platform in the distributed system component configuration table;
[0257] After each configuration of the functional group is completed, the distributed system component configuration table is updated.
[0258] In one embodiment, when the computer program is executed by a processor, the following steps are also implemented:
[0259] The component name, component version, component configuration parameter and component configuration code version of each node of the cloud computing platform recorded in the distributed system component configuration table include:
[0260] Describing the component configuration parameters in code form, and rendering the component configuration parameters in code form into a configuration object;
[0261] Record the component name and component version of each node of the cloud computing platform in the distributed system component configuration table, and record the component configuration parameters, deployment status and current configuration code version of the configuration object;
[0262] Setting the deployment status in the distributed system component configuration table to include unconfigured and configured;
[0263] The configuration code history version of the configuration object of each node is obtained, and the configuration code history version of the configuration object is recorded in the distributed system component configuration table for user tracking and configuration rollback.
[0264] In one embodiment, when the computer program is executed by a processor, the following steps are also implemented:
[0265] The component name, component version, component configuration parameter and component configuration code version of each node of the cloud computing platform recorded in the distributed system component configuration table include:
[0266] Forming a component summary in the distributed system component configuration table by calculating a hash value of the component version;
[0267] A configuration summary is formed in the distributed system component configuration table by calculating a hash value of the historical version of the configuration code.
[0268] In one embodiment, when the computer program is executed by a processor, the following steps are also implemented:
[0269] The step of screening components that meet the target component configuration parameters from the distributed system component configuration table and obtaining the target component configuration number and target components to form a configuration function group comprises:
[0270] According to the target component configuration parameters, filter out configuration objects that meet the target component configuration parameters and whose deployment status is unconfigured from the distributed system component configuration table;
[0271] The target configuration number of filtered configuration objects is obtained to form a configuration function group.
[0272] In one embodiment, when the computer program is executed by a processor, the following steps are also implemented:
[0273] The step of obtaining the target configuration number of filtered configuration objects to form a configuration function group comprises:
[0274] Traversing and determining whether the current configuration code version of the configuration object of each filtered node is the target configuration code version;
[0275] If yes, classify the configuration object of the corresponding node into a configuration function group, and set the current number of the configuration function group to be increased by one;
[0276] If not, marking the configuration object of the corresponding node as not being classified as a configuration function group, and setting the current number of the configuration function group not to increase;
[0277] In response to the current number of the configuration function groups being increased by one, determining whether the current number of the configuration function groups is equal to the target configuration number;
[0278] If yes, stop traversing and determine whether the current configuration code version of the configuration object of each node screened out is the target configuration code version;
[0279] If not, then in the nodes marked as not classified as configuration function groups, the configuration objects are sorted in the order of the current configuration code versions and the target configuration code versions, and the configuration objects of the corresponding nodes are classified into configuration function groups one by one in order;
[0280] In response to the current number of the configuration function groups being increased by one, determining whether the current number of the configuration function groups is equal to the target configuration number;
[0281] If yes, stop classifying the configuration object of the next node as a configuration function group;
[0282] If not, the configuration objects of the next node are continuously classified into configuration function groups in order until the current number of the configuration function groups is equal to the target configuration number.
[0283] In one embodiment, when the computer program is executed by a processor, the following steps are also implemented:
[0284] The step of synchronously configuring all configuration objects in the configuration function group to the target configuration code version includes:
[0285] Determine one by one whether the current configuration code version of the configuration objects in the configuration function group is the target configuration code version;
[0286] If so, the configuration object is not adjusted to the target configuration code version, and it is determined whether the current configuration code version of the next configuration object is the target configuration code version;
[0287] If not, the configuration object is adjusted to the target configuration code version.
[0288] For specific limitations on the steps implemented when the computer program is executed by the processor, please refer to the limitations on the method for infrastructure deployment, configuration and management mentioned above, which will not be repeated here.
[0289] Those skilled in the art can understand that all or part of the processes in the above-mentioned embodiment methods can be completed by instructing the relevant hardware through a computer program, and the computer program can be stored in a non-volatile computer-readable storage medium. When the computer program is executed, it can include the processes of the embodiments of the above-mentioned methods. Among them, any reference to memory, storage, database or other media used in the embodiments provided in this application can include non-volatile and / or volatile memory. Non-volatile memory can include read-only memory (ROM), programmable ROM (PROM), electrically programmable ROM (EPROM), electrically erasable programmable ROM (EEPROM) or flash memory. Volatile memory can include random access memory (RAM) or external cache memory. As an illustration and not limitation, RAM is available in many forms, such as static RAM (SRAM), dynamic RAM (DRAM), synchronous DRAM (SDRAM), double data rate SDRAM (DDRSDRAM), enhanced SDRAM (ESDRAM), synchronous link (Synchlink) DRAM (SLDRAM), memory bus (Rambus) direct RAM (RDRAM), direct memory bus dynamic RAM (DRDRAM), and memory bus dynamic RAM (RDRAM).
[0290] The technical features of the above embodiments may be combined arbitrarily. To make the description concise, not all possible combinations of the technical features in the above embodiments are described. However, as long as there is no contradiction in the combination of these technical features, they should be considered to be within the scope of this specification.
[0291] The above-mentioned embodiments only express several implementation methods of the present application, and the descriptions thereof are relatively specific and detailed, but they cannot be understood as limiting the scope of the invention patent. It should be pointed out that, for a person of ordinary skill in the art, several variations and improvements can be made without departing from the concept of the present application, and these all belong to the protection scope of the present application. Therefore, the protection scope of the patent of the present application shall be subject to the attached claims.
Claims
1. A method for infrastructure deployment, configuration and management, characterized in that: include: Obtain component configuration parameters and component deployment status of each node of the cloud computing platform, and store them in the distributed system component configuration table; In response to receiving the configuration requirement information submitted by the user, obtaining the target component configuration parameters, the target component configuration quantity and the target configuration code version information in the configuration requirement information; Filter components that meet the target component configuration parameters from the distributed system component configuration table, and obtain the target component configuration quantity target components to form a configuration function group; All configuration objects in the configuration function group are synchronously configured to the target configuration code version.
2. The infrastructure deployment configuration and management method according to claim 1, characterized in that: The obtaining of component configuration parameters and component deployment status of each node of the cloud computing platform and storing them in the distributed system component configuration table includes: Obtaining configuration information of each node of the cloud computing platform, identifying component names, component versions, component configuration parameters, and component configuration code versions in the configuration information; Set up distributed system component configuration tables in the database; Recording the component name, component version, component configuration parameters and component configuration code version of each node of the cloud computing platform in the distributed system component configuration table; After each configuration of the functional group is completed, the distributed system component configuration table is updated.
3. The infrastructure deployment configuration and management method according to claim 2, characterized in that: The component name, component version, component configuration parameter and component configuration code version of each node of the cloud computing platform recorded in the distributed system component configuration table include: Describing the component configuration parameters in code form, and rendering the component configuration parameters in code form into a configuration object; Record the component name and component version of each node of the cloud computing platform in the distributed system component configuration table, and record the component configuration parameters, deployment status and current configuration code version of the configuration object; Setting the deployment status in the distributed system component configuration table to include unconfigured and configured; The configuration code history version of the configuration object of each node is obtained, and the configuration code history version of the configuration object is recorded in the distributed system component configuration table for user tracking and configuration rollback.
4. The infrastructure deployment configuration and management method according to claim 3, characterized in that: The component name, component version, component configuration parameter and component configuration code version of each node of the cloud computing platform recorded in the distributed system component configuration table include: Forming a component summary in the distributed system component configuration table by calculating a hash value of the component version; A configuration summary is formed in the distributed system component configuration table by calculating a hash value of the historical version of the configuration code.
5. The infrastructure deployment configuration and management method according to claim 3, characterized in that: The step of screening components that meet the target component configuration parameters from the distributed system component configuration table and obtaining the target component configuration number and target components to form a configuration function group comprises: According to the target component configuration parameters, filter out configuration objects that meet the target component configuration parameters and whose deployment status is unconfigured from the distributed system component configuration table; The target configuration number of filtered configuration objects is obtained to form a configuration function group.
6. The infrastructure deployment configuration and management method according to claim 5, characterized in that: The step of obtaining the target configuration number of filtered configuration objects to form a configuration function group includes: Traversing and determining whether the current configuration code version of the configuration object of each filtered node is the target configuration code version; If yes, classify the configuration object of the corresponding node into a configuration function group, and set the current number of the configuration function group to be increased by one; If not, marking the configuration object of the corresponding node as not being classified as a configuration function group, and setting the current number of the configuration function group not to increase; In response to the current number of the configuration function groups being increased by one, determining whether the current number of the configuration function groups is equal to the target configuration number; If yes, stop traversing and determine whether the current configuration code version of the configuration object of each node screened out is the target configuration code version; If not, then in the nodes marked as not classified as configuration function groups, the configuration objects are sorted in the order of the current configuration code versions and the target configuration code versions, and the configuration objects of the corresponding nodes are classified into configuration function groups one by one in order; In response to the current number of the configuration function groups being increased by one, determining whether the current number of the configuration function groups is equal to the target configuration number; If yes, stop classifying the configuration object of the next node as a configuration function group; If not, the configuration objects of the next node are continuously classified into configuration function groups in order until the current number of the configuration function groups is equal to the target configuration number.
7. The infrastructure deployment configuration and management method according to claim 1, characterized in that: The step of synchronously configuring all configuration objects in the configuration function group to the target configuration code version includes: Determine one by one whether the current configuration code version of the configuration objects in the configuration function group is the target configuration code version; If so, the configuration object is not adjusted to the target configuration code version, and it is determined whether the current configuration code version of the next configuration object is the target configuration code version; If not, the configuration object is adjusted to the target configuration code version.
8. An infrastructure deployment configuration and management system, characterized in that: The system comprises: The node component configuration information storage module is used to obtain the component configuration parameters and component deployment status of each node of the cloud computing platform and store them in the distributed system component configuration table; A configuration requirement acquisition module, configured to, in response to receiving configuration requirement information submitted by a user, acquire target component configuration parameters, target component configuration quantity, and target configuration code version information in the configuration requirement information; An automated deployment module, used to filter components that meet the target component configuration parameters from the distributed system component configuration table, and obtain the target component configuration quantity target components to form a configuration function group; The code version control module is used to synchronously configure all configuration objects in the configuration function group to the target configuration code version.
9. A computer device comprising a memory, a processor and a computer program stored in the memory and executable on the processor, characterized in that: When the processor executes the computer program, the steps of the method according to any one of claims 1 to 7 are implemented.
10. A computer-readable storage medium having a computer program stored thereon, characterized in that: When the computer program is executed by a processor, the steps of the method according to any one of claims 1 to 7 are implemented.
