CN106411552A - Virtual machine state management method and apparatus thereof - Google Patents
Virtual machine state management method and apparatus thereof Download PDFInfo
- Publication number
- CN106411552A CN106411552A CN201510466806.4A CN201510466806A CN106411552A CN 106411552 A CN106411552 A CN 106411552A CN 201510466806 A CN201510466806 A CN 201510466806A CN 106411552 A CN106411552 A CN 106411552A
- Authority
- CN
- China
- Prior art keywords
- health
- function
- virtual machine
- management function
- health management
- 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/34—Signalling channels for network management communication
- H04L41/342—Signalling channels for network management communication between virtual entities, e.g. orchestrators, SDN or NFV entities
-
- H—ELECTRICITY
- H04—ELECTRIC COMMUNICATION TECHNIQUE
- H04L—TRANSMISSION OF DIGITAL INFORMATION, e.g. TELEGRAPHIC COMMUNICATION
- H04L12/00—Data switching networks
- H04L12/28—Data switching networks characterised by path configuration, e.g. LAN [Local Area Networks] or WAN [Wide Area Networks]
- H04L12/46—Interconnection of networks
Abstract
The invention provides a virtual machine state management method and an apparatus thereof. The method comprises the following steps that a virtual machine VM state management function operated on an uplink interface of an edge relay ER supporting a preset protocol instance or a function instance sends a VM state query message to a virtual machine VM; the VM state management function or the function instance receives a VM state query feedback message of the VM and acquires state information of the VM; and the VM state management function or the function instance sends the state information of the VM to NVE network virtualization edge equipment through an extension field of a preset protocol. A problem that management of a correlation protocol to a virtual machine VM state is not perfect is solved and real-time management of the virtual machine state under an NVO3 environment is realized.
Description
Technical field
The present invention relates to the communications field, in particular to a kind of virtual machine state management method and device.
Background technology
In the data center, how to pass through Intel Virtualization Technology, such as virtual machine, provide virtual network (Virtual Network,
Referred to as VN) be a popular topic, be related to numerous aspect such as virtualization of network, cause equipment supplier and
The multi-party concern of operator.For example, Institute of Electrical and Electric Engineers (Institute for Electrical and Electronic
Engineers, referred to as IEEE) release 802.1Qbg (edge virtual bridge), support that (IEEE term is virtual to virtual machine
Stand.Need to distinguish the platform that phantom station is provided, referred to as EVB stands.), how to be connected to the switch outside virtual platform
(Edge Virtual Bridging, referred to as EVB bridge).Fig. 1 is that the architecture of the EVB in correlation technique is illustrated
Figure, as shown in figure 1, found and configuration protocol (Virtual Station Interface discovery and by virtual machine interface
Configuration protocol, referred to as VDP), PDCP (Packet Data Convergence
Protocol, referred to as PDCP) and extended capability port mode agreement (Extented Capability Port, referred to as
The series of protocols such as ECP), realizes virtual machine interface (Virtual Station Interface, referred to as VSI) and arrives EVB
The connection of bridge.In addition, in Internet engineering task force, (The Internet Engineering Task Force is referred to as
IETF also specially set up network virtualization (the Network Virtualization Overlay based on layer 3 for the working group in)
Based-on L3Network, referred to as NVO3), it is studied.Fig. 2 is that in correlation technique, NVO3 is virtual
The configuration diagram that network provides, as shown in Fig. 2 to the offer specifically how realizing VN, have consistent understanding.
As shown in Fig. 2 have one concentration network virtualization control device (Network Virtualization Authority,
Referred to as NVA), realize the control that business is provided, multiple virtual machines in VN (Virtual Machine, referred to as
VM) it is connected to network virtualization edge device (Network Virtualization Edge, referred to as NVE), go forward side by side
This VN in one step and NVE virtual flow-line forwarding capability (Virtual Routing and Forwarding, referred to as
VRF) it is associated, the different VRF of the same VN of multiple difference NVE kinds, by the direct overlay network of NVE
Network tunnel is realized connecting, thus realizing VN.Certainly, VN can pass through NVE (being typically resident in data center unrelated)
Realize connecting with the Internet.
But how NVO3 is realized with the specific solution of VN, also unable to decide which is right.Particularly how VM is accessed
The control protocol of this section of NVE, a kind of viewpoint thinks, can be undertaken by the VDP of IEEE.Intuitively, VDP
Be realize VSI/VM to EVB bridge (mainly and towards passage bridge joint mouth (Station-facing bridge port, referred to as
For SBP)) related job, this and VM add the VN of NVE closely similar, are that one kind possible solution.
There is more discussion in NVO3, for example, because VDP is a kind of agreement of L2, in order to realize the void of NVO3
Intend network, need to carry out the support of L3 address information, and need to support transmission of VN-ID information etc..And to VM
The management of state, is also focused mainly on the life cycle management of generation and the deletion of VM etc. at present, specific inclusion
VM is in init state, ready state and state of activation etc..In active state, being considered as VM is normal work
's.It is then relevant with VDP location, or further under correlation technique system, Hypervisor also just can only
Obtain the information of these VM.
But, it is active in VM, or under running status, VM is to need the special work of execution in itself,
Or multinomial work, for some reason, these work or function are likely to be idle, or function can not
Execution., for other VM in VN, this VM is actually disabled for this, but VDP technical system
It is not provided that the solution to this problem.
For in correlation technique, the also incomplete problem of management to virtual machine vm health for the related protocol, there is presently no
Effectively solution.
Content of the invention
The invention provides a kind of virtual machine state management method and device, at least to solve related protocol pair in correlation technique
The also incomplete problem of the management of virtual machine vm health.
According to an aspect of the invention, it is provided a kind of virtual machine state management method, including:
At the edge supporting preset protocol example, the virtual machine vm health management function run is relayed on the upstream Interface of ER
Or function example sends vm health query message to virtual machine VM;
Described vm health management function or function example receive the vm health query feedback message of described VM and obtain
The status information of described VM;
The described vm health management function or function example extended field by preset protocol by the status information of described VM
It is sent to NVE network virtualization edge device.
Further, the virtual machine vm health management function of described operation or function example send VM to virtual machine VM
Status poll message, or receive vm health query feedback message include:
Described vm health management function or function example are connected to described ER by the first predefined ethernet frame
VM sends described status poll message, wherein, in the case that the described first predefined ethernet frame is broadcast type,
Described vm health management function or function example send described status poll message to all VM that described ER connects,
In the case that the described first predefined ethernet frame is unicast type, described vm health management function or function example
Described vm health query message is sent for purpose address to specified VM with the MAC Address of specified VM;
Described VM sends vm health query feedback message with the second predefined ethernet frame.
Further, described vm health management function or function example send vm health inquiry report to virtual machine VM
Before literary composition, methods described includes:
Described vm health management function or function example receive the tlv triple TLV field that NVE is extended by preset protocol
The status inquiry command information of transmission, wherein, described status inquiry command information is used for indicating described vm health management work(
The status information of the described VM of energy or function example feedback/collection.
Further, described vm health management function or function example send vm health inquiry report to virtual machine VM
After literary composition, including:
Reception state query feedback message simultaneously obtains the status information of described VM, and combine the vm health preserving in website
Information, forms the status information of VM;
Further, if in the case of not receiving described VM reply in preset time period, repeated according to set point number
After sending described vm health query message, in the case of not receiving described VM reply, judge described VM
Unreachable, form inaccessible vm health information.
Further, described vm health management function or function example send vm health inquiry report to virtual machine VM
The transmission opportunity of literary composition includes at least one of:
In the case of receiving the status inquiry command information that NVE sends, described vm health management function or function are real
Example sends vm health query message to VM;
Periodically send vm health query message.
Further, described preset protocol include for:
Virtual machine interface finds and configuration protocol VDP, and described VDP supported protocol:PDCP CDCP
With extended capability port mode agreement ECP.
Further, described virtual machine state management method, including:
Described NVE directly uses the 3rd predefined ethernet frame, sends vm health query message to virtual machine VM;
Described VM uses the 4th predefined ethernet frame directly to feed back vm health information to NVE.Described 3rd predefines
Ethernet frame and described 4th predefined ethernet frame be different from the described first predefined ethernet frame and second pre-
The types value of the ethernet frame of definition.
According to another aspect of the present invention, additionally provide a kind of virtual machine state managing device, including:
First sending module, virtual for run on the upstream Interface of edge relaying ER supporting preset protocol example
Machine vm health management function or function example send vm health query message to virtual machine VM;
First receiver module, receives the vm health of described VM for described vm health management function or function example
Query feedback message simultaneously obtains the status information of described VM;
The status information of described VM is passed through by the second sending module for described vm health management function or function example
The extended field of preset protocol is sent to NVE network virtualization edge device.
Further, described first sending module includes:
Predefined transmitting element, passes through the first predefined Ethernet for described vm health management function or function example
Frame sends described status poll message to the VM that described ER connects, wherein, in the described first predefined ethernet frame
In the case of broadcast type, described vm health management function or function example are sent out to all VM that described ER connects
Send described status poll message, in the case that the described first predefined ethernet frame is unicast type, described VM shape
State management function or function example are described to specified VM transmission for purpose address with the MAC Address of specified VM
Vm health query message;
Described first receiver module is additionally operable to receive described VM with the second predefined ethernet frame transmission vm health inquiry
Feedback message.
Further, described device includes:
Second receiver module, sends VM shape for described vm health management function or function example to virtual machine VM
Before state query message, described vm health management function or function example receive three that NVE is extended by preset protocol
The status inquiry command information of tuple TLV field transmission, wherein, described status inquiry command information is used for indicating described
Vm health management function or the described vm health information of function example feedback/collection.
Further, described device includes:
Determination module, for the status information in reception state query feedback, and by with reference to the vm health preserving in website
Information, forms the status information of VM;And, if do not receive the situation that described VM replys in preset time period
Under, after repeating to send described vm health query message according to set point number, do not receiving the feelings that described VM replys
Under condition, judge that described VM is unreachable, that is, form the inaccessible status information of VM;
Described second sending module, is additionally operable to report the inaccessible status information of described VM to described NVE.
Further, described first sending module, is additionally operable in the feelings receiving the status inquiry command information that NVE sends
Under condition, described vm health management function or function example send vm health query message to VM;
Described first sending module, is additionally operable to periodically send vm health query message.
Further, described preset protocol include for:Virtual machine interface finds and configuration protocol VDP, and described VDP
Supported protocol:PDCP CDCP, extended capability port mode agreement ECP.
By the present invention, at the edge supporting preset protocol example, the virtual machine VM running is relayed on the upstream Interface of ER
Condition managing function or function example send vm health query message, this vm health management function to virtual machine VM
Or function example receives the vm health query feedback message of this VM and obtains this vm health information, this vm health
The status information of this VM is sent to NVE network void by the extended field of preset protocol by management function or function example
Planization edge device, solves related protocol to the also incomplete problem of management of virtual machine vm health it is achieved that NVO3
The real-time management of the virtual machine state under environment.
Brief description
Accompanying drawing described herein is used for providing a further understanding of the present invention, constitutes the part of the application, the present invention
Schematic description and description be used for explaining the present invention, do not constitute inappropriate limitation of the present invention.In the accompanying drawings:
Fig. 1 is the architectural schematic of the EVB in correlation technique;
Fig. 2 is the configuration diagram that in correlation technique, NVO3 virtual network provides;
Fig. 3 is a kind of flow chart of virtual machine state management method according to embodiments of the present invention;
Fig. 4 is a kind of structured flowchart one of virtual machine state managing device according to embodiments of the present invention;
Fig. 5 is a kind of structured flowchart two of virtual machine state managing device according to embodiments of the present invention;
Fig. 6 is a kind of structured flowchart three of virtual machine state managing device according to embodiments of the present invention;
Fig. 7 is a kind of structured flowchart four of virtual machine state managing device according to embodiments of the present invention;
Fig. 8 is network management schematic diagram according to embodiments of the present invention;
Fig. 9 is ethernet frame structural representation according to embodiments of the present invention;
Figure 10 is the specific definition schematic diagram that vm health according to embodiments of the present invention collects order ethernet frame format;
Figure 11 is that vm health VDP TLV definition according to embodiments of the present invention is intended to;
Figure 12 is that another kind of vm health VDP TLV definition is intended to according to embodiments of the present invention;
Figure 13 is the schematic flow sheet of the vm health management based on VDP extension according to embodiments of the present invention.
Specific embodiment
To describe the present invention in detail below with reference to accompanying drawing and in conjunction with the embodiments.It should be noted that in the feelings do not conflicted
Under condition, the embodiment in the application and the feature in embodiment can be mutually combined.
It should be noted that term " first " in description and claims of this specification and above-mentioned accompanying drawing, " second "
Etc. being for distinguishing similar object, without for describing specific order or precedence.
Provide a kind of virtual machine state management method in the present embodiment, Fig. 3 is a kind of void according to embodiments of the present invention
The flow chart of plan machine method of state management, as shown in figure 3, this flow process comprises the steps:
Step S302, relays, at the edge supporting preset protocol example, the virtual machine VM shape running on the upstream Interface of ER
State management function or function example send vm health query message to virtual machine VM;
Step S304, this vm health management function or function example receive the vm health query feedback message of this VM
And obtain the status information of this VM;
The status information of this VM is passed through preset protocol by step S306, this vm health management function or function example
Extended field is sent to NVE network virtualization edge device.
By above-mentioned steps, at the edge supporting preset protocol example, the virtual machine running is relayed on the upstream Interface of ER
Vm health management function or function example send vm health query message to virtual machine VM, and this vm health manages work(
Energy or function example receive the vm health query feedback message of this VM and obtain this vm health information, this VM shape
The status information of this VM is sent to NVE network by the extended field of preset protocol by state management function or function example
Virtualization edge device, solve related protocol to the also incomplete problem of management of virtual machine vm health it is achieved that
The real-time management of the virtual machine state under NVO3 environment.
In the present embodiment, the virtual machine vm health management function of this operation or function example send to virtual machine VM
Vm health query message, or receive vm health query feedback message include:
This vm health management function or function example are sent out by the VM that the first predefined ethernet frame connects to this ER
Give this status poll message, wherein, in the case that this first predefined ethernet frame is broadcast type, this VM shape
All VM that state management function or function example connect to this ER send this status poll message, first predefine at this
Ethernet frame be unicast type in the case of, this vm health management function or function example are with the MAC of specified VM
Address sends this vm health query message for purpose address to specified VM;
This VM sends vm health query feedback message with the second predefined ethernet frame.
In the present embodiment, this vm health management function or function example send vm health inquiry to virtual machine VM
Before message, this vm health management function or function example receive tlv triple TLV that NVE is extended by preset protocol
The status inquiry command information of field transmission, wherein, this status inquiry command information is used for indicating this vm health management work(
The status information of this VM of energy or function example feedback/collection.
In the present embodiment, this vm health management function or function example send vm health inquiry to virtual machine VM
After message, reception state query feedback message simultaneously obtains the status information of this VM, and combine the VM preserving in website
Status information, forms the status information of VM;
Further, if in the case of not receiving this VM reply in preset time period, repeat to send out according to set point number
After giving this vm health query message, in the case of not receiving this VM reply, judge that this VM is unreachable,
Form inaccessible vm health information;
In the present embodiment, this vm health management function or function example send vm health inquiry to virtual machine VM
The transmission opportunity of message includes at least one of:
In the case of receiving the status inquiry command information that NVE sends, this vm health management function or function example
Send vm health query message to VM;
Periodically send vm health query message.
In the present embodiment, this preset protocol include for:
Virtual machine interface finds and configuration protocol VDP, and this VDP supported protocol:PDCP CDCP
With extended capability port mode agreement ECP.
In the present embodiment, this NVE directly uses the 3rd predefined ethernet frame, sends VM to virtual machine VM
Status poll message;This VM uses the 4th predefined ethernet frame directly to feed back vm health information to NVE.Should
3rd predefined ethernet frame and the 4th predefined ethernet frame are different from this first predefined ethernet frame and the
The types value of two predefined ethernet frames.
Additionally provide a kind of virtual machine state managing device in the present embodiment, this device is used for realizing above-described embodiment and excellent
Select embodiment, carry out repeating no more of explanation.As used below, term " module " can realize pre-
Determine the software of function and/or the combination of hardware.Although the device described by following examples preferably to be realized with software,
But hardware, or the realization of the combination of software and hardware is also may and to be contemplated.
Fig. 4 is a kind of structured flowchart one of virtual machine state managing device according to embodiments of the present invention, as shown in figure 4,
This device includes:
First sending module 42, for relaying, at the edge supporting preset protocol example, the void run on the upstream Interface of ER
Plan machine vm health management function or function example send vm health query message to virtual machine VM;
First receiver module 44, the vm health receiving this VM for this vm health management function or function example is looked into
Ask feedback message and obtain the status information of this VM;
The status information of this VM is passed through by the second sending module 46 for this vm health management function or function example
The extended field of preset protocol is sent to NVE network virtualization edge device.
By said apparatus, at the edge supporting preset protocol example, the virtual machine running is relayed on the upstream Interface of ER
Vm health management function or function example send vm health query message to virtual machine VM, and this vm health manages work(
Energy or function example receive the vm health query feedback message of this VM and obtain this vm health information, this VM shape
The status information of this VM is sent to NVE network by the extended field of preset protocol by state management function or function example
Virtualization edge device, solve related protocol to the also incomplete problem of management of virtual machine vm health it is achieved that
The real-time management of the virtual machine state under NVO3 environment.
Fig. 5 is a kind of structured flowchart two of virtual machine state managing device according to embodiments of the present invention, as shown in figure 5,
This device includes:This first sending module 42 includes:
Predefined transmitting element 52, passes through the first predefined ether for this vm health management function or function example
The VM that net frame connects to this ER sends this status poll message, wherein, is wide in this first predefined ethernet frame
In the case of broadcasting type, all VM that this vm health management function or function example connect to this ER send this state
Query message, in the case that this first predefined ethernet frame is unicast type, this vm health management function or work(
Example this vm health query message can be sent for purpose address to specified VM with the MAC Address of specified VM;
This first receiver module 44 is additionally operable to receive this VM with the second predefined ethernet frame transmission vm health inquiry
Feedback message.
Fig. 6 is a kind of structured flowchart three of virtual machine state managing device according to embodiments of the present invention, as shown in fig. 6,
This device includes:
Second receiver module 62, sends VM shape for this vm health management function or function example to virtual machine VM
Before state query message, this vm health management function or function example receive the ternary that NVE is extended by preset protocol
The status inquiry command information of group TLV field transmission, wherein, this status inquiry command information is used for indicating this VM shape
State management function or this vm health information of function example feedback/collection.
Fig. 7 is a kind of structured flowchart four of virtual machine state managing device according to embodiments of the present invention, as shown in fig. 7,
This device includes:
Determination module 72, for the status information in reception state query feedback, and by with reference to the VM preserving in website
Status information, forms the status information of VM;And, if do not receive the feelings of this VM reply in preset time period
Under condition, after repeating to send this vm health query message according to set point number, in the situation not receiving this VM reply
Under, judge that this VM is unreachable, that is, form the inaccessible status information of VM;
This second sending module 46, is additionally operable to report the inaccessible information of this VM to this NVE, wherein, this is unreachable
Information indicate this NVE refresh virtual flow-line forwarding capability VRF the inaccessible status information of this VM.
In the present embodiment, this first sending module 42, is additionally operable to receiving the status inquiry command information that NVE sends
In the case of, this vm health management function or function example send vm health query message to VM;
This first sending module 42, is additionally operable to periodically send vm health query message.
In the above-described embodiments, this preset protocol include for:Virtual machine interface finds and configuration protocol VDP, and this VDP
Supported protocol:PDCP CDCP, extended capability port mode agreement ECP.
In another embodiment, additionally provide under NVO3 environment in a kind of data center, virtual based on VDP
The method and system of machine condition managing.Specifically, including:
The upstream Interface of ER supports VDP example, support simultaneously the functional entity of the collection of the state to VM for the VDP/
Example.
Further, specifically, state collection functional entity, sends state by specific ethernet broadcasting frame and seeks the opinion of message.
All VM that ER is connected, after receiving this status poll message, with the MAC Address of this VM, are received with state
The MAC Address integrating functional entity sends status information as purpose address.
Described specific ethernet frame, is defined by specific ethernet frame type.
Preferably, vm health collecting function example to be it is also possible to by the ethernet frame of unicast, to carry out state collection,
Specifically, the status poll message of unicast is directly transmitted using the MAC Address of VM.
Vm health collecting function example, after collecting the status information of VM, by the extension of VDP protocol, will
Information is sent to NVE.
Further, vm health management function entity/example can receive the shape that NVE extends TLV transmission by VDP
State querying command information.
Further, vm health collecting function example, after sending status poll message, did not receive within the time of regulation
Reply, then the message that can carry out set point number again sends, and without receiving reply, then judges that this VM is unreachable.
Need to report the unreachable information of VM to NVE, and refresh the vm health information of the VRF in NVE.
Further, on the transmission opportunity of vm health collecting function example state query message, can NVE send
Status poll, or keep-alive (keepalive) the clock setting triggering of vm health collecting function example definition itself.
Through such extension, virtual machine state under NVO3 environment can be realized based on the extension of VDP protocol
Dynamic refresh and management.
Fig. 8 is network management schematic diagram according to embodiments of the present invention, as shown in figure 8, wherein, in order to collect
The running status of VM, most basic method is to communicate, and explicitly inquires its state.Situation in EVB
Under, due to can carry out the information transmission of correlation using VDP, therefore, a feasible solution, is by staying
Stay on the upstream Interface (Uplink Relay Port, referred to as URP) of the ER of VDP functional entity, rerun one
Vm health collecting function example, to realize the collection of the state of VM.
It should be noted that it is also possible to run other agreements between VM and NVE, to realize the collection of state.
Specifically, between due to VSI and SBP, there is L2 message transmissions passage, such present invention is it is simply that use
L2 tunnel between ER and VM is carrying out state collection.
Specifically, it is to define a kind of new/specified type ethernet frame format, carry out dedicated between URP and VM
Information exchange.New ethernet frame, refers to different from existing ethernet type, is used exclusively for vm health information and hands over
A kind of mutual ethernet type.Generally speaking, in large scale deployment, this type needs the approval of IEEE.Specifically
Numerical value, is to select one in the type that IEEE can provide and it needs to IEEE ratifies.One specific reference example
Son is to carry ppp protocol (Point to Point Protocol over Ethernet, referred to as PPPoE) over ethernet
The ethernet type value of discovery phase message is 0x8863 (i.e. the 8863 of 16 systems).
It should be noted that needing exist for the ethernet frame of 2 specified type, one is used for querying command;Another one
Feedback of status for querying command.Certainly, it is required for the approval of IEEE.
Fig. 9 is ethernet frame structural representation according to embodiments of the present invention, as shown in figure 9, and the letter of specific state
Breath obtains in addition it is also necessary to do further command definition.Specifically, it is to be realized by the payload segment of this ethernet frame.
In payload segment, define a new header.Figure 10 is that vm health according to embodiments of the present invention collects order ether
The specific definition schematic diagram of net frame format, as shown in Figure 10.
The function that wherein code field definition implements.Including:Status enquiry, can inquire single VM, or institute
There is VM.This can be realized by the destination address of ethernet frame, or distinguishes.Specifically, if broadcast address,
The then state of all VM in interrogation field.If unicast address, then the VM specifying returns its status information.
Keepalive order, periodically sends, the state of inquiry VM, if after several keepalive orders, still
Can not receive the feedback of VM then it is assumed that this VM is inaccessible.
VN-ID field, for distinguishing different VN information, this is optional.
Session-ID, for distinguishing different communications, specific VM is also required to when returning status information return be somebody's turn to do
Which status enquiry is session-ID information, be to distinguish.
Another one option is that VM address/name, or the address/name of one group of VM, for instruction specifically pin
VM to operation.
Version information, can be defined as 001, for distinguishing follow-up version.
Length field, inquires about header length for instruction state.Do not include the head of ethernet frame.
For the terseness realized, 2 ethernet frame types can be selected, one of them is used for ordering, and another one is used for
The transmission of status information.
Or type of coding can also be passed through, to enter the differentiation of line command and state message.For example, 0x00,0x01, uses
In aforesaid 2 orders of expression;With 0x04,0x05, represent the feedback information of state.To such message, Ke Yijin
One step defines specific state encoding.For example, 0x00 represents that VM is in normal operating conditions;0xFF represents, VM
Unavailable, and other other different states of coded representation.
Here, only do a demonstration, specific definition value, can be selected according to practical situation, and do not affect this
The essential content of invention.
Because VDP is used for associating VSI and SBP, the not specific working condition to transmit VM for the related content,
Accordingly, it would be desirable to be extended, realize the transmission of the state of VM to VDP.
Specifically, a kind of new VDP TLV type, vm health TLV can be defined.Can be with the TLV value retaining
One is selected in 0x06-0x7E.
Figure 11 is that vm health VDP TLV definition according to embodiments of the present invention is intended to, as shown in figure 11, and specific
TLV (Type Length Value) defines, as shown in figure 11.Specific inclusion TLV type, and TLV information
Length and mode field.
Further, this TLV includes command field, for indicating the vm health querying command of NVE.Or, preferably
, Figure 12 is that another kind of vm health VDP TLV definition is intended to according to embodiments of the present invention, as shown in figure 12, can
To be used for the definition of status inquiry command by first 4 of mode field, then 4 definition being used for vm health.
It should be noted that state can also be carried out using the filtration information field of the existing association TLV definition of VDP
Field definition.
By above-mentioned definition and description it is achieved that the information of vm health and how by the extension of VDP, come
Realize vm health information, pass to NVE.
And the transmission opportunity of specific vm health, can be VM when state changes, be actively sent to NVE,
Or vm health information function example, when obtaining vm health and changing, is transmitted it is also possible to NVE
Actively initiate, or periodically status enquiry is carried out to VM.
Figure 13 is the schematic flow sheet of the vm health management based on VDP extension according to embodiments of the present invention, such as Figure 13
Shown, comprise the steps.
Step S1001, optional, NVE sends vm health Query Information to vm health management function entity/example.
Step S1002, vm health management function entity/example, arrive in the keepalive timer periods of VM, or
Person in the vm health querying command receiving NVE transmission or during keepalive order, also or vm health manages
The definition status query time that functional entity/example sets arrives, and starts vm health inquiry.
Step S1003, transmission vm health query message.
Step S1004, VM returns its status information.
Step S1005.VM condition managing functional entity/example, by the vm health receiving information, is sent to NVE, or
Person keeps a record, for future use.Or if within the time setting, send this order, the life of repeatedly setting number of times again
Order sends again, if still the reply of VM can not be received, judges this VM as unreachable.
Step S1006, vm health management function entity/example by described vm health information, including the letter of VM feedback
Breath, or the unreachable information of VM judging, are sent to NVE.
Other embodiment
In above-described embodiment, it is the solution in the case of fully ensuring that using existing protocol, that is, utilize existing VDP
The extension of agreement, to complete the real-time status inquiry of VM, and not to exist inconsistent.
Another one solution, is outside the state report that VDP protocol runs, NVE is directly led to VM
Letter, obtains the real time status information of VM.
Specific scheme is to define other 2 different ethernet frame types, for the state between NVE and VM
Inquiry and feedback.
The definition of specific frame is similar with aforesaid definition.Except for the difference that, because NVE supports multiple virtual networks VN,
So the VN-ID field in message is essential option it is ensured that the status information of VM delivers to correct VN.
And concrete implementation aspect is similar.Such as all VM in the VN that can be connected to NVE by broadcast
Send querying command, or querying command is sent to certain specific VM by unicast address.And VM is typically all to use
Unicast address feedback status information.
Through the above description of the embodiments, those skilled in the art can be understood that according to above-described embodiment
Method can realize by the mode of software plus necessary general hardware platform naturally it is also possible to pass through hardware, but a lot
In the case of the former is more preferably embodiment.Based on such understanding, technical scheme is substantially in other words to existing
Have what technology contributed partly can embody in the form of software product, this computer software product is stored in one
In storage medium (as ROM/RAM, magnetic disc, CD), including some instructions with so that a station terminal equipment (can
To be mobile phone, computer, server, or the network equipment etc.) method described in execution each embodiment of the present invention.
Embodiments of the invention additionally provide a kind of storage medium.Alternatively, in the present embodiment, above-mentioned storage medium can
To be arranged to store the program code of the method and step for executing above-described embodiment:
Alternatively, in the present embodiment, above-mentioned storage medium can include but is not limited to:USB flash disk, read only memory (ROM,
Read-Only Memory), random access memory (RAM, Random Access Memory), portable hard drive,
Magnetic disc or CD etc. are various can be with the medium of store program codes.
Alternatively, in the present embodiment, processor executes above-described embodiment according to the program code of storage in storage medium
Method and step.
Obviously, those skilled in the art should be understood that each module of the above-mentioned present invention or each step can be with general
Realizing, they can concentrate on single computing device computing device, or be distributed in multiple computing devices and formed
Network on, alternatively, they can be realized with the executable program code of computing device, it is thus possible to by they
Storage to be executed by computing device in the storage device, and in some cases, can be to hold different from order herein
The shown or described step of row, or they are fabricated to respectively each integrated circuit modules, or will be many in them
Individual module or step are fabricated to single integrated circuit module to realize.So, the present invention is not restricted to any specific hardware
Combine with software.
The foregoing is only the preferred embodiments of the present invention, be not limited to the present invention, for the technology of this area
For personnel, the present invention can have various modifications and variations.All within the spirit and principles in the present invention, made any
Modification, equivalent, improvement etc., should be included within the scope of the present invention.
Claims (13)
1. a kind of virtual machine state management method is it is characterised in that include:
At the edge supporting preset protocol example, the virtual machine vm health management running is relayed on the upstream Interface of ER
Function or function example send vm health query message to virtual machine VM;
Described vm health management function or function example receive the vm health query feedback message of described VM and obtain
Obtain the status information of described VM;
Described vm health management function or the extension by preset protocol by the status information of described VM of function example
Field is sent to NVE network virtualization edge device.
2. method according to claim 1 it is characterised in that the virtual machine vm health management function of described operation or
Function example sends vm health query message to virtual machine VM, or receives vm health query feedback message bag
Include:
Described vm health management function or function example are connected to described ER by the first predefined ethernet frame
VM send described status poll message, wherein, be broadcast type in the described first predefined ethernet frame
In the case of, described vm health management function or function example send described shapes to all VM that described ER connects
State query message, in the case that the described first predefined ethernet frame is unicast type, described vm health pipe
Reason function or function example send described VM for purpose address to specified VM with the MAC Address of specified VM
Status poll message;
Described VM sends vm health query feedback message with the second predefined ethernet frame.
3. method according to claim 1 is it is characterised in that described vm health management function or function example are to void
Before plan machine VM sends vm health query message, methods described includes:
Described vm health management function or function example receive the tlv triple TLV word that NVE is extended by preset protocol
The status inquiry command information of section transmission, wherein, described status inquiry command information is used for indicating described vm health
Management function or function example feed back/collect the status information of described VM.
4. method according to claim 1 is it is characterised in that described vm health management function or function example are to void
After plan machine VM sends vm health query message, including:
Reception state query feedback message simultaneously obtains the status information of described VM, and combine the VM preserving in website
Status information, forms the status information of VM;
Further, if in the case of not receiving described VM reply in preset time period, according to set point number
After repeating to send described vm health query message, in the case of not receiving described VM reply, judge institute
State VM unreachable, form inaccessible vm health information.
5. method according to claim 1 is it is characterised in that described vm health management function or function example are to void
The transmission opportunity that plan machine VM sends vm health query message includes at least one of:
In the case of receiving the status inquiry command information that NVE sends, described vm health management function or function
Example sends vm health query message to VM;
Periodically send vm health query message.
6. the method according to claim 1 is to any one of claim 5 is it is characterised in that described preset protocol includes
For:
Virtual machine interface finds and configuration protocol VDP, and described VDP supported protocol:PDCP
CDCP and extended capability port mode agreement ECP.
7. the method according to claim 1 or claim 2 is it is characterised in that described virtual machine state management method,
Including:
Described NVE directly uses the 3rd predefined ethernet frame, sends vm health inquiry report to virtual machine VM
Literary composition;Described VM uses the 4th predefined ethernet frame directly to feed back vm health information to NVE.Described 3rd
Predefined ethernet frame and described 4th predefined ethernet frame are different from the described first predefined Ethernet
Frame and the types value of the second predefined ethernet frame.
8. a kind of virtual machine state managing device is it is characterised in that include:
First sending module, for relaying operation on the upstream Interface of ER at the edge supporting preset protocol example
Virtual machine vm health management function or function example send vm health query message to virtual machine VM;
First receiver module, receives the VM shape of described VM for described vm health management function or function example
State query feedback message simultaneously obtains the status information of described VM;
Second sending module, for described vm health management function or function example by the status information of described VM
NVE network virtualization edge device is sent to by the extended field of preset protocol.
9. device according to claim 8 is it is characterised in that described first sending module includes:
Predefined transmitting element, for described vm health management function or function example pass through first predefined with
Too net frame sends described status poll message to the VM that described ER connects, wherein, predefined described first
In the case that ethernet frame is broadcast type, described vm health management function or function example connect to described ER
All VM send described status poll messages, be the feelings of unicast type in the described first predefined ethernet frame
Under condition, described vm health management function or function example with the MAC Address of specified VM for purpose address to
The VM specifying sends described vm health query message;
Described first receiver module is additionally operable to receive described VM with the second predefined ethernet frame transmission vm health
Query feedback message.
10. device according to claim 8 is it is characterised in that described device includes:
Second receiver module, sends VM for described vm health management function or function example to virtual machine VM
Before status poll message, described vm health management function or function example are received NVE and are extended by preset protocol
Tlv triple TLV field transmission status inquiry command information, wherein, described status inquiry command information is used for referring to
Show the status information of the described VM of described vm health management function or function example feedback/collection.
11. devices according to claim 8 are it is characterised in that described device includes:
Determination module, for the status information in reception state query feedback, and by with reference to the VM preserving in website
Status information, forms the status information of VM;And, if do not receive described VM in preset time period return
In the case of multiple, after repeating to send described vm health query message according to set point number, described not receiving
In the case that VM replys, judge that described VM is unreachable, that is, form the inaccessible status information of VM;
Described second sending module, is additionally operable to report the inaccessible status information of described VM to described NVE.
12. devices according to claim 8 are it is characterised in that include:
Described first sending module, is additionally operable in the case of receiving the status inquiry command information that NVE sends,
Described vm health management function or function example send vm health query message to VM;
Described first sending module, is additionally operable to periodically send vm health query message.
13. devices described according to Claim 8 to any one of claim 12 are it is characterised in that described preset protocol bag
Include for:
Virtual machine interface finds and configuration protocol VDP, and described VDP supported protocol:PDCP
CDCP, extended capability port mode agreement ECP.
Priority Applications (2)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
CN201510466806.4A CN106411552A (en) | 2015-07-31 | 2015-07-31 | Virtual machine state management method and apparatus thereof |
PCT/CN2016/079093 WO2016180141A1 (en) | 2015-07-31 | 2016-04-12 | Virtual machine state management method and device |
Applications Claiming Priority (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
CN201510466806.4A CN106411552A (en) | 2015-07-31 | 2015-07-31 | Virtual machine state management method and apparatus thereof |
Publications (1)
Publication Number | Publication Date |
---|---|
CN106411552A true CN106411552A (en) | 2017-02-15 |
Family
ID=57248796
Family Applications (1)
Application Number | Title | Priority Date | Filing Date |
---|---|---|---|
CN201510466806.4A Pending CN106411552A (en) | 2015-07-31 | 2015-07-31 | Virtual machine state management method and apparatus thereof |
Country Status (2)
Country | Link |
---|---|
CN (1) | CN106411552A (en) |
WO (1) | WO2016180141A1 (en) |
Cited By (2)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN111399972A (en) * | 2019-01-02 | 2020-07-10 | 中国移动通信有限公司研究院 | Virtual machine packet capturing method and device and computer readable storage medium |
CN114416274A (en) * | 2021-10-18 | 2022-04-29 | 徐州医科大学 | Virtual resource management system and method thereof |
Citations (2)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN102647288A (en) * | 2011-02-16 | 2012-08-22 | 中兴通讯股份有限公司 | VM (Virtual Machine) data access protection method and system |
US20150195178A1 (en) * | 2014-01-09 | 2015-07-09 | Ciena Corporation | Method for resource optimized network virtualization overlay transport in virtualized data center environments |
Family Cites Families (3)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
US9405347B2 (en) * | 2009-02-26 | 2016-08-02 | Microsoft Technology Licensing, Llc | Power-saving operating system for virtual environment |
CN102724080B (en) * | 2012-06-29 | 2015-01-14 | 杭州华三通信技术有限公司 | Network management system and network management method |
CN103997414B (en) * | 2013-02-18 | 2016-11-09 | 华为技术有限公司 | Generate method and the network control unit of configuration information |
-
2015
- 2015-07-31 CN CN201510466806.4A patent/CN106411552A/en active Pending
-
2016
- 2016-04-12 WO PCT/CN2016/079093 patent/WO2016180141A1/en active Application Filing
Patent Citations (2)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN102647288A (en) * | 2011-02-16 | 2012-08-22 | 中兴通讯股份有限公司 | VM (Virtual Machine) data access protection method and system |
US20150195178A1 (en) * | 2014-01-09 | 2015-07-09 | Ciena Corporation | Method for resource optimized network virtualization overlay transport in virtualized data center environments |
Cited By (3)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN111399972A (en) * | 2019-01-02 | 2020-07-10 | 中国移动通信有限公司研究院 | Virtual machine packet capturing method and device and computer readable storage medium |
CN111399972B (en) * | 2019-01-02 | 2023-05-09 | 中国移动通信有限公司研究院 | Method and device for capturing packets by virtual machine and computer readable storage medium |
CN114416274A (en) * | 2021-10-18 | 2022-04-29 | 徐州医科大学 | Virtual resource management system and method thereof |
Also Published As
Publication number | Publication date |
---|---|
WO2016180141A1 (en) | 2016-11-17 |
Similar Documents
Publication | Publication Date | Title |
---|---|---|
CN102845123B (en) | Virtual private cloud connection method and tunnel proxy server | |
CN102177697B (en) | Method for controlling internet services, and relevant device and system | |
CN104106303A (en) | Methods and apparatus for establishing tunneled direct link setup (TDLS) session between devices in wireless network | |
CN109088820B (en) | Cross-device link aggregation method and device, computing device and storage medium | |
CN104243265A (en) | Gateway control method, device and system based on virtual machine migration | |
EP1919138A1 (en) | A method for implementing backup of the uplink | |
CN101605103A (en) | A kind of method of static forwarding multicast data and device | |
CN104937896A (en) | Method for processing address resolution protocol message, forwarder and controller | |
CN101764751A (en) | Method, system and equipment for forwarding roaming messages for wireless user terminal travelling across VLAN | |
CN103945445A (en) | Method and device for testing performance of access controller | |
CN102812744A (en) | Inter-working of EFM-OAM and CFM-OAM for mobile backhaul networks | |
CN105472023A (en) | Method and device for remote direct memory access | |
CN103581274A (en) | Message forwarding method and device in stacking system | |
CN106506717A (en) | A kind of automatic discovering method and equipment | |
CN102882781A (en) | Method, route bridge and system for transmitting message | |
CN103716230B (en) | Message sending method, device and server | |
CN102594886B (en) | Method and device for direct communication between browsers, and communication system | |
CN107623752A (en) | Network management and device based on link layer | |
CN102369764A (en) | System and method operable to enable shortest connection route | |
CN102710495B (en) | Method and device for establishing routing information of user host computer in monitoring network | |
CN103401954B (en) | The implementation method of virtual DHCP | |
CN102299862A (en) | Quick forwarding equipment and method for two-layer tunnel | |
CN106411552A (en) | Virtual machine state management method and apparatus thereof | |
CN104796340A (en) | Multicast data transmission method and device | |
WO2022082724A1 (en) | Method and apparatus for multicast service support in time sensitive network |
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: 20170215 |