CN102307207A - System and method for online customizing virtual machine image - Google Patents

System and method for online customizing virtual machine image Download PDF

Info

Publication number
CN102307207A
CN102307207A CN201010292121XA CN201010292121A CN102307207A CN 102307207 A CN102307207 A CN 102307207A CN 201010292121X A CN201010292121X A CN 201010292121XA CN 201010292121 A CN201010292121 A CN 201010292121A CN 102307207 A CN102307207 A CN 102307207A
Authority
CN
China
Prior art keywords
virtual machine
mirror image
image
online
message
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
CN201010292121XA
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.)
Institute of Computing Technology of CAS
Original Assignee
Institute of Computing Technology of CAS
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 Institute of Computing Technology of CAS filed Critical Institute of Computing Technology of CAS
Priority to CN201010292121XA priority Critical patent/CN102307207A/en
Publication of CN102307207A publication Critical patent/CN102307207A/en
Pending legal-status Critical Current

Links

Images

Landscapes

  • Stored Programmes (AREA)

Abstract

The invention relates to the technical field of cloud computing, in particular to a system and a method for online customizing a virtual machine image. The system comprises an online customization tool, a request processing unit, a security verification unit and two message transmission units, wherein the online customization tool is used for transmitting given requests to a server and transmitting corresponding parameters; the request processing unit is used for monitoring requests of terminal users, outputting the requests to a corresponding security verification unit, waiting for returned messages, packing the returned messages and returning the packed messages to the terminal users; the security verification unit is used for verifying whether the users are legal and have corresponding rights related to the requests or not; the message transmission unit is used for dividing the received messages according to the functions of the user requests and distributing the messages to own waiting queue for the processing of an image processing unit; and the image processing unit is used for processing tasks received from the message queue, and packing, blocking, uploading and associating the images. The system and the method are simple, universal and effective for the deployment of virtual machines required by large-scale trunking, and can be applied to the online customization of the virtual machine images.

Description

