A monitoring method, device, equipment and medium for resource pool in cloud platform

By collecting the operating information of the cloud platform in real time, it can determine whether the resource pool meets the fault evacuation conditions and predict the battery life, which solves the problem of inability to effectively monitor the redundancy of the resource pool in the existing technology and improves the efficiency of business scheduling and resource utilization.

CN116860459BActive Publication Date: 2024-09-13DAWNING CLOUD COMPUTING TECH CO LTD
View PDF 6 Cites 0 Cited by

Patent Information

Application Number
CN202310952266.5
Authority / Receiving Office
CN · China
Patent Type
Patents(China)
Current Assignee / Owner
Filing Date
2023-07-31
Publication Date
2024-09-13
Estimated Expiration
2043-07-31

AI Technical Summary

Technical Problem

Existing technology cannot effectively monitor the redundancy of resource pools in cloud platforms, resulting in low reference for business scheduling.

Method used

By collecting the current operating information of each computing node and resource pool of the cloud platform in real time, we can determine whether the fault evacuation conditions are met, predict the battery life based on the resource growth index, and determine the redundancy of the resource pool to support business scheduling.

Benefits of technology

It improves the comprehensiveness and reliability of resource pool monitoring results, saves time-consuming judgment, and improves the efficiency of redundancy monitoring of computing resource pools and the cloud platform's business execution efficiency.

✦ Generated by Eureka AI based on patent content.

Smart Images

  • Figure CN116860459B
    Figure CN116860459B
Patent Text Reader

Abstract

The present invention discloses a monitoring method, device, equipment and medium for resource pools in a cloud platform, including: real-time collection of current operation information of each computing node and resource pool in the cloud platform; judging whether each resource pool meets the fault evacuation condition according to the current operation information of each computing node and resource pool; and determining the corresponding predicted endurance time of each resource pool under the current business growth situation according to the fault evacuation condition judgment result corresponding to each resource pool and the current resource growth index corresponding to each resource pool. The technical solution of the embodiment of the present invention can provide an effective way to monitor the redundancy of various resource pools in the cloud platform, and provide business support for users to allocate cloud platform resources.
Need to check novelty before this filing date? Find Prior Art

Description

Technical Field

[0001] The present invention relates to the field of computer technology, and in particular to a method, device, equipment and medium for monitoring a resource pool in a cloud platform. Background Art

[0002] With the development of openstack and virtualization technology, a large number of services deployed based on server hardware architecture have begun to migrate to cloud platforms. During the operation of the cloud platform, operation and maintenance personnel need to monitor the operation information of the cloud platform in real time to schedule a large number of services based on the monitoring results.

[0003] In the prior art, when operation and maintenance personnel monitor the cloud platform, they mainly obtain the resource occupancy of each business (such as computing resources, network resources, and storage resources, etc.), and then compare the resource occupancy with the preset alarm threshold, and determine the resource monitoring results of the cloud platform based on the comparison results.

[0004] However, monitoring resources only from the business side cannot effectively monitor the redundancy of the resource pool in the cloud platform, resulting in low reference value of the monitoring results for the business scheduling process. Summary of the invention

[0005] The present invention provides a method, device, equipment and medium for monitoring resource pools in a cloud platform, which can provide an effective way to monitor the redundancy of various resource pools in the cloud platform and provide business support for users to allocate cloud platform resources.

[0006] According to one aspect of the present invention, a method for monitoring a resource pool in a cloud platform is provided, comprising:

[0007] Real-time collection of current operating information of each computing node and resource pool in the cloud platform; the resource pool includes a computing resource pool, a storage resource pool, and a network resource pool;

[0008] According to the current operation information of each computing node and resource pool, it is judged whether each resource pool meets the fault evacuation condition; the fault evacuation condition is used to indicate that the resource pool supports the operation of the faulty computing node;

[0009] According to the fault evacuation condition judgment results corresponding to each resource pool and the current resource growth index corresponding to each resource pool, the predicted endurance time corresponding to each resource pool under the current business growth situation is determined respectively.

[0010] Optionally, after determining the predicted endurance of each resource pool under the current business growth situation, the following is further included:

[0011] Obtaining target resource information corresponding to the target business to be processed; the target resource information includes: virtual processor occupancy information, memory occupancy information, and storage capacity occupancy information;

[0012] Based on the target resource information and the current remaining resource information corresponding to each computing resource pool and storage resource pool, determine whether there is a target computing resource pool and a target storage resource pool that support the target business in the cloud platform;

[0013] If so, it is determined that the cloud platform meets the conditions for launching the target service, and an online instruction is triggered, so that the user can schedule the target service in the cloud platform according to the online instruction.

[0014] Optionally, judging whether each resource pool meets a fault evacuation condition according to current operation information of each computing node and resource pool includes:

[0015] According to the current operation information of each computing node and computing resource pool, determine whether each computing resource pool meets the fault evacuation conditions;

[0016] Based on the current operation information of each storage resource pool, determine whether each storage resource pool meets the fault evacuation conditions.

[0017] Optionally, judging whether each computing resource pool meets a fault evacuation condition according to current operation information of each computing node and computing resource pool includes:

[0018] Determine the remaining virtual processor information, remaining memory information, virtual processor allocation information, and memory allocation information corresponding to each computing resource pool according to the current operation information of each computing node and computing resource pool;

[0019] According to the remaining virtual processor information, remaining memory information, virtual processor allocation information, and memory allocation information corresponding to each computing resource pool, it is determined whether each computing resource pool meets the fault evacuation condition.

[0020] Optionally, according to the fault evacuation condition judgment result corresponding to each resource pool and the current resource growth index corresponding to each resource pool, the predicted endurance time corresponding to each resource pool under the current business growth condition is determined respectively, including:

[0021] If the resource pool does not meet the fault evacuation condition, determining that the predicted endurance time corresponding to the resource pool under the current business growth condition is zero;

