CN105991345A - Virtual machine fault processing method and virtual machine fault processing device - Google Patents
Virtual machine fault processing method and virtual machine fault processing device Download PDFInfo
- Publication number
- CN105991345A CN105991345A CN201510205388.3A CN201510205388A CN105991345A CN 105991345 A CN105991345 A CN 105991345A CN 201510205388 A CN201510205388 A CN 201510205388A CN 105991345 A CN105991345 A CN 105991345A
- Authority
- CN
- China
- Prior art keywords
- virtual machine
- restart request
- request
- malfunction
- application delivery
- 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.)
- Pending
Links
Classifications
-
- H—ELECTRICITY
- H04—ELECTRIC COMMUNICATION TECHNIQUE
- H04L—TRANSMISSION OF DIGITAL INFORMATION, e.g. TELEGRAPHIC COMMUNICATION
- H04L41/00—Arrangements for maintenance, administration or management of data switching networks, e.g. of packet switching networks
- H04L41/06—Management of faults, events, alarms or notifications
- H04L41/0654—Management of faults, events, alarms or notifications using network fault recovery
- H04L41/0659—Management of faults, events, alarms or notifications using network fault recovery by isolating or reconfiguring faulty entities
- H04L41/0661—Management of faults, events, alarms or notifications using network fault recovery by isolating or reconfiguring faulty entities by reconfiguring faulty entities
-
- H—ELECTRICITY
- H04—ELECTRIC COMMUNICATION TECHNIQUE
- H04L—TRANSMISSION OF DIGITAL INFORMATION, e.g. TELEGRAPHIC COMMUNICATION
- H04L41/00—Arrangements for maintenance, administration or management of data switching networks, e.g. of packet switching networks
- H04L41/06—Management of faults, events, alarms or notifications
- H04L41/0604—Management of faults, events, alarms or notifications using filtering, e.g. reduction of information by using priority, element types, position or time
-
- H—ELECTRICITY
- H04—ELECTRIC COMMUNICATION TECHNIQUE
- H04L—TRANSMISSION OF DIGITAL INFORMATION, e.g. TELEGRAPHIC COMMUNICATION
- H04L41/00—Arrangements for maintenance, administration or management of data switching networks, e.g. of packet switching networks
- H04L41/06—Management of faults, events, alarms or notifications
- H04L41/0654—Management of faults, events, alarms or notifications using network fault recovery
Landscapes
- Engineering & Computer Science (AREA)
- Computer Networks & Wireless Communication (AREA)
- Signal Processing (AREA)
- Debugging And Monitoring (AREA)
Abstract
The invention provides a virtual machine fault processing method and a virtual machine fault processing device. The virtual machine fault processing method is applied to an application delivery gateway. The method includes the following steps that: whether a virtual machine is in a fault state is detected; and a virtual machine restart request is sent to a virtual machine control device according to a detection result, so that the virtual machine control device can restart the virtual machine according to the virtual machine restart request. According to the virtual machine fault processing method and the virtual machine fault processing device of the invention, troubleshooting is carried out on the virtual machine through the application delivery gateway, and the fault of the virtual machine is processed through the virtual machine control device, and therefore, manual intervention in the troubleshooting and processing process of the virtual machine can be avoided, and thus, the effectiveness of the troubleshooting and processing of the virtual machine can be improved.
Description
Technical field
The present invention relates to field of computer technology, particularly relate to a kind of virtual-machine fail processing method and processing device.
Background technology
Along with the development of computer technology, in order to reduce management cost and the safety of the network equipment, generally
Fictionalize multiple virtual machine on network devices.But, virtual machine has fragile and unstable properties etc.
Shortcoming, is in operation and is susceptible to fault.
In prior art, generally investigated by manager's virtual machine is in operation fault occurred, and
After determining that virtual machine breaks down, manager this fault is processed.As can be seen here, exist at present
All using the mode that artificial participation processes when investigating virtual-machine fail and process, this mode exists
Malfunction elimination and the relatively low problem for the treatment of effeciency.
Summary of the invention
The present invention provides a kind of virtual-machine fail processing method and processing device, with solve virtual-machine fail investigation and
The problem that treatment effeciency is relatively low.
First aspect according to embodiments of the present invention, it is provided that a kind of virtual-machine fail processing method, described side
Method is applied on application delivery gateway, and described method includes:
Whether detection virtual machine is in malfunction;
According to the result of described detection, control equipment to virtual machine and send virtual machine Restart Request, so that institute
State virtual machine control equipment according to described virtual machine Restart Request, described virtual machine is restarted.
Second aspect according to embodiments of the present invention, it is provided that a kind of virtual-machine fail processing method, described side
Method is applied on virtual machine control equipment, and described method includes:
Receive the virtual machine Restart Request that application delivery gateway sends;
According to described virtual machine Restart Request, virtual machine is restarted.
The third aspect according to embodiments of the present invention, it is provided that a kind of virtual-machine fail processing means, described dress
Putting and apply on application delivery gateway, described device includes:
Detector unit, is used for detecting whether virtual machine is in malfunction;
Transmitting element, for the result according to described detection, controls equipment to virtual machine and sends virtual machine weight
Open request, so that described virtual machine control equipment is according to described virtual machine Restart Request, to described virtual machine
Restart.
Fourth aspect according to embodiments of the present invention, it is provided that a kind of virtual-machine fail processing means, described dress
Putting and apply on virtual machine control equipment, described device includes:
Receive unit, for receiving the virtual machine Restart Request that application delivery gateway sends;
Restart unit, for according to described virtual machine Restart Request, virtual machine is restarted.
The invention has the beneficial effects as follows:
In the embodiment of the present invention, application delivery gateway detect whether this virtual machine breaks down, and really
When this virtual machine fixed breaks down, control equipment to virtual machine and send virtual machine Restart Request, by virtual machine
This virtual machine is restarted by control equipment.As can be seen here, the present invention passes through by application delivery gateway void
Plan machine carries out malfunction elimination, virtual machine control equipment and process the fault of virtual machine, can avoid
The artificial malfunction elimination participating in virtual machine and processing procedure, such that it is able to improve virtual-machine fail investigation and place
The efficiency of reason.
Accompanying drawing explanation
Fig. 1 is that the application embodiment of the present invention realizes the application scenarios schematic diagram that virtual-machine fail processes;
Fig. 2 is an embodiment flow chart of virtual-machine fail processing method of the present invention;
Fig. 3 is another embodiment flow chart of virtual-machine fail processing method of the present invention;
Fig. 4 is another embodiment flow chart of virtual-machine fail processing method of the present invention;
Fig. 5 is a kind of hardware structure diagram of virtual-machine fail processing means place of the present invention equipment;
Fig. 6 is an embodiment block diagram of virtual-machine fail processing means of the present invention;
Fig. 7 is another embodiment block diagram of virtual-machine fail processing means of the present invention.
Detailed description of the invention
For the technical scheme making those skilled in the art be more fully understood that in the embodiment of the present invention, and make
The above-mentioned purpose of the embodiment of the present invention, feature and advantage can become apparent from understandable, the most right
In the embodiment of the present invention, technical scheme is described in further detail.
See Fig. 1, realize, for the application embodiment of the present invention, the application scenarios schematic diagram that virtual-machine fail processes.
In Fig. 1, the network equipment can be server etc., can fictionalize multiple virtual machine on network devices,
Virtual machine controls equipment and may be used for controlling startup and the stopping of the virtual machine of setting on the network equipment
System, application delivery gateway may be used for realizing the load balancing of the virtual machine on the network equipment, will access
On the network equipment, the request of data of resource balancedly distributes to each virtual machine, and the number returned by virtual machine
The request of data equipment of correspondence it is sent to according to response.
In the embodiment of the present invention, application delivery gateway detect whether this virtual machine breaks down, and really
When this virtual machine fixed breaks down, control equipment to virtual machine and send virtual machine Restart Request, by virtual machine
This virtual machine is restarted by control equipment.As can be seen here, the present invention passes through by application delivery gateway void
Plan machine carries out malfunction elimination, virtual machine control equipment and process the fault of virtual machine, can avoid
The artificial malfunction elimination participating in virtual machine and processing procedure, such that it is able to improve virtual-machine fail investigation and place
The efficiency of reason.
See Fig. 2, for an embodiment flow chart of virtual-machine fail processing method of the present invention, this enforcement
Example is described from application delivery gateway side, may comprise steps of:
Whether step 201, detection virtual machine are in malfunction.
In the present embodiment, first application delivery gateway can control equipment to virtual machine and send virtual machine information
Request, so that virtual machine controls equipment and asks according to virtual machine information, obtains virtual machine from the network equipment
Information, and virtual machine information is returned to application delivery gateway.Due to the virtual machine arranged on the network equipment
Information it may happen that change, therefore at application delivery gateway detection virtual machine whether the present embodiment by
Before being in malfunction, from the network equipment, obtain the virtual machine information of reality, and based on this virtual machine
Information carries out malfunction elimination and troubleshooting, can improve the accuracy of malfunction elimination and troubleshooting.
Application delivery gateway, after obtaining virtual machine information, can periodically detect and arrange on the network equipment
Virtual machine whether be in malfunction.For each detection cycle, application delivery gateway can first to
The network equipment sends the request of data of information including virtual machine, the network equipment after receiving request of data,
According to the information of the virtual machine in request of data, this request of data is sent to the virtual machine of correspondence.Due to
When virtual machine is in malfunction, virtual machine will not return data response to application delivery gateway;Work as void
When plan machine is not at malfunction, virtual machine can return data to application delivery gateway within the regular hour
Response, therefore, application delivery gateway can be by judging whether to receive this void in the first Preset Time
The data response that plan machine returns, determines whether this virtual machine is in malfunction.
Step 202, result according to this detection, control equipment to virtual machine and send virtual machine Restart Request,
So that this virtual machine control equipment is according to this virtual machine Restart Request, this virtual machine is restarted.
In the present embodiment, when detecting that virtual machine is in malfunction, first application delivery gateway can be
Judge that whether this virtual machine is continuously in the duration of malfunction more than the second Preset Time, the most then to
Virtual machine controls equipment and sends the virtual machine Restart Request of the information including this virtual machine, so that virtual machine control
Control equipment is after receiving this virtual machine Restart Request, according to the virtual machine in this virtual machine Restart Request
Information, restarts virtual machine corresponding on the network equipment;Otherwise, current process is terminated.This enforcement
When example by being continuously in the duration of malfunction more than the second Preset Time at this virtual machine, just to virtual
Machine controls equipment and sends virtual machine Restart Request, can improve the accuracy of malfunction elimination.It addition, in inspection
Measure virtual machine when being not at malfunction, terminate current process.
It is to be noted that first application delivery gateway can determine that testing result is that this virtual machine is in event
In continuous print multiple detection cycle of barrier state, then count the duration in these detection cycles, and will
The duration counted is added, thus obtains virtual machine and be continuously in the duration of malfunction.
Controlling equipment at application delivery gateway to virtual machine and send virtual machine Restart Request, virtual machine controls to set
Standby according to this virtual machine Restart Request, after restarting virtual machine corresponding on the network equipment, application is handed over
Pay gateway and can again detect whether this virtual machine is still within malfunction, the most then at interval of one section
Time, control equipment to virtual machine and send the virtual machine Restart Request of the information including this virtual machine, so that
This virtual machine, after receiving this virtual machine Restart Request, is restarted by this virtual machine control equipment again,
Until this virtual machine is no longer on malfunction.The present embodiment is by being still within event after virtual machine is restarted
During barrier state, this virtual machine is carried out interval and restarts, until this virtual machine recovers normal, event can be improved
The accuracy that barrier processes.
As seen from the above-described embodiment, application delivery gateway detect whether this virtual machine breaks down, and
Determine when this virtual machine breaks down, control equipment to virtual machine and send virtual machine Restart Request, by virtual
Machine controls equipment and restarts this virtual machine.As can be seen here, the present invention is by by application delivery gateway pair
Virtual machine carries out malfunction elimination, virtual machine control equipment and process the fault of virtual machine, can keep away
Exempt from artificially to participate in malfunction elimination and the processing procedure of virtual machine, such that it is able to improve virtual-machine fail investigation and
The efficiency processed.
Seeing Fig. 3, for another embodiment flow chart of virtual-machine fail processing method of the present invention, this is real
Execute example to be described from virtual machine control equipment side, comprise the following steps:
The virtual machine Restart Request that step 301, reception application delivery gateway send.
In the present embodiment, first application delivery gateway can control equipment to virtual machine and send virtual machine information
Request.Virtual machine control equipment, can be according to this virtual machine information after receiving virtual machine information request
Request, obtains virtual machine information from the network equipment, and virtual machine information returns to application delivery gateway.
Hereafter, when application delivery gateway detects that virtual machine breaks down, control equipment to virtual machine and send bag
Include the virtual machine Restart Request of the information of this virtual machine.
Step 302, according to this virtual machine Restart Request, virtual machine is restarted.
In the present embodiment, virtual machine control equipment is after receiving virtual machine Restart Request, virtual according to this
The information of the virtual machine in machine Restart Request, restarts the corresponding virtual machine arranged on the network equipment.
Embodiment illustrated in fig. 3 is consistent with the description of aforementioned embodiment illustrated in fig. 2, and it differs only in execution
Main body is different, does not repeats them here.
As seen from the above-described embodiment, application delivery gateway detect whether this virtual machine breaks down, and
Determine when this virtual machine breaks down, control equipment to virtual machine and send virtual machine Restart Request, by virtual
Machine controls equipment and restarts this virtual machine.As can be seen here, the present invention is by by application delivery gateway pair
Virtual machine carries out malfunction elimination, virtual machine control equipment and process the fault of virtual machine, can keep away
Exempt from artificially to participate in malfunction elimination and the processing procedure of virtual machine, such that it is able to improve virtual-machine fail investigation and
The efficiency processed.
See Fig. 4, for another embodiment flow chart of virtual-machine fail processing method of the present invention.At this
In embodiment, ESX/ESXi main frame fictionalizes multiple virtual machine, this ESX/ESXi main frame is installed
Having vCenter platform, this vCenter platform is for controlling the virtual environment on ESX/ESXi main frame
System, wherein storage has IP (Internet Protocol, the net of each virtual machine on ESX/ESXi main frame
Network agreement) information such as address.It addition, use UMC (United Microelectronics
Corporation, joins core) control equipment to the startup of the virtual machine on ESX/ESXi main frame and stop into
Row controls, and uses ADX application delivery gateway to realize the load balancing of the virtual machine on ESX/ESXi main frame,
The request of data of resource on ESX/ESXi main frame will be accessed and balancedly distribute to each virtual machine.This enforcement
Example, by ADX application delivery gateway, mutual between ESX/ESXi main frame and UMC control equipment, is come in detail
The thin process describing virtual-machine fail process, the method may comprise steps of:
Step 401, ADX application delivery gateway control equipment to UMC and send virtual machine information request.
Step 402, UMC control to obtain in equipment vCenter platform from ESX/ESXi main frame
The IP address of the virtual machine on ESX/ESXi main frame.
Step 403, UMC control equipment and are sent to the IP address of the virtual machine on ESX/ESXi main frame
ADX application delivery gateway.
In the present embodiment, ADX application delivery gateway is at the IP of the virtual machine obtained on ESX/ESXi main frame
Behind address, the information such as the IP address of this virtual machine and name can be shown at ADX application delivery gateway side
Display screen on.
Step 404, the ADX application delivery gateway virtual machine on ESX/ESXi main frame sends request of data,
This request of data can include the IP address of ADX application delivery gateway and the IP address etc. of virtual machine.
Step 405, ADX application delivery gateway judge whether virtual machine returns data in the first Preset Time
Response, if, it is determined that this virtual machine is not at malfunction, performs step 411;Otherwise, it determines
This virtual machine is in malfunction, performs step 406.
Step 406, ADX application delivery gateway judge whether the current detection cycle terminates, the most then perform
Step 407, otherwise, performs step 406.
The duration in step 407, ADX application delivery gateway cumulative statistics history detection cycle, in this, as void
Plan machine is continuously in the duration of malfunction, performs step 408.
Step 408, ADX application delivery gateway judge that virtual machine is continuously in the duration of malfunction and whether surpasses
Cross the second Preset Time, the most then perform step 409, otherwise, perform step 411.
Step 409, ADX application delivery gateway control equipment to UMC and send virtual machine Restart Request, this void
Plan machine restarts the IP address etc. of IP address and the virtual machine that can include ADX application delivery gateway in message.
Step 410, UMC control the equipment IP address according to the virtual machine in virtual machine Restart Request, right
Virtual machine corresponding on ESX/ESXi main frame is restarted, and returns and performs step 404.
In the present embodiment, first UMC control equipment, after receiving virtual machine Restart Request, can eject
The login page of vCenter platform, is inputted on the login page of this vCenter platform by manager and tests
Card information, this checking information is verified by the vCenter platform on ESX/ESXi main frame.
When being verified, representing that this manager is legal, ESX/ESXi main frame and UMC control equipment and set up
Connect, and UMC controls the equipment IP address according to the virtual machine in virtual machine Restart Request, it is judged that should
Whether this virtual machine is possessed of control power limit by manager, if having, then UMC controls equipment according to virtual machine weight
Open the IP address of virtual machine in request, virtual machine corresponding on ESX/ESXi main frame restarted,
Otherwise, step 411 is performed.When checking is not passed through, represent that this manager is illegal, perform step 411.
Specifically, UMC control equipment can prestore manager's control authority to virtual machine,
Judging whether this virtual machine is possessed of control power in limited time by this manager, UMC controls equipment can be first from advance
The control authority first stored finds out the IP address of the controllable virtual machine of this manager, then judges void
Whether the IP address of the virtual machine in plan machine Restart Request belongs to the IP of the controllable virtual machine of this manager
Address, the most then UMC controls the equipment IP address according to the virtual machine in virtual machine Restart Request, right
Virtual machine corresponding on ESX/ESXi main frame is restarted, and otherwise, performs step 411.The present embodiment leads to
Cross limitation management person's control authority to virtual machine, the safety of troubleshooting can be improved.
Step 411, end current process.
As seen from the above-described embodiment, application delivery gateway detect whether this virtual machine breaks down, and
Determine when this virtual machine breaks down, control equipment to virtual machine and send virtual machine Restart Request, by virtual
Machine controls equipment and restarts this virtual machine.As can be seen here, the present invention is by by application delivery gateway pair
Virtual machine carries out malfunction elimination, virtual machine control equipment and process the fault of virtual machine, can keep away
Exempt from artificially to participate in malfunction elimination and the processing procedure of virtual machine, such that it is able to improve virtual-machine fail investigation and
The efficiency processed.
Corresponding with aforementioned virtual machine fault handling method embodiment, present invention also offers virtual-machine fail
The embodiment of processing means.
The embodiment of virtual-machine fail processing means of the present invention can be applied respectively in application delivery gateway and void
On plan machine control equipment.Device embodiment can be realized by software, it is also possible to by hardware or soft or hard
The mode that part combines realizes.As a example by implemented in software, as the device on a logical meaning, it is to pass through
Computer program instructions corresponding in nonvolatile memory is read internal memory by the processor of its place equipment
Middle operation is formed.For hardware view, as it is shown in figure 5, process dress for virtual-machine fail of the present invention
Put a kind of hardware structure diagram of place equipment, except the processor shown in Fig. 5, network interface, memorizer
Outside, in embodiment, the equipment at device place generally can also include other hardware, such as responsible process message
Forwarding chip etc.;This equipment from the point of view of from hardware configuration, it is also possible that distributed equipment, may wrap
Include multiple interface card, in order to carry out the extension of Message processing at hardware view.
See Fig. 6, for an embodiment block diagram of virtual-machine fail processing means of the present invention, described device
Applying on application delivery gateway, described device includes:
Detector unit 610, is used for detecting whether virtual machine is in malfunction;
Transmitting element 620, for the result according to described detection, controls equipment to virtual machine and sends virtual
Machine Restart Request, so that described virtual machine control equipment is according to described virtual machine Restart Request, to described void
Plan machine is restarted.
In an optional implementation:
Described detector unit 610, be additionally operable to virtual machine control equipment send virtual machine Restart Request it
After, detect whether described virtual machine is in malfunction, the most after a time interval, to institute
State virtual machine and control equipment transmission virtual machine Restart Request, so that described virtual machine controls equipment according to described
Virtual machine Restart Request, restarts described virtual machine.
In another optional implementation:
Described transmitting element 620, is additionally operable to before whether detection virtual machine is in malfunction, to institute
State virtual machine and control equipment transmission virtual machine information request, so that described virtual machine controls equipment according to described
Virtual machine information is asked, and obtains virtual machine information;Receive described virtual machine and control the virtual machine that equipment returns
Information;
Described detector unit 610, specifically for sending the information including described virtual machine to described virtual machine
Request of data;Judge whether in the first Preset Time, receive the data response that described virtual machine returns,
If, it is determined that described virtual machine is not at malfunction, otherwise, it determines described virtual machine is in fault
State;
Described transmitting element 620, includes described virtual specifically for controlling equipment transmission to described virtual machine
The virtual machine Restart Request of the information of machine.
In another optional implementation:
Described device also includes: judging unit 630, for determining that described virtual machine is in malfunction
Afterwards, it is judged that whether described virtual machine is continuously in the duration of malfunction more than the second Preset Time;
Described transmitting element 620, if specifically for described virtual machine be continuously in malfunction duration surpass
Cross described second Preset Time, then control equipment to virtual machine and send virtual machine Restart Request.
As seen from the above-described embodiment, application delivery gateway detect whether this virtual machine breaks down, and
Determine when this virtual machine breaks down, control equipment to virtual machine and send virtual machine Restart Request, by virtual
Machine controls equipment and restarts this virtual machine.As can be seen here, the present invention is by by application delivery gateway pair
Virtual machine carries out malfunction elimination, virtual machine control equipment and process the fault of virtual machine, can keep away
Exempt from artificially to participate in malfunction elimination and the processing procedure of virtual machine, such that it is able to improve virtual-machine fail investigation and
The efficiency processed.
See Fig. 7, for another embodiment block diagram of virtual-machine fail processing means of the present invention, described dress
Putting and apply on virtual machine control equipment, described device includes:
Receive unit 710, for receiving the virtual machine Restart Request that application delivery gateway sends;
Restart unit 720, for according to described virtual machine Restart Request, virtual machine is restarted.
In an optional implementation:
Described reception unit 710, is additionally operable to receiving the virtual machine Restart Request that application delivery gateway sends
Before, the virtual machine information request that described application delivery gateway sends is received;
Described device also includes:
Acquiring unit 730, for asking according to described virtual machine information, obtains virtual machine information;
Transmitting element 740, for sending described virtual machine information to described application delivery gateway;
Described reception unit 710, includes described virtual machine specifically for what reception application delivery gateway sent
The virtual machine Restart Request of information.
In said apparatus, the function of unit and the process that realizes of effect specifically refer in said method corresponding
Step realize process, do not repeat them here.
For device embodiment, owing to it corresponds essentially to embodiment of the method, so relevant part ginseng
See that the part of embodiment of the method illustrates.Device embodiment described above is only schematically,
The wherein said unit illustrated as separating component can be or may not be physically separate, makees
The parts shown for unit can be or may not be physical location, i.e. may be located at a place,
Or can also be distributed on multiple NE.Can select according to the actual needs part therein or
The whole module of person realizes the purpose of the present invention program.Those of ordinary skill in the art are not paying creativeness
In the case of work, i.e. it is appreciated that and implements.
As seen from the above-described embodiment, application delivery gateway detect whether this virtual machine breaks down, and
Determine when this virtual machine breaks down, control equipment to virtual machine and send virtual machine Restart Request, by virtual
Machine controls equipment and restarts this virtual machine.As can be seen here, the present invention is by by application delivery gateway pair
Virtual machine carries out malfunction elimination, virtual machine control equipment and process the fault of virtual machine, can keep away
Exempt from artificially to participate in malfunction elimination and the processing procedure of virtual machine, such that it is able to improve virtual-machine fail investigation and
The efficiency processed.
Those skilled in the art, after considering description and putting into practice invention disclosed herein, will readily occur to this
Other embodiment of invention.The application is intended to any modification, purposes or the adaptability of the present invention
Change, these modification, purposes or adaptations are followed the general principle of the present invention and include this
Bright undocumented common knowledge in the art or conventional techniques means.Description and embodiments only by
Being considered as exemplary, true scope and spirit of the invention are pointed out by claim below.
It should be appreciated that the invention is not limited in described above and illustrated in the accompanying drawings accurately
Structure, and various modifications and changes can carried out without departing from the scope.The scope of the present invention is only by institute
Attached claim limits.
Claims (12)
1. a virtual-machine fail processing method, described method is applied on application delivery gateway, its feature
Being, described method includes:
Whether detection virtual machine is in malfunction;
According to the result of described detection, control equipment to virtual machine and send virtual machine Restart Request, so that institute
State virtual machine control equipment according to described virtual machine Restart Request, described virtual machine is restarted.
Method the most according to claim 1, it is characterised in that send controlling equipment to virtual machine
After virtual machine Restart Request, described method also includes:
Detect whether described virtual machine is in malfunction, the most after a time interval, to institute
State virtual machine and control equipment transmission virtual machine Restart Request, so that described virtual machine controls equipment according to described
Virtual machine Restart Request, restarts described virtual machine.
Method the most according to claim 1 and 2, it is characterised in that whether locate at detection virtual machine
Before malfunction, described method includes:
Control equipment to described virtual machine and send virtual machine information request, so that described virtual machine controls equipment
Ask according to described virtual machine information, obtain virtual machine information;
Receive described virtual machine and control the virtual machine information that equipment returns;
Whether described detection virtual machine is in malfunction includes:
The request of data of the information including described virtual machine is sent to described virtual machine;
Judge whether in the first Preset Time, to receive the data response that described virtual machine returns, if so,
Then determine that described virtual machine is not at malfunction, otherwise, it determines described virtual machine is in malfunction;
Described to virtual machine control equipment send virtual machine Restart Request include:
Control equipment to described virtual machine and send the virtual machine Restart Request of the information including described virtual machine.
Method the most according to claim 1, it is characterised in that determining that described virtual machine is in event
After barrier state, described method also includes:
Judge that whether described virtual machine is continuously in the duration of malfunction more than the second Preset Time;
The described result according to described detection, controls equipment transmission virtual machine Restart Request to virtual machine and includes:
If the duration that described virtual machine is continuously in malfunction exceedes described second Preset Time, then to void
Plan machine controls equipment and sends virtual machine Restart Request.
5. a virtual-machine fail processing method, described method is applied on virtual machine control equipment, and it is special
Levying and be, described method includes:
Receive the virtual machine Restart Request that application delivery gateway sends;
According to described virtual machine Restart Request, virtual machine is restarted.
Method the most according to claim 5, it is characterised in that send receiving application delivery gateway
Virtual machine Restart Request before, described method also includes:
Receive the virtual machine information request that described application delivery gateway sends;
Ask according to described virtual machine information, obtain virtual machine information;
Described virtual machine information is sent to described application delivery gateway;
The virtual machine Restart Request that described reception application delivery gateway sends includes:
Receive the virtual machine Restart Request of the information including described virtual machine that application delivery gateway sends.
7. a virtual-machine fail processing means, described device is applied on application delivery gateway, its feature
Being, described device includes:
Detector unit, is used for detecting whether virtual machine is in malfunction;
Transmitting element, for the result according to described detection, controls equipment to virtual machine and sends virtual machine weight
Open request, so that described virtual machine control equipment is according to described virtual machine Restart Request, to described virtual machine
Restart.
Device the most according to claim 7, it is characterised in that described detector unit, is additionally operable to
After virtual machine controls equipment transmission virtual machine Restart Request, detect whether described virtual machine is in fault
State, the most after a time interval, controls equipment transmission virtual machine to described virtual machine and restarts
Request, so that described virtual machine control equipment is according to described virtual machine Restart Request, enters described virtual machine
Row is restarted.
9., according to the device described in claim 7 or 8, it is characterised in that described transmitting element, also use
Before whether being in malfunction at detection virtual machine, control equipment to described virtual machine and send virtual machine
Information request, so that described virtual machine controls equipment and asks according to described virtual machine information, obtains virtual machine
Information;Receive described virtual machine and control the virtual machine information that equipment returns;
Described detector unit, specifically for sending the number of the information including described virtual machine to described virtual machine
According to request;Judge whether in the first Preset Time, receive the data response that described virtual machine returns, if
It is, it is determined that described virtual machine is not at malfunction, otherwise, it determines described virtual machine is in fault shape
State;
Described transmitting element, includes described virtual machine specifically for controlling equipment transmission to described virtual machine
The virtual machine Restart Request of information.
Device the most according to claim 7, it is characterised in that described device also includes:
Judging unit, for after determining that described virtual machine is in malfunction, it is judged that described virtual machine
Whether it is continuously in the duration of malfunction more than the second Preset Time;
Described transmitting element, if being continuously in the duration of malfunction specifically for described virtual machine to exceed institute
State the second Preset Time, then control equipment to virtual machine and send virtual machine Restart Request.
11. 1 kinds of virtual-machine fail processing meanss, described device is applied on virtual machine control equipment, its
Being characterised by, described device includes:
Receive unit, for receiving the virtual machine Restart Request that application delivery gateway sends;
Restart unit, for according to described virtual machine Restart Request, virtual machine is restarted.
12. methods according to claim 11, it is characterised in that described reception unit, are additionally operable to
Before receiving the virtual machine Restart Request that application delivery gateway sends, receive described application delivery gateway and send out
The virtual machine information request sent;
Described device also includes:
Acquiring unit, for asking according to described virtual machine information, obtains virtual machine information;
Transmitting element, for sending described virtual machine information to described application delivery gateway;
Described reception unit, specifically for receiving the letter including described virtual machine that application delivery gateway sends
The virtual machine Restart Request of breath.
Priority Applications (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
CN201510205388.3A CN105991345A (en) | 2015-04-27 | 2015-04-27 | Virtual machine fault processing method and virtual machine fault processing device |
Applications Claiming Priority (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
CN201510205388.3A CN105991345A (en) | 2015-04-27 | 2015-04-27 | Virtual machine fault processing method and virtual machine fault processing device |
Publications (1)
Publication Number | Publication Date |
---|---|
CN105991345A true CN105991345A (en) | 2016-10-05 |
Family
ID=57039952
Family Applications (1)
Application Number | Title | Priority Date | Filing Date |
---|---|---|---|
CN201510205388.3A Pending CN105991345A (en) | 2015-04-27 | 2015-04-27 | Virtual machine fault processing method and virtual machine fault processing device |
Country Status (1)
Country | Link |
---|---|
CN (1) | CN105991345A (en) |
Cited By (2)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN108228308A (en) * | 2016-12-21 | 2018-06-29 | 中国电信股份有限公司 | The monitoring method and device of virtual machine |
CN112114937A (en) * | 2020-09-21 | 2020-12-22 | 杭州迪普科技股份有限公司 | Virtual system restarting method and device |
Citations (5)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
US20100325471A1 (en) * | 2009-06-17 | 2010-12-23 | International Business Machines Corporation | High availability support for virtual machines |
CN102346779A (en) * | 2011-10-18 | 2012-02-08 | 中国联合网络通信集团有限公司 | Distributed file system and master control node backup method |
CN103201724A (en) * | 2010-07-30 | 2013-07-10 | 赛门铁克公司 | Providing application high availability in highly-available virtual machine environments |
CN103902401A (en) * | 2014-03-14 | 2014-07-02 | 汉柏科技有限公司 | Virtual machine fault tolerance method and device based on monitoring |
CN104243203A (en) * | 2014-08-28 | 2014-12-24 | 深圳市深信服电子科技有限公司 | Virtual machine transmission interface status switching method and system |
-
2015
- 2015-04-27 CN CN201510205388.3A patent/CN105991345A/en active Pending
Patent Citations (5)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
US20100325471A1 (en) * | 2009-06-17 | 2010-12-23 | International Business Machines Corporation | High availability support for virtual machines |
CN103201724A (en) * | 2010-07-30 | 2013-07-10 | 赛门铁克公司 | Providing application high availability in highly-available virtual machine environments |
CN102346779A (en) * | 2011-10-18 | 2012-02-08 | 中国联合网络通信集团有限公司 | Distributed file system and master control node backup method |
CN103902401A (en) * | 2014-03-14 | 2014-07-02 | 汉柏科技有限公司 | Virtual machine fault tolerance method and device based on monitoring |
CN104243203A (en) * | 2014-08-28 | 2014-12-24 | 深圳市深信服电子科技有限公司 | Virtual machine transmission interface status switching method and system |
Non-Patent Citations (1)
Title |
---|
杭州迪普科技有限公司: ""DPtech ADX应用交付平台技术白皮书"", 《HTTPS://WENKU.BAIDU.COM/VIEW/A362285FBB68A98271FEFAF1.HTML》 * |
Cited By (2)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN108228308A (en) * | 2016-12-21 | 2018-06-29 | 中国电信股份有限公司 | The monitoring method and device of virtual machine |
CN112114937A (en) * | 2020-09-21 | 2020-12-22 | 杭州迪普科技股份有限公司 | Virtual system restarting method and device |
Similar Documents
Publication | Publication Date | Title |
---|---|---|
US6434513B1 (en) | Method of load testing web applications based on performance goal | |
CN107770140A (en) | A kind of single sign-on authentication method and device | |
EP3140960B1 (en) | Methods, systems, and computer readable media for providing fuzz testing functionality | |
CN108270837B (en) | Distributed task scheduling method and system using idle resources | |
CN106998323B (en) | Application layer network attack simulation method, device and system | |
Cotroneo et al. | Dependability evaluation and benchmarking of network function virtualization infrastructures | |
US10523550B2 (en) | Scout functions | |
CN107634871B (en) | Connectivity test method, device and system | |
CN105991345A (en) | Virtual machine fault processing method and virtual machine fault processing device | |
US10613963B2 (en) | Intelligent packet analyzer circuits, systems, and methods | |
CN107590389B (en) | Security testing method and device, electronic equipment and computer storage medium | |
CN106060048A (en) | Network resource access method and network resource access device | |
CN107018039B (en) | Method and device for testing performance bottleneck of server cluster | |
CN103731315A (en) | Server failure detecting method | |
TW201723847A (en) | System and method for automatic testing environment deployment and testing on cloud virtual machine simulating multiple client ends with limited hardware | |
CN106411643A (en) | BMC (Baseboard Management Controller) detection method and device | |
CN109688088B (en) | Method, device and tester for testing escape resistance of network intrusion protection system | |
CN104104555B (en) | Monitoring method, system, control terminal and actuating station | |
CN104580514A (en) | Remote software application debugging method and device based on cloud computing | |
CN111597101B (en) | SDK access state detection method, computer equipment and computer readable storage medium | |
CN111190701A (en) | Method and device for detecting data migration integrity of virtualization platform | |
Hadley et al. | Phantom of the cloud: Towards improved cloud availability and dependability | |
CN113409048B (en) | Block chain docking platform monitoring method, block chain docking platform and electronic device | |
US20240159812A1 (en) | Method for monitoring in a distributed system | |
EP2685381B1 (en) | Coordinated testing |
Legal Events
Date | Code | Title | Description |
---|---|---|---|
C06 | Publication | ||
PB01 | Publication | ||
C10 | Entry into substantive examination | ||
SE01 | Entry into force of request for substantive examination | ||
CB02 | Change of applicant information |
Address after: Binjiang District and Hangzhou city in Zhejiang Province Road 310051 No. 68 in the 6 storey building Applicant after: Hangzhou Dipu Polytron Technologies Inc Address before: Binjiang District and Hangzhou city in Zhejiang Province Road 310051 No. 68 in the 6 storey building Applicant before: Hangzhou Dipu Technology Co., Ltd. |
|
CB02 | Change of applicant information | ||
RJ01 | Rejection of invention patent application after publication |
Application publication date: 20161005 |
|
RJ01 | Rejection of invention patent application after publication |