CN115361281A - Processing method, device, equipment and medium for capacity expansion of multiple cloud cluster nodes - Google Patents
Processing method, device, equipment and medium for capacity expansion of multiple cloud cluster nodes Download PDFInfo
- Publication number
- CN115361281A CN115361281A CN202211003220.0A CN202211003220A CN115361281A CN 115361281 A CN115361281 A CN 115361281A CN 202211003220 A CN202211003220 A CN 202211003220A CN 115361281 A CN115361281 A CN 115361281A
- Authority
- CN
- China
- Prior art keywords
- cloud
- information
- capacity expansion
- clusters
- configuration information
- 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
-
- H—ELECTRICITY
- H04—ELECTRIC COMMUNICATION TECHNIQUE
- H04L—TRANSMISSION OF DIGITAL INFORMATION, e.g. TELEGRAPHIC COMMUNICATION
- H04L41/00—Arrangements for maintenance, administration or management of data switching networks, e.g. of packet switching networks
- H04L41/08—Configuration management of networks or network elements
- H04L41/0803—Configuration setting
-
- H—ELECTRICITY
- H04—ELECTRIC COMMUNICATION TECHNIQUE
- H04L—TRANSMISSION OF DIGITAL INFORMATION, e.g. TELEGRAPHIC COMMUNICATION
- H04L41/00—Arrangements for maintenance, administration or management of data switching networks, e.g. of packet switching networks
- H04L41/08—Configuration management of networks or network elements
- H04L41/0803—Configuration setting
- H04L41/0823—Configuration setting characterised by the purposes of a change of settings, e.g. optimising configuration for enhancing reliability
Landscapes
- Engineering & Computer Science (AREA)
- Computer Networks & Wireless Communication (AREA)
- Signal Processing (AREA)
- Debugging And Monitoring (AREA)
- Computer And Data Communications (AREA)
Abstract
The invention provides a processing method, a device, equipment and a medium for capacity expansion of a plurality of cloud cluster nodes, wherein the method comprises the following steps: monitoring a plurality of cloud clusters to acquire monitoring information of the cloud clusters; configuring judgment configuration information of the cloud clusters, and calculating judgment result information according to the monitoring information and the judgment configuration information; acquiring capacity expansion configuration information of the plurality of cloud clusters according to the judgment result information; and acquiring the capacity expansion information of the cloud manufacturer, and generating the capacity expansion information of a plurality of cloud clusters according to the capacity expansion configuration information and the capacity expansion information of the cloud manufacturer. The invention can realize fine expansion and realize the automatic expansion of a plurality of cloud clusters.
Description
Technical Field
The invention relates to the technical field of clusters, in particular to a processing method, a device, equipment and a medium for capacity expansion of a plurality of cloud cluster nodes.
Background
Kubernetus is a container-based orchestration tool that can orchestrate groups of containers running on a job based on a configuration file. However, the computing power and the resource capacity of the working nodes are limited, and the working nodes are easy to be insufficient in computing power when a large number of applied container groups are deployed or expanded. At this time, a new working node needs to be added into the Kubernetus cluster to relieve the problem of insufficient computing power. The current multi-cloud redundancy concept is proposed, and cross-cloud deployment is carried out through container clusters so as to achieve the cross-cloud redundancy capability.
However, in the prior art, the technologies of the cloud manufacturers are not communicated with each other, and cross-cluster expansion cannot be performed on the premise of network communication. Under the condition that cross-cluster expansion cannot be achieved, a Kubernetus cluster of a single cloud platform cannot be expanded based on machines of other cloud platforms.
Disclosure of Invention
The invention provides a processing method, a processing device, processing equipment and a processing medium for capacity expansion of multiple cloud cluster nodes, which are used for solving the problem that a single cloud cluster cannot be subjected to capacity expansion based on machines of other cloud platforms, and can provide the following scheme.
The invention provides a processing method for capacity expansion of a plurality of cloud cluster nodes, which comprises the following steps:
monitoring a plurality of cloud clusters to acquire monitoring information of the cloud clusters;
configuring judgment configuration information of the plurality of cloud clusters, and calculating judgment result information according to the monitoring information and the judgment configuration information;
acquiring capacity expansion configuration information of the plurality of cloud clusters according to the judgment result information;
and acquiring the capacity expansion information of the cloud manufacturer, and generating the capacity expansion information of a plurality of cloud clusters according to the capacity expansion configuration information and the capacity expansion information of the cloud manufacturer.
In an embodiment of the present invention, the step of configuring the determination configuration information of the plurality of cloud clusters and calculating determination result information according to the monitoring information and the determination configuration information includes:
acquiring label combination configuration of the plurality of cloud clusters, and judging whether label grouping exists or not;
when the plurality of cloud clusters have label groups, counting the average resource utilization rate of nodes in each label group to generate judgment configuration information;
when the plurality of cloud clusters are not labeled and grouped, counting the average resource utilization rate of the nodes in the plurality of cloud clusters, and generating judgment configuration information.
In an embodiment of the present invention, after the step of generating the determination configuration information, the method includes:
presetting threshold time, and comparing the configuration time of the judgment configuration information with the threshold time;
when the configuration time is greater than the threshold time, recording time nodes exceeding the threshold time;
and when the configuration time is less than or equal to the threshold time, deleting the time node in the process of generating the judgment configuration information.
In an embodiment of the present invention, when the plurality of cloud clusters have a labeled packet, the step of counting an average resource utilization rate of nodes in each labeled packet and generating the determination configuration information includes:
when the plurality of cloud clusters have label groups, sequencing the label groups according to the number of nodes;
and counting the average resource utilization rate of the nodes in each label group to generate judgment configuration information.
In an embodiment of the present invention, when the plurality of cloud clusters do not have a label packet, the step of counting an average resource utilization rate of nodes in the plurality of cloud clusters to generate the determination configuration information includes:
when the plurality of cloud clusters do not have label grouping, grouping and sequencing a plurality of nodes;
and counting the average resource utilization rate of the nodes in the cloud clusters to generate judgment configuration information.
In an embodiment of the present invention, after the step of obtaining the capacity expansion information of the cloud manufacturer and generating the capacity expansion information of the plurality of cloud clusters according to the capacity expansion configuration information and the capacity expansion information of the cloud manufacturer, the method includes:
comparing the duration of the capacity expansion information of the plurality of cloud clusters with the configuration time;
when the duration of the capacity expansion information of the plurality of cloud clusters is longer than the configuration time, calling an application program interface to expand the capacity of the plurality of cloud cluster nodes;
and when the duration of generating the expansion information of the plurality of cloud clusters is less than or equal to the configuration time, not expanding the capacity of the plurality of cloud cluster nodes.
In an embodiment of the present invention, after the step of obtaining the capacity expansion information of the cloud manufacturer and generating the capacity expansion information of the plurality of cloud clusters according to the capacity expansion configuration information and the capacity expansion information of the cloud manufacturer, the method includes:
comparing the expansion times and the limit times of the plurality of cloud clusters;
when the capacity expansion times of the plurality of cloud clusters do not exceed the limit times, displaying the capacity expansion information of the plurality of cloud clusters;
and when the expansion times of the plurality of cloud clusters exceed the limit times, not displaying the expansion information of the plurality of cloud clusters.
The present invention may also provide a processing apparatus for capacity expansion of multiple cloud cluster nodes, including:
the first acquisition unit is used for acquiring monitoring information of a plurality of cloud clusters;
the capacity expansion judging unit is used for presetting judging configuration information and calculating judging result information according to the monitoring information and the judging configuration information;
the second acquisition unit is used for acquiring capacity expansion configuration information according to the judgment result information;
and the capacity expansion execution unit is used for acquiring the capacity expansion information of the cloud manufacturer and generating a plurality of cloud cluster capacity expansion information according to the capacity expansion configuration information and the capacity expansion information of the cloud manufacturer.
The invention may also provide a computer device, including a memory, a processor, and a computer program stored in the memory and executable on the processor, where the processor implements the steps of the processing method for expanding the capacity of the cloud cluster nodes according to any one of the above items when executing the computer program.
The present invention may also provide a computer-readable storage medium, where a computer program is stored, and when executed by a processor, the computer program implements the steps of the processing method for capacity expansion of the cloud cluster nodes.
The invention provides a processing method, a device, equipment and a medium for capacity expansion of a plurality of cloud cluster nodes.
Drawings
Fig. 1 is a schematic view of an application environment of a processing method for capacity expansion of multiple cloud cluster nodes according to an embodiment of the present invention.
Fig. 2 is a schematic flow chart illustrating a processing method of a processing method for capacity expansion of multiple cloud cluster nodes according to an embodiment of the present invention.
Fig. 3 is a flowchart illustrating an embodiment of step S20 in fig. 2.
Fig. 4 is another schematic flow chart of a processing method of capacity expansion of multiple cloud cluster nodes in an embodiment of the present invention.
Fig. 5 is a schematic flow chart of a processing method for capacity expansion of multiple cloud cluster nodes according to an embodiment of the present invention.
Fig. 6 is a schematic model diagram of a processing method for capacity expansion of multiple cloud cluster nodes according to an embodiment of the present invention.
Fig. 7 is a schematic structural diagram of a processing device for capacity expansion of multiple cloud cluster nodes in an embodiment of the present invention.
Fig. 8 is a schematic structural diagram of a computer device according to an embodiment of the present invention.
Detailed Description
The following embodiments of the present invention are provided by way of specific examples, and other advantages and effects of the present invention will be readily apparent to those skilled in the art from the disclosure herein. The invention is capable of other and different embodiments and of being practiced or of being carried out in various ways, and its several details are capable of modification in various respects, all without departing from the spirit and scope of the present invention.
It should be noted that the drawings provided in this embodiment are only for schematically illustrating the basic idea of the present invention, and the components related to the present invention are only shown in the drawings and not drawn according to the number, shape and size of the components in actual implementation, and the form, quantity and proportion of each component in actual implementation may be arbitrarily changed, and the component layout may be more complicated.
Compared with a single cloud architecture, the multi-cloud architecture has the advantage of further improving the security. The single cloud architecture refers to the fact that the same cloud computing provider is adopted, and all the servers are public cloud servers. The method is convenient to schedule, and can generally use management tools provided by the official parties to uniformly perform snapshot backup and rollback operations. The multi-cloud architecture refers to the hybrid use of public cloud and private cloud, data are stored in the private cloud, and the service architecture is deployed on a public cloud server. The method and the device can realize node expansion of cross-cloud multi-cluster.
Referring to fig. 1, the present invention provides a processing method for capacity expansion of multiple cloud cluster nodes, which can be applied to the application environment shown in fig. 1, wherein a client can communicate with a server through a network. The server can obtain the instruction sent by the current user through the client, so that the client can control the expansion of the plurality of cloud cluster nodes. The cloud clusters can be applied to the fields of vehicle data management, information data statistics and the like. The present invention is described in detail below with reference to specific examples.
Referring to fig. 2, the present invention provides a processing method for capacity expansion of multiple cloud cluster nodes, which can implement node capacity expansion across multiple cloud clusters, improve efficiency, implement optimal node capacity expansion, and achieve the purpose of fine capacity expansion. A processing method for capacity expansion of a plurality of cloud cluster nodes can comprise the following steps.
S10, monitoring a plurality of cloud clusters, and acquiring monitoring information of the cloud clusters.
In some embodiments, the multiple cloud clusters are monitored in real time, and monitoring data of internal information and data of the multiple cloud clusters is obtained. The cloud clusters are mobile communication systems for group dispatching and commanding communication and are applied to the field of professional mobile communication. The available channels of multiple cloud clusters can be shared by all users of the system, and the system has the function of automatically selecting channels, and is a multipurpose and high-efficiency wireless dispatching communication system for sharing resources, sharing cost, sharing channel equipment and services. In a cluster, each cluster node (i.e., each computer in the cluster) is an independent server running its own service. These servers may communicate with each other, cooperatively provide applications, system resources and data to users, and be managed in a single system mode.
And S20, configuring judgment configuration information of the plurality of cloud clusters, and calculating judgment result information according to the monitoring information and the judgment configuration information.
In some embodiments, the determination configuration information of the plurality of cloud clusters is configured, and the determination configuration information represents information that the plurality of cloud clusters need to perform node capacity expansion. For example, the average computation power of the plurality of nodes in the plurality of cloud clusters may be obtained, and when the average computation power of the nodes in the plurality of cloud clusters reaches a certain specific value, the cloud clusters may be prompted to perform node capacity expansion operation. The decision structure information may be calculated based on the monitoring information and the decision configuration information. Whether the multiple cloud clusters need to carry out node capacity expansion or not can be calculated according to the monitoring information and the judgment configuration information.
And S30, acquiring the capacity expansion configuration information of the cloud clusters according to the judgment result information.
In some embodiments, according to the determination result information, when the determination result information indicates that the plurality of cloud clusters need to perform node capacity expansion, capacity expansion configuration information of the plurality of cloud clusters is obtained. The capacity expansion configuration information of the cloud clusters may include information such as the number of nodes configured for capacity expansion, and the operational capability of the nodes configured for capacity expansion. When the judgment result information indicates that the plurality of cloud clusters meet the current operation capability and the node expansion is not needed, the expansion configuration information can be set as the expansion configuration information which is not needed.
And S40, acquiring the capacity expansion information of the cloud manufacturer, and generating the capacity expansion information of a plurality of cloud clusters according to the capacity expansion configuration information and the capacity expansion information of the cloud manufacturer.
In some embodiments, capacity expansion information of a cloud manufacturer may be obtained, information extraction is performed in the capacity expansion configuration information according to the capacity expansion configuration information and the cloud manufacturer capacity expansion information, so as to obtain the number of nodes of a plurality of cloud clusters that need capacity expansion configuration, and further obtain the node computation capability corresponding to the number of nodes. The capacity expansion information of cloud manufacturers can be inquired through the number of nodes and the node operational capacity of the cloud clusters needing capacity expansion configuration, and can be associated with the capacity expansion information of the corresponding cloud manufacturers, so that the capacity expansion can be performed from the capacity expansion information of which cloud manufacturers, the capacity expansion can be performed on how many nodes meet the capacity expansion requirements of the nodes, and finally the capacity expansion information of the nodes of the cloud clusters is generated.
Referring to fig. 3, in the present application, a schematic flow chart of node capacity expansion according to whether there is a label packet in a plurality of cloud clusters may include the following steps.
And S21, acquiring label combination configuration of the plurality of cloud clusters.
In some embodiments, the tag combination configuration of the multiple cloud clusters is obtained, and the classification condition of the tags in the multiple cloud clusters can be further judged according to the tag combination configuration. A Web Tag (Tag) is an internet content organization method, is a keyword with strong relevance, helps people to easily describe and classify content so as to facilitate retrieval and sharing, and has become an important element of the Web (World Wide Web, global Wide area network) 2.0.
And S22, judging whether label groups exist in the plurality of cloud clusters or not, and counting the average resource utilization rate of nodes in each label group when the label groups exist in the plurality of cloud clusters.
In some embodiments, whether a label group exists in the plurality of cloud clusters is determined according to the label combination configuration of the plurality of cloud clusters. When label grouping exists in the multiple cloud clusters, the fact that information and data in the multiple cloud clusters can be arranged according to the label grouping mode is indicated, and the average resource utilization rate of nodes in each label is counted. An average computation force within a group may be calculated, machines may be expanded based on the computation force within the group, and cluster groups may be joined.
And S23, when the label groups do not exist in the plurality of cloud clusters, counting the average resource utilization rate of the nodes in the plurality of cloud clusters.
In some embodiments, when no tagged packet exists in the plurality of cloud clusters, it indicates that the cluster packets cannot be arranged in a tagged packet manner. The capacity of the machines cannot be expanded based on the calculation power in the groups, and the average resource utilization rate of the nodes in the multiple cloud clusters can be counted at the moment.
And step S24, generating judgment configuration information.
In some embodiments, after step S22 or step S23, decision configuration information may be generated. That is, when there is a label packet in a plurality of cloud clusters, the average resource utilization rate of the nodes in each label packet is counted, and then the decision configuration information can be generated. Or when no label packet exists in the plurality of cloud clusters, counting the average resource utilization rate of the nodes in the plurality of cloud clusters, and then generating the judgment configuration information. Step S22 and step S23 are two different processing manners, and when the label packet exists, different process steps are taken to perform capacity expansion processing on the plurality of cloud cluster nodes.
And S25, presetting threshold time, judging whether the configuration time of the configuration information is greater than the threshold time, and recording time nodes exceeding the threshold time when the configuration time of the configuration information is greater than the threshold time.
In some embodiments, a threshold time is preset, and the threshold time is preset to reflect a duration of the configuration time of the cloud clusters. Whether the configuration time of the configuration information is larger than the threshold time or not can be judged, and when the configuration time of the configuration information is larger than the threshold time, the time node exceeding the threshold time can be recorded. And the time node which exceeds the threshold time can be recorded, so that analysis is carried out.
And step S26, deleting the time node in the process of generating the judgment configuration information when the configuration time of the judgment configuration information is less than or equal to the threshold time.
When the configuration time of the judgment configuration information is less than or equal to the threshold time, the configuration time of the judgment configuration information meets the requirement, and the time node in the process of generating the judgment configuration information can be deleted to reserve enough storage space and provide guarantee for the operation of other operation instructions.
Referring to fig. 4, after generating the capacity expansion information of the cloud clusters, how to perform the capacity expansion operation of the cloud cluster nodes may include the following steps.
In step S50, the size relationship between the duration of the capacity expansion information of the plurality of cloud clusters and the configuration time is compared. After step S50 is executed, when the duration of the cloud cluster capacity expansion information is longer than the configuration time, it indicates that the capacity expansion of the cloud cluster nodes is ready. Step S51 may be executed, and an application program interface is called to perform capacity expansion of the plurality of cloud cluster nodes. After step S50 is executed, when the duration of the expansion information of the cloud clusters is less than or equal to the configuration time, it indicates that the expansion of the cloud cluster nodes is not ready, and step S52 may be executed without performing the expansion of the cloud cluster nodes.
Referring to fig. 5, after generating the multiple cloud cluster capacity expansion information, how to display the multiple cloud cluster capacity expansion information may include the following steps.
In step S53, it is determined whether the number of expansion times of the plurality of cloud clusters exceeds the limit number of times. After step S53 is executed, when the expansion times of the plurality of cloud clusters exceed the limit times, the operation of step S54 may be executed, and the expansion information of the plurality of cloud clusters is displayed. After step 53 is executed, when the capacity expansion times of the plurality of cloud clusters exceed the limit times, the capacity expansion information of the plurality of cloud clusters is not displayed.
Therefore, in the above scheme, the plurality of cloud clusters may be monitored, the monitoring information of the plurality of cloud clusters may be obtained, and the running state information of the plurality of cloud clusters may be checked, so as to facilitate the determination of whether the capacity of the node is expanded. And configuring judgment configuration information of the plurality of cloud clusters, and presetting the judgment configuration information. And calculating judgment result information according to the monitoring information and the judgment configuration information, wherein the judgment result information gives an indication whether the plurality of cloud clusters need to perform node capacity expansion operation. And then acquiring the capacity expansion configuration information of the plurality of cloud clusters according to the calculated judgment result information, wherein the capacity expansion configuration information provides specific capacity expansion configuration information of the plurality of cloud cluster nodes. After the capacity expansion information of the cloud manufacturer is obtained, the capacity expansion information of the plurality of cloud clusters can be generated according to the capacity expansion configuration information and the capacity expansion information of the cloud manufacturer.
Please refer to fig. 6, which is a schematic model diagram of a processing method for capacity expansion of multiple cloud cluster nodes according to the present application. In some embodiments, after the monitoring information is obtained for the plurality of cloud clusters 610, the monitoring information may be passed to the capacity expansion determination module 620. The database 630 may perform a predetermined configuration determination configuration on the capacity expansion determination module 620, and the capacity expansion determination module 620 may calculate the determination result information after receiving the capacity expansion determination module 620. The capacity expansion determining module 620 transmits the determination result information to the database 630, the database 630 reads the determination result, reads the capacity expansion configuration, and further transmits the determination result and the capacity expansion configuration to the capacity expansion executing module 640. The capacity expansion execution module 640 triggers cloud vendor capacity expansion 650, and the cloud vendor capacity expansion 650 is added to the plurality of cloud clusters 610 to realize capacity expansion of the plurality of cloud cluster nodes.
Fig. 7 is a schematic structural diagram of a processing device for capacity expansion of multiple cloud cluster nodes according to an embodiment of the present invention. In some embodiments, the processing apparatus for processing the service platform entry information includes a first obtaining unit 701, a capacity expansion determining unit 702, a second obtaining unit 703, and a capacity expansion executing unit 704. Each functional block is described in detail below. The first obtaining unit 701 is configured to obtain monitoring information of a plurality of cloud clusters. The capacity expansion determining unit 702 is configured to preset determination configuration information, and calculate determination result information according to the monitoring information and the determination configuration information. The second obtaining unit 703 is configured to obtain capacity expansion configuration information according to the determination result information. The capacity expansion execution unit 704 is configured to obtain capacity expansion information of a cloud vendor, and generate capacity expansion information of a plurality of cloud clusters according to the capacity expansion configuration information and the capacity expansion information of the cloud vendor.
In some embodiments, the first obtaining unit 701 is specifically configured to perform real-time monitoring on a plurality of cloud clusters, and obtain monitoring data of internal information and data of the plurality of cloud clusters. The cloud clusters are mobile communication systems for group dispatching and commanding communication and are applied to the field of professional mobile communication. The available channels of multiple cloud clusters can be shared by all users of the system, and the system has the function of automatically selecting channels, and is a multipurpose and high-efficiency wireless dispatching communication system for sharing resources, sharing cost, sharing channel equipment and services. In a cluster, each cluster node is a separate server running a respective service. These servers may communicate with each other, cooperatively provide applications, system resources and data to users, and be managed in a single system mode.
In some embodiments, the capacity expansion determining unit 702 is specifically configured to configure determination configuration information of the multiple cloud clusters, where the determination configuration information represents information that the multiple cloud clusters need to perform node capacity expansion. For example, the average computation power of the plurality of nodes in the plurality of cloud clusters may be obtained, and when the average computation power of the nodes in the plurality of cloud clusters reaches a certain specific value, the cloud clusters may be prompted to perform node capacity expansion operation. The decision structure information may be calculated based on the monitoring information and the decision configuration information. Whether the multiple cloud clusters need to carry out node capacity expansion or not can be calculated according to the monitoring information and the judgment configuration information.
In some embodiments, the second obtaining unit 703 is specifically configured to obtain, according to the determination result information, capacity expansion configuration information of the multiple cloud clusters after the determination result information indicates that the multiple cloud clusters need to perform node capacity expansion. The capacity expansion configuration information of the cloud clusters may include information such as the number of nodes configured for capacity expansion, and the operational capability of the nodes configured for capacity expansion. When the judgment result information indicates that the plurality of cloud clusters meet the current operation capability and the node expansion is not needed, the expansion configuration information can be set as the expansion configuration information.
In some embodiments, the capacity expansion execution unit 704 is specifically configured to obtain capacity expansion information of a cloud manufacturer, obtain the number of nodes that need to be capacity expanded and configured by the plurality of cloud clusters by performing information extraction in the capacity expansion configuration information according to the capacity expansion configuration information and the capacity expansion information of the cloud manufacturer, and further obtain the node operational capability corresponding to the number of nodes. The capacity expansion information of cloud manufacturers can be inquired through the number of nodes and the node operational capacity of the cloud clusters needing capacity expansion configuration, and can be associated with the capacity expansion information of the corresponding cloud manufacturers, so that the capacity expansion can be performed from the capacity expansion information of which cloud manufacturers, the capacity expansion can be performed on how many nodes meet the capacity expansion requirements of the nodes, and finally the capacity expansion information of the nodes of the cloud clusters is generated.
In some embodiments, the capacity expansion determining unit 203 is further specifically configured to execute step S21 to obtain a tag combination configuration of the multiple cloud clusters. And S22, judging whether label groups exist in the plurality of cloud clusters or not, and counting the average resource utilization rate of the nodes in each label group when the label groups exist in the plurality of cloud clusters. And step S23 is executed, and when the label group does not exist in the plurality of cloud clusters, the average resource utilization rate of the nodes in the plurality of cloud clusters is counted. Step S24 is executed to generate the determination configuration information. And step S25 is executed, threshold time is preset, whether the configuration time of the configuration information is judged to be greater than the threshold time or not is judged, and when the configuration time of the configuration information is judged to be greater than the threshold time, time nodes exceeding the threshold time are recorded. Step S26 is executed, when the configuration time of the configuration information is judged to be less than or equal to the threshold time, the time node in the process of generating the judgment configuration information is deleted.
Referring to fig. 8, fig. 8 is a schematic structural diagram of a computer device according to an embodiment of the present invention. A computer device is provided, and the computer device 800 may be a server. The computer device 800 includes a processor 801, a memory 802, a network interface, and a database connected by a system bus. Wherein the processor 801 of the computer device 800 is adapted to provide computing and control capabilities. The memory 802 of the computer device 800 includes non-volatile and/or volatile storage media, internal memory. The non-volatile storage medium stores an operating system, a computer program, and a database. The internal memory provides an environment for the operation of an operating system and computer programs in the non-volatile storage medium. The network interface of the computer device 800 is used to communicate with external clients via a network connection. The computer program is executed by a processor to implement functions or steps of a service side of a control method for supplying power to a home charging post.
In one embodiment, a computer device 800 is provided, comprising a memory 802, a processor 801 and a computer program stored on the memory and executable on the processor, the processor 801 implementing the following steps when executing the computer program: monitoring a plurality of cloud clusters to acquire monitoring information of the cloud clusters; configuring judgment configuration information of the cloud clusters, and calculating judgment result information according to the monitoring information and the judgment configuration information; acquiring capacity expansion configuration information of the plurality of cloud clusters according to the judgment result information; and acquiring the capacity expansion information of the cloud manufacturer, and generating the capacity expansion information of a plurality of cloud clusters according to the capacity expansion configuration information and the capacity expansion information of the cloud manufacturer.
In one embodiment, a computer-readable storage medium is provided, having a computer program stored thereon, which when executed by a processor, performs the steps of: monitoring a plurality of cloud clusters to acquire monitoring information of the cloud clusters; configuring judgment configuration information of the plurality of cloud clusters, and calculating judgment result information according to the monitoring information and the judgment configuration information; acquiring capacity expansion configuration information of the plurality of cloud clusters according to the judgment result information; and acquiring the capacity expansion information of the cloud manufacturer, and generating the capacity expansion information of a plurality of cloud clusters according to the capacity expansion configuration information and the capacity expansion information of the cloud manufacturer.
It should be noted that, the functions or steps that can be implemented by the computer-readable storage medium or the computer device can be referred to the related descriptions of the service side and the client side in the foregoing method embodiments, and are not described one by one here for avoiding repetition.
The above description is only a preferred embodiment of the present application and a description of the applied technical principle, and it should be understood by those skilled in the art that the scope of the present invention related to the present application is not limited to the technical solution of the specific combination of the above technical features, and also covers other technical solutions formed by any combination of the above technical features or their equivalent features without departing from the inventive concept, for example, the technical solutions formed by mutually replacing the above features with (but not limited to) technical features having similar functions disclosed in the present application.
Other technical features than those described in the specification are known to those skilled in the art, and are not described herein in detail in order to highlight the innovative features of the present invention.
Claims (10)
1. A processing method for capacity expansion of a plurality of cloud cluster nodes is characterized by comprising the following steps:
monitoring a plurality of cloud clusters, and acquiring monitoring information of the plurality of cloud clusters;
configuring judgment configuration information of the cloud clusters, and calculating judgment result information according to the monitoring information and the judgment configuration information;
acquiring capacity expansion configuration information of the plurality of cloud clusters according to the judgment result information;
and acquiring the capacity expansion information of the cloud manufacturer, and generating the capacity expansion information of a plurality of cloud clusters according to the capacity expansion configuration information and the capacity expansion information of the cloud manufacturer.
2. The method according to claim 1, wherein the step of configuring decision configuration information of the cloud clusters and calculating decision result information according to the monitoring information and the decision configuration information includes:
acquiring label combination configuration of the plurality of cloud clusters, and judging whether label grouping exists or not;
when the plurality of cloud clusters have label groups, counting the average resource utilization rate of nodes in each label group to generate judgment configuration information;
and when the plurality of cloud clusters are not labeled and grouped, counting the average resource utilization rate of the nodes in the plurality of cloud clusters, and generating judgment configuration information.
3. The method according to claim 2, wherein the step of generating the decision configuration information is followed by:
presetting threshold time, and comparing the configuration time of the judgment configuration information with the threshold time;
when the configuration time is greater than the threshold time, recording time nodes exceeding the threshold time;
and when the configuration time is less than or equal to the threshold time, deleting the time node in the process of generating the judgment configuration information.
4. The method according to claim 2, wherein when the cloud clusters have labeled packets, the step of counting an average resource utilization rate of nodes in each labeled packet and generating the decision configuration information includes:
when the plurality of cloud clusters have label groups, sequencing the plurality of label groups according to the number of nodes;
and counting the average resource utilization rate of the nodes in each label group to generate judgment configuration information.
5. The method according to claim 2, wherein the step of counting an average resource utilization rate of nodes in the cloud clusters and generating the decision configuration information when the cloud clusters are not labeled and grouped comprises:
when the plurality of cloud clusters are not labeled to be grouped, grouping and sequencing a plurality of nodes;
and counting the average resource utilization rate of the nodes in the cloud clusters to generate judgment configuration information.
6. The method according to claim 4, wherein after the step of obtaining the capacity expansion information of the cloud vendor and generating the capacity expansion information of the cloud clusters according to the capacity expansion configuration information and the capacity expansion information of the cloud vendor, the method comprises:
comparing the duration of the capacity expansion information of the plurality of cloud clusters with the configuration time;
when the duration of the capacity expansion information of the plurality of cloud clusters is longer than the configuration time, calling an application program interface to expand the capacity of the plurality of cloud cluster nodes;
and when the duration of generating the expansion information of the plurality of cloud clusters is less than or equal to the configuration time, not expanding the capacity of the plurality of cloud cluster nodes.
7. The method according to claim 6, wherein after the step of obtaining the capacity expansion information of the cloud vendor and generating the capacity expansion information of the cloud clusters according to the capacity expansion configuration information and the capacity expansion information of the cloud vendor, the method comprises:
comparing the expansion times and the limit times of the plurality of cloud clusters;
when the capacity expansion times of the plurality of cloud clusters do not exceed the limit times, displaying the capacity expansion information of the plurality of cloud clusters;
and when the expansion times of the plurality of cloud clusters exceed the limit times, not displaying the expansion information of the plurality of cloud clusters.
8. A processing apparatus for capacity expansion of multiple cloud cluster nodes, comprising:
the first acquisition unit is used for acquiring monitoring information of a plurality of cloud clusters;
the capacity expansion judging unit is used for presetting judging configuration information and calculating judging result information according to the monitoring information and the judging configuration information;
the second acquisition unit is used for acquiring capacity expansion configuration information according to the judgment result information;
and the capacity expansion execution unit is used for acquiring capacity expansion information of cloud manufacturers and generating capacity expansion information of a plurality of cloud clusters according to the capacity expansion configuration information and the capacity expansion information of the cloud manufacturers.
9. A computer device comprising a memory, a processor, and a computer program stored in the memory and executable on the processor, the processor implementing the steps of the method of expanding the capacity of a plurality of cloud cluster nodes as claimed in any one of claims 1 to 7 when executing the computer program.
10. A computer-readable storage medium, wherein the computer-readable storage medium stores a computer program, and the computer program when executed by a processor implements the steps of the method for capacity expansion of the cloud cluster nodes according to any of claims 1 to 7.
Priority Applications (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
CN202211003220.0A CN115361281B (en) | 2022-08-19 | 2022-08-19 | Processing method, device, equipment and medium for expanding capacity of multiple cloud cluster nodes |
Applications Claiming Priority (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
CN202211003220.0A CN115361281B (en) | 2022-08-19 | 2022-08-19 | Processing method, device, equipment and medium for expanding capacity of multiple cloud cluster nodes |
Publications (2)
Publication Number | Publication Date |
---|---|
CN115361281A true CN115361281A (en) | 2022-11-18 |
CN115361281B CN115361281B (en) | 2023-09-22 |
Family
ID=84002443
Family Applications (1)
Application Number | Title | Priority Date | Filing Date |
---|---|---|---|
CN202211003220.0A Active CN115361281B (en) | 2022-08-19 | 2022-08-19 | Processing method, device, equipment and medium for expanding capacity of multiple cloud cluster nodes |
Country Status (1)
Country | Link |
---|---|
CN (1) | CN115361281B (en) |
Citations (12)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN108769100A (en) * | 2018-04-03 | 2018-11-06 | 郑州云海信息技术有限公司 | A kind of implementation method and its device based on kubernetes number of containers elastic telescopics |
CN110971665A (en) * | 2019-10-31 | 2020-04-07 | 北京浪潮数据技术有限公司 | Management method, system, equipment and storage medium for interfacing multi-type storage |
CN112953739A (en) * | 2019-12-10 | 2021-06-11 | 中国电信股份有限公司 | K8S platform-based method, system and storage medium for nanotube SDN |
CN113067850A (en) * | 2021-02-20 | 2021-07-02 | 麒麟软件有限公司 | Cluster arrangement system under multi-cloud scene |
US20210389894A1 (en) * | 2020-06-12 | 2021-12-16 | Microsoft Technology Licensing, Llc | Predicting expansion failures and defragmenting cluster resources |
WO2021259064A1 (en) * | 2020-06-24 | 2021-12-30 | 中兴通讯股份有限公司 | Capacity reduction/expansion method and system for cluster, capacity reduction/expansion control terminal and medium |
CN113867957A (en) * | 2021-09-28 | 2021-12-31 | 北京同创永益科技发展有限公司 | Method and device for realizing elastic expansion of number of cross-cluster containers |
CN114168071A (en) * | 2021-10-29 | 2022-03-11 | 济南浪潮数据技术有限公司 | Distributed cluster capacity expansion method, distributed cluster capacity expansion device and medium |
CN114327846A (en) * | 2020-09-30 | 2022-04-12 | 腾讯科技(深圳)有限公司 | Cluster capacity expansion method and device, electronic equipment and computer readable storage medium |
CN114500538A (en) * | 2022-03-30 | 2022-05-13 | 重庆紫光华山智安科技有限公司 | Node management method, node management device, monitoring node and storage medium |
CN114490086A (en) * | 2022-02-16 | 2022-05-13 | 中国工商银行股份有限公司 | Method, device, electronic equipment, medium and program product for dynamically adjusting resources |
CN114666215A (en) * | 2022-03-15 | 2022-06-24 | 上海道客网络科技有限公司 | Method, system, medium and electronic device for cross-cluster elastic expansion and contraction of application |
-
2022
- 2022-08-19 CN CN202211003220.0A patent/CN115361281B/en active Active
Patent Citations (12)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN108769100A (en) * | 2018-04-03 | 2018-11-06 | 郑州云海信息技术有限公司 | A kind of implementation method and its device based on kubernetes number of containers elastic telescopics |
CN110971665A (en) * | 2019-10-31 | 2020-04-07 | 北京浪潮数据技术有限公司 | Management method, system, equipment and storage medium for interfacing multi-type storage |
CN112953739A (en) * | 2019-12-10 | 2021-06-11 | 中国电信股份有限公司 | K8S platform-based method, system and storage medium for nanotube SDN |
US20210389894A1 (en) * | 2020-06-12 | 2021-12-16 | Microsoft Technology Licensing, Llc | Predicting expansion failures and defragmenting cluster resources |
WO2021259064A1 (en) * | 2020-06-24 | 2021-12-30 | 中兴通讯股份有限公司 | Capacity reduction/expansion method and system for cluster, capacity reduction/expansion control terminal and medium |
CN114327846A (en) * | 2020-09-30 | 2022-04-12 | 腾讯科技(深圳)有限公司 | Cluster capacity expansion method and device, electronic equipment and computer readable storage medium |
CN113067850A (en) * | 2021-02-20 | 2021-07-02 | 麒麟软件有限公司 | Cluster arrangement system under multi-cloud scene |
CN113867957A (en) * | 2021-09-28 | 2021-12-31 | 北京同创永益科技发展有限公司 | Method and device for realizing elastic expansion of number of cross-cluster containers |
CN114168071A (en) * | 2021-10-29 | 2022-03-11 | 济南浪潮数据技术有限公司 | Distributed cluster capacity expansion method, distributed cluster capacity expansion device and medium |
CN114490086A (en) * | 2022-02-16 | 2022-05-13 | 中国工商银行股份有限公司 | Method, device, electronic equipment, medium and program product for dynamically adjusting resources |
CN114666215A (en) * | 2022-03-15 | 2022-06-24 | 上海道客网络科技有限公司 | Method, system, medium and electronic device for cross-cluster elastic expansion and contraction of application |
CN114500538A (en) * | 2022-03-30 | 2022-05-13 | 重庆紫光华山智安科技有限公司 | Node management method, node management device, monitoring node and storage medium |
Non-Patent Citations (3)
Title |
---|
PARAG MHASHILKAR等: "Intelligently-Automated Facilities Expansion with the HEPCloud Decision Engine", 2018 18TH IEEE/ACM INTERNATIONAL SYMPOSIUM ON CLUSTER, CLOUD AND GRID COMPUTING (CCGRID) * |
梅荣;: "基于云计算的弹性负载均衡服务研究", 中国公共安全, no. 01 * |
葛新;陈华平;杜冰;李书鹏;: "基于云计算集群扩展中的调度策略研究", 计算机应用研究, no. 03 * |
Also Published As
Publication number | Publication date |
---|---|
CN115361281B (en) | 2023-09-22 |
Similar Documents
Publication | Publication Date | Title |
---|---|---|
CN108632365B (en) | Service resource adjusting method, related device and equipment | |
CN105049268A (en) | Distributed computing resource allocation system and task processing method | |
CN108920153B (en) | Docker container dynamic scheduling method based on load prediction | |
CN110738389A (en) | Workflow processing method and device, computer equipment and storage medium | |
CN111752799A (en) | Service link tracking method, device, equipment and storage medium | |
CN115328663A (en) | Method, device, equipment and storage medium for scheduling resources based on PaaS platform | |
CN106407244A (en) | Multi-database-based data query method, system and apparatus | |
CN105556499A (en) | Intelligent auto-scaling | |
CN111459641B (en) | Method and device for task scheduling and task processing across machine room | |
CN102385536B (en) | Method and system for realization of parallel computing | |
CN111124830B (en) | Micro-service monitoring method and device | |
CN109117244B (en) | Method for implementing virtual machine resource application queuing mechanism | |
CN113867600A (en) | Development method and device for processing streaming data and computer equipment | |
CN113747150B (en) | Method and system for testing video service system based on container cloud | |
CN115729727A (en) | Fault repairing method, device, equipment and medium | |
CN116302580B (en) | Method and device for scheduling calculation force resources of nano relay | |
CN107870822B (en) | Asynchronous task control method and system based on distributed system | |
CN117435335A (en) | Computing power dispatching method, computing power dispatching device, computer equipment and storage medium | |
CN115361281B (en) | Processing method, device, equipment and medium for expanding capacity of multiple cloud cluster nodes | |
CN112380040B (en) | Message processing method and device, electronic equipment and storage medium | |
CN111782688A (en) | Request processing method, device and equipment based on big data analysis and storage medium | |
CN116361120B (en) | Method, device, equipment and medium for managing and scheduling heterogeneous resources of database | |
CN116954871B (en) | Asynchronous distribution task data chain management method and system | |
CN111258710B (en) | System maintenance method and device | |
CN110928738B (en) | Performance analysis method, device and equipment |
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 |