CN106557386A - Method, the apparatus and system of standby virtual network interface card virtual machine are disposed based on KVM - Google Patents

Method, the apparatus and system of standby virtual network interface card virtual machine are disposed based on KVM Download PDF

Info

Publication number
CN106557386A
CN106557386A CN201510626377.2A CN201510626377A CN106557386A CN 106557386 A CN106557386 A CN 106557386A CN 201510626377 A CN201510626377 A CN 201510626377A CN 106557386 A CN106557386 A CN 106557386A
Authority
CN
China
Prior art keywords
network interface
interface card
virtual machine
standby
virtual network
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
CN201510626377.2A
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.)
ZTE Corp
Original Assignee
ZTE Corp
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 ZTE Corp filed Critical ZTE Corp
Priority to CN201510626377.2A priority Critical patent/CN106557386A/en
Priority to PCT/CN2016/100216 priority patent/WO2017054695A1/en
Publication of CN106557386A publication Critical patent/CN106557386A/en
Pending legal-status Critical Current

Links

Classifications

    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06FELECTRIC DIGITAL DATA PROCESSING
    • G06F9/00Arrangements for program control, e.g. control units
    • G06F9/06Arrangements for program control, e.g. control units using stored programs, i.e. using an internal store of processing equipment to receive or retain programs
    • G06F9/44Arrangements for executing specific programs
    • G06F9/455Emulation; Interpretation; Software simulation, e.g. virtualisation or emulation of application or operating system execution engines
    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06FELECTRIC DIGITAL DATA PROCESSING
    • G06F11/00Error detection; Error correction; Monitoring
    • G06F11/07Responding to the occurrence of a fault, e.g. fault tolerance
    • G06F11/14Error detection or correction of the data by redundancy in operation
    • G06F11/1479Generic software techniques for error detection or fault masking
    • G06F11/1482Generic software techniques for error detection or fault masking by means of middleware or OS functionality
    • G06F11/1484Generic software techniques for error detection or fault masking by means of middleware or OS functionality involving virtual machines
    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06FELECTRIC DIGITAL DATA PROCESSING
    • G06F11/00Error detection; Error correction; Monitoring
    • G06F11/07Responding to the occurrence of a fault, e.g. fault tolerance
    • G06F11/16Error detection or correction of the data by redundancy in hardware
    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06FELECTRIC DIGITAL DATA PROCESSING
    • G06F9/00Arrangements for program control, e.g. control units
    • G06F9/06Arrangements for program control, e.g. control units using stored programs, i.e. using an internal store of processing equipment to receive or retain programs
    • G06F9/44Arrangements for executing specific programs
    • G06F9/455Emulation; Interpretation; Software simulation, e.g. virtualisation or emulation of application or operating system execution engines
    • G06F9/45533Hypervisors; Virtual machine monitors

Landscapes

  • Engineering & Computer Science (AREA)
  • Theoretical Computer Science (AREA)
  • Software Systems (AREA)
  • Physics & Mathematics (AREA)
  • General Engineering & Computer Science (AREA)
  • General Physics & Mathematics (AREA)
  • Quality & Reliability (AREA)
  • Information Retrieval, Db Structures And Fs Structures Therefor (AREA)
  • Computer And Data Communications (AREA)

Abstract

The present invention provides a kind of method of deployment standby virtual network interface card virtual machine, apparatus and system, and wherein method includes:The network interface card resources mode of Receiving Host, and it is stored into resource pool;The backup mode information for creating standby virtual network interface card demand information and specified Microsoft Loopback Adapter is received, the standby virtual network interface card demand information includes Microsoft Loopback Adapter backup configuration information;Finding the main frame for matching according to the backup mode information of the Microsoft Loopback Adapter in resource pool carries out Internet resources distribution, using the main frame as the host for performing establishment standby virtual network interface card virtual machine.The method of deployment standby virtual network interface card virtual machine provided in an embodiment of the present invention, apparatus and system, can be in the case of different mirror images, the unified configuration information that standby virtual network interface card is injected to virtual machine internal, the complexity of deployment standby virtual network interface card is reduced, so as to improve the ease for use and reliability of system.

Description

