CN105068944A - High availability method and architecture of universal serial bus (USB) peripherals in virtualization environment - Google Patents

High availability method and architecture of universal serial bus (USB) peripherals in virtualization environment Download PDF

Info

Publication number
CN105068944A
CN105068944A CN201510426226.2A CN201510426226A CN105068944A CN 105068944 A CN105068944 A CN 105068944A CN 201510426226 A CN201510426226 A CN 201510426226A CN 105068944 A CN105068944 A CN 105068944A
Authority
CN
China
Prior art keywords
usb
virtual machine
server
system equipment
redirectional system
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
CN201510426226.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.)
SHENZHEN THIN PUTER TECHNOLOGY Co Ltd
Original Assignee
SHENZHEN THIN PUTER TECHNOLOGY Co Ltd
Priority date (The priority date is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the date listed.)
Filing date
Publication date
Application filed by SHENZHEN THIN PUTER TECHNOLOGY Co Ltd filed Critical SHENZHEN THIN PUTER TECHNOLOGY Co Ltd
Priority to CN201510426226.2A priority Critical patent/CN105068944A/en
Publication of CN105068944A publication Critical patent/CN105068944A/en
Pending legal-status Critical Current

Links

Classifications

    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06FELECTRIC DIGITAL DATA PROCESSING
    • G06F13/00Interconnection of, or transfer of information or other signals between, memories, input/output devices or central processing units
    • G06F13/10Program control for peripheral devices
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04LTRANSMISSION OF DIGITAL INFORMATION, e.g. TELEGRAPHIC COMMUNICATION
    • H04L67/00Network arrangements or protocols for supporting network services or applications
    • H04L67/01Protocols
    • H04L67/10Protocols in which an application is distributed across nodes in the network

Landscapes

  • Engineering & Computer Science (AREA)
  • Theoretical Computer Science (AREA)
  • Computer Networks & Wireless Communication (AREA)
  • Signal Processing (AREA)
  • Physics & Mathematics (AREA)
  • General Engineering & Computer Science (AREA)
  • General Physics & Mathematics (AREA)
  • Computer And Data Communications (AREA)

Abstract

The invention discloses a high availability method of universal serial bus (USB) peripherals in a virtualization environment. The high availability method of the USB peripherals in the virtualization environment comprises following steps that a redirection system device and a server are connected to the same network; each USB peripheral is connected to the redirection system device, and a destination address for redirection of each USB peripheral is configured on the redirection system device; the redirection system device directs the inserted USB peripherals to corresponding virtual machines according to the configured destination addresses for redirection; and when the server, in which the virtual machines are, breaks down, the virtual machines are migrated to another server from the server breaking down, the redirection system device redirects the USB peripherals to the migrated virtual machines, and the virtual machines continue to run a function or a service authenticated or authorized by the USB peripherals. The high availability of the migrated virtual machines and the function or service thereof is guaranteed.

Description