The system and the method thereof of online customizing virtual machine mirror image
Technical field
The present invention relates to the cloud computing technical field, refer in particular to a kind of system and method thereof of online customizing virtual machine mirror image.
Background technology
It is the centralized architecture (data center 1.0) of main body with the large-scale computer that the computer application pattern has experienced substantially, be the client/server distributed computing architecture (data center 2.0) of main body with the PC, be the service-oriented architecture of core (SOA) and with the Intel Virtualization Technology based on the novel framework (data center 3.0) of Web2.0 application characteristic.The differentiation of computer application pattern, Technical Architecture and realization characteristic is the historical background of cloud computing development.
Internet technology becomes the basis that ICT uses, and the internet, applications demand that emerges in an endless stream also requires the ICT theory to think deeply again and design.This change not only brings the update of ICT application platform, and brings ICT Application and implementation and commercial Model Innovation.The influence of this variation is so huge and distinct, to such an extent as to people can describe these new characteristic and phenomenons from a plurality of angles and visual angle.Although the notion of cloud computing and definition are a lot, study carefully its essence and still realize with professional network in order to satisfy the ICT application.For theoretical and the preciseness of discussing, give cloud computing more clear and definite and strict definition: cloud computing is under the framework of integrating, and the virtual resource platform of IP based network provides scale ICT the implementation of application.
The essence of cloud computing is the application under the network, by IP and the common structure of IT technology.From development point of view, the technology of " cloud " and target are processes that progressively develops.Such as, when the Web technology occurs, the blank at unified interface has been arranged with regard to the application characteristic that has possessed cloud computing.Along with the release that the maturation and the Web of the Intel Virtualization Technology on the server application platform unifies the interface, virtually move towards to combine with Web, make cloud computing can on the framework of an integration, unify realization.
Virtual is the term of a broad sense, is moving on the virtual basis rather than on the real basis typically referring to computing element aspect the computer.Intel Virtualization Technology can enlarge the capacity of hardware, simplifies the process that reconfigures of software.It is parallel that the Intel Virtualization Technology of CPU can single CPU be simulated many CPU, allows a platform to move a plurality of operating systems simultaneously, and application program can move in separate space and be independent of each other, thereby significantly improve the operating efficiency of computer.
Intel Virtualization Technology and multitask and Hyper-Threading are diverse.Multitask is meant a plurality of programs parallel running simultaneously in an operating system; And in Intel Virtualization Technology; Then can move a plurality of operating systems simultaneously; And all there are a plurality of program running, each operating system all to operate on the virtual CPU or fictitious host computer in each operating system; Come the equilibrium code runnability and Hyper-Threading is single CPU simulated dual CPU, the CPU that these two simulations are come out is indissociable, can only collaborative work.
Also to reach the software of virtual effect equally different with present VMware Workstation etc. for Intel Virtualization Technology, are huge technological progresses, are in particular in and reduce software virtual machine associated overhead and support operating system aspect widely.
Use the methods aspect deploying virtual machine such as maximum virtual machine manager Xen, KVM, QEMU to have nothing in common with each other at present in the cloud computing field; This situation disposes for cloud computing field cluster virtual machine environment and the large-scale application deployment brings challenges; Therefore; A kind of method and system need be provided, can unify online customizing virtual machine system image.
Summary of the invention
One of technical problem that the present invention solves is to provide a kind of system of online customizing virtual machine mirror image; For online customizing virtual machine provides a kind of general, efficient system.
Two methods that are to provide a kind of online customizing virtual machine mirror image of the technical problem that the present invention solves; For online customizing virtual machine provides a kind of general, effective method.
The technical scheme that the present invention one of solves the problems of the technologies described above is:
Comprise online customization instrument, requesting processing, safety verification unit, message transfer unit and message transfer unit;
Described online customization instrument is used for sending to service end the request of appointment, and transmits relevant parameters;
Described requesting processing is used to monitor terminal use's request, exports to corresponding safety verification unit through after the simple classification processing, and waits for that return messages encapsulation back returns to the terminal use through online customization instrument;
Described safety verification unit; Whether legitimacy, the user who is used to verify the user has the corresponding authority relevant with request, and rejects the user according to the checking situation and ask error message etc. is passed to requesting processing or request message is exported to the message transfer unit;
Described message transfer unit is used for dividing the message that receives according to user's request function, and message is distributed to waiting list separately, waits for the mirror image processing cell processing;
Described mirror image processing unit is used for handling accepting from message queue of task, with mirror image packing, piecemeal, upload, association.
The structure of described requesting processing request command comprises the store path of virtual machine sign, virtual machine CPU framework, virtual machine kernel mirror image sign, virtual machine activation image banner, customization back system image, the title of customization back system image; Wherein, described virtual machine sign is used to identify operated virtual machine, is the globally unique identifier of distinguishing a virtual machine and other virtual machines; The CPU framework that described virtual machine CPU framework is used to identify operated virtual machine is i386 or x86_64; Described virtual machine kernel mirror image sign kernelld is used for sign by the employed kernel mirror image of operation virtual machine, is the globally unique identifier of distinguishing a kernel mirror image and other kernel mirror images; Described virtual machine activation image banner is used for sign by the employed startup mirror image of operation virtual machine, is that one of differentiation starts mirror image and other start the globally unique identifier of mirror image; The store path of customization back system image is used to identify the store path of system image in the cloud storage after the customization, and this path is a globally unique identifier in the cloud memory file system; The title of customization back system image is used for identifying system image after the customization in the description document title of cloud store path, and this title is formulated unique identification under the store path in the cloud memory file system.
3, according to the system of claim online customizing virtual machine mirror image according to claim 1 and 2, it is characterized in that: the safety verification of described safety verification unit (12) comprises X509 authentication, Authority Verification.Wherein, the X509 authentication is used for the password authenticity and confirms; Authority Verification is used to verify user's rank, confirms whether the user has this virtual machine image is carried out online customization operations.
Two the technical scheme that the present invention solves the problems of the technologies described above is:
Carry out message transmission processing and mirror image processing as follows:
Message is transmitted treatment step:
Steps A 1: cloud controller end location is delivered to online customized messages the cluster controller of appointment by the operation cluster that virtual machine moved.
Steps A 2: the cluster controller location is delivered to online customized messages the Node Controller of appointment by the operation node that virtual machine moved.
The mirror image processing process comprises:
Step B1: the required safety certificate of assembling X509 authentication.
Step B2: through being located the position of its system image in file system by operation virtual machine unique identification instanceld.
Step B3: to being carried out squeeze operation by operation dummy machine system mirror image.
Step B4: to being carried out the branch block operations by operation dummy machine system mirror image compressed file.
Step B5: the description document of file behind the generation piecemeal, this document also comprise by operation dummy machine system pairing kernel mirror image sign of mirror image (kernelld) and startup image banner information such as (ramdiskld) except that comprising the branch block message.
Step B6: the file behind the piecemeal and piecemeal description document are uploaded in the cloud storage server under this user's specified path (bucketName) with designated mirror title (imageName).
Step B7: this mirror image of registration in cloud computing system makes the user can utilize the system image of customization to create virtual machine in batches.
Adopt tool and method of the present invention can reach following beneficial effect:
1, the present invention makes things convenient for the user to customize the dummy machine system that is had at any time, need not to effectively raise operating efficiency installing, disposing the repetition spended time, and is particularly evident when needs large scale deployment cluster environment.
2, the present invention makes things convenient for the user to be directed against the virtual machine that is had at any time to back up, and avoids because of problems such as loss of data that misoperation causes, system crashes.
3, the present invention has taken into full account the distributed characteristics of current cloud computing field virtual machine, makes things convenient for the user to dispose required group system in a plurality of data centers simultaneously.
4, the virtual machine image that the present invention can the multiple Intel Virtualization Technology of online customization reduces the complexity in user's use greatly.
Description of drawings
Below in conjunction with accompanying drawing the present invention is further specified:
Fig. 1 is the system architecture diagram of the online customizing virtual machine of the present invention mirror image;
Fig. 2 is that realization flow figure is handled in mirror image processing provided by the invention unit 14.
Embodiment
See shown in Figure 1ly, the system of the online customizing virtual machine of the present invention mirror image comprises online customization instrument 10, requesting processing 11, safety verification unit 12, message transfer unit 13, mirror image processing unit 14.Online customization instrument 10 is used for sending to service end the request of appointment, and transmits relevant parameters.Requesting processing 11 is used to monitor terminal use's request, exports to corresponding safety verification unit 12 through after the simple classification processing, and waits for that return messages encapsulation back returns to the terminal use through online customization instrument 10.User's legitimacy is at first verified in safety verification unit 12, the corresponding authority relevant that next verifies whether the user has with request, if wherein one be vacation, then directly reject the user and ask, and error message etc. is passed to requesting processing; If all for very then request message is exported to message transfer unit 13.Message transfer unit 13 is used for dividing the message that receives according to user's request function, and message is distributed to waiting list separately, waits for 14 processing of mirror image processing unit.Mirror image processing unit 14 is used for handling accepting from message queue of task, with mirror image packing, piecemeal, upload, association.
As shown in Figure 2, be mirror image processing of the present invention unit 14 realization flow figure, this method comprises:
Step B1: the required safety certificate of assembling X509 authentication.
Step B2: through being located the position of its system image in file system by operation virtual machine unique identification instanceld.
Step B3: to being carried out squeeze operation by operation dummy machine system mirror image.
Step B4: to being carried out the branch block operations by operation dummy machine system mirror image compressed file.
Step B5: the description document of file behind the generation piecemeal, this document also comprise by operation dummy machine system pairing kernel mirror image sign of mirror image (kernelld) and startup image banner information such as (ramdiskld) except that comprising the branch block message.
Step B6: the file behind the piecemeal and piecemeal description document are uploaded in the cloud storage server under this user's specified path (bucketName) with designated mirror title (imageName).
Step B7: this mirror image of registration in cloud computing system makes the user can utilize the system image of customization to create virtual machine in batches.
In addition, the message of message transfer unit 13 of the present invention transmission treatment step is:
Steps A 1: cloud controller end location is delivered to online customized messages the cluster controller of appointment by the operation cluster that virtual machine moved.
Steps A 2: the cluster controller location is delivered to online customized messages the Node Controller of appointment by the operation node that virtual machine moved.