[0022] If the resource pool meets the fault evacuation condition, the predicted endurance time corresponding to the resource pool under the current business growth condition is determined according to the current resource growth index corresponding to the resource pool.

[0023] Optionally, determining, according to a current resource growth index corresponding to the resource pool, a predicted endurance time corresponding to the resource pool under a current business growth condition includes:

[0024] If the resource pool is a computing resource pool, obtaining remaining virtual processor information, remaining memory information, a virtual processor growth index, and a memory growth index corresponding to the computing resource pool;

[0025] According to the remaining virtual processor information, the remaining memory information, the virtual processor growth index and the memory growth index, as well as the virtual processor and memory information occupied by each computing node, the predicted endurance time corresponding to the computing resource pool under the current business growth situation is determined.

[0026] Optionally, after determining the predicted endurance of each resource pool under the current business growth situation, the following is further included:

[0027] The predicted battery life corresponding to each resource pool is displayed to the user through a visual interface, so that the user can uniformly schedule multiple businesses in the cloud platform based on the predicted battery life in the visual interface.

[0028] According to another aspect of the present invention, a monitoring device for a resource pool in a cloud platform is provided, the device comprising:

[0029] The information collection module is used to collect the current operation information of each computing node and resource pool in the cloud platform in real time; the resource pool includes a computing resource pool, a storage resource pool and a network resource pool;

[0030] A fault evacuation judgment module is used to judge whether each resource pool meets the fault evacuation condition according to the current operation information of each computing node and resource pool; the fault evacuation condition is used to indicate that the resource pool supports the operation of the faulty computing node;

[0031] The battery life prediction module is used to determine the predicted battery life of each resource pool under the current business growth situation based on the fault evacuation condition judgment results corresponding to each resource pool and the current resource growth index corresponding to each resource pool.

[0032] According to another aspect of the present invention, an electronic device is provided, the electronic device comprising:

[0033] at least one processor; and

[0034] a memory communicatively connected to the at least one processor; wherein,

[0035] The memory stores a computer program that can be executed by the at least one processor, and the computer program is executed by the at least one processor so that the at least one processor can execute the method for monitoring the resource pool in the cloud platform described in any embodiment of the present invention.

[0036] According to another aspect of the present invention, a computer-readable storage medium is provided, wherein the computer-readable storage medium stores computer instructions, and the computer instructions are used to enable a processor to implement the method for monitoring a resource pool in a cloud platform described in any embodiment of the present invention when executed.

[0037] The technical solution provided by the embodiment of the present invention collects the current operating information of each computing node and resource pool in the cloud platform in real time, judges whether each resource pool meets the fault evacuation condition according to the current operating information of each computing node and resource pool, and determines the predicted endurance time corresponding to each resource pool under the current business growth situation according to the fault evacuation condition judgment result corresponding to each resource pool and the current resource growth index corresponding to each resource pool. It provides an effective way to monitor the redundancy of various resource pools in the cloud platform and provides business support for users to allocate cloud platform resources; it can jointly monitor the redundancy of various resource pools from two dimensions: computing node failure and rapid business growth in the cloud platform, thereby ensuring the comprehensiveness of resource pool monitoring results; it can save time for judging all resource pools in the cloud platform; improve the reliability of computing resource pool redundancy monitoring results; improve the monitoring efficiency of resource pools; and improve the execution efficiency of cloud platform for business.

[0038] It should be understood that the contents described in this section are not intended to identify the key or important features of the embodiments of the present invention, nor are they intended to limit the scope of the present invention. Other features of the present invention will become easily understood through the following description. BRIEF DESCRIPTION OF THE DRAWINGS

[0039] 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.

[0040] Figure 1 is a flow chart of a method for monitoring a resource pool in a cloud platform provided according to an embodiment of the present invention;

[0041] Figure 2 is a flow chart of another method for monitoring a resource pool in a cloud platform provided according to an embodiment of the present invention;

[0042] Figure 3ais a flow chart of another method for monitoring a resource pool in a cloud platform provided according to an embodiment of the present invention;

[0043] Figure 3b is a schematic diagram of a visualization interface provided according to an embodiment of the present invention;

[0044] Figure 4 It is a structural schematic diagram of a monitoring device for a resource pool in a cloud platform provided according to an embodiment of the present invention;

[0045] Figure 5 It is a structural schematic diagram of an electronic device for implementing a method for monitoring a resource pool in a cloud platform according to an embodiment of the present invention. DETAILED DESCRIPTION

[0046] In order to enable those skilled in the art to better understand the scheme of the present invention, the technical scheme in the embodiments of the present invention will be clearly and completely described below in conjunction with the drawings in the embodiments of the present invention. Obviously, the described embodiments are only part of the embodiments of the present invention, not all of the embodiments. Based on the embodiments of the present invention, all other embodiments obtained by ordinary technicians in this field without creative work should fall within the scope of protection of the present invention.

[0047] It should be noted that the terms "first", "second", etc. in the specification and claims of the present invention and the above-mentioned drawings are used to distinguish similar objects, and are not necessarily used to describe a specific order or sequence. It should be understood that the data used in this way can be interchanged where appropriate, so that the embodiments of the present invention described herein can be implemented in an order other than those illustrated or described herein. In addition, the terms "including" and "having" and any variations thereof are intended to cover non-exclusive inclusions, for example, a process, method, system, product or device that includes a series of steps or units is not necessarily limited to those steps or units that are clearly listed, but may include other steps or units that are not clearly listed or inherent to these processes, methods, products or devices.

[0048] Figure 1 The present invention provides a flowchart of a method for monitoring a resource pool in a cloud platform. The present invention can be applied to monitoring the performance of a resource pool in a cloud platform. The method can be performed by a monitoring device for a resource pool in a cloud platform. The monitoring device for a resource pool in a cloud platform can be implemented in the form of hardware and / or software. The monitoring device for a resource pool in a cloud platform can be configured in an electronic device. Figure 1 As shown, the method includes:

[0049] Step 110: collect the current operation information of each computing node and resource pool in the cloud platform in real time; the resource pool includes a computing resource pool, a storage resource pool and a network resource pool.

[0050] In this embodiment, the computing node may be a cloud device used for data computing in the cloud platform. Optionally, the current operation information of the computing node may include: resource occupation information and working status information involved in the current operation of the computing node. The current operation information of the resource pool may include resource information occupied by the cloud platform during the current operation.

[0051] In a specific embodiment, the static operation information corresponding to each computing node in the current operation process can be obtained through the cloud database corresponding to the cloud platform, such as the virtual processor VCPU occupied capacity, memory occupied capacity, resource pool identification information, etc. At the same time, the dynamic operation information of each computing node can also be obtained through the preset service interface corresponding to the cloud platform, such as CPU utilization, memory utilization and nova service status.

[0052] In one implementation of this embodiment, the utilization rate, allocation rate, number of read and write operations per second (Input / Output Operations Per Second, IOPS), storage cluster status, and Cinder block storage service status of each storage resource pool during the current operation can be obtained through the above-mentioned service interface.

[0053] In a specific embodiment, the cloud database corresponding to the cloud platform can be used to obtain the virtual machine status information in each computing resource pool (Availability Zones, AZ) during the current operation, and the virtual machine operation information in each computing resource pool can be obtained through the above service interface.

[0054] The virtual machine status information may include the names of all virtual machines, virtual processor capacity, memory capacity, mounted logical volume capacity, identification information of the corresponding computing resource pool, identification information of the corresponding host machine, mounted private IP addresses, and mounted public IP addresses, etc. The virtual machine operation information may include the names of the virtual machines in working state, CPU utilization, memory utilization, and logical volume utilization, etc.

[0055] In one implementation of this embodiment, the above-mentioned service interface can be used to obtain the neutron service status, public IP resource pool resource allocation information, public IP resource pool remaining resource information, load balancer (LB) operation status, router operation status and firewall operation status corresponding to the cloud platform during the current operation process, and use this information as the current operation information of the network resource pool.

[0056] Step 120: Determine whether each resource pool meets a fault evacuation condition based on the current operation information of each computing node and resource pool; the fault evacuation condition is used to indicate that the resource pool supports the operation of the faulty computing node.

[0057] In this embodiment, after the current operation information of each computing node and resource pool in the cloud platform is obtained, the current operation information can be stored in a local database so that the current operation information can be processed at any time through the local database.

[0058] In a specific embodiment, optionally, before collecting the current operating information of each computing node and resource pool in real time, the resource information required by the failed computing node (i.e., the faulty computing node) in the process of restoring normal operation can be pre-set based on the operating information of the computing node during the historical operation of the cloud platform.

[0059] In this step, optionally, after obtaining the current operating information of each computing node and resource pool, the remaining free resource information corresponding to each resource pool can be calculated based on the current operating information, and then based on the remaining free resource information corresponding to each resource pool and the resource information required by the faulty computing node, it is determined whether each resource pool supports the operation of the faulty computing node. If so, it is determined that the resource pool meets the fault evacuation conditions; if not, it is determined that the resource pool does not meet the fault evacuation conditions.

[0060] Step 130: According to the fault evacuation condition judgment result corresponding to each resource pool and the current resource growth index corresponding to each resource pool, the predicted endurance time corresponding to each resource pool under the current business growth condition is determined respectively.

[0061] In this embodiment, the resource growth index may be a growth index of resources occupied by the resource pool within a preset time period. Taking the computing resource pool as an example, the growth index of the virtual processor capacity, memory capacity, and cloud hard disk capacity occupied by each computing resource pool in the past three months may be obtained, and the growth index may be used as the current resource growth index corresponding to the computing resource pool.

[0062] In a specific embodiment, when calculating the resource growth index, the newly added resources A and deleted resources B corresponding to the resource pool in the past three months may be obtained, and the resource growth index may be calculated based on (AB) / 90.

[0063] In this step, the predicted endurance time can be the number of days that the resource pool can continue to support business operations under the current business growth. Optionally, the predicted endurance time corresponding to the resource pool under the current business growth situation can be calculated in combination with the fault evacuation condition judgment result corresponding to the resource pool and the current resource growth index.

[0064] Specifically, if the resource pool meets the fault evacuation conditions, it can be considered that the resource pool can support the continued operation of the business, that is, the corresponding predicted endurance time of the resource pool is longer; conversely, if the resource pool does not meet the fault evacuation conditions, it can be considered that the resource pool's ability to support the continued operation of the business is weak, that is, the corresponding predicted endurance time of the resource pool is shorter.

[0065] In this embodiment, optionally, after the predicted battery life corresponding to each resource pool is obtained, a minimum value may be taken from multiple predicted battery lifespans, and the minimum value may be used as the predicted battery life of the cloud platform.

[0066] The technical solution provided by the embodiment of the present invention obtains the current operating information of each computing node and resource pool, determines the corresponding predicted endurance of each resource pool under the current business growth situation, and provides an effective way to monitor the redundancy of various resource pools in the cloud platform. By combining the fault evacuation condition judgment result and the resource growth index, the predicted endurance of the resource pool is jointly determined, which can improve the reliability of the predicted endurance result and provide business support for users to allocate cloud platform resources.

[0067] Figure 2 A flow chart of another method for monitoring a resource pool in a cloud platform provided by an embodiment of the present invention is shown in FIG. Figure 2 As shown, the method includes:

[0068] Step 210: collect the current operation information of each computing node and resource pool in the cloud platform in real time; the resource pool includes a computing resource pool, a storage resource pool and a network resource pool.

[0069] Step 220: Determine whether each resource pool meets the fault evacuation conditions based on the current operation information of each computing node and resource pool.