The high availability method under virtualized environment and framework thereof is located at outside USB
Technical field
The present invention relates to the high availability method be located at outside the application technology, particularly a kind of USB that to be located at outside a kind of USB under virtualized environment under virtualized environment.
Background technology
Day by day flourishing in the promotion lower network technology of scientific and technological progress, also more and more higher to the demand of server, in order to save IT hardware cost, improve the utilization factor of server, Intel Virtualization Technology is day by day prevailing, virtual translator of English is Virtualization, in IT circles, virtual referring to utilizes various method that the various hardware resources of physical computer (are comprised CPU, RAM, hard disk and network controller) give simulation out, thus realize the technology running multiple virtual machine the same with " truly " computing machine in separate unit physical machine, each virtual machine can run oneself independently operating system and not conflicting mutually.
Because virtual machine operates in a physical machine, when this physical machine goes wrong, guarantee that virtual machine still can normally work, this just needs virtual machine to have high-availability cluster, High Availabitity translator of English HighAvailability, be called for short HA, High Availabitity typically refers to ensure that certain service can stable operation always, not because the server at its place there occurs fault (such as hardware fault or power-off etc.) and causes whole service all to quit work, general employing multiple stage physical server assembly cluster, service can be moved in whole cluster, when a wherein station server generation physical fault, service meeting Autonomic Migration Framework is on other servers, the availability of Deterministic service.Under virtualized environment, virtual machine can move between each server according to certain strategy in whole cluster, and can accomplish high available virtual machine, virtual machine is never shut down.
When virtual machine function or service operation are without the need to certification or when authorizing, the migration of virtual machine does not affect function or service, the factor impact such as protected by copyright, when the operation of some function needs to adopt USBKey carry out certification or authorize, only have and USBKey is inserted on the server of operation virtual machine, relevant function or service can normally work, when this server failure cannot provide, virtual machine (vm) migration is to other servers, want to ensure the operation that these serve, USBKey also must move thereupon, insert in the Hypervisor system of server virtualization, and then utilize the USBPass-through function of virtual platform that USB peripheral hardware is penetrated in corresponding virtual machine, in this process, USB peripheral hardware is not automatically follow virtual machine (vm) migration, but need physical migration to solve, this just causes virtual machine and has high availability, and the function run or service do not obtain high availability, the technology that then still awaits solves.
Summary of the invention
In order to solve the problem, the invention provides the high availability method giving and to be located at outside a kind of USB under virtualized environment.
The technical solution used in the present invention is: be located at the high availability method under virtualized environment outside a kind of USB, it is characterized in that comprising following implementation step:
A, Redirectional system equipment and server are connected to consolidated network;
B, each USB peripheral hardware are connected respectively to Redirectional system equipment, and Redirectional system equipment configures the destination address that each USB is redirected;
C, Redirectional system equipment, by inserted USB peripheral hardware, according to the destination address be redirected configured, are directed on corresponding virtual machine accordingly, and virtual machine runs function or the service of the outer setting authentication of USB or mandate;
D, when virtual machine place server fail, virtual machine is from this server migration to another server, Redirectional system equipment detects virtual machine and moves, after migration, the IP of virtual machine remains unchanged, virtual machine after Redirectional system equipment Automatic-searching to migration, be redirected to by USB on the virtual machine after migration, virtual machine continues the function or the service that run the outer setting authentication of USB or mandate.
The High Availabitity framework under virtualized environment is located at outside a kind of USB, comprise remote computer and at least two-server, it is characterized in that with server consolidated network under be connected with Redirectional system equipment, Redirectional system equipment connection has USB peripheral hardware, and Redirectional system Equipments Setting USB peripheral hardware is directed to the redirected destination address of corresponding virtual machine.
The present invention utilizes USB redirecting technique under virtualized environment, Redirectional system equipment passes to server by network USB peripheral hardware, being equal to USB device is inserted on server interface, when the reasons such as the server fail that virtual machine runs or maintenance are out of service, virtual machine will from server migration out of service to cluster in the normal server run, as long as network keeps proper communication, Redirectional system equipment will detect virtual machine and move, because the IP moving rear virtual machine remains unchanged, Redirectional system equipment will Automatic-searching to migration after virtual machine, USB is redirected on the virtual machine after migration, virtual machine continues the function or the service that run the outer setting authentication of USB or mandate, thus ensure the high availability of the virtual machine after moving and function or service, solve existing USB peripheral hardware and do not move brought technical matters along with the migration of virtual machine.
Accompanying drawing explanation
Fig. 1 is Organization Chart of the present invention.
Embodiment
The embodiment of the present invention as shown in Figure 1, is located at the high availability method under virtualized environment outside this USB, comprise following implementation step during concrete enforcement:
A, Redirectional system equipment and server are connected to consolidated network, and can realize communication under this network between Redirectional system equipment and server, Redirectional system equipment can be common computer, also can be embedded system;
B, each USB peripheral hardware are connected respectively to Redirectional system equipment, Redirectional system equipment configures the destination address that each USB is redirected, namely needs the IP address of the virtual machine using this USB;
C, Redirectional system equipment are by inserted USB peripheral hardware, according to the destination address be redirected configured, be directed on corresponding virtual machine accordingly, when far-end uses virtual machine, virtual machine can find USB device, make virtual machine run function or the service of the outer setting authentication of USB or mandate, normally run work, be equal to USB device and be inserted on the server interface of virtual machine operation place;
D, when virtual machine place server fail, virtual machine is from this server migration to another server, Redirectional system equipment detects virtual machine and moves, after migration, the IP of virtual machine remains unchanged, virtual machine after Redirectional system equipment Automatic-searching to migration, USB is redirected on the virtual machine after migration, virtual machine continues the function or the service that run the outer setting authentication of USB or mandate, normal operation work, is equal to after USB device is inserted in virtual machine (vm) migration and runs on the server interface of place;
Based on said method, the High Availabitity framework under virtualized environment is located at outside a kind of USB, comprise remote computer and at least two-server, Redirectional system equipment is connected with under server consolidated network, Redirectional system equipment connection has USB peripheral hardware, Redirectional system Equipments Setting USB peripheral hardware is directed to the redirected destination address of corresponding virtual machine, and remote equipment carries out managing and operating as computer access server runs virtual machine.
The present invention utilizes USB redirecting technique under virtualized environment, Redirectional system equipment passes to server by network USB peripheral hardware, being equal to USB device is inserted on server interface, when the reasons such as the server fail that virtual machine runs or maintenance are out of service, virtual machine will from server migration out of service to cluster in the normal server run, as long as network keeps proper communication, Redirectional system equipment will detect virtual machine and move, because the IP moving rear virtual machine remains unchanged, Redirectional system equipment will according to the virtual machine after the regular Automatic-searching of configuration to migration, USB is redirected on the virtual machine after migration, virtual machine continues the function or the service that run the outer setting authentication of USB or mandate, thus ensure the high availability of the virtual machine after moving and function or service, solve existing USB peripheral hardware and do not move brought technical matters along with the migration of virtual machine.
Be only the specific embodiment of the invention in sum, but be not limited to embodiment, all when not departing from the present invention's design, the equivalence modification done according to the application and prior art interpolation are all considered as the technology of the present invention category.