Claims (4)

1. the system of an online customizing virtual machine mirror image is characterized in that: comprise online customization instrument (10), requesting processing (11), safety verification unit (12), message transfer unit (13) and message transfer unit (14);
Described online customization instrument (10) is used for sending to service end the request of appointment, and transmits relevant parameters;
Described requesting processing (11) is used to monitor terminal use's request, exports to corresponding safety verification unit (12) through after the simple classification processing, and waits for that return messages encapsulation back returns to the terminal use through online customization instrument (10);
Described safety verification unit (12); Whether legitimacy, the user who is used to verify the user has the corresponding authority relevant with request, and rejects the user according to the checking situation and ask error message etc. is passed to requesting processing (11) or request message is exported to message transfer unit (13);
Described message transfer unit (13) is used for dividing the message that receives according to user's request function, and message is distributed to waiting list separately, waits for mirror image processing unit (14) processing;
Described mirror image processing unit (14) is used for handling accepting from message queue of task, with mirror image packing, piecemeal, upload, association.
2. the system of online customizing virtual machine mirror image according to claim 1 is characterized in that: the structure of described requesting processing (11) request command comprises the store path of virtual machine sign, virtual machine CPU framework, virtual machine kernel mirror image sign, virtual machine activation image banner, customization back system image, the title of customization back system image; Wherein, described virtual machine sign is used to identify operated virtual machine, is the globally unique identifier of distinguishing a virtual machine and other virtual machines; The CPU framework that described virtual machine CPU framework is used to identify operated virtual machine is i386 or x86_64; Described virtual machine kernel mirror image sign kernelld is used for sign by the employed kernel mirror image of operation virtual machine, is the globally unique identifier of distinguishing a kernel mirror image and other kernel mirror images; Described virtual machine activation image banner is used for sign by the employed startup mirror image of operation virtual machine, is that one of differentiation starts mirror image and other start the globally unique identifier of mirror image; The store path of customization back system image is used to identify the store path of system image in the cloud storage after the customization, and this path is a globally unique identifier in the cloud memory file system; The title of customization back system image is used for identifying system image after the customization in the description document title of cloud store path, and this title is formulated unique identification under the store path in the cloud memory file system.
3. according to the system of claim online customizing virtual machine mirror image according to claim 1 and 2, it is characterized in that: the safety verification of described safety verification unit (12) comprises X509 authentication, Authority Verification.Wherein, the X509 authentication is used for the password authenticity and confirms; Authority Verification is used to verify user's rank, confirms whether the user has this virtual machine image is carried out online customization operations.
4. the method for an online customizing virtual machine mirror-image system according to claim 1 is characterized in that: carry out message transmission processing and mirror image processing as follows:
Message is transmitted treatment step:
Steps A 1: cloud controller end location is delivered to online customized messages the cluster controller of appointment by the operation cluster that virtual machine moved.
Steps A 2: the cluster controller location is delivered to online customized messages the Node Controller of appointment by the operation node that virtual machine moved.
The mirror image processing process comprises:
Step B1: the required safety certificate of assembling X509 authentication.
Step B2: through being located the position of its system image in file system by operation virtual machine unique identification instanceld.
Step B3: to being carried out squeeze operation by operation dummy machine system mirror image.
Step B4: to being carried out the branch block operations by operation dummy machine system mirror image compressed file.
Step B5: the description document of file behind the generation piecemeal, this document also comprise by operation dummy machine system pairing kernel mirror image sign of mirror image (kernelld) and startup image banner information such as (ramdiskld) except that comprising the branch block message.
Step B6: the file behind the piecemeal and piecemeal description document are uploaded in the cloud storage server under this user's specified path (bucketName) with designated mirror title (imageName).
Step B7: this mirror image of registration in cloud computing system makes the user can utilize the system image of customization to create virtual machine in batches.
CN201010292121XA 2010-09-25 2010-09-25 System and method for online customizing virtual machine image Pending CN102307207A (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN201010292121XA CN102307207A (en) 2010-09-25 2010-09-25 System and method for online customizing virtual machine image

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN201010292121XA CN102307207A (en) 2010-09-25 2010-09-25 System and method for online customizing virtual machine image

Publications (1)

Publication Number Publication Date
CN102307207A true CN102307207A (en) 2012-01-04

Family

ID=45381016

Family Applications (1)

Application Number Title Priority Date Filing Date
CN201010292121XA Pending CN102307207A (en) 2010-09-25 2010-09-25 System and method for online customizing virtual machine image

Country Status (1)

Country Link
CN (1) CN102307207A (en)

Cited By (7)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN102882864A (en) * 2012-09-21 2013-01-16 南京斯坦德通信股份有限公司 Virtualization system based on InfiniBand cloud computing network
CN103457974A (en) * 2012-06-01 2013-12-18 中兴通讯股份有限公司 Safety control method and device for virtual machine mirror images
CN104296395A (en) * 2014-10-20 2015-01-21 孙东德 Solar drinking water heater
CN105491012A (en) * 2015-11-20 2016-04-13 北京奇虎科技有限公司 Message storage method and device
CN110968399A (en) * 2019-12-18 2020-04-07 腾讯科技(深圳)有限公司 Virtual machine reloading method and device and computer readable storage medium
CN112631732A (en) * 2020-12-30 2021-04-09 国云科技股份有限公司 Method and device for realizing batch ISO (International organization for standardization) establishment of CephX authentication virtual machines
CN113821308A (en) * 2021-09-29 2021-12-21 上海阵量智能科技有限公司 System on chip, virtual machine task processing method and device, and storage medium

Citations (4)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN1770692A (en) * 2005-11-09 2006-05-10 北京联合大学信息技术研究所 Digital museum information ordering system based on distributed structure and its realizing method
CN1936845A (en) * 2005-09-19 2007-03-28 联想(北京)有限公司 Method and apparatus for dynamic distribution of virtual machine system input-output apparatus
CN101754407A (en) * 2008-12-16 2010-06-23 联想(北京)有限公司 Method, server and system for processing service access request
US20100162047A1 (en) * 2008-12-22 2010-06-24 International Business Machines Corporation System, method and computer program product for testing a boot image

Patent Citations (5)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN1936845A (en) * 2005-09-19 2007-03-28 联想(北京)有限公司 Method and apparatus for dynamic distribution of virtual machine system input-output apparatus
CN1770692A (en) * 2005-11-09 2006-05-10 北京联合大学信息技术研究所 Digital museum information ordering system based on distributed structure and its realizing method
CN101754407A (en) * 2008-12-16 2010-06-23 联想(北京)有限公司 Method, server and system for processing service access request
US20100162047A1 (en) * 2008-12-22 2010-06-24 International Business Machines Corporation System, method and computer program product for testing a boot image
CN101763301A (en) * 2008-12-22 2010-06-30 国际商业机器公司 System and method for testing a boot image

Cited By (13)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN103457974A (en) * 2012-06-01 2013-12-18 中兴通讯股份有限公司 Safety control method and device for virtual machine mirror images
CN102882864B (en) * 2012-09-21 2015-10-28 南京斯坦德云科技股份有限公司 A kind of virtualization system based on InfiniBand system for cloud computing
CN102882864A (en) * 2012-09-21 2013-01-16 南京斯坦德通信股份有限公司 Virtualization system based on InfiniBand cloud computing network
CN104296395B (en) * 2014-10-20 2016-09-21 孙东德 A kind of solar drinking hot water device
CN104296395A (en) * 2014-10-20 2015-01-21 孙东德 Solar drinking water heater
CN105491012B (en) * 2015-11-20 2019-12-24 北京奇虎科技有限公司 Message storage method and device
CN105491012A (en) * 2015-11-20 2016-04-13 北京奇虎科技有限公司 Message storage method and device
CN110968399A (en) * 2019-12-18 2020-04-07 腾讯科技(深圳)有限公司 Virtual machine reloading method and device and computer readable storage medium
CN110968399B (en) * 2019-12-18 2023-09-22 腾讯科技(深圳)有限公司 Virtual machine reloading method and device and computer readable storage medium
CN112631732A (en) * 2020-12-30 2021-04-09 国云科技股份有限公司 Method and device for realizing batch ISO (International organization for standardization) establishment of CephX authentication virtual machines
CN112631732B (en) * 2020-12-30 2024-03-29 国云科技股份有限公司 Implementation method and device for creating CephX authentication virtual machines by batch ISO
CN113821308A (en) * 2021-09-29 2021-12-21 上海阵量智能科技有限公司 System on chip, virtual machine task processing method and device, and storage medium
CN113821308B (en) * 2021-09-29 2023-11-24 上海阵量智能科技有限公司 System on chip, virtual machine task processing method and device and storage medium

Similar Documents

Publication Publication Date Title
CN102307207A (en) System and method for online customizing virtual machine image
KR102328193B1 (en) Apparatus and method for virtual desktop service
KR102102168B1 (en) Appratus for a virtual desktop service and method thereof
US8862933B2 (en) Apparatus, systems and methods for deployment and management of distributed computing systems and applications
Scolati et al. A Containerized Big Data Streaming Architecture for Edge Cloud Computing on Clustered Single-board Devices.
CN111274001B (en) Micro-service management platform
US20120311111A1 (en) Dynamic reconfiguration of cloud resources
CN112104723A (en) Multi-cluster data processing system and method
US20100287280A1 (en) System and method for cloud computing based on multiple providers
JP6753200B2 (en) Methods, systems and computer programs for cloud-based computing clusters for simulated operator training systems
CN104813614A (en) Asynchronous Framework For Management Of IAAS
CN105391652A (en) USB equipment network sharing system and method based on USB redirection
US8495498B2 (en) Virtual machine manufacturing methods and media
CN103986786A (en) Remote cloud desktop operation system
EP4002189A1 (en) Industrial network communication emulation
GB2517044A (en) Virtual infrastructure recovery configurator
CN109417552A (en) For executing the method and industry computing device of secure communication
CN104246743A (en) Systems and methods involving virtual machine host isolation over a network
Kijsipongse et al. A hybrid GPU cluster and volunteer computing platform for scalable deep learning
KR20190028210A (en) Cloud service method and system for deployment of artificial intelligence application using container
CN107479984A (en) Message based distributed space data processing system
Xiong et al. Challenges for building a cloud native scalable and trustable multi-tenant AIoT platform
CN115129423A (en) Resource management method, device, equipment and storage medium
Huang et al. HCloud: A trusted JointCloud serverless platform for IoT systems with blockchain
Chang et al. On construction and performance evaluation of a virtual desktop infrastructure with GPU accelerated

Legal Events

Date Code Title Description
C06 Publication
PB01 Publication
C10 Entry into substantive examination
SE01 Entry into force of request for substantive examination
C02 Deemed withdrawal of patent application after publication (patent law 2001)
WD01 Invention patent application deemed withdrawn after publication

Application publication date: 20120104