Method and system for managing virtual machines
A technology of virtual machine and operation information, applied in the field of cloud computing, which can solve the problems of cloud server being unable to obtain virtual machine operation information, direct management and deployment, rough management and deployment, etc.
- Summary
- Abstract
- Description
- Claims
- Application Information
AI Technical Summary
Problems solved by technology
Method used
Image
Examples
Embodiment 1
[0030] Such as figure 1 As shown, the embodiment of the present invention provides a method for managing a virtual machine. Wherein, the management method is applied to a system composed of a cloud server and a computer device that is communicatively connected to the cloud server and includes at least one virtual machine. Wherein, the virtual machine can communicate with the cloud server using a communication protocol.
[0031] In step S1, based on the obtained deployment instruction, the cloud server deploys the corresponding application and the first obtaining module for obtaining the running information of the corresponding application to at least one virtual machine by using the preset description information of each application, so that The application and the first obtaining module run on the virtual machine. Wherein, the deployment instruction includes information such as the name and address of the virtual machine to be deployed, the name of the application, and the ...
Embodiment 2
[0064] Different from Embodiment 1, step S2 in this embodiment further includes: the virtual machine monitors the running information obtained by the first acquisition module, and judges whether the application corresponding to the running information is close to or exceeds a preset corresponding The normal operation range of the application, if it is indeed close to or exceeds the preset normal operation range of the corresponding application, provide the operation information to the cloud server; if it is not close to or exceed the preset normal operation range of the corresponding application, then continue monitoring.
[0065]For example, the running information acquired by the first acquiring module includes: the current number of sessions of the application d1 is 30, and the current CPU usage of the application d2 is 70%. The virtual machine takes a difference between the preset maximum number of sessions 500 that the application d1 can bear and the acquired number of se...
Embodiment 3
[0077] The difference from Embodiments 1 and 2 is that the virtual machine sends the obtained running information of each application to the cloud server, and the cloud server analyzes and executes corresponding policies based on the obtained running information of each application While controlling, the virtual machine and the cloud server also maintain communication, so that the virtual machine and the cloud server can know in time whether they are in communication with each other.
[0078] Specifically, the manner of maintaining the communication between the virtual machine and the cloud server includes but not limited to: maintaining the communication between the virtual machine and the cloud server based on a heartbeat mechanism.
[0079] For example, the virtual machine communicates with the cloud server every 15 minutes based on the heartbeat mechanism, and when the cloud server does not receive heartbeat information from the virtual machine within 20 minutes, it determi...
PUM
Abstract
Description
Claims
Application Information
- R&D Engineer
- R&D Manager
- IP Professional
- Industry Leading Data Capabilities
- Powerful AI technology
- Patent DNA Extraction
Browse by: Latest US Patents, China's latest patents, Technical Efficacy Thesaurus, Application Domain, Technology Topic, Popular Technical Reports.
© 2024 PatSnap. All rights reserved.Legal|Privacy policy|Modern Slavery Act Transparency Statement|Sitemap|About US| Contact US: help@patsnap.com