[0070] In one implementation of the present embodiment, whether each resource pool meets the fault evacuation condition is judged based on the current operation information of each computing node and resource pool, including: judging whether each computing resource pool meets the fault evacuation condition based on the current operation information of each computing node and computing resource pool; judging whether each storage resource pool meets the fault evacuation condition based on the current operation information of each storage resource pool.

[0071] In this embodiment, when a faulty computing node appears in the cloud platform, the network resource pool can usually support the normal operation of the faulty computing node, so it is only necessary to determine whether the computing resource pool and the storage resource pool meet the fault evacuation conditions. Specifically, the remaining idle resource information of each computing resource pool and the storage resource pool can be determined based on the current operation information of each computing node, computing resource pool, and storage resource pool, and then based on the remaining idle information, it is determined whether the computing resource pool and the storage resource pool meet the fault evacuation conditions.

[0072] The advantage of this setting is that it can save time in judging all resource pools in the cloud platform and improve the monitoring efficiency of resource pools in the cloud platform.

[0073] In one implementation of the present embodiment, whether each computing resource pool meets the fault evacuation condition is judged based on the current operation information of each computing node and the computing resource pool, including: determining the virtual processor remaining information, memory remaining information, virtual processor allocation information, and memory allocation information corresponding to each computing resource pool based on the current operation information of each computing node and the computing resource pool; judging whether each computing resource pool meets the fault evacuation condition based on the virtual processor remaining information, memory remaining information, virtual processor allocation information, and memory allocation information corresponding to each computing resource pool.

[0074] In a specific embodiment, the remaining virtual processor information may include: the remaining capacity vcpu1 of all virtual processors in the computing resource pool, and the remaining capacity vcpu2 of the virtual processors in a single host. The remaining memory information may include: the total remaining memory α1 in the computing resource pool, and the remaining memory α2 in a single host. The virtual processor allocation information may include: the host corresponding to the highest virtual processor allocation rate in the computing resource pool, the virtual processor capacity vcpu3 allocated to the host, the virtual machine corresponding to the highest virtual processor allocation rate, and the virtual processor capacity vcpu4 occupied by the virtual machine. The memory allocation information includes: the host corresponding to the highest memory allocation rate in the computing resource pool, the memory α3 allocated to the host, the virtual machine corresponding to the highest memory allocation rate, and the memory α4 occupied by the virtual machine. After obtaining the above information, the following formula can be used to determine whether the computing resource pool meets the fault evacuation conditions:

[0075] vcpu1>vcpu3+m*20

[0076] α1>α3+m*40

[0077] vcpu2>vcpu4

[0078] α2>α4

[0079] Where m is the number of hosts in the computing resource pool. If the information corresponding to the computing resource pool satisfies the above formula, it is considered that the computing resource pool meets the fault evacuation condition.

[0080] The advantage of this setting is that by determining the remaining virtual processor information, remaining memory information, virtual processor allocation information and memory allocation information corresponding to each computing resource pool, it is possible to accurately determine whether the computing resource pool meets the fault evacuation conditions and improve the reliability of the computing resource pool redundancy monitoring results.

[0081] In one implementation of this embodiment, it is possible to determine whether the actual utilization rate of the storage resource pool is greater than a preset threshold value based on the current operation information of the storage resource pool. If so, it is determined that the storage resource pool does not meet the fault evacuation condition; if not, it is determined that the storage resource pool meets the fault evacuation condition. The threshold value may be 80%, and the specific value may be preset according to the actual situation, which is not limited in this embodiment.

[0082] Step 230: According to the fault evacuation condition judgment result corresponding to each resource pool and the current resource growth index corresponding to each resource pool, the predicted endurance time corresponding to each resource pool under the current business growth condition is determined respectively.

[0083] Step 240: Obtain target resource information corresponding to the target business to be processed; the target resource information includes: virtual processor occupancy information, memory occupancy information, and storage capacity occupancy information.

[0084] In this embodiment, the virtual processor occupancy information may include: the total virtual processor capacity vcpu5 required by the target business, and the total virtual processor capacity vcpu6 occupied by a corresponding single virtual machine. The memory occupancy information may include: the total memory capacity α5 required by the target business, and the total memory capacity α6 occupied by a corresponding single virtual machine.

[0085] Step 250: Based on the target resource information and the current remaining resource information corresponding to each computing resource pool and storage resource pool, determine whether there is a target computing resource pool and a target storage resource pool in the cloud platform that support the target business.

[0086] In a specific embodiment, it can be determined whether there is a target computing resource pool supporting the target business in the cloud platform according to the following formula:

[0087] vcpu1-vcpu5>vcpu / n

[0088] α1-α5>α / n

[0089] max(vcpu6)>max(vcpu7)

[0090] max(α6)>max(α7)

[0091] Where vcpu is the total number of virtual processors in the computing resource pool, and n is the number of computing nodes in the computing resource pool. vcpu7 is the remaining capacity of the virtual processor corresponding to a single host in the computing resource pool, and α7 is the remaining memory of a single host in the computing resource pool. If there is a computing resource pool in the cloud platform that satisfies the above formula, then the computing resource pool can be used as the target computing resource pool.

[0092] In another specific embodiment, the storage capacity β1 required by the target business, the total capacity β2 of each storage resource pool in the cloud platform, and the used capacity β3 may be obtained, and then it is determined whether each storage resource pool satisfies the following formula:

[0093] β2*0.8-β3>β1

[0094] If so, the storage resource pool is used as the target storage resource pool.

[0095] Step 260: If the target computing resource pool and the target storage resource pool exist, it is determined that the cloud platform meets the target business online conditions, and the online instruction is triggered so that the user can schedule the target business in the cloud platform according to the online instruction.

[0096] In this embodiment, the online instruction may optionally include identification information corresponding to the target computing resource pool and the target storage resource pool. The user may call the target computing resource pool and the target storage resource pool according to the identification information to schedule the target service.