Method, the apparatus and system of standby virtual network interface card virtual machine are disposed based on KVM
Technical field
The present invention relates to virtual machine network interface card is created and virtual machine configuration management domain, more particularly to one kind is based on The method of KVM deployment standby virtual network interface card virtual machines, apparatus and system.
Background technology
Under telecom operators' networking scene, be improve virtual machine network service vigorousness, virtual network circle Face card (Virtual Network Interface Card, abbreviation Microsoft Loopback Adapter) typically can be transported using backup mode OK.These Microsoft Loopback Adapters constitute a backup group, improve the reliability of communication link.
For achieving the above object, need virtual machine monitoring on host (hereinafter referred HOST or main frame) Device (Virtual Machine Monitor, abbreviation VMM, for creating virtual machine) is mutually matched with virtual machine Conjunction is reached.Currently available technology common practice is that virtual machine carries out message communication to obtain itself with VMM Network configuration information, comprise the following steps that:Virtual machine starts and sends broadcast;VMM parsings are wide Broadcast message, inquiry Internet resources pond;Distribute according to default strategy execution Internet resources;Response broadcast Allocation result is returned, virtual machine generates network configuration according to allocation result.
Above-mentioned realization has the disadvantage that:
Need by virtual machine image to realize above-mentioned agreement flow process.
Close coupling is implemented with concrete mirror image, is difficult to expand to other kinds of mirror image.
Therefore, in order to quickly back up network interface card for deploying virtual machine, it is desirable to have a kind of method is realizing standby virtual Network interface card is created, dispatches, configures the simple and direct flow process for being transferred to virtual machine internal.
The content of the invention
In view of this, the present invention provide it is a kind of based on KVM dispose standby virtual network interface card virtual machine method, Apparatus and system, to solve the defect of prior art.
To solve above-mentioned technical problem, the embodiment of the present invention provides a kind of deployment standby virtual network interface card virtual machine Method, including:The network interface card resources mode of Receiving Host, and it is stored into resource pool;Receive and create standby virtual The backup mode information of network interface card demand information and specified Microsoft Loopback Adapter, the standby virtual network interface card demand information Include Microsoft Loopback Adapter backup configuration information;According to the backup mode information of the Microsoft Loopback Adapter in resource pool Finding the main frame for matching carries out Internet resources distribution, creates standby virtual network interface card using the main frame as execution The host of virtual machine.
Wherein, the network interface card resources mode of the main frame includes load sharing mode and active-standby mode.
Wherein, network interface card resources mode has the main frame of active-standby mode can be with the backup mode phase of Microsoft Loopback Adapter Match somebody with somebody.
The embodiment of the present invention also provides a kind of method of deployment standby virtual network interface card virtual machine, including:Virtual machine Before watch-dog starts, the standby virtual network interface card demand information for creating virtual machine, the standby virtual net are obtained Card demand information includes Microsoft Loopback Adapter backup configuration information;Created according to the standby virtual network interface card demand information When building the disk file of virtual machine, by Microsoft Loopback Adapter backup configuration information write simulation CD-ROM drive file, and The simulation CD-ROM drive file is injected in the disk file;After monitor of virtual machine starts, by the magnetic Disk file is mounted, and reads Microsoft Loopback Adapter backup configuration information therein;According to the Microsoft Loopback Adapter backup configuration Information carries out corresponding interface backup process, completes the establishment of standby virtual network interface card virtual machine.
Wherein, the virtual drive file is ISO9660 forms.
Wherein, the Microsoft Loopback Adapter backup configuration information includes the backup mode information of Microsoft Loopback Adapter.
It is therein that corresponding interface backup is carried out in virtual machine according to the Microsoft Loopback Adapter backup configuration information Process includes:The network interface card run using active-standby mode in the main frame that backup mode with Microsoft Loopback Adapter is matched Interface is used as standby virtual network card interface.
The embodiment of the present invention also provides a kind of device of deployment standby virtual network interface card virtual machine, including:First connects Module is received, for the network interface card resources mode of Receiving Host, and resource pool is stored into;Second receiver module, uses It is in the backup mode information for receiving establishment standby virtual network interface card demand information and specified Microsoft Loopback Adapter, described standby Part Microsoft Loopback Adapter demand information includes Microsoft Loopback Adapter backup configuration information;Resource distribution module, for root Finding the main frame for matching according to the backup mode information of the Microsoft Loopback Adapter in resource pool carries out Internet resources Distribution, using the main frame as the host for performing establishment standby virtual network interface card virtual machine.
The embodiment of the present invention also provides a kind of device of deployment standby virtual network interface card virtual machine, including:Information is obtained Delivery block, before monitor of virtual machine starts, obtains the standby virtual network interface card demand information for creating virtual machine, The standby virtual network interface card demand information includes Microsoft Loopback Adapter backup configuration information;Creation module, for root When creating the disk file of virtual machine according to the standby virtual network interface card demand information, the Microsoft Loopback Adapter is backed up Configuration information write simulation CD-ROM drive file, and the simulation CD-ROM drive file is injected in the disk file; Information reading module, after starting for monitor of virtual machine, the disk file is mounted, is read therein Microsoft Loopback Adapter backup configuration information;Interface processing module, for being believed according to the Microsoft Loopback Adapter backup configuration Breath carries out corresponding interface backup process, completes the establishment of standby virtual network interface card virtual machine.
The embodiment of the present invention also provides a kind of system of deployment standby virtual network interface card virtual machine, at least including webmaster Scheduler and main frame, wherein:The network interface card resources mode of the webmaster scheduler Receiving Host, and it is stored into money Source pond;Receive the backup mode information for creating standby virtual network interface card demand information and specified Microsoft Loopback Adapter;Root Finding the main frame for matching according to the backup mode information of the Microsoft Loopback Adapter in resource pool carries out Internet resources Distribution, using the main frame as the host for performing establishment standby virtual network interface card virtual machine;The main frame is in void Before intending monitor unit startup, the standby virtual network interface card demand information for creating virtual machine is obtained;According to described standby When part Microsoft Loopback Adapter demand information creates the disk file of virtual machine, by the Microsoft Loopback Adapter backup configuration information Write simulation CD-ROM drive file, and the simulation CD-ROM drive file is injected in the disk file;Virtual machine is supervised After control device starts, the disk file is mounted, read Microsoft Loopback Adapter backup configuration information therein;According to The Microsoft Loopback Adapter backup configuration information carries out corresponding interface backup process, completes standby virtual network interface card virtual The establishment of machine.
The present invention proposes a kind of method in deploying virtual machine standby virtual network interface card.Host deployments have polylith first Physical network card (NIC, Network Interface Card) forms backup mode operation.Secondly, in deployment The backup mode of network interface card can be specified during virtual machine, and this pattern incoming scheduling virtual machine device is carried out in scheduling Internet resources distribute;Then this standby virtual network card configuration is articulated to by virtual machine magnetic by metadata injection again In disk, and corresponding interface backup process is carried out in virtual machine.
The deployment method of standby virtual network interface card virtual machine provided in an embodiment of the present invention, apparatus and system, can be with In the case of different mirror images, the unified configuration information that standby virtual network interface card is injected to virtual machine internal is reduced The complexity of deployment standby virtual network interface card, so as to improving the ease for use and reliability of system.
Description of the drawings
Fig. 1 is the flow chart of the method for the deployment standby virtual network interface card virtual machine of the embodiment of the present invention one;
Fig. 2 is the scheduling flow figure of the method for the deployment standby virtual network interface card virtual machine of the embodiment of the present invention one;
Fig. 3 is the host deployments in the method for the deployment standby virtual network interface card virtual machine of the embodiment of the present invention one Schematic diagram;
Fig. 4 is another Scheduling Flow of the method for the deployment standby virtual network interface card virtual machine of the embodiment of the present invention one Cheng Tu;
Fig. 5 is the flow chart of the method for the deployment standby virtual network interface card virtual machine of the embodiment of the present invention two;
Fig. 6 and Fig. 7 are the Scheduling Flows of the method for the deployment standby virtual network interface card virtual machine of the embodiment of the present invention two Cheng Tu;
Fig. 8 is the structural representation of the device of the deployment standby virtual network interface card virtual machine of the embodiment of the present invention;
Fig. 9 is the structural representation of the device of the deployment standby virtual network interface card virtual machine of another embodiment of the present invention Figure;
Figure 10 is the structural representation of the system of the deployment standby virtual network interface card virtual machine of the embodiment of the present invention.
Specific embodiment
Below in conjunction with drawings and Examples, the specific embodiment of the present invention is described in further detail. Following examples are used to illustrate the present invention, but are not limited to the scope of the present invention.
Embodiment one
Fig. 1 is referred to, Fig. 1 is the method for the deployment standby virtual network interface card virtual machine of the embodiment of the present invention one Flow chart, its idiographic flow include:
Step S110:The network interface card resources mode of Receiving Host, and it is stored into resource pool;
Step S120:Receive the backup mould for creating standby virtual network interface card demand information and specified Microsoft Loopback Adapter Formula information, the standby virtual network interface card demand information include Microsoft Loopback Adapter backup configuration information;
Step S130:Find what is matched in resource pool according to the backup mode information of the Microsoft Loopback Adapter Main frame carries out Internet resources distribution, using the main frame as the host for performing establishment standby virtual network interface card virtual machine Machine.
Fig. 2 is referred to again, and Fig. 2 is the method for the deployment standby virtual network interface card virtual machine of the embodiment of the present invention one Scheduling flow figure, as shown in the figure:
The network interface card resources mode of oneself is reported (step 201) by main frame HOST1 and main frame HOST2, is deposited Store up in resource pool, on wherein main frame HOST1, sriov-agent reports its network interface card resource to be to control node Backup mode, the network interface card resources mode of usual main frame include load sharing mode and active-standby mode etc., webmaster Establishment standby virtual network interface card demand information is sent, the standby virtual network interface card demand information includes that Microsoft Loopback Adapter is standby Part configuration information, and the backup mode (step 202) of Microsoft Loopback Adapter is being specified, then by this backup requirements Webmaster scheduler is passed to, after scheduler is judged as that backup mode needs, is found in resource pool suitable Main frame is allocated (step 203), and wherein network interface card resources mode has the main frame of active-standby mode can be with void Intend network interface card backup mode match, therefore find main frame HOST1 can as operation standby virtual network interface card The host of virtual machine.
Fig. 3 is referred to again, and Fig. 3 is the method for the deployment standby virtual network interface card virtual machine of the embodiment of the present invention one In host deployments schematic diagram, as shown in the figure:
In accompanying drawing, main frame HOST1 provides virtual machine running environment, and main frame HOST1 passes through interface NIC1~NIC4 is connected with the interface P1~P4 of switch, wherein, interface NIC1~NIC2 is with load sharing Mode is run, and interface NIC3~NIC4 then operates in active-standby mode.
Fig. 4 is referred to again, and Fig. 4 is the method for the deployment standby virtual network interface card virtual machine of the embodiment of the present invention one Another scheduling flow figure, as shown in the figure:
It is negative that on main frame HOST1, the agent of management network interface card reports its interface NIC1~NIC2 to control node Lotus is shared and interface NIC3~NIC4 is active-standby mode, and is saved in resource pool (step 401).
When webmaster creates virtual machine, it is intended that the backup mode of Microsoft Loopback Adapter, that is, refer to that Microsoft Loopback Adapter interface is active and standby Pattern, is saved into resource pool (step 402).
When control node is dispatched, standby virtual network interface card demand is inquired, network resource scheduling device is passed along, It is active and standby mould for the network interface card of NIC3~NIC4 that scheduler finds the interface of main frame HOST1 in resource pool Formula, is matched with the backup mode of specified Microsoft Loopback Adapter, is that its distribution is virtual as operation standby virtual network interface card The host (step 403) of machine.
Embodiment two
Fig. 5 is referred to, Fig. 5 is the method for the deployment standby virtual network interface card virtual machine of the embodiment of the present invention two Flow chart, its idiographic flow include:
Step S510:Before monitor of virtual machine starts, the standby virtual network interface card for obtaining establishment virtual machine is needed Information, the standby virtual network interface card demand information is asked to include Microsoft Loopback Adapter backup configuration information;
Step S520:When creating the disk file of virtual machine according to the standby virtual network interface card demand information, By Microsoft Loopback Adapter backup configuration information write simulation CD-ROM drive file, and the simulation CD-ROM drive file is injected To in the disk file;
Step S530:After monitor of virtual machine starts, the disk file is mounted, read void therein Intend network interface card backup configuration information;
Step S540:Corresponding interface backup process is carried out according to the Microsoft Loopback Adapter backup configuration information, Complete the establishment of standby virtual network interface card virtual machine.
Wherein, the Microsoft Loopback Adapter backup configuration information includes the backup mode information of Microsoft Loopback Adapter.
It is therein that corresponding interface backup is carried out in virtual machine according to the Microsoft Loopback Adapter backup configuration information Process includes:The network interface card run using active-standby mode in the main frame that backup mode with Microsoft Loopback Adapter is matched Interface is used as standby virtual network card interface.
Refer to Fig. 6 and Fig. 7, Fig. 6 again and Fig. 7 be the embodiment of the present invention two deployment standby virtual network interface card The scheduling flow figure of the method for virtual machine, as shown in the figure:
In Fig. 6, before monitor of virtual machine starts, the backup network interface card demand information (step of virtual machine is first got It is rapid that 601) the standby virtual network interface card demand information includes Microsoft Loopback Adapter backup configuration information and description of image, Then the disk file (step 602) of virtual machine is created using mirror image, at this moment, by backup configuration information Simulation CD-ROM drive file (step 603) of ISO9660 forms is written to, then virtual drive file is injected into In disk file (step 604).
In Fig. 7, after monitor of virtual machine starts, above-mentioned backup configuration information is parsed, according to the virtual net Card backup configuration information carries out corresponding interface backup process, and the plan network interface card backup configuration information includes virtual net The backup mode information of card, during process, when standby virtual network interface card is judged as, (MAC Address is identical or bonding Mark), by corresponding internal virtual Network card setup into backup mode, it is achieved thereby that standby virtual network interface card is empty The establishment process of plan machine.
The method of deployment standby virtual network interface card virtual machine provided in an embodiment of the present invention can be used on the most frequently used at present KVM (Kernel-based Virtual Machine, the virtual machine based on kernel) cloud platform it is any On virtualized environment.For example main frame passes through KVM platforms and SR-IOV (Single Root I/O Virtualization and Sharing) technology provides multiple Microsoft Loopback Adapters, is that virtual machine is used.
Thus, the present invention can be unified to inject standby virtual to virtual machine internal in the case of different mirror images The configuration information of network interface card, reduces the complexity of deployment standby virtual network interface card, so as to improve the easy-to-use of system Property and reliability.
Embodiment three
Fig. 8 is referred to, Fig. 8 is the device 800 of the deployment standby virtual network interface card virtual machine of the embodiment of the present invention Structural representation, including:
The network interface card resources mode of 810 Receiving Host of the first receiver module, then by network interface card resources mode and stores Enter in resource pool, the network interface card resources mode of usual main frame includes load sharing mode and active-standby mode etc., the Two receiver module 820 receives webmaster and creates the standby of standby virtual network interface card demand information and specified Microsoft Loopback Adapter Part pattern information, the standby virtual network interface card demand information include Microsoft Loopback Adapter backup configuration information, then will This backup requirements is passed to webmaster scheduler, after scheduler is judged as that the backup mode of Microsoft Loopback Adapter needs, money Source distribute module 830 finds suitable main frame in resource pool and is allocated, wherein network interface card resources mode tool The main frame for having active-standby mode can be matched with the backup mode of Microsoft Loopback Adapter, therefore find network interface card resources mode Main frame with active-standby mode can be used as the host of operation standby virtual network interface card virtual machine.
Fig. 9 is referred to again, and Fig. 9 is the dress of the deployment standby virtual network interface card virtual machine of another embodiment of the present invention 900 structural representation is put, including:
Before virtual machine starts, when VMM creates virtual machine, data obtaining module 910 first gets virtual machine Backup network interface card demand information, the backup network interface card demand information includes Microsoft Loopback Adapter backup configuration information and mirror image Describe, then creation module 920 creates the disk file of virtual machine using mirror image, and backup configuration information is write Enter the simulation CD-ROM drive file to ISO9660 forms, and virtual drive file is injected in disk file. After virtual machine starts, the Microsoft Loopback Adapter backup that information reading module 930 is read in the disk file after mounting is matched somebody with somebody Confidence ceases, and interface processing module 940 carries out respective handling to LAN card according to backup configuration information, virtually Network interface card backup configuration information includes the backup mode information of Microsoft Loopback Adapter, during process, when being judged as standby virtual Network interface card (MAC Address is identical or bonding indicates), by corresponding internal virtual Network card setup into backup mode, It is achieved thereby that the establishment process of standby virtual network interface card virtual machine.
Example IV
Figure 10 is referred to, Figure 10 is the system of the deployment standby virtual network interface card virtual machine of the embodiment of the present invention Structural representation, the system at least include webmaster scheduler and main frame, in the present embodiment is made, with two masters As a example by machine, main frame HOST1 and main frame HOST2 provides virtual machine service, HOST1 by KVM platforms And HOST2 is respectively by network card interface NIC1~NIC3 and tri- exchange ends of P1~P3 of external switch Mouthful connection, provides Microsoft Loopback Adapter service for virtual machine using SR-IOV technologies, wherein interface P1&P2 with Active/standby mode runs.Interface NIC1~NIC3 and interface vNIC1~vNIC3 is had in the networking.Wherein Interface NIC1~NIC2 constitutes an active and standby aggregation group, and correspondingly, interface vNIC1~vNIC2 constitutes one Active and standby aggregation group, is used by VM.
When virtual machine is set up, the network interface card resources mode of webmaster scheduler Receiving Host, and it is stored into resource pool; Then the backup mode information for creating standby virtual network interface card demand information and specified Microsoft Loopback Adapter is received again, and Finding the main frame for matching according to the backup mode information of the Microsoft Loopback Adapter in resource pool carries out network money Source is distributed, and in the present embodiment, the interface NIC1~NIC2 of main frame HOST1 constitutes active and standby aggregation group, symbol The backup mode for specifying Microsoft Loopback Adapter is closed, therefore is matched, standby virtual is created using the main frame as execution The host of network interface card virtual machine.
Afterwards, in main frame before monitor of virtual machine startup, main frame HOST1 obtains standby virtual network interface card Demand information, when creating the disk file of virtual machine according to the standby virtual network interface card demand information, will be described Microsoft Loopback Adapter backup configuration information write simulation CD-ROM drive file, and the simulation CD-ROM drive file is injected into described In disk file;After monitor of virtual machine starts, the disk file is mounted, read virtual net therein Card backup configuration information;Corresponding interface backup process is carried out according to the Microsoft Loopback Adapter backup configuration information, Complete the establishment of standby virtual network interface card virtual machine.
In embodiments of the present invention, the Microsoft Loopback Adapter interface of webmaster designated virtual machine is backup mode, is then adjusted Spend respective host to be allocated;In the case where VMM supports that the metadata of virtual machine is injected, create empty During plan machine disk using standby virtual network interface card characteristic as in metadata write simulation CD-ROM drive file, and it is injected into To in magnetic disk of virtual machine file;It is last to parse this configuration information after virtual machine starts, and to local virtual Network interface card carries out respective handling.It is achieved thereby that in the master control node establishment of standby virtual network interface card demand, virtual machine The simple and direct transmittance process of configuration.
The above is the preferred embodiment of the present invention, it is noted that for the common skill of the art For art personnel, on the premise of without departing from principle of the present invention, some improvements and modifications can also be made, These improvements and modifications also should be regarded as protection scope of the present invention.