Claims (2)

1. be located at the high availability method under virtualized environment outside USB, it is characterized in that comprising following implementation step:
A, Redirectional system equipment and server are connected to consolidated network;
B, each USB peripheral hardware are connected respectively to Redirectional system equipment, and Redirectional system equipment configures the destination address that each USB is redirected;
C, Redirectional system equipment, by inserted USB peripheral hardware, according to the destination address be redirected configured, are directed on corresponding virtual machine accordingly, and virtual machine runs function or the service of the outer setting authentication of USB or mandate;
D, when virtual machine place server fail, virtual machine is from this server migration to another server, Redirectional system equipment detects virtual machine and moves, after migration, the IP of virtual machine remains unchanged, virtual machine after Redirectional system equipment Automatic-searching to migration, be redirected to by USB on the virtual machine after migration, virtual machine continues the function or the service that run the outer setting authentication of USB or mandate.
2. outside a USB, be located at the High Availabitity framework under virtualized environment, comprise remote computer and at least two-server, it is characterized in that with server consolidated network under be connected with Redirectional system equipment, Redirectional system equipment connection has USB peripheral hardware, and Redirectional system Equipments Setting USB peripheral hardware is directed to the redirected destination address of corresponding virtual machine.
CN201510426226.2A 2015-07-20 2015-07-20 High availability method and architecture of universal serial bus (USB) peripherals in virtualization environment Pending CN105068944A (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN201510426226.2A CN105068944A (en) 2015-07-20 2015-07-20 High availability method and architecture of universal serial bus (USB) peripherals in virtualization environment

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN201510426226.2A CN105068944A (en) 2015-07-20 2015-07-20 High availability method and architecture of universal serial bus (USB) peripherals in virtualization environment

Publications (1)

Publication Number Publication Date
CN105068944A true CN105068944A (en) 2015-11-18

Family

ID=54498321

Family Applications (1)

Application Number Title Priority Date Filing Date
CN201510426226.2A Pending CN105068944A (en) 2015-07-20 2015-07-20 High availability method and architecture of universal serial bus (USB) peripherals in virtualization environment

Country Status (1)

Country Link
CN (1) CN105068944A (en)

Cited By (2)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN105786602A (en) * 2016-02-29 2016-07-20 重庆工程职业技术学院 Dynamic migration system and method for simulation practical training software
CN113282376A (en) * 2021-07-22 2021-08-20 北京关键科技股份有限公司 UKey virtual machine penetration method applied to cloud platform architecture

Citations (4)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US20070043928A1 (en) * 2005-08-19 2007-02-22 Kiran Panesar Method and system for device address translation for virtualization
CN101493786A (en) * 2008-01-22 2009-07-29 联想(北京)有限公司 Computer and equipment accessing method
CN104092747A (en) * 2014-06-30 2014-10-08 杭州华三通信技术有限公司 USB dynamic linking method and device in virtualization environment
CN104123244A (en) * 2013-04-25 2014-10-29 鸿富锦精密工业(深圳)有限公司 USB redirection system and method

Patent Citations (4)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US20070043928A1 (en) * 2005-08-19 2007-02-22 Kiran Panesar Method and system for device address translation for virtualization
CN101493786A (en) * 2008-01-22 2009-07-29 联想(北京)有限公司 Computer and equipment accessing method
CN104123244A (en) * 2013-04-25 2014-10-29 鸿富锦精密工业(深圳)有限公司 USB redirection system and method
CN104092747A (en) * 2014-06-30 2014-10-08 杭州华三通信技术有限公司 USB dynamic linking method and device in virtualization environment

Cited By (3)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN105786602A (en) * 2016-02-29 2016-07-20 重庆工程职业技术学院 Dynamic migration system and method for simulation practical training software
CN113282376A (en) * 2021-07-22 2021-08-20 北京关键科技股份有限公司 UKey virtual machine penetration method applied to cloud platform architecture
CN113282376B (en) * 2021-07-22 2021-11-12 北京关键科技股份有限公司 UKey virtual machine penetration method applied to cloud platform architecture

Similar Documents

Publication Publication Date Title
US8661434B1 (en) Migration of computer security modules in a virtual machine environment
CN103620578B (en) Local cloud computing via network segmentation
US9575789B1 (en) Systems and methods for enabling migratory virtual machines to expedite access to resources
US20180293083A1 (en) Virtual desktop system and method of control
US11422843B2 (en) Virtual machine migration method and apparatus having automatic user registration at a destination virtual machine
US20150095505A1 (en) Resolving network address conflicts
CN102567074A (en) USB (universal serial bus) device redirecting method facing virtual machines
US20110239216A1 (en) Service providing system, a virtual machine server, a service providing method, and a program thereof
CN102316043B (en) Port virtualization method, switch and communication system
US8321617B1 (en) Method and apparatus of server I/O migration management
US9697031B2 (en) Method for implementing inter-virtual processor interrupt by writing register data in a single write operation to a virtual register
US10824488B2 (en) Device detection method and system, electronic device, cloud robot system, and computer program product
CN102932409B (en) The method and system that a kind of virtual machine moves online
CN104901923A (en) Virtual machine access device and method
US11303704B2 (en) Methods and systems for connecting devices to applications and desktops that are receiving maintenance
KR101680702B1 (en) System for web hosting based cloud service
EP3637252A1 (en) Virtual machine deployment method and omm virtual machine
CN102959512A (en) Virtual machine splitting method and system
CN103019847B (en) To the method and system that virtual-machine data is moved
CN105068944A (en) High availability method and architecture of universal serial bus (USB) peripherals in virtualization environment
CN112099916A (en) Virtual machine data migration method and device, computer equipment and storage medium
CN104216757A (en) Method for migrating VMware virtual machine to KVM (kernel-based virtual machine)
CN106254419A (en) System and method virtual machine operated by control station server
US20190356648A1 (en) Resource extension method and device for a zone of a cloud service platform, apparatus and computer-readable storage medium
WO2012001445A1 (en) Virtual machine merging method and system

Legal Events

Date Code Title Description
C06 Publication
PB01 Publication
C10 Entry into 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: 20151118