[0097] In this embodiment, the target business may be a business with a rapidly growing data volume in the cloud platform. The predicted endurance time may be the number of endurance times of each resource pool under the condition of a slow growth of the current business. If a rapidly growing business is detected in the cloud platform, steps 240-260 may be used to schedule the business.

[0098] The advantage of this setting is that the redundancy of various resource pools can be monitored from two dimensions: failure of computing nodes and rapid growth of business in the cloud platform. This ensures the comprehensiveness of the resource pool monitoring results and provides technical support for users to allocate resources for various businesses in the cloud platform.

[0099] The technical solution provided by the embodiment of the present invention collects the current operating information of each computing node and resource pool in the cloud platform in real time, judges whether each resource pool meets the fault evacuation conditions according to the current operating information of each computing node and resource pool, determines the predicted endurance time corresponding to each resource pool under the current business growth situation according to the fault evacuation condition judgment result corresponding to each resource pool and the current resource growth index corresponding to each resource pool, obtains the target resource information corresponding to the target business to be processed, judges whether there is a target computing resource pool and a target storage resource pool in the cloud platform that support the target business according to the target resource information and the current remaining resource information corresponding to each computing resource pool and the storage resource pool, and if so, determines that the cloud platform meets the target business online conditions, and triggers the online instruction. The technical solution provides an effective way to monitor the redundancy of various resource pools in the cloud platform, and ensures the comprehensiveness of the resource pool monitoring results.

[0100] Figure 3a A flow chart of another method for monitoring a resource pool in a cloud platform provided by an embodiment of the present invention is shown in FIG. Figure 3a As shown, the method includes:

[0101] Step 310: collect the current operation information of each computing node and resource pool in the cloud platform in real time; the resource pool includes a computing resource pool, a storage resource pool and a network resource pool.

[0102] Step 320: Determine whether each resource pool meets the fault evacuation conditions based on the current operation information of each computing node and resource pool.

[0103] Step 330: According to the fault evacuation condition judgment result corresponding to each resource pool and the current resource growth index corresponding to each resource pool, the predicted endurance time corresponding to each resource pool under the current business growth condition is determined respectively.

[0104] In one implementation of this embodiment, according to the fault evacuation condition judgment result corresponding to each resource pool and the current resource growth index corresponding to each resource pool, the predicted endurance time corresponding to each resource pool under the current business growth condition is determined respectively, including:

[0105] If the resource pool does not meet the fault evacuation conditions, the predicted endurance time corresponding to the resource pool under the current business growth situation is determined to be zero; if the resource pool meets the fault evacuation conditions, the predicted endurance time corresponding to the resource pool under the current business growth situation is determined based on the current resource growth index corresponding to the resource pool.

[0106] In this embodiment, if the resource pool meets the fault evacuation conditions, it can be considered that the resource pool can support the continued growth of business in the cloud platform; if the resource pool does not meet the fault evacuation conditions, it can be considered that the resource pool cannot support the continued growth of business in the cloud platform, that is, the predicted endurance time of the resource pool under the current business growth situation is zero.

[0107] The advantage of this setting is that the predicted life span corresponding to the resource pool can be quickly determined, thereby improving the efficiency of monitoring the resource pool.

[0108] In a specific embodiment, the predicted endurance time corresponding to the resource pool under the current business growth situation is determined according to the current resource growth index corresponding to the resource pool, including: if the resource pool is a computing resource pool, obtaining the remaining virtual processor information, remaining memory information, virtual processor growth index and memory growth index corresponding to the computing resource pool; determining the predicted endurance time corresponding to the computing resource pool under the current business growth situation according to the remaining virtual processor information, remaining memory information, virtual processor growth index and memory growth index, as well as the virtual processor and memory information occupied by each computing node.

[0109] In one implementation of this embodiment, the remaining capacity vcpu1 of all virtual processors in the computing resource pool, the remaining memory α1, the virtual processor growth index γ and the memory growth index δ can be obtained, and the virtual processor capacity vcpu occupied by each computing node can be obtained. * and memory α * , then min((vcpu1-max(vcpu * )) / γ,(α1-max(α * )) / δ) to determine the predicted endurance of the computing resource pool under the current business growth situation.

[0110] The advantage of this setting is that by obtaining the remaining virtual processor information, remaining memory information, virtual processor growth index and memory growth index corresponding to the computing resource pool, the predicted endurance of the computing resource pool can be effectively determined, thereby improving the reliability of the redundancy monitoring results of the computing resource pool.

[0111] In a specific embodiment, the total capacity β2, the used capacity β3 and the storage resource growth index of each storage resource pool can be obtained. Then pass Get the predicted life span of the storage resource pool under the current business growth situation.

[0112] In another specific embodiment, the total number of public IP addresses k1, the number of used IP addresses k2 and the network resource growth index λ of each network resource pool can be obtained, and then the predicted endurance time corresponding to the storage resource pool under the current business growth situation can be obtained through (k1-k2) / λ.

[0113] Step 340: Display the predicted battery life corresponding to each resource pool to the user through a visualization interface, so that the user can uniformly schedule multiple services in the cloud platform according to the predicted battery life in the visualization interface.

[0114] In one implementation of this embodiment, the current operation information and predicted battery life corresponding to each resource pool may be displayed to the user through a visual interface. Figure 3b is a schematic diagram of a visual interface in this embodiment, such as Figure 3b As shown, this interface can display the current operating information and predicted battery life of each computing resource pool (such as "Sales Department 1" and "Operation Department 1"), storage resource pool (such as "IPSAN" and "ceph"), and network resource pool (such as "VLAN-12" and "VLAN-13") in the cloud platform.

[0115] In a specific embodiment, the visualization interface may also include the support judgment results of each resource pool for the target business (for example, "support" or "not support"), and the user can schedule the target business with rapidly growing data volume based on the support judgment results, and then schedule other businesses with slowly growing data volume based on the predicted life of each resource pool.