Claims (10)

1. it is a kind of deployment standby virtual network interface card virtual machine method, it is characterised in that include:
The network interface card resources mode of Receiving Host, and it is stored into resource pool;
The backup mode information for creating standby virtual network interface card demand information and specified Microsoft Loopback Adapter is received, it is described Standby virtual network interface card demand information includes Microsoft Loopback Adapter backup configuration information;
Finding the main frame for matching according to the backup mode information of the Microsoft Loopback Adapter in resource pool carries out net Network resource allocation, using the main frame as the host for performing establishment standby virtual network interface card virtual machine.
2. the method for disposing standby virtual network interface card virtual machine as claimed in claim 1, it is characterised in that:
The network interface card resources mode of the main frame includes load sharing mode and active-standby mode.
3. the method for disposing standby virtual network interface card virtual machine as claimed in claim 1, it is characterised in that:
Wherein network interface card resources mode has the main frame of active-standby mode can be with the backup mode phase of Microsoft Loopback Adapter Match somebody with somebody.
4. it is a kind of deployment standby virtual network interface card virtual machine method, it is characterised in that include:
Before monitor of virtual machine starts, the standby virtual network interface card demand information for creating virtual machine is obtained, it is described Standby virtual network interface card demand information includes Microsoft Loopback Adapter backup configuration information;
When creating the disk file of virtual machine according to the standby virtual network interface card demand information, by the virtual net Card backup configuration information write simulation CD-ROM drive file, and the simulation CD-ROM drive file is injected into into the disk text In part;
After monitor of virtual machine starts, the disk file is mounted, read Microsoft Loopback Adapter backup therein and match somebody with somebody Confidence ceases;
Corresponding interface backup process is carried out according to the Microsoft Loopback Adapter backup configuration information, standby virtual is completed The establishment of network interface card virtual machine.
5. the method for disposing standby virtual network interface card virtual machine as claimed in claim 4, it is characterised in that:
The virtual drive file is ISO9660 forms.
6. the method for disposing standby virtual network interface card virtual machine as claimed in claim 4, it is characterised in that:
The Microsoft Loopback Adapter backup configuration information includes the backup mode information of Microsoft Loopback Adapter.
7. the method for disposing standby virtual network interface card virtual machine as claimed in claim 4, it is characterised in that It is therein that corresponding interface backup process is carried out in virtual machine according to the Microsoft Loopback Adapter backup configuration information Including:The network card interface run using active-standby mode in the main frame that backup mode with Microsoft Loopback Adapter is matched As standby virtual network card interface.
8. it is a kind of deployment standby virtual network interface card virtual machine device, it is characterised in that include:
First receiver module, for the network interface card resources mode of Receiving Host, and is stored into resource pool;
Second receiver module, creates standby virtual network interface card demand information and specified Microsoft Loopback Adapter for receiving Backup mode information, the standby virtual network interface card demand information include Microsoft Loopback Adapter backup configuration information;
Resource distribution module, finds phase in resource pool for the backup mode information according to the Microsoft Loopback Adapter The main frame of matching carries out Internet resources distribution, creates standby virtual network interface card virtual machine using the main frame as execution Host.
9. it is a kind of deployment standby virtual network interface card virtual machine device, it is characterised in that include:
Data obtaining module, before monitor of virtual machine starts, obtains the standby virtual network interface card for creating virtual machine Demand information, the standby virtual network interface card demand information include Microsoft Loopback Adapter backup configuration information;
Creation module, for the disk file of virtual machine is created according to the standby virtual network interface card demand information When, by Microsoft Loopback Adapter backup configuration information write simulation CD-ROM drive file, and CD-ROM drive file is simulated by described It is injected in the disk file;
Information reading module, after starting for monitor of virtual machine, the disk file is mounted, which is read In Microsoft Loopback Adapter backup configuration information;
Interface processing module, for carrying out corresponding interface backup according to the Microsoft Loopback Adapter backup configuration information Process, complete the establishment of standby virtual network interface card virtual machine.
10. it is a kind of deployment standby virtual network interface card virtual machine system, it is characterised in that at least including webmaster adjust Degree device and main frame, wherein:
The network interface card resources mode of the webmaster scheduler Receiving Host, and it is stored into resource pool;Receive and create standby The backup mode information of part Microsoft Loopback Adapter demand information and specified Microsoft Loopback Adapter;According to the Microsoft Loopback Adapter Backup mode information finds the main frame for matching in resource pool and carries out Internet resources distribution, and the main frame is made To perform the host for creating standby virtual network interface card virtual machine;
The main frame obtained the standby virtual network interface card demand for creating virtual machine before monitor of virtual machine startup Information;When creating the disk file of virtual machine according to the standby virtual network interface card demand information, will be described virtual Network interface card backup configuration information write simulation CD-ROM drive file, and the simulation CD-ROM drive file is injected into into the disk In file;After monitor of virtual machine starts, the disk file is mounted, read Microsoft Loopback Adapter therein standby Part configuration information;Corresponding interface backup process is carried out according to the Microsoft Loopback Adapter backup configuration information, is completed The establishment of standby virtual network interface card virtual machine.
CN201510626377.2A 2015-09-28 2015-09-28 Method, the apparatus and system of standby virtual network interface card virtual machine are disposed based on KVM Pending CN106557386A (en)

