CN102664763A - Method for rapidly detecting connection states and making virtual machine HA - Google Patents

Method for rapidly detecting connection states and making virtual machine HA Download PDF

Info

Publication number
CN102664763A
CN102664763A CN2012100728626A CN201210072862A CN102664763A CN 102664763 A CN102664763 A CN 102664763A CN 2012100728626 A CN2012100728626 A CN 2012100728626A CN 201210072862 A CN201210072862 A CN 201210072862A CN 102664763 A CN102664763 A CN 102664763A
Authority
CN
China
Prior art keywords
virtual machine
client
connection
clouds
responsible
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
Application number
CN2012100728626A
Other languages
Chinese (zh)
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.)
Inspur Electronic Information Industry Co Ltd
Original Assignee
Inspur Electronic Information Industry 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 Inspur Electronic Information Industry Co Ltd filed Critical Inspur Electronic Information Industry Co Ltd
Priority to CN2012100728626A priority Critical patent/CN102664763A/en
Publication of CN102664763A publication Critical patent/CN102664763A/en
Pending legal-status Critical Current

Links

Abstract

The invention provides a method for rapidly detecting connection states and making a virtual machine HA. Connection between a server and a client is rapidly detected to judge whether the connection is valid, and if the connection is invalid, the virtual machine in a physical machine at the client is restarted in In-Clouds OS. A system comprises a heartbeat detection module and an action processing module, wherein the heartbeat detection module is responsible for communicating with a client agent, and the action processing module is an ultimate objective of a scheme provided in the invention and is responsible for corresponding processing when the connection is invalid including operation of the virtual machine HA. The operation of the virtual machine comprises the steps that: server maintains connection between the client and the server itself,, and the client is requested to respond through the connection to sent a signal to the other side; if a plurality of signals are sent out with no response, the connection is judged to be interrupted, and the virtual machine in the physical machine at the client is restarted in the In-Clouds OS when the connection is interrupted.

Description

A kind of fast detecting connection status is also done the method for virtual machine HA
Technical field
The present invention relates to fields such as virtual, cloud computing, be specifically related to a kind of fast detecting connection status and do the method for virtual machine HA.
Background technology
Traditional server based on the TCP connected reference is used, and after the user accomplishes the operation that he carries out, bumps or the electricity went off if give netting twine because of carelessness; This TCP connects and has broken off in fact, but server and not knowing is also safeguarded this connection; Do not loose but also before will waiting for this connects certain hour, just go to inquire about this connection status, through repeatedly attempting back (yet free interval between each the trial); If still not response; Then judge to connect and interrupt, well imagine that this cycle can be very long.
And that a kind of fast detecting connection status and the method for being virtual machine HA realize that general test connects the time interval of whether interrupting adopting is all shorter, and whether decision that can be very fast connects interrupts.And, owing to be to realize in application layer, because can decide the behavior of having no progeny and take in the connection in its sole discretion when judging.So just being embedded among the sea of clouds OS easily, this method goes.
Summary of the invention
The purpose of this invention is to provide a kind of fast detecting connection status and do the method for virtual machine HA.
The objective of the invention is to realize by following mode; Through the whether also survival that is connected between fast detecting server end and client, lost efficacy if connect, then in sea of clouds OS; Restart the virtual machine on the client physical machine; System comprises: the heartbeat detection module, and the action processing module, wherein:
The heartbeat detection module: be responsible for client agent between communicate by letter;
Action processing module: be the final purpose of this scheme, be responsible for, comprise virtual machine HA operation in the handled that connected after losing efficacy;
Operating procedure is following:
Server end guardian client is connected with oneself; And respond through this connection request client; Send a signal and give the other side, all do not have response, then judge to connect and interrupt if repeatedly send signal; When connect interrupting, then in sea of clouds OS, restart the virtual machine on the client physical machine.
The invention has the beneficial effects as follows: it is all shorter to realize that general test connects the time interval of whether interrupting adopting, and whether decision that can be very fast connects interrupts.And, owing to be to realize in application layer, because can decide the behavior of having no progeny and take in the connection in its sole discretion when judging.So just being embedded among the sea of clouds OS easily, this method goes.
Description of drawings
Accompanying drawing 1 is a kind of fast detecting connection status and the sketch map of doing the method for virtual machine HA.
Embodiment
Explanation at length below with reference to Figure of description method of the present invention being done.
   
Through the whether also survival that is connected between fast detecting server end and client, lost efficacy if connect, then in sea of clouds OS, restart the virtual machine on the client physical machine, system comprises: the heartbeat detection module, the action processing module, wherein:
Wherein, the heartbeat detection module: be the core of whole architectural framework, be responsible for to detect with client between be connected;
The action processing module: be responsible for client and connected when losing efficacy, corresponding action is handled, and comprises the release of connection resource, the restarting etc. of virtual machine.
Fast detecting connection status of the present invention is also done the method for virtual machine HA, and implementation step is described below: in sea of clouds OS, embed the heartbeat detection module, all the other client-servers are disposed agent application proxies; The detection of response heartbeat module; Assay intervals can define voluntarily, and the data segment of transmission briefly gets final product as far as possible, sends continuously; If the detection that continues to connect does not several times meet with a response; Think then to connect and interrupt that server possibly go wrong by network, then need do corresponding processing to the virtual machine on the server.Corresponding handle the release that comprises connection resource, in sea of clouds OS, restart restarting of virtual machine virtual machine on the client physical machine etc.
Except that the described technical characterictic of specification, be the known technology of those skilled in the art.

Claims (1)

1. a fast detecting connection status and do the method for virtual machine HA; It is characterized in that losing efficacy if connect, then in sea of clouds OS through the whether also survival that is connected between fast detecting server end and client; Restart the virtual machine on the client physical machine; System comprises: the heartbeat detection module, and the action processing module, wherein:
The heartbeat detection module: be responsible for client agent between communicate by letter;
Action processing module: be the final purpose of this scheme, be responsible for, comprise virtual machine HA operation in the handled that connected after losing efficacy;
Operating procedure is following:
Server end guardian client is connected with oneself; And respond through this connection request client; Send a signal and give the other side, all do not have response, then judge to connect and interrupt if repeatedly send signal; When connect interrupting, then in sea of clouds OS, restart the virtual machine on the client physical machine.
CN2012100728626A 2012-03-20 2012-03-20 Method for rapidly detecting connection states and making virtual machine HA Pending CN102664763A (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN2012100728626A CN102664763A (en) 2012-03-20 2012-03-20 Method for rapidly detecting connection states and making virtual machine HA

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN2012100728626A CN102664763A (en) 2012-03-20 2012-03-20 Method for rapidly detecting connection states and making virtual machine HA

Publications (1)

Publication Number Publication Date
CN102664763A true CN102664763A (en) 2012-09-12

Family

ID=46774182

Family Applications (1)

Application Number Title Priority Date Filing Date
CN2012100728626A Pending CN102664763A (en) 2012-03-20 2012-03-20 Method for rapidly detecting connection states and making virtual machine HA

Country Status (1)

Country Link
CN (1) CN102664763A (en)

Cited By (3)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN105635248A (en) * 2015-12-18 2016-06-01 Tcl集团股份有限公司 Method and system for releasing TCP (Transmission Control Protocol) connection resources
CN103326897B (en) * 2013-06-08 2016-12-28 烽火通信科技股份有限公司 A kind of distributed computing environment versatile monitoring device and abatement detecting method
CN107707398A (en) * 2017-09-29 2018-02-16 郑州云海信息技术有限公司 The method and apparatus that physical host is managed in cloud computing system

Citations (4)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN102014416A (en) * 2010-12-03 2011-04-13 中兴通讯股份有限公司 Method and system for bidirectional detection of connection
US20110258481A1 (en) * 2010-04-14 2011-10-20 International Business Machines Corporation Deploying A Virtual Machine For Disaster Recovery In A Cloud Computing Environment
US20120030670A1 (en) * 2010-07-30 2012-02-02 Jog Rohit Vijay Providing Application High Availability in Highly-Available Virtual Machine Environments
CN102355369A (en) * 2011-09-27 2012-02-15 华为技术有限公司 Virtual clustered system as well as processing method and processing device thereof

Patent Citations (4)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US20110258481A1 (en) * 2010-04-14 2011-10-20 International Business Machines Corporation Deploying A Virtual Machine For Disaster Recovery In A Cloud Computing Environment
US20120030670A1 (en) * 2010-07-30 2012-02-02 Jog Rohit Vijay Providing Application High Availability in Highly-Available Virtual Machine Environments
CN102014416A (en) * 2010-12-03 2011-04-13 中兴通讯股份有限公司 Method and system for bidirectional detection of connection
CN102355369A (en) * 2011-09-27 2012-02-15 华为技术有限公司 Virtual clustered system as well as processing method and processing device thereof

Non-Patent Citations (1)

* Cited by examiner, † Cited by third party
Title
侯宗浩等: "一种支持负载均衡的多机心跳模型", 《小型微型计算机系统》 *

Cited By (4)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN103326897B (en) * 2013-06-08 2016-12-28 烽火通信科技股份有限公司 A kind of distributed computing environment versatile monitoring device and abatement detecting method
CN105635248A (en) * 2015-12-18 2016-06-01 Tcl集团股份有限公司 Method and system for releasing TCP (Transmission Control Protocol) connection resources
CN105635248B (en) * 2015-12-18 2019-06-11 Tcl集团股份有限公司 A kind of method for releasing and system of TCP connection resource
CN107707398A (en) * 2017-09-29 2018-02-16 郑州云海信息技术有限公司 The method and apparatus that physical host is managed in cloud computing system

Similar Documents

Publication Publication Date Title
JP2012510126A5 (en)
WO2017045622A1 (en) Method of requesting help by device and responding to device help request, and device
RU2017106787A (en) DIAGNOSTICS OF CONTROL DEVICES USING THE ACCELEROMETER
JP2015537494A5 (en)
EP2863607A3 (en) System and method for improving internet communication by using intermediate nodes
JP2014504399A5 (en)
JP2014075655A5 (en) Image forming apparatus, control method, and computer program
RU2013113236A (en) RECEPTION DEVICE, RECEPTION METHOD AND PROGRAM
JP6420465B2 (en) Health monitoring system and data collection method thereof
JP2009239870A5 (en)
JP2013226037A5 (en)
EP2661049A3 (en) System and method for malware detection
JP2016508691A5 (en)
WO2016126864A4 (en) System and method for introducing functionality to an application for use with a network service
JP2015027228A5 (en)
RU2016112986A (en) Method and device for testing a terminal
JP2011064682A5 (en)
US10318392B2 (en) Management system for virtual machine failure detection and recovery
CN107278294B (en) Input device implementation method and implementation device thereof
RU2016117390A (en) METHOD AND DEVICE FOR WAKING UP MCU
CN102664763A (en) Method for rapidly detecting connection states and making virtual machine HA
JP2015515052A5 (en)
JP2010218011A5 (en) Information processing apparatus, information processing apparatus control method, and program
CN104601523B (en) A kind of method and device for transmitting data
RU2012145856A (en) CUSTOMER APPLICATION INTEGRATION AND WEB PAGES

Legal Events

Date Code Title Description
C06 Publication
PB01 Publication
SE01 Entry into force of request for substantive examination
SE01 Entry into force of request for substantive examination
WD01 Invention patent application deemed withdrawn after publication
WD01 Invention patent application deemed withdrawn after publication

Application publication date: 20120912