[0116] The advantage of this setting is that by displaying the predicted battery life corresponding to each resource pool to users, users can quickly schedule services in the cloud platform and improve the efficiency of the cloud platform's execution of services.

[0117] The technical solution provided by the embodiment of the present invention collects the current operating information of each computing node and resource pool in the cloud platform in real time, judges whether each resource pool meets the fault evacuation condition according to the current operating information of each computing node and resource pool, determines the predicted endurance time corresponding to each resource pool under the current business growth situation according to the fault evacuation condition judgment result corresponding to each resource pool, and the current resource growth index corresponding to each resource pool, and displays the predicted endurance time corresponding to each resource pool to the user through a visual interface. This technical means provides an effective way to monitor the redundancy of various resource pools in the cloud platform, and ensures the comprehensiveness of the resource pool monitoring results.

[0118] Figure 4 A schematic diagram of a monitoring device for a resource pool in a cloud platform provided by an embodiment of the present invention, wherein the device is applied to an electronic device, such as Figure 4 As shown, the device includes: an information collection module 410, a fault evacuation judgment module 420 and a cruising range prediction module 430.

[0119] The information collection module 410 is used to collect the current operation information of each computing node and resource pool in the cloud platform in real time; the resource pool includes a computing resource pool, a storage resource pool and a network resource pool;

[0120] The fault evacuation judgment module 420 is used to judge whether each resource pool meets the fault evacuation condition according to the current operation information of each computing node and resource pool; the fault evacuation condition is used to indicate that the resource pool supports the operation of the faulty computing node;

[0121] The battery life prediction module 430 is used to determine the predicted battery life corresponding to each resource pool under the current business growth situation according to the fault evacuation condition judgment result corresponding to each resource pool and the current resource growth index corresponding to each resource pool.

[0122] The technical solution provided by the embodiment of the present invention collects the current operating information of each computing node and resource pool in the cloud platform in real time, judges whether each resource pool meets the fault evacuation conditions according to the current operating information of each computing node and resource pool, and determines the predicted endurance time corresponding to each resource pool under the current business growth situation according to the fault evacuation condition judgment result corresponding to each resource pool and the current resource growth index corresponding to each resource pool. It provides an effective way to monitor the redundancy of various resource pools in the cloud platform, can improve the reliability of the predicted endurance time results, and provide business support for users to allocate cloud platform resources.

[0123] Based on the above embodiment, the device further includes:

[0124] A target resource acquisition module is used to acquire target resource information corresponding to the target business to be processed; the target resource information includes: virtual processor occupancy information, memory occupancy information and storage capacity occupancy information;

[0125] The target resource pool judgment module is used to judge whether there is a target computing resource pool and a target storage resource pool supporting the target business in the cloud platform according to the target resource information and the current remaining resource information corresponding to each computing resource pool and storage resource pool;

[0126] The online instruction trigger module is used to determine that the cloud platform meets the target business online conditions when there are target computing resource pools and target storage resource pools supporting the target business in the cloud platform, and trigger the online instruction, so that the user can schedule the target business in the cloud platform according to the online instruction;

[0127] The interface display module is used to display the predicted battery life corresponding to each resource pool to the user through a visual interface, so that the user can uniformly schedule multiple businesses in the cloud platform according to the predicted battery life in the visual interface.

[0128] The fault evacuation judgment module 420 includes:

[0129] A computing resource pool judgment unit, used to judge whether each computing resource pool meets the fault evacuation condition according to the current operation information of each computing node and computing resource pool;

[0130] The storage resource pool judgment unit is used to judge whether each storage resource pool meets the fault evacuation condition according to the current operation information of each storage resource pool;

[0131] A computing resource determination unit, used to determine the remaining virtual processor information, remaining memory information, virtual processor allocation information, and memory allocation information corresponding to each computing resource pool according to the current operation information of each computing node and the computing resource pool;

[0132] The computing resource processing unit is used to determine whether each computing resource pool meets the fault evacuation condition according to the remaining virtual processor information, remaining memory information, virtual processor allocation information, and memory allocation information corresponding to each computing resource pool.

[0133] The range prediction module 430 includes:

[0134] A time determination unit, configured to determine that the predicted endurance time corresponding to the resource pool under the current business growth condition is zero if the resource pool does not meet the fault evacuation condition; and to determine the predicted endurance time corresponding to the resource pool under the current business growth condition according to the current resource growth index corresponding to the resource pool if the resource pool meets the fault evacuation condition;

[0135] A growth index acquisition unit, configured to acquire remaining virtual processor information, remaining memory information, a virtual processor growth index, and a memory growth index corresponding to the computing resource pool if the resource pool is a computing resource pool;

[0136] The computing resource pool prediction unit is used to determine the predicted endurance time corresponding to the computing resource pool under the current business growth situation based on the virtual processor remaining information, memory remaining information, virtual processor growth index and memory growth index, as well as the virtual processor and memory information occupied by each computing node.

[0137] The above device can execute the methods provided by all the above embodiments of the present invention, and has the corresponding functional modules and beneficial effects of executing the above methods. For technical details not fully described in the embodiments of the present invention, please refer to the methods provided by all the above embodiments of the present invention.

[0138] Figure 5A schematic diagram of the structure of an electronic device 10 that can be used to implement an embodiment of the present invention is shown. The electronic device is intended to represent various forms of digital computers, such as laptop computers, desktop computers, workstations, personal digital assistants, servers, blade servers, mainframe computers, and other suitable computers. The electronic device can also represent various forms of mobile devices, such as personal digital processing, cellular phones, smart phones, wearable devices (such as helmets, glasses, watches, etc.) and other similar computing devices. The components shown herein, their connections and relationships, and their functions are merely examples and are not intended to limit the implementation of the present invention described and / or required herein.

[0139] like Figure 5 As shown, the electronic device 10 includes at least one processor 11, and a memory connected to the at least one processor 11, such as a read-only memory (ROM) 12, a random access memory (RAM) 13, etc., wherein the memory stores a computer program that can be executed by at least one processor, and the processor 11 can perform various appropriate actions and processes according to the computer program stored in the read-only memory (ROM) 12 or the computer program loaded from the storage unit 18 to the random access memory (RAM) 13. In the RAM 13, various programs and data required for the operation of the electronic device 10 can also be stored. The processor 11, the ROM 12, and the RAM 13 are connected to each other through a bus 14. An input / output (I / O) interface 15 is also connected to the bus 14.

[0140] A number of components in the electronic device 10 are connected to the I / O interface 15, including: an input unit 16, such as a keyboard, a mouse, etc.; an output unit 17, such as various types of displays, speakers, etc.; a storage unit 18, such as a disk, an optical disk, etc.; and a communication unit 19, such as a network card, a modem, a wireless communication transceiver, etc. The communication unit 19 allows the electronic device 10 to exchange information / data with other devices through a computer network such as the Internet and / or various telecommunication networks.

[0141] The processor 11 may be a variety of general and / or special processing components with processing and computing capabilities. Some examples of the processor 11 include, but are not limited to, a central processing unit (CPU), a graphics processing unit (GPU), various special artificial intelligence (AI) computing chips, various processors running machine learning model algorithms, a digital signal processor (DSP), and any appropriate processor, controller, microcontroller, etc. The processor 11 executes the various methods and processes described above, such as a monitoring method for a resource pool in a cloud platform.

[0142] In some embodiments, the method for monitoring a resource pool in a cloud platform may be implemented as a computer program, which is tangibly contained in a computer-readable storage medium, such as a storage unit 18. In some embodiments, part or all of the computer program may be loaded and / or installed on the electronic device 10 via the ROM 12 and / or the communication unit 19. When the computer program is loaded into the RAM 13 and executed by the processor 11, one or more steps of the method for monitoring a resource pool in a cloud platform described above may be performed. Alternatively, in other embodiments, the processor 11 may be configured to execute the method for monitoring a resource pool in a cloud platform in any other appropriate manner (e.g., by means of firmware).

[0143] Various implementations of the systems and techniques described above herein can be implemented in digital electronic circuit systems, integrated circuit systems, field programmable gate arrays (FPGAs), application specific integrated circuits (ASICs), application specific standard products (ASSPs), systems on chips (SOCs), load programmable logic devices (CPLDs), computer hardware, firmware, software, and / or combinations thereof. These various implementations can include: being implemented in one or more computer programs that can be executed and / or interpreted on a programmable system including at least one programmable processor, which can be a special purpose or general purpose programmable processor that can receive data and instructions from a storage system, at least one input device, and at least one output device, and transmit data and instructions to the storage system, the at least one input device, and the at least one output device.

[0144] Computer programs for implementing the methods of the present invention may be written in any combination of one or more programming languages. These computer programs may be provided to a processor of a general-purpose computer, a special-purpose computer, or other programmable data processing device, so that when the computer program is executed by the processor, the functions / operations specified in the flow chart and / or block diagram are implemented. The computer program may be executed entirely on the machine, partially on the machine, partially on the machine and partially on a remote machine as a stand-alone software package, or entirely on a remote machine or server.

[0145] In the context of the present invention, a computer-readable storage medium may be a tangible medium that may contain or store a computer program for use by or in combination with an instruction execution system, device or equipment. A computer-readable storage medium may include, but is not limited to, electronic, magnetic, optical, electromagnetic, infrared, or semiconductor systems, devices or equipment, or any suitable combination of the foregoing. Alternatively, a computer-readable storage medium may be a machine-readable signal medium. A more specific example of a machine-readable storage medium may include an electrical connection based on one or more lines, a portable computer disk, a hard disk, a random access memory (RAM), a read-only memory (ROM), an erasable programmable read-only memory (EPROM or flash memory), an optical fiber, a portable compact disk read-only memory (CD-ROM), an optical storage device, a magnetic storage device, or any suitable combination of the foregoing.

[0146] To provide interaction with a user, the systems and techniques described herein may be implemented on an electronic device having: a display device (e.g., a CRT (cathode ray tube) or LCD (liquid crystal display) monitor) for displaying information to the user; and a keyboard and a pointing device (e.g., a mouse or trackball) through which the user can provide input to the electronic device. Other types of devices may also be used to provide interaction with the user; for example, the feedback provided to the user may be any form of sensory feedback (e.g., visual feedback, auditory feedback, or tactile feedback); and input from the user may be received in any form (including acoustic input, voice input, or tactile input).

[0147] The systems and techniques described herein may be implemented in a computing system that includes backend components (e.g., as a data server), or a computing system that includes middleware components (e.g., an application server), or a computing system that includes frontend components (e.g., a user computer with a graphical user interface or a web browser through which a user can interact with implementations of the systems and techniques described herein), or a computing system that includes any combination of such backend components, middleware components, or frontend components. The components of the system may be interconnected by any form or medium of digital data communication (e.g., a communication network). Examples of communication networks include: a local area network (LAN), a wide area network (WAN), a blockchain network, and the Internet.

[0148] A computing system may include a client and a server. The client and the server are generally remote from each other and usually interact through a communication network. The client and server relationship is generated by computer programs running on the corresponding computers and having a client-server relationship with each other. The server may be a cloud server, also known as a cloud computing server or cloud host, which is a host product in the cloud computing service system to solve the defects of difficult management and weak business scalability in traditional physical hosts and VPS services.

[0149] It should be understood that the various forms of processes shown above can be used to reorder, add or delete steps. For example, the steps described in the present invention can be executed in parallel, sequentially or in different orders, as long as the desired results of the technical solution of the present invention can be achieved, and this document does not limit this.

[0150] The above specific implementations do not constitute a limitation on the protection scope of the present invention. It should be understood by those skilled in the art that various modifications, combinations, sub-combinations and substitutions can be made according to design requirements and other factors. Any modification, equivalent substitution and improvement made within the spirit and principle of the present invention should be included in the protection scope of the present invention.

Claims

1. A method for monitoring a resource pool in a cloud platform, characterized in that: The method comprises: Real-time collection of current operating information of each computing node and resource pool in the cloud platform; the resource pool includes a computing resource pool, a storage resource pool, and a network resource pool; According to the current operation information of each computing node and resource pool, it is judged whether each resource pool meets the fault evacuation condition; the fault evacuation condition is used to indicate that the resource pool supports the operation of the faulty computing node; According to the fault evacuation condition judgment results corresponding to each resource pool and the current resource growth index corresponding to each resource pool, the predicted endurance time corresponding to each resource pool under the current business growth situation is determined respectively; The resource growth index is a growth index of resources occupied by a resource pool within a preset time period; according to the fault evacuation condition judgment result corresponding to each resource pool and the current resource growth index corresponding to each resource pool, the predicted endurance time corresponding to each resource pool under the current business growth condition is determined respectively, including: If the resource pool does not meet the fault evacuation conditions, the predicted endurance time corresponding to the resource pool under the current business growth situation is determined to be zero; if the resource pool meets the fault evacuation conditions, the predicted endurance time corresponding to the resource pool under the current business growth situation is determined based on the current resource growth index corresponding to the resource pool.

2. The method according to claim 1, characterized in that After determining the predicted life span of each resource pool under the current business growth situation, it also includes: Obtaining target resource information corresponding to the target business to be processed; the target resource information includes: virtual processor occupancy information, memory occupancy information, and storage capacity occupancy information; According to the target resource information and the current remaining resource information corresponding to each computing resource pool and storage resource pool, it is determined whether there is a target computing resource pool and a target storage resource pool supporting the target business in the cloud platform; If so, it is determined that the cloud platform meets the conditions for launching the target service, and an online instruction is triggered, so that the user can schedule the target service in the cloud platform according to the online instruction.

3. The method according to claim 1, characterized in that Based on the current operating information of each computing node and resource pool, determine whether each resource pool meets the fault evacuation conditions, including: According to the current operation information of each computing node and computing resource pool, determine whether each computing resource pool meets the fault evacuation conditions; Based on the current operation information of each storage resource pool, determine whether each storage resource pool meets the fault evacuation conditions.

4. The method according to claim 3, characterized in that Based on the current operating information of each computing node and computing resource pool, determine whether each computing resource pool meets the fault evacuation conditions, including: Determine the remaining virtual processor information, remaining memory information, virtual processor allocation information, and memory allocation information corresponding to each computing resource pool according to the current operation information of each computing node and computing resource pool; According to the remaining virtual processor information, remaining memory information, virtual processor allocation information, and memory allocation information corresponding to each computing resource pool, it is determined whether each computing resource pool meets the fault evacuation condition.

5. The method according to claim 1, characterized in that Determining, according to the current resource growth index corresponding to the resource pool, a predicted endurance time corresponding to the resource pool under the current business growth condition, including: If the resource pool is a computing resource pool, obtaining remaining virtual processor information, remaining memory information, a virtual processor growth index, and a memory growth index corresponding to the computing resource pool; According to the remaining virtual processor information, the remaining memory information, the virtual processor growth index and the memory growth index, as well as the virtual processor and memory information occupied by each computing node, the predicted endurance time corresponding to the computing resource pool under the current business growth situation is determined.

6. The method according to claim 1, characterized in that After determining the predicted life span of each resource pool under the current business growth situation, it also includes: The predicted battery life corresponding to each resource pool is displayed to the user through a visual interface, so that the user can uniformly schedule multiple businesses in the cloud platform based on the predicted battery life in the visual interface.

7. A monitoring device for a resource pool in a cloud platform, characterized in that: The device comprises: The information collection module is used to collect the current operation information of each computing node and resource pool in the cloud platform in real time; the resource pool includes a computing resource pool, a storage resource pool and a network resource pool; A fault evacuation judgment module is used to judge whether each resource pool meets the fault evacuation condition according to the current operation information of each computing node and resource pool; the fault evacuation condition is used to indicate that the resource pool supports the operation of the faulty computing node; The battery life prediction module is used to determine the predicted battery life of each resource pool under the current business growth situation according to the fault evacuation condition judgment results corresponding to each resource pool and the current resource growth index corresponding to each resource pool; The resource growth index is a growth index of resources occupied by a resource pool within a preset time period; according to the fault evacuation condition judgment result corresponding to each resource pool and the current resource growth index corresponding to each resource pool, the predicted endurance time corresponding to each resource pool under the current business growth condition is determined respectively, including: If the resource pool does not meet the fault evacuation conditions, the predicted endurance time corresponding to the resource pool under the current business growth situation is determined to be zero; if the resource pool meets the fault evacuation conditions, the predicted endurance time corresponding to the resource pool under the current business growth situation is determined based on the current resource growth index corresponding to the resource pool.

8. An electronic device, characterized in that: The electronic device comprises: at least one processor; and a memory communicatively connected to the at least one processor; wherein, The memory stores a computer program executable by the at least one processor, and the computer program is executed by the at least one processor so that the at least one processor can execute the method for monitoring a resource pool in a cloud platform according to any one of claims 1 to 6.

9. A computer-readable storage medium, characterized in that: The computer-readable storage medium stores computer instructions, and the computer instructions are used to enable a processor to implement the method for monitoring a resource pool in a cloud platform according to any one of claims 1 to 6 when executed.

Citation Information

Patent Citations

  • Virtual computing resource dynamic management system of cloud computing service platform

    CN102681899A

  • Guarantee method and system for high availability of virtual instance of electric power system

    CN107547273A

  • Fault virtual machine recovery method and device, electronic equipment and storage medium

    CN110413373A

  • Resource allocation method and device, computer device and storage medium

    CN112698943A

  • Resource monitoring method and device of container platform, container platform, equipment and medium

    CN116225845A