Priority Applications (2)

Application Number Priority Date Filing Date Title
CN201510626377.2A CN106557386A (en) 2015-09-28 2015-09-28 Method, the apparatus and system of standby virtual network interface card virtual machine are disposed based on KVM
PCT/CN2016/100216 WO2017054695A1 (en) 2015-09-28 2016-09-27 Method, apparatus and system for deploying virtual machine with backup virtual network interface card based on kvm

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN201510626377.2A CN106557386A (en) 2015-09-28 2015-09-28 Method, the apparatus and system of standby virtual network interface card virtual machine are disposed based on KVM

Publications (1)

Publication Number Publication Date
CN106557386A true CN106557386A (en) 2017-04-05

Family

ID=58416435

Family Applications (1)

Application Number Title Priority Date Filing Date
CN201510626377.2A Pending CN106557386A (en) 2015-09-28 2015-09-28 Method, the apparatus and system of standby virtual network interface card virtual machine are disposed based on KVM

Country Status (2)

Country Link
CN (1) CN106557386A (en)
WO (1) WO2017054695A1 (en)

Cited By (2)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN108880864A (en) * 2018-05-29 2018-11-23 深信服科技股份有限公司 Business network automatic recovery method, device, calamity are for platform and storage medium
CN110351149A (en) * 2019-07-26 2019-10-18 北京神州绿盟信息安全科技股份有限公司 A kind of method and device for safeguarding network data Forwarding plane

