CN108170507B - Virtual application management method/system, computer readable storage medium and server - Google Patents

Virtual application management method/system, computer readable storage medium and server Download PDF

Info

Publication number
CN108170507B
CN108170507B CN201711261440.2A CN201711261440A CN108170507B CN 108170507 B CN108170507 B CN 108170507B CN 201711261440 A CN201711261440 A CN 201711261440A CN 108170507 B CN108170507 B CN 108170507B
Authority
CN
China
Prior art keywords
virtual application
host
physical host
virtual
machine
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.)
Active
Application number
CN201711261440.2A
Other languages
Chinese (zh)
Other versions
CN108170507A (en
Inventor
颜永明
许斌
王晓文
周伟
陈兵
Current Assignee (The listed assignees may be inaccurate. Google has not performed a legal analysis and makes no representation or warranty as to the accuracy of the list.)
Shanghai Information Network Co Ltd
Original Assignee
Shanghai Information Network Co Ltd
Priority date (The priority date 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 date listed.)
Filing date
Publication date
Application filed by Shanghai Information Network Co Ltd filed Critical Shanghai Information Network Co Ltd
Priority to CN201711261440.2A priority Critical patent/CN108170507B/en
Publication of CN108170507A publication Critical patent/CN108170507A/en
Application granted granted Critical
Publication of CN108170507B publication Critical patent/CN108170507B/en
Active legal-status Critical Current
Anticipated expiration legal-status Critical

Links

Images

Classifications

    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06FELECTRIC DIGITAL DATA PROCESSING
    • G06F9/00Arrangements for program control, e.g. control units
    • G06F9/06Arrangements for program control, e.g. control units using stored programs, i.e. using an internal store of processing equipment to receive or retain programs
    • G06F9/44Arrangements for executing specific programs
    • G06F9/455Emulation; Interpretation; Software simulation, e.g. virtualisation or emulation of application or operating system execution engines
    • G06F9/45533Hypervisors; Virtual machine monitors
    • G06F9/45558Hypervisor-specific management and integration aspects
    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06FELECTRIC DIGITAL DATA PROCESSING
    • G06F9/00Arrangements for program control, e.g. control units
    • G06F9/06Arrangements for program control, e.g. control units using stored programs, i.e. using an internal store of processing equipment to receive or retain programs
    • G06F9/44Arrangements for executing specific programs
    • G06F9/455Emulation; Interpretation; Software simulation, e.g. virtualisation or emulation of application or operating system execution engines
    • G06F9/45533Hypervisors; Virtual machine monitors
    • G06F9/45558Hypervisor-specific management and integration aspects
    • G06F2009/4557Distribution of virtual machine instances; Migration and load balancing
    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06FELECTRIC DIGITAL DATA PROCESSING
    • G06F9/00Arrangements for program control, e.g. control units
    • G06F9/06Arrangements for program control, e.g. control units using stored programs, i.e. using an internal store of processing equipment to receive or retain programs
    • G06F9/44Arrangements for executing specific programs
    • G06F9/455Emulation; Interpretation; Software simulation, e.g. virtualisation or emulation of application or operating system execution engines
    • G06F9/45533Hypervisors; Virtual machine monitors
    • G06F9/45558Hypervisor-specific management and integration aspects
    • G06F2009/45575Starting, stopping, suspending or resuming virtual machine instances
    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06FELECTRIC DIGITAL DATA PROCESSING
    • G06F9/00Arrangements for program control, e.g. control units
    • G06F9/06Arrangements for program control, e.g. control units using stored programs, i.e. using an internal store of processing equipment to receive or retain programs
    • G06F9/44Arrangements for executing specific programs
    • G06F9/455Emulation; Interpretation; Software simulation, e.g. virtualisation or emulation of application or operating system execution engines
    • G06F9/45533Hypervisors; Virtual machine monitors
    • G06F9/45558Hypervisor-specific management and integration aspects
    • G06F2009/45591Monitoring or debugging support

Landscapes

  • Engineering & Computer Science (AREA)
  • Software Systems (AREA)
  • Theoretical Computer Science (AREA)
  • Physics & Mathematics (AREA)
  • General Engineering & Computer Science (AREA)
  • General Physics & Mathematics (AREA)
  • Hardware Redundancy (AREA)

Abstract

The invention provides a virtual application management method/system, a computer readable storage medium and a server, wherein the virtual application management method comprises the following steps: selecting a main physical host machine needing to deploy the virtual application from a plurality of computing nodes according to the resource utilization condition of the computing nodes, and storing the position of the host machine as a snapshot of the deployed virtual application; setting a snapshot creating period of the virtual application; storing the created snapshot at a specified snapshot storage position according to the snapshot creation period of the virtual application; and if the virtual application and the host physical host machine for deploying the virtual application have abnormal conditions, processing the virtual application and the host physical host machine with abnormal conditions by adopting a corresponding processing mode. Based on the invention, the reliability of the virtual application is met, and the requirement of the virtual application for failure recovery is met.

Description

Virtual application management method/system, computer readable storage medium and server
Technical Field
The invention belongs to the technical field of computer networks, relates to a management method and a management system, and particularly relates to a virtual application management method/system, a computer readable storage medium and a server.
Background
With the development of virtualization technology, operators and terminal customers begin to consider the possibility of realizing virtual network applications (VNFs) instead of proprietary hardware through virtualization technology, so that on one hand, the investment cost of the operators and the terminal customers can be greatly reduced through virtualization means, and on the other hand, the labor cost and the expansion cost can be saved in maintenance and later-stage upgrading.
Under the driving force, NFV technology has also been rapidly developed, and many vendors have begun to introduce their own virtualization schemes to virtualize proprietary hardware. For operators and end-customers, it is also starting to accelerate the deployment of own virtualized network applications. While a large amount of virtual applications are deployed, the problem of reliability of the virtual applications is generated, and the existing dual active or main standby mechanism is not completely suitable for the virtual applications.
After analysis, it is found that replacing proprietary hardware by virtual applications inevitably brings a centralized deployment of the virtual applications, and a reliability mechanism of active and standby dual-active devices must ensure that the virtual applications are deployed on different physical host machines, which inevitably increases investment cost of the physical host machines, and increases network complexity of the dual-active devices or the active and standby devices according to a deployment mode that a host virtual machine of the virtual applications adopts a subnet independent of the physical host machines. Therefore, how to provide a virtual application management method/system, a computer-readable storage medium and a server to ensure the reliability of a virtual application while minimizing the complexity of a network is an urgent problem to be solved in the current virtual application deployment.
Disclosure of Invention
In view of the above-mentioned shortcomings of the prior art, the present invention is directed to a virtual application management method/system, a computer-readable storage medium, and a server, which are used to solve the problem of the prior art that the complexity of a network is not increased as much as possible while ensuring the reliability of a virtual application.
In order to achieve the above and other related objects, an aspect of the present invention provides a virtual application management method, which is applied to a virtual application coordination system including a server, a virtual application, a host virtual machine, a primary physical host and/or a standby physical host; the virtual application management method comprises the following steps: selecting a main physical host machine needing to deploy the virtual application from a plurality of computing nodes according to the resource utilization condition of the computing nodes, and storing the position of the host machine as a snapshot of the deployed virtual application; setting a snapshot creating period of the virtual application; storing the created snapshot at a specified snapshot storage position according to the snapshot creation period of the virtual application; and if the virtual application and the host physical host machine for deploying the virtual application have abnormal conditions, processing the virtual application and the host physical host machine with abnormal conditions by adopting a corresponding processing mode.
In an embodiment of the present invention, the abnormal condition of the virtual application includes that the virtual application is suddenly offline, and the corresponding processing manner includes sending a virtual application offline alarm and detecting whether the virtual application is offline due to a host virtual machine of the virtual application being down; and if so, creating a snapshot for the virtual application, creating a new virtual application on the main physical host machine, and deleting the offline virtual application.
In an embodiment of the present invention, the virtual application management method includes: the method also comprises the steps of appointing a standby physical host machine for the main physical host machine when the storage position is snapshot; the corresponding processing mode comprises the following steps: if the virtual application is not offline caused by the crash of the host virtual machine of the virtual application, checking whether the virtual application is offline caused by the overload of the host physical host machine serving as the physical foundation of the host virtual machine, if so, migrating the virtual application to the standby physical host machine, and guiding the response service flow to the migrated virtual application; and if not, checking whether the physical host is caused by the offline of the main physical host, if so, detecting the physical parameters of the main physical host, judging whether the main physical host is down, and if so, restarting the main physical host.
In an embodiment of the present invention, after the main physical host recovers to a normal working state, the virtual application migrated to the standby physical host is migrated back to the main physical host.
The corresponding processing method in an embodiment of the present invention includes: if the restart of the main physical host fails, sending an abnormal alarm of the main physical host and a replacement command for replacing the main physical host, automatically installing an operating system for the main physical host, creating a virtual application in the replaced main physical host according to the created snapshot after the operating system is installed, and guiding the corresponding service flow to the created virtual application.
In an embodiment of the present invention, the physical parameters of the host physical host are detected and the host physical host is restarted through an intelligent platform management interface.
In an embodiment of the present invention, the operation status of the virtual application includes utilization rates of a virtual memory and a CPU; the operating conditions of the host physical host include CPU, memory, storage usage, fan, temperature, and/or power state.
The invention provides a virtual application management system, which is applied to a virtual application coordination system comprising a server, a virtual application, a host virtual machine, a primary physical host machine and/or a standby physical host machine; the virtual application management system includes: the selection module is used for selecting a host physical host machine needing to deploy the virtual application from the plurality of computing nodes according to the resource utilization condition of the computing nodes and storing the position of the deployed host physical host machine for the snapshot of the deployed virtual application; the setting module is used for setting a snapshot creating period of the virtual application; the storage module is used for storing the created snapshot in a specified snapshot storage position according to the snapshot creation cycle of the virtual application; and the processing module is used for monitoring the running condition of the virtual application in real time and the running condition of a host physical host machine for deploying the virtual application, and if the virtual application and the host physical host machine for deploying the virtual application have abnormal conditions, processing the virtual application and the host physical host machine so to say that the abnormal conditions occur by adopting a corresponding processing mode.
Yet another aspect of the present invention provides a computer-readable storage medium having stored thereon a computer program which, when executed by a processor, implements the virtual application management method.
A final aspect of the present invention provides a server, including: a processor and a memory; the memory is used for storing computer programs, and the processor is used for executing the computer programs stored by the memory so as to enable the server to execute the virtual application management method
As described above, the virtual application management method/system, the computer-readable storage medium and the server according to the present invention have the following advantages:
firstly, the main physical host, the standby physical host and the snapshot storage are seamlessly associated;
secondly, the invention combines the cloud resource management and the IPMI management system to realize the monitoring of the running states of the monitoring virtual application, the host virtual machine and the host physics;
thirdly, according to the states of the current virtual application, the host virtual machine and the host physical machine, reasonably selecting a method for ensuring the reliability of the virtual application, restarting the host virtual machine, migrating the virtual application, restarting the physical machine and recovering the virtual application from failure;
fourthly, after the virtual application is subjected to failure recovery, the recovered virtual application is automatically added into the monitoring system, the original snapshot is deleted, a new snapshot is established, the whole system is continuously monitored according to the set rules, the new snapshot is established for the virtual application at regular time, the reliable operation of the whole system is ensured, the investment cost for deploying the virtual application is reduced, the complexity of networking is reduced, different means are adopted according to the conditions possibly met in the operation process of the virtual application, and based on the virtual application management method, the reliability of the virtual application is met, and the requirement of the failure recovery of the virtual application is met.
Drawings
Fig. 1 is a schematic structural diagram of a virtual application collaboration system in an embodiment of the invention.
Fig. 2A is a flowchart illustrating a virtual application management method according to an embodiment of the invention.
Fig. 2B is a flowchart illustrating a virtual application management method according to an embodiment of the invention.
Fig. 2C is a schematic flowchart illustrating S25 in the virtual application management method according to the present invention.
Fig. 3 is a schematic structural diagram of a virtual application management system according to an embodiment of the invention.
Description of the element reference numerals
1 virtual application collaboration system
11 service end
12 virtual application
13 host virtual machine
14 host physical host machine
15 Standby physical host machine
16 IPMI management system
11 computing node
3 virtual application management system
31 selection module
32 creation module
33 setting module
34 memory module
35 processing module
S21-S25
S251 to S250
Detailed Description
The embodiments of the present invention are described below with reference to specific embodiments, and other advantages and effects of the present invention will be easily understood by those skilled in the art from the disclosure of the present specification. 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 is to be noted that the features in the following embodiments and examples may be combined with each other without conflict.
It should be noted that the drawings provided in the following embodiments are only for illustrating the basic idea of the present invention, and the components related to the present invention are only shown in the drawings rather than drawn according to the number, shape and size of the components in actual implementation, and the type, quantity and proportion of the components in actual implementation may be changed freely, and the layout of the components may be more complicated.
Example one
The embodiment provides a virtual application management method, which is applied to a communication network consisting of a plurality of computing nodes; the virtual application management method comprises the following steps:
selecting a main physical host machine needing to deploy the virtual application from a plurality of computing nodes according to the resource utilization condition of the computing nodes, and storing the position of the host machine as a snapshot of the deployed virtual application;
setting a snapshot creating period of the virtual application;
storing the created snapshot at a specified snapshot storage position according to the snapshot creation period of the virtual application;
and if the virtual application and the host physical host machine for deploying the virtual application have abnormal conditions, processing the virtual application and the host physical host machine with abnormal conditions by adopting a corresponding processing mode.
The virtual application management method provided by the present embodiment will be described in detail below with reference to the drawings. The virtual application management method provided in this embodiment is applied to a virtual application coordination system 1 including a server 11, a virtual application 12, a host virtual machine 13, a host physical host 14, a standby physical host 15, and an IPMI management system 16, where the virtual application 12 is deployed on the host physical host 14, and the host physical host 14 is a physical basis of the host virtual machine 13 and shares a memory and hardware with the host physical host 14. In this embodiment, a virtual application is deployed on a primary physical host, and a standby physical host is used as a multi-node shared host for virtual application migration.
Please refer to fig. 2A and fig. 2B, which are a flowchart of a virtual application management method in an embodiment and a flowchart of a virtual application management method applied to a virtual application coordination system, respectively. As shown in fig. 2A and 2B, the virtual application management method specifically includes the following steps:
s21, according to the resource utilization condition of the computing nodes, selecting a main physical host machine needing to deploy the virtual application from the computing nodes, and simultaneously appointing a standby physical host machine for the main physical host machine and a snapshot storage position for the deployed virtual application.
In this embodiment, the resource utilization conditions of the plurality of computing nodes 11, for example, the memory utilization rate of the computing nodes 11 and the CPU physical core utilization rate, are checked on the provided virtual application management interface, a host physical host that needs to deploy the virtual application is selected from the plurality of computing nodes, and a standby physical host is designated for the host physical host and a snapshot storage location is designated for the deployed virtual application. The deployed virtual application specifies that the snapshot storage location refers to a shared hard disk or cloud storage.
And S22, creating the virtual application, automatically deploying the created virtual application on the specified main physical host, and associating the main physical host, the standby physical host and the snapshot storage position of the virtual application.
S23, setting the snapshot creating period of the virtual application.
And S24, creating a snapshot for the virtual application according to the snapshot creating cycle of the virtual application, and storing the created snapshot in a designated snapshot storage position.
And S25, monitoring the running condition of the virtual application and the running condition of a host physical host machine for deploying the virtual application in real time, and if the virtual application and the host physical host machine for deploying the virtual application have abnormal conditions, processing the virtual application and the host physical host machine by adopting a corresponding processing mode. In this embodiment, the running status of the virtual application includes a virtual memory, a utilization rate of a CPU, and the like. The operating conditions of the host physical host include CPU, memory, storage usage, fan, temperature, and/or power state.
In this embodiment, the abnormal condition of the virtual application is that the virtual application is suddenly offline, the host physical host is overloaded, the host physical host is down, and the like.
The corresponding processing mode comprises the following steps:
sending a virtual application offline alarm, and detecting whether the virtual application is offline due to the fact that a host virtual machine of the virtual application is down; if yes, creating a snapshot for the virtual application, creating a new virtual application on a main physical host machine, and deleting the offline virtual application;
if the virtual application is not offline caused by the crash of the host virtual machine of the virtual application, checking whether the virtual application is offline caused by the overload of the host physical host machine serving as the physical foundation of the host virtual machine, if so, migrating the virtual application to the standby physical host machine, and guiding the response service flow to the migrated virtual application; if not, checking whether the physical host is caused by the offline of the main physical host, if so, detecting physical parameters of the main physical host, judging whether the main physical host is down, and if so, restarting the main physical host;
if the restart of the main physical host fails, sending an abnormal alarm of the main physical host and a replacement command for replacing the main physical host, automatically installing an operating system for the main physical host, creating a virtual application in the replaced main physical host according to the created snapshot after the operating system is installed, and guiding the corresponding service flow to the created virtual application.
Please refer to fig. 2C, which shows a schematic flow chart of S25. As shown in fig. 2C, the S25 includes the following steps:
and S251, when the virtual application is suddenly off-line, sending out a virtual application off-line alarm, and checking the operation state of the host virtual machine of the virtual application.
S252, detecting whether the virtual application is offline due to the fact that a host virtual machine of the virtual application is down; if yes, go to step S253; if not, the process returns to S254.
And S253, creating a snapshot for the virtual application, creating a new virtual application on the main physical host machine, and deleting the offline virtual application.
S254, if the virtual application is not offline due to the host virtual machine of the virtual application being down, detecting physical parameters of the host physical host through an Intelligent Platform Management Interface (IPMI) to check the operating status of the host physical host as a physical basis of the host virtual machine. In this embodiment, the operating conditions of the host physical host as the physical basis for hosting the virtual machine include CPU, memory, storage usage, fan, temperature, and/or power state
S255, detecting whether the virtual application is offline caused by overload of a host physical host machine serving as a physical basis of the host virtual machine, and if so, executing S256; if not, S257 is executed.
And S256, migrating the virtual application to the standby physical host, guiding the response service flow to the migrated virtual application, and migrating the virtual application migrated to the standby physical host back to the main physical host after the main physical host recovers the normal working state.
S257, check if the result is that the host is offline, if yes, execute S258, otherwise, return to S257.
S258, detecting physical parameters of the main physical host through an Intelligent Platform Management Interface (IPMI), judging whether the main physical host is down or not, and if yes, executing S259; if not, the process returns to S258.
S259, restarting the host physical host machine through an Intelligent Platform Management Interface (IPMI).
And S250, if the restart of the host physical host fails, sending an abnormal alarm of the host physical host and a replacement command for replacing the host physical host, automatically installing an operating system for the host physical host, creating a virtual application in the replaced host physical host according to the created snapshot after the operating system is installed, and guiding the corresponding service flow to the created virtual application.
The present embodiment also provides a computer-readable storage medium on which a computer program is stored, which when executed by a processor implements the above-described virtual application management method. Those of ordinary skill in the art will understand that: all or part of the steps for implementing the above method embodiments may be performed by hardware associated with a computer program. The aforementioned computer program may be stored in a computer readable storage medium. When executed, the program performs steps comprising the method embodiments described above; and the aforementioned storage medium includes: various media that can store program codes, such as ROM, RAM, magnetic or optical disks.
The virtual application management method and the computer-readable storage medium for implementing the virtual application management method according to the embodiment have the following beneficial effects:
firstly, seamlessly associating a main physical host, a standby physical host and a snapshot storage;
secondly, monitoring the running states of the virtual application, the host virtual machine and the host physics is realized by combining cloud resource management and an IPMI management system;
thirdly, reasonably selecting a method for ensuring the reliability of the virtual application according to the states of the current virtual application, the host virtual machine and the host physical machine, and restarting the host virtual machine, migrating the virtual application, restarting the physical machine and recovering the virtual application from failure;
fourthly, after the virtual application is subjected to failure recovery, the recovered virtual application is automatically added into the monitoring system, the original snapshot is deleted, a new snapshot is established, meanwhile, the whole system is continuously monitored according to the set rules, the new snapshot is established for the virtual application at regular time, the reliable operation of the whole system is ensured, the investment cost for deploying the virtual application is reduced, the complexity of networking is reduced, different means are adopted according to the conditions possibly met in the operation process of the virtual application, and based on the virtual application management method, the reliability of the virtual application is met, and the requirement of the failure recovery of the virtual application is met.
Example two
The present embodiment provides a virtual application management system, including:
the selection module is used for selecting a host physical host machine needing to deploy the virtual application from the plurality of computing nodes according to the resource utilization condition of the computing nodes and storing the position of the deployed host physical host machine for the snapshot of the deployed virtual application;
the setting module is used for setting a snapshot creating period of the virtual application;
the storage module is used for storing the created snapshot in a specified snapshot storage position according to the snapshot creation cycle of the virtual application;
and the processing module is used for monitoring the running condition of the virtual application in real time and the running condition of a host physical host machine for deploying the virtual application, and if the virtual application and the host physical host machine for deploying the virtual application have abnormal conditions, processing the virtual application and the host physical host machine so to say that the abnormal conditions occur by adopting a corresponding processing mode.
The virtual application management system provided in the present embodiment will be described in detail below with reference to the drawings. It should be noted that the division of each module of the virtual application management system is only a division of a logical function, and all or part of the actual implementation may be integrated into one physical entity or may be physically separated. And these modules can be realized in the form of software called by processing element; or may be implemented entirely in hardware; and part of the modules can be realized in the form of calling software by the processing element, and part of the modules can be realized in the form of hardware. For example, the x module may be a processing element that is set up separately, or may be implemented by being integrated in a chip of the apparatus, or may be stored in a memory of the apparatus in the form of program code, and the function of the x module may be called and executed by a processing element of the apparatus. Other modules are implemented similarly. In addition, all or part of the modules can be integrated together or can be independently realized. The processing element described herein may be an integrated circuit having signal processing capabilities. In implementation, each step of the above method or each module above may be implemented by an integrated logic circuit of hardware in a processor element or an instruction in the form of software.
For example, the above modules may be one or more integrated circuits configured to implement the above methods, such as: one or more Application Specific Integrated Circuits (ASICs), or one or more microprocessors (DSPs), or one or more Field Programmable Gate Arrays (FPGAs), etc. For another example, when one of the above modules is implemented in the form of a processing element scheduler code, the processing element may be a general-purpose processor, such as a Central Processing Unit (CPU) or other processor capable of calling program code. For another example, these modules may be integrated together and implemented in the form of a system-on-a-chip (SOC).
Please refer to fig. 3, which is a schematic structural diagram of a virtual application management system in an embodiment. As shown in fig. 3, the virtual application management system 3 includes: a selection module 31, a creation module 32, a setting module 33, a storage module 34 and a processing module 35.
The selection module 31 is configured to select a host physical host that needs to deploy a virtual application from a plurality of computing nodes according to a resource utilization condition of the computing nodes, and designate a standby physical host for the host physical host and a snapshot storage location for the deployed virtual application.
In this embodiment, the resource utilization conditions of the plurality of computing nodes 11, for example, the memory utilization rate of the computing nodes 11 and the CPU physical core utilization rate, are checked on the provided virtual application management interface, a host physical host that needs to deploy the virtual application is selected from the plurality of computing nodes, and a standby physical host is designated for the host physical host and a snapshot storage location is designated for the deployed virtual application. The deployed virtual application specifies that the snapshot storage location refers to a shared hard disk or cloud storage.
The creating module 32 coupled to the selecting module 32 is configured to create a virtual application, automatically deploy the created virtual application on the designated primary physical host, and associate the primary physical host, the standby physical host, and a snapshot storage location of the virtual application. The creating module 32 is further configured to create a snapshot for the virtual application according to the snapshot creating cycle of the virtual application.
A setting module 33 coupled to the creation module 32 is configured to set a snapshot creation period of the virtual application.
A storage module 34, coupled to the creation module 32 and the setup module 33, respectively, stores the created snapshot in a designated snapshot storage location.
The processing module 35, which is respectively coupled to the selecting module 31, the creating module 32, the setting module 33, and the storing module 34, is configured to monitor the running status of the virtual application and the running status of the host physical host that deploys the virtual application in real time, and if the virtual application and the host physical host that deploys the virtual application are abnormal, process the virtual application and the host physical host in a corresponding processing manner. In this embodiment, the running status of the virtual application includes a virtual memory, a utilization rate of a CPU, and the like. The operating conditions of the host physical host include CPU, memory, storage usage, fan, temperature, and/or power state.
In this embodiment, the abnormal condition of the virtual application is that the virtual application is suddenly offline, the host physical host is overloaded, the host physical host is down, and the like.
The corresponding processing mode adopted by the processing module 35 includes:
sending a virtual application offline alarm, and detecting whether the virtual application is offline due to the fact that a host virtual machine of the virtual application is down; if yes, creating a snapshot for the virtual application, creating a new virtual application on a main physical host machine, and deleting the offline virtual application;
if the virtual application is not offline caused by the crash of the host virtual machine of the virtual application, checking whether the virtual application is offline caused by the overload of the host physical host machine serving as the physical foundation of the host virtual machine, if so, migrating the virtual application to the standby physical host machine, and guiding the response service flow to the migrated virtual application; if not, checking whether the physical host is caused by the offline of the main physical host, if so, detecting physical parameters of the main physical host, judging whether the main physical host is down, and if so, restarting the main physical host;
if the restart of the main physical host fails, sending an abnormal alarm of the main physical host and a replacement command for replacing the main physical host, automatically installing an operating system for the main physical host, creating a virtual application in the replaced main physical host according to the created snapshot after the operating system is installed, and guiding the corresponding service flow to the created virtual application.
Specifically, the processing module 35 is configured to issue a virtual application offline alarm when the virtual application is suddenly offline, and check an operation state of a host virtual machine of the virtual application; detecting whether the virtual application is offline due to a host virtual machine of the virtual application being down; if yes, creating a snapshot for the virtual application, creating a new virtual application on a main physical host machine, and deleting the offline virtual application; if the virtual application is not offline caused by the crash of the host virtual machine of the virtual application, checking the running condition of a host physical host machine serving as a physical base of the host virtual machine, detecting whether the virtual application is offline caused by the overload of the host physical host machine serving as the physical base of the host virtual machine, if so, migrating the virtual application to the standby physical host machine, guiding the response service flow to the migrated virtual application, and migrating the virtual application migrated to the standby physical host machine back to the host physical host machine after the host physical host machine recovers a normal working state; if not, checking whether the physical host is caused by the offline of the main physical host, if so, detecting physical parameters of the main physical host through an Intelligent Platform Management Interface (IPMI), judging whether the main physical host is down, and if so, restarting the main physical host through the Intelligent Platform Management Interface (IPMI); if the restart of the host physical host fails, sending an abnormal alarm of the host physical host and a replacement command for replacing the host physical host, automatically installing an operating system for the host physical host, creating a virtual application in the replaced host physical host according to the created snapshot after the operating system is installed, and guiding corresponding service flow to the created virtual application; if not, judging whether the main physical host is down, and if not, returning to check whether the main physical host is off-line.
EXAMPLE III
The embodiment provides a server, including: a processor, a memory, a transceiver, a communication interface, and a system bus; the memory is used for storing computer programs, the communication interface is used for communicating with other devices, and the processor and the transceiver are used for running the computer programs to enable the server to execute the steps of the virtual application management method.
The above-mentioned system bus may be a Peripheral Component Interconnect (PCI) bus, an Extended Industry Standard Architecture (EISA) bus, or the like. The system bus may be divided into an address bus, a data bus, a control bus, and the like. For ease of illustration, only one thick line is shown, but this does not mean that there is only one bus or one type of bus. The communication interface is used for realizing communication between the database access device and other equipment (such as a client, a read-write library and a read-only library). The memory may include a Random Access Memory (RAM), and may further include a non-volatile memory (non-volatile memory), such as at least one disk memory.
The processor may be a general-purpose processor, and includes a Central Processing Unit (CPU), a Network Processor (NP), and the like; the integrated circuit may also be a Digital Signal Processor (DSP), an Application Specific Integrated Circuit (ASIC), a Field Programmable Gate Array (FPGA) or other programmable logic device, discrete gate or transistor logic device, or discrete hardware components.
In summary, the virtual application management method/system, the computer-readable storage medium and the server according to the present invention have the following advantages:
firstly, the main physical host, the standby physical host and the snapshot storage are seamlessly associated;
secondly, the invention combines the cloud resource management and the IPMI management system to realize the monitoring of the running states of the monitoring virtual application, the host virtual machine and the host physics;
thirdly, according to the states of the current virtual application, the host virtual machine and the host physical machine, reasonably selecting a method for ensuring the reliability of the virtual application, restarting the host virtual machine, migrating the virtual application, restarting the physical machine and recovering the virtual application from failure;
fourthly, after the virtual application is subjected to failure recovery, the recovered virtual application is automatically added into the monitoring system, the original snapshot is deleted, a new snapshot is established, the whole system is continuously monitored according to the set rules, the new snapshot is established for the virtual application at regular time, the reliable operation of the whole system is ensured, the investment cost for deploying the virtual application is reduced, the complexity of networking is reduced, different means are adopted according to the conditions possibly met in the operation process of the virtual application, and based on the virtual application management method, the reliability of the virtual application is met, and the requirement of the failure recovery of the virtual application is met. Therefore, the invention effectively overcomes various defects in the prior art and has high industrial utilization value.
The foregoing embodiments are merely illustrative of the principles and utilities of the present invention and are not intended to limit the invention. Any person skilled in the art can modify or change the above-mentioned embodiments without departing from the spirit and scope of the present invention. Accordingly, it is intended that all equivalent modifications or changes which can be made by those skilled in the art without departing from the spirit and technical spirit of the present invention be covered by the claims of the present invention.

Claims (7)

1. A virtual application management method is characterized in that the method is applied to a virtual application coordination system comprising a server, a virtual application, a host virtual machine, a host physical host machine and/or a standby physical host machine; the virtual application management method comprises the following steps:
selecting a main physical host machine needing to deploy the virtual application from a plurality of computing nodes according to the resource utilization condition of the computing nodes, and storing the position of the host machine as a snapshot of the deployed virtual application;
setting a snapshot creating period of the virtual application;
storing the created snapshot at a specified snapshot storage position according to the snapshot creation period of the virtual application;
monitoring the running state of the virtual application in real time and the running state of a host physical host machine for deploying the virtual application, and if the virtual application and the host physical host machine for deploying the virtual application are abnormal, processing the virtual application and the host physical host machine by adopting a corresponding processing mode; the abnormal conditions of the virtual application comprise that the virtual application is suddenly off-line, a main physical host is off-line, the main physical host is overloaded, and the main physical host is down;
the corresponding processing mode comprises the following steps:
sending a virtual application offline alarm, and detecting whether the virtual application is offline due to the fact that a host virtual machine of the virtual application is down; if yes, creating a snapshot for the virtual application, creating a new virtual application on a main physical host machine, and deleting the offline virtual application;
if the virtual application is not offline caused by the crash of the host virtual machine of the virtual application, checking whether the virtual application is offline caused by the overload of the host physical host machine serving as the physical foundation of the host virtual machine, if so, migrating the virtual application to the standby physical host machine, and guiding the response service flow to the migrated virtual application; if not, checking whether the physical host is caused by the offline of the main physical host, if so, detecting physical parameters of the main physical host, judging whether the main physical host is down, and if so, restarting the main physical host;
if the restart of the main physical host fails, sending an abnormal alarm of the main physical host and a replacement command for replacing the main physical host, automatically installing an operating system for the main physical host, creating a virtual application in the replaced main physical host according to the created snapshot after the operating system is installed, and guiding the corresponding service flow to the created virtual application.
2. The virtual application management method according to claim 1,
and after the main physical host machine recovers the normal working state, migrating the virtual application migrated to the standby physical host machine back to the main physical host machine.
3. The virtual application management method according to claim 1,
and detecting the physical parameters of the host physical host machine through an intelligent platform management interface and restarting the host physical host machine.
4. The virtual application management method according to claim 1,
the running state of the virtual application comprises the utilization rates of a virtual memory and a CPU;
the operating conditions of the host physical host include CPU, memory, storage usage, fan, temperature, and/or power state.
5. A virtual application management system is characterized in that the virtual application management system is applied to a virtual application coordination system comprising a server, a virtual application, a host virtual machine, a host physical host and/or a standby physical host; the virtual application management system includes:
the selection module is used for selecting a host physical host machine needing to deploy the virtual application from the plurality of computing nodes according to the resource utilization condition of the computing nodes and storing the position of the deployed host physical host machine for the snapshot of the deployed virtual application;
the setting module is used for setting a snapshot creating period of the virtual application;
the storage module is used for storing the created snapshot in a specified snapshot storage position according to the snapshot creation cycle of the virtual application;
the processing module is used for monitoring the running condition of the virtual application in real time and the running condition of a host physical host machine for deploying the virtual application, and if the virtual application and the host physical host machine for deploying the virtual application are abnormal, the virtual application and the host physical host machine are processed in a corresponding processing mode; the abnormal conditions of the virtual application comprise that the virtual application is suddenly off-line, a main physical host is off-line, the main physical host is overloaded, and the main physical host is down;
the processing mode corresponding to the processing module comprises the following steps:
sending a virtual application offline alarm, and detecting whether the virtual application is offline due to the fact that a host virtual machine of the virtual application is down; if yes, creating a snapshot for the virtual application, creating a new virtual application on a main physical host machine, and deleting the offline virtual application;
if the virtual application is not offline caused by the crash of the host virtual machine of the virtual application, checking whether the virtual application is offline caused by the overload of the host physical host machine serving as the physical foundation of the host virtual machine, if so, migrating the virtual application to the standby physical host machine, and guiding the response service flow to the migrated virtual application; if not, checking whether the physical host is caused by the offline of the main physical host, if so, detecting physical parameters of the main physical host, judging whether the main physical host is down, and if so, restarting the main physical host;
if the restart of the main physical host fails, sending an abnormal alarm of the main physical host and a replacement command for replacing the main physical host, automatically installing an operating system for the main physical host, creating a virtual application in the replaced main physical host according to the created snapshot after the operating system is installed, and guiding the corresponding service flow to the created virtual application.
6. A computer-readable storage medium on which a computer program is stored, which, when being executed by a processor, carries out the virtual application management method of any one of claims 1 to 4.
7. A server, comprising: a processor and a memory;
the memory is used for storing computer programs, and the processor is used for executing the computer programs stored by the memory so as to enable the server to execute the virtual application management method according to any one of claims 1 to 4.
CN201711261440.2A 2017-12-04 2017-12-04 Virtual application management method/system, computer readable storage medium and server Active CN108170507B (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN201711261440.2A CN108170507B (en) 2017-12-04 2017-12-04 Virtual application management method/system, computer readable storage medium and server

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN201711261440.2A CN108170507B (en) 2017-12-04 2017-12-04 Virtual application management method/system, computer readable storage medium and server

Publications (2)

Publication Number Publication Date
CN108170507A CN108170507A (en) 2018-06-15
CN108170507B true CN108170507B (en) 2022-02-22

Family

ID=62524311

Family Applications (1)

Application Number Title Priority Date Filing Date
CN201711261440.2A Active CN108170507B (en) 2017-12-04 2017-12-04 Virtual application management method/system, computer readable storage medium and server

Country Status (1)

Country Link
CN (1) CN108170507B (en)

Families Citing this family (4)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN111045693A (en) * 2019-11-18 2020-04-21 集奥聚合(北京)人工智能科技有限公司 Deployment method and device based on intelligent voice outbound system
CN111722911A (en) * 2020-06-23 2020-09-29 浪潮云信息技术股份公司 Method for automatically evacuating cloud center host machine when shutdown occurs
CN113312142B (en) * 2021-02-26 2023-12-26 阿里巴巴集团控股有限公司 Virtualized processing system, method, device and equipment
CN113778695B (en) * 2021-11-12 2022-04-29 深圳华锐分布式技术股份有限公司 Memory snapshot management method, device, equipment and medium crossing application life cycle

Citations (10)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN102708018A (en) * 2012-04-20 2012-10-03 华为技术有限公司 Method and system for exception handling, proxy equipment and control device
CN103107905A (en) * 2011-11-14 2013-05-15 华为技术有限公司 Method, device and client side of exception handling
CN104917630A (en) * 2015-04-15 2015-09-16 深圳市深信服电子科技有限公司 Method for recovering virtual network and system for recovering virtual network
CN105577408A (en) * 2014-09-25 2016-05-11 中兴通讯股份有限公司 Method of VNFM disaster recovery protection, apparatus and NFVO thereof
CN106445636A (en) * 2016-09-28 2017-02-22 郑州云海信息技术有限公司 Dynamic resource scheduling algorithm under PAAS platform
CN106612312A (en) * 2015-10-23 2017-05-03 中兴通讯股份有限公司 Virtualized data center scheduling system and method
CN106980514A (en) * 2016-01-19 2017-07-25 阿里巴巴集团控股有限公司 The update method and device of configuration data
EP3223456A1 (en) * 2016-03-24 2017-09-27 Alcatel Lucent Method for migration of virtual network function
WO2017190758A1 (en) * 2016-05-02 2017-11-09 Nokia Solutions And Networks Oy Snapshot creation in virtual network environment
CN107395710A (en) * 2017-07-17 2017-11-24 郑州云海信息技术有限公司 A kind of configuration of cloud platform network element and High Availabitity HA implementation methods and device

Family Cites Families (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US9436556B2 (en) * 2013-07-09 2016-09-06 Delphix Corp. Customizable storage system for virtual databases

Patent Citations (10)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN103107905A (en) * 2011-11-14 2013-05-15 华为技术有限公司 Method, device and client side of exception handling
CN102708018A (en) * 2012-04-20 2012-10-03 华为技术有限公司 Method and system for exception handling, proxy equipment and control device
CN105577408A (en) * 2014-09-25 2016-05-11 中兴通讯股份有限公司 Method of VNFM disaster recovery protection, apparatus and NFVO thereof
CN104917630A (en) * 2015-04-15 2015-09-16 深圳市深信服电子科技有限公司 Method for recovering virtual network and system for recovering virtual network
CN106612312A (en) * 2015-10-23 2017-05-03 中兴通讯股份有限公司 Virtualized data center scheduling system and method
CN106980514A (en) * 2016-01-19 2017-07-25 阿里巴巴集团控股有限公司 The update method and device of configuration data
EP3223456A1 (en) * 2016-03-24 2017-09-27 Alcatel Lucent Method for migration of virtual network function
WO2017190758A1 (en) * 2016-05-02 2017-11-09 Nokia Solutions And Networks Oy Snapshot creation in virtual network environment
CN106445636A (en) * 2016-09-28 2017-02-22 郑州云海信息技术有限公司 Dynamic resource scheduling algorithm under PAAS platform
CN107395710A (en) * 2017-07-17 2017-11-24 郑州云海信息技术有限公司 A kind of configuration of cloud platform network element and High Availabitity HA implementation methods and device

Non-Patent Citations (2)

* Cited by examiner, † Cited by third party
Title
AMNESiA: Affinity measurement platform for NFV-enabled networks;Arthur Selle Jacobs;《2017 IFIP/IEEE Symposium on Integrated Network and Service Management (IM)》;20170724;899-900 *
NFV可靠性探讨;杨旭;《电信科学》;20170731;第33卷(第7期);136-143 *

Also Published As

Publication number Publication date
CN108170507A (en) 2018-06-15

Similar Documents

Publication Publication Date Title
CN108170507B (en) Virtual application management method/system, computer readable storage medium and server
CN110389900B (en) Distributed database cluster testing method and device and storage medium
CN107526659B (en) Method and apparatus for failover
US9582377B1 (en) Dynamic sizing of storage capacity for a remirror buffer
CN109669762B (en) Cloud computing resource management method, device, equipment and computer readable storage medium
US20150149813A1 (en) Failure recovery system and method of creating the failure recovery system
CN108347339B (en) Service recovery method and device
CN108319492B (en) Method, device and system for resetting physical machine
CN103200036A (en) Automated configuration method of electrical power system cloud computing platform
EP2645635B1 (en) Cluster monitor, method for monitoring a cluster, and computer-readable recording medium
CN115297124B (en) System operation and maintenance management method and device and electronic equipment
CN111897697A (en) Server hardware fault repairing method and device
CN112199240B (en) Method for switching nodes during node failure and related equipment
CN111418187A (en) Scalable statistics and analysis mechanism in cloud networks
CN105849699B (en) Method for controlling data center architecture equipment
CN113704046B (en) Fault alarm processing method and device, equipment and storage medium
CN115766405B (en) Fault processing method, device, equipment and storage medium
CN112256384B (en) Service set processing method and device based on container technology and computer equipment
CN111880905B (en) Method for migrating virtual machines across cells by using openstack
CN107783855B (en) Fault self-healing control device and method for virtual network element
CN112241293A (en) Application management method, device, equipment and medium for industrial internet cloud platform
CN115333944B (en) Virtual machine cluster IP resource configuration method, system, equipment and storage medium
CN116880956A (en) Automatic deployment method and system applied to digital factory
CN112799602B (en) Online capacity expansion method for cloud hard disk
CN115499296B (en) Cloud desktop hot standby management method, device and system

Legal Events

Date Code Title Description
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