Families Citing this family (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN111416853B (en) * 2020-03-16 2022-10-21 西安雷风电子科技有限公司 IDV cloud desktop remote starting method and system

Citations (5)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN102088367A (en) * 2010-12-10 2011-06-08 北京世纪互联工程技术服务有限公司 Method for quickly deploying in virtualization environment
CN102141928A (en) * 2010-01-29 2011-08-03 国际商业机器公司 Data processing method and system in virtual environment and deployment method of system
US20140298317A1 (en) * 2013-03-27 2014-10-02 Vmware, Inc. Methods and apparatus to convert a machine to a virtual machine
CN104298559A (en) * 2014-09-30 2015-01-21 深圳市深信服电子科技有限公司 Method and device for virtualizing physical host system
US20150269029A1 (en) * 2014-03-20 2015-09-24 Unitrends, Inc. Immediate Recovery of an Application from File Based Backups

Family Cites Families (4)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN102271145A (en) * 2010-06-04 2011-12-07 国云科技股份有限公司 Virtual computer cluster and enforcement method thereof
CN102857363B (en) * 2012-05-04 2016-04-20 运软网络科技(上海)有限公司 A kind of autonomous management system and method for virtual network
US9110864B2 (en) * 2013-06-25 2015-08-18 International Business Machines Corporation Fault tolerance solution for stateful applications
CN104579727B (en) * 2013-10-17 2018-02-06 国际商业机器公司 A kind of method and apparatus for the network connection for managing network node

Patent Citations (5)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN102141928A (en) * 2010-01-29 2011-08-03 国际商业机器公司 Data processing method and system in virtual environment and deployment method of system
CN102088367A (en) * 2010-12-10 2011-06-08 北京世纪互联工程技术服务有限公司 Method for quickly deploying in virtualization environment
US20140298317A1 (en) * 2013-03-27 2014-10-02 Vmware, Inc. Methods and apparatus to convert a machine to a virtual machine
US20150269029A1 (en) * 2014-03-20 2015-09-24 Unitrends, Inc. Immediate Recovery of an Application from File Based Backups
CN104298559A (en) * 2014-09-30 2015-01-21 深圳市深信服电子科技有限公司 Method and device for virtualizing physical host system

Cited By (3)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN108880864A (en) * 2018-05-29 2018-11-23 深信服科技股份有限公司 Business network automatic recovery method, device, calamity are for platform and storage medium
CN108880864B (en) * 2018-05-29 2021-04-09 深信服科技股份有限公司 Automatic recovery method and device for service network, disaster recovery platform and storage medium
CN110351149A (en) * 2019-07-26 2019-10-18 北京神州绿盟信息安全科技股份有限公司 A kind of method and device for safeguarding network data Forwarding plane

Also Published As

Publication number Publication date
WO2017054695A1 (en) 2017-04-06

Similar Documents

Publication Publication Date Title
US11294699B2 (en) Dynamically scaled hyperconverged system establishing minimum supported interoperable communication protocol between clusters in a cluster group
US10241835B2 (en) Scheduling storage and computing resources based on task types and service levels
WO2019184164A1 (en) Method for automatically deploying kubernetes worker node, device, terminal apparatus, and readable storage medium
CN110086652B (en) Management system and method for service network element in 5G core network
CN103685608B (en) A kind of method and device for automatically configuring secure virtual machine IP address
CN107357660A (en) The distribution method and device of a kind of virtual resource
WO2016037479A1 (en) Method, device and system for optimizing virtualized network function (vnf)
CN107924336A (en) The hardware management system of distributing rack architectural framework in being disposed for virtual server rack
CN111162941B (en) Method for automatically managing virtual IP (Internet protocol) in Kubernetes environment
CN105049293B (en) The method and device of monitoring
CN106685679A (en) Network service deployment method and device
US11269674B1 (en) Lifecycle management of VNFC software modules
CN106789327A (en) The automatic method and system that host is added for cloud platform
CN106134141A (en) A kind of method and device updating network service describer NSD
CN105827428A (en) Management method and device of asset information
CN107959582A (en) A kind of management method and device of example of cutting into slices
CN104639361A (en) Network service template management method and device
CN105847053B (en) The method and system that more network interface card multisegments are arbitrarily bound are set automatically under LINUX system
CN107153571A (en) A kind of dispositions method and device of virtual management node
CN103207965A (en) Method and device for License authentication in virtual environment
CN106899477A (en) The construction method and device of physical machine in cloud computing platform
CN109565447A (en) Network function processing method and relevant device
CN106775993A (en) A kind of physical machine is migrated to the method and system of cloud computing platform
CN109799998A (en) OpenStack cluster configuration and batch dispositions method and system
CN105530116B (en) Method and corresponding device for backing up and recovering virtualized network

Legal Events

Date Code Title Description
PB01 Publication
PB01 Publication
SE01 Entry into force of request for substantive examination
SE01 Entry into force of request for substantive examination
RJ01 Rejection of invention patent application after publication
RJ01 Rejection of invention patent application after publication

Application publication date: 20170405