CN102521016A - Method and system for operating multiple virtual machines - Google Patents
Method and system for operating multiple virtual machines Download PDFInfo
- Publication number
- CN102521016A CN102521016A CN2011104061848A CN201110406184A CN102521016A CN 102521016 A CN102521016 A CN 102521016A CN 2011104061848 A CN2011104061848 A CN 2011104061848A CN 201110406184 A CN201110406184 A CN 201110406184A CN 102521016 A CN102521016 A CN 102521016A
- Authority
- CN
- China
- Prior art keywords
- read
- virtual machine
- write
- data
- subregion
- Prior art date
- Legal status (The legal status is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the status listed.)
- Pending
Links
Images
Classifications
-
- G—PHYSICS
- G06—COMPUTING; CALCULATING OR COUNTING
- G06F—ELECTRIC DIGITAL DATA PROCESSING
- G06F9/00—Arrangements for program control, e.g. control units
- G06F9/06—Arrangements 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/44—Arrangements for executing specific programs
- G06F9/455—Emulation; Interpretation; Software simulation, e.g. virtualisation or emulation of application or operating system execution engines
- G06F9/45533—Hypervisors; Virtual machine monitors
Landscapes
- Engineering & Computer Science (AREA)
- Software Systems (AREA)
- Theoretical Computer Science (AREA)
- Physics & Mathematics (AREA)
- General Engineering & Computer Science (AREA)
- General Physics & Mathematics (AREA)
- Stored Programmes (AREA)
- Information Retrieval, Db Structures And Fs Structures Therefor (AREA)
Abstract
The invention discloses a method and a system for operating multiple virtual machines. The method comprises: a virtual machine mirror image is divided into a read-only partition and a read-write partition, wherein the read-only partition stores data which needs write-protection in a virtual machine mirror image; multiple virtual machines upload the virtual machine mirror image, wherein the multiple virtual machines perform reading/writing operation to files and data during system operation and software operation in the read-write partition. The system comprises a partition dividing module, a multiple virtual machine uploading module and a data reading/writing module. With the method and the system provided by the invention, the problem of file reading/writing conflict when multiple virtual machines operate on one same mirror image is avoided. In addition, updating and upgrade of virtual servers can be only performed to one mirror image to be synchronized to all nodes, such that not only the maintenance cost of virtual servers is saved, but also the maintenance time is shortened, furthermore, error possibility during updating and upgrade can be reduced or completely avoided.
Description
Technical field
The invention belongs to field of computer technology, be specifically related to a kind of method and system of on single mirror image, moving a plurality of virtual machines simultaneously.
Background technology
Virtual is one of gordian technique and the characteristic in cloud computing field.The virtual service efficiency and reduction use cost that can promote server greatly; In virtualization process; The common way of creating virtual machine is to specify a mirror image that operating system (is main (SuSE) Linux OS (ubuntu) or other operating system such as windows xp system, with the desktop application) is installed for virtual machine, loads through virtual platform (such as the Xen of Citrix, the vSphere of VMvare etc.) then.When same physical host (host) is gone up the duplicate virtual machine of a plurality of functions of operation, generate a plurality of separate mirror images through the mode of cloning from existing mirror image, thereby reach the purpose of a plurality of virtual machines of operation.The mode of this Clone mirror picture can cause two big consequences: the one, for large-scale virtual node (virtualized server); With the mirror image that has a plurality of clones; Such as having moved 10 virtual machines on the physical host, suppose that each virtual machine image is 4GB, with the storage space that needs 40GB; If 1000 such physical hosts are arranged in the whole cloud, it is very huge that the expense of memory device will become; The 2nd, be unfavorable for VME operating system and the renewal and the upgrading of going up the software of operation, if the countless virtual machines of above-mentioned 1000 station servers are upgraded and upgrade greatly waste of manpower and material resources synchronously.
At present, the Hyper-v of Xen, vSphere and Microsoft adopts the mode support of this Clone mirror picture to move a plurality of virtual machines.Although Xen is repeatedly loaded not restriction to same mirror image, can there be the problem of system crash in a plurality of virtual machines that are loaded the back operation, and Xen can't do corresponding protection to mirror image to the problems referred to above in the virtual machine operational process.
Summary of the invention
The technical issues that need to address of the present invention provide a kind of method and system of moving a plurality of virtual machines, the read/write conflict problem of file when having avoided a plurality of virtual machines to operate on the same mirror image.
In order to solve the problems of the technologies described above, the invention provides a kind of method of moving a plurality of virtual machines, comprising:
Virtual machine image is divided into read-only subregion and read-write subregion, preserves in the said virtual machine image in the said read-only subregion and need carry out write-protected data;
A plurality of virtual machines load said virtual machine image, and said a plurality of virtual machines carry out read-write operation to file and data in its system's operation and the software running process in said read-write subregion.
Further, said needs carry out write-protected data and comprise operating system, perhaps, comprise operating system and other data that need not change.
Further, said read-write subregion is a virtual disk.
Further, said method also comprises: for said virtual machine distributes the external memory space outside the said virtual machine image, and set up mapping relations with said read-write subregion.
Further, the corresponding different external storage space of different virtual machine.
Further, said method also comprises: carry out data sync between the external memory space of said read-write subregion and said virtual machine.
Further, carry out data sync between the external memory space of said read-write subregion and said virtual machine, comprising:
Said virtual machine after read-write subregion carries out the read-write operation completion to the file in the operation of its system and the software running process and data, with said file and data sync to setting up in the external memory space of mapping relations with said virtual machine.
Further, carrying out data sync between the external memory space of said read-write subregion and said virtual machine also comprises:
During said virtual machine activation, file in the external memory space that is kept at said virtual machine and data sync are set up in the read-write subregion of mapping relations with the external memory space of said virtual machine in mirror image.
In order to solve the problems of the technologies described above, the present invention also provides a kind of system that moves a plurality of virtual machines, comprising:
Subregion is divided module, is used for virtual machine image is divided into read-only subregion and read-write subregion, preserves in the said virtual machine image in the said read-only subregion and need carry out write-protected data;
The multi-dummy machine load-on module is used to control a plurality of virtual machines and loads said virtual machine image;
Data read-write module is used for controlling said a plurality of virtual machine and at said read-write subregion file and data in its system's operation and the software running process is carried out read-write operation.
Further, said needs carry out write-protected data and comprise operating system, perhaps, comprise operating system and other data that need not change.
Further, said read-write subregion is a virtual disk.
Further, said system also comprises: the external memory space distribution module is used to said virtual machine and distributes the external memory space outside the said virtual machine image, and sets up mapping relations with said read-write subregion.
Further, the corresponding different external storage space of different virtual machine.
Further, said system also comprises and said data read-write module and the data simultaneous module that said external memory space distribution module links to each other, and is used to accomplish the data sync between the external memory space of said read-write subregion and said virtual machine.
Further, said data simultaneous module is accomplished the data sync between the external memory space of said read-write subregion and said virtual machine, comprising:
Said virtual machine after read-write subregion carries out the read-write operation completion to the file in the operation of its system and the software running process and data, said data simultaneous module with said file and data sync to setting up in the external memory space of mapping relations with said virtual machine.
Further, said data simultaneous module is accomplished the data sync between the external memory space of said read-write subregion and said virtual machine, also comprises:
During said virtual machine activation, file and data sync that said data simultaneous module will be kept in the external memory space of said virtual machine are set up in the read-write subregion of mapping relations with the external memory space of said virtual machine in mirror image.
Compared with prior art; The read/write conflict problem of file when the method and system of on single mirror image, moving a plurality of virtual machines simultaneously provided by the invention have avoided a plurality of virtual machines to operate on the same mirror image; Virtual machine close restart after; From the external memory space of virtual machine, carry out data and recover, can recover virtual machine and withdraw from preceding running status, and help follow-up migration of virtual machine and maintenance.In addition; Greatly saved the shared storage space of virtual machine image; Renewal of virtualized server simultaneously and upgrading only need be implemented a mirror image; Can be synchronized to all nodes, this maintenance cost of not only having saved server with shortened maintenance time, and can reduce or avoid fully upgrading with escalation process in the possibility of makeing mistakes.
Description of drawings
Fig. 1 is the method flow diagram of a plurality of virtual machines of operation among the embodiment;
Fig. 2 is the system construction drawing of a plurality of virtual machines of operation among the embodiment;
Fig. 3 is the process flow diagram flow chart of newly-built virtual machine in the applying examples;
Fig. 4 is a process flow diagram flow chart of creating a plurality of virtual machines in the applying examples;
Fig. 5 is the process flow diagram that virtual machine and external memory space carry out data sync in the applying examples;
Fig. 6 is a virtual-machine data rejuvenation process flow diagram in the applying examples.
Embodiment
For making the object of the invention, technical scheme and advantage clearer, hereinafter will combine accompanying drawing that embodiments of the invention are elaborated.Need to prove that under the situation of not conflicting, embodiment among the application and the characteristic among the embodiment be combination in any each other.
Embodiment one:
Although Xen is repeatedly loaded not restriction to same mirror image; But can there be the problem of system crash in a plurality of virtual machines that are loaded the back operation; Reason is that these virtual machines that move simultaneously can write file in this mirror image that is loaded; Cause the file read-write conflict, and then cause file system to be destroyed, operating virtual machine collapses immediately.
Single mirror image supports the file read-write conflict of multi-dummy machine roughly to have two kinds of situation: the one, the system class files such as system journal that produce in the virtual machine operational process, the 2nd, move on the virtual machine software produced is provided with or the like such as data storage, user.Realize moving a plurality of virtual machines on the same mirror image simultaneously, need virtual machine to preserve file and data in the operation of its system and the software running process separately to different storage spaces, but share operating system and the software that moves on it.That is, the part that possibly produce data manipulation with dummy machine system with on it in the software running process is separated from mirror image separately, keeps constant part.In the present embodiment; Mirror image is carried out subregion to be divided; Operating system and the part that need not to change are divided into a write partitions; Another subregion is used for file and the data read operation that above-mentioned virtual machine operational process produces, the read/write conflict problem of file when having avoided a plurality of virtual machines to operate on the same mirror image.
As shown in Figure 1, present embodiment provides a kind of method of moving a plurality of virtual machines, may further comprise the steps:
S101: on virtual platform,, virtual machine image is divided into read-only subregion and read-write subregion such as vSphere or Xen;
Wherein, Preserve in the said virtual machine image in the said read-only subregion and need carry out write-protected data; Can only carry out the write-protect operation to the data of this subregion, can not be destroyed to guarantee the operating system of being installed on the mirror image, said needs carry out write-protected data and comprise operating system; Perhaps, comprise operating system and other data that need not change.
Said read-write subregion is a virtual disk, is similar to RAMDisk (ram driver), adopts RAMDisk mechanism, and the space of this subregion is smaller usually, such as 100M, is used for satisfying the interim storage demand of the data of virtual machine operational process.
S102: a plurality of virtual machines load said virtual machine image;
Wherein, a plurality of virtual machines all point to same virtual image, and said a plurality of virtual machines may operate in the enterprising line data read-write operation of same mirror image.
S103: said a plurality of virtual machines carry out read-write operation to file and data in its system's operation and the software running process in said read-write subregion.
Because this read-write subregion is a virtual disk, the mechanism of the in fact similar RAMDisk of its read-write, in one section region of memory (this read-write subregion), file and data write operation in a plurality of virtual machines while operational processs can not clash.
Also Just because of this, data and RAMDisk that this read-write subregion is preserved are similar, can't forever preserve, and lose efficacy in system's power down or after restarting.So, preserve in order to realize real data, it is still effective to make virtual machine restart the back data, and present embodiment is further comprising the steps of:
S104:, and set up mapping relations with said read-write subregion for said virtual machine distributes the external memory space outside the said virtual machine image;
Wherein, the corresponding different external storage space of different virtual machine, said external memory space can comprise: such as, host hard disk, USB flash disk, storage card, or even be positioned at the memory device of network, perhaps can be configured according to actual conditions.
S105: carry out data sync between the external memory space of said read-write subregion and said virtual machine.
Wherein, carry out data sync between the external memory space of said read-write subregion and said virtual machine, comprising:
Said virtual machine after read-write subregion carries out the read-write operation completion to the file in the operation of its system and the software running process and data, with said file and data sync to setting up in the external memory space of mapping relations with said virtual machine;
During said virtual machine activation, file in the external memory space that is kept at said virtual machine and data sync are set up in the read-write subregion of mapping relations with the external memory space of said virtual machine in mirror image, returned to the state of virtual machine when withdrawing from.
Like this, virtual machine close restart after, from the external memory space of virtual machine, carry out data and recover, the running status before can recovering virtual machine and withdrawing from.
In addition, as shown in Figure 2, the subregion that present embodiment also provides a kind of system that moves a plurality of virtual machines to comprise and linked to each other is successively divided module, multi-dummy machine load-on module and data read-write module, wherein:
Said subregion is divided module, is used for virtual machine image is divided into read-only subregion and read-write subregion;
Wherein, need carry out write-protected data in the said virtual machine image of preservation in the read-only subregion; Said needs carry out write-protected data and comprise operating system, perhaps, comprise operating system and other data that need not change.
Wherein, read-write subregion is a virtual disk, is similar to RAMDisk (ram driver), and the space of this subregion is smaller usually, such as 100M, is used for satisfying the interim storage demand of the data of virtual machine operational process.
Said multi-dummy machine load-on module is used to control a plurality of virtual machines and loads said virtual machine image;
Wherein, a plurality of virtual machines all point to same virtual image, and said a plurality of virtual machines may operate in the enterprising line data read-write operation of same mirror image.
Said data read-write module is used for controlling said a plurality of virtual machine and at said read-write subregion file and data in its system's operation and the software running process is carried out read-write operation.
In addition; Preserve in order to realize real data; Data were still effective after virtual machine was restarted, and system also comprises described in the present embodiment: external memory space distribution module and the data simultaneous module that links to each other with said external memory space distribution module with said data read-write module;
Wherein, said external memory space distribution module is used to said virtual machine and distributes the external memory space outside the said virtual machine image, and sets up mapping relations with said read-write subregion.
Wherein, the corresponding different external storage space of different virtual machine, said external memory space can comprise: such as, host hard disk, USB flash disk, storage card, or even be positioned at the memory device of network, perhaps can be configured according to actual conditions.
Said data simultaneous module is used to accomplish the data sync between the external memory space of said read-write subregion and said virtual machine.
As preferred mode, the mode that said data simultaneous module is accomplished data sync has:
Said virtual machine after read-write subregion carries out the read-write operation completion to the file in the operation of its system and the software running process and data, said data simultaneous module with said file and data sync to setting up in the external memory space of mapping relations with said virtual machine.
During said virtual machine activation, file and data sync that said data simultaneous module will be kept in the external memory space of said virtual machine are set up in the read-write subregion of mapping relations with the external memory space of said virtual machine in mirror image.
In an applying examples, for the ease of being carried out, the method in the foregoing description more specifically explains with more detailed, be that example describes in further detail present embodiment with virtual platform Xen and file system instrument Aufs below.
Xen supports a plurality of virtual machines of operation as virtual platform, and Xen is the project of increasing income; From network, can download source code in compiling of linux system and installation; Also can download the scale-of-two installation kit of Xen and directly install, perhaps directly download the linux system of integrated Xen, such as CentOS.The method of application of Xen has a large amount of data can reference on network, repeats no more here.
From mirror image, separate separately for the part that possibly produce data manipulation with the Xen dummy machine system with on it in the software running process, keep constant part.According to thinking of the present invention, need carry out subregion to virtual machine image and divide, be divided into a write partitions with general with part that need not to change, all the other subregions are used to preserve data, and Aufs provides the solution of corresponding division subregion.
Aufs is a file system instrument of increasing income; A kind of like this mechanism is provided: can mirror image be divided into two different partition areas, one of them is read-only subregion, carry operating system; Another subregion is read-write subregion, is used for file and data in storage system operation and the software running process.The mechanism of the in fact similar RAMDisk of this read-write subregion read-write, the data of its preservation can't forever be preserved, and lose efficacy in system's power down or after restarting.But also this just mechanism, the read/write conflict problem of file when having avoided a plurality of virtual machines to operate on the same mirror image.
Consider and how to preserve the user data that is produced in the virtual machine operational process.As stated; The data of need preserving are subregion separately; Now only need the storage space outside mirror image of carry and be mapped to this subregion to get final product, the storage space outside the mirror image can be the idle hard disk of host, also can be the memory device that is positioned on the network.After file or data were kept at the read-write subregion in the mirror image, these files or data will be synchronized to the external memory space of carry.In like manner, during virtual machine activation, the file or the data that are kept at external memory space can be synchronized in the read-write subregion in the mirror image, return to the state of virtual machine when withdrawing from.
In addition, in the process of virtualized server operation, for continual business support is provided, virtual machine need be implemented in the migration between each physical machine, and NFS (Network File System is called for short NFS) server is absolutely necessary.The dummy machine system mirror image can all leave nfs server in the data that are used for the storage virtual machine preservation, helps follow-up migration of virtual machine and maintenance like this.
In an applying examples, be example with Xen and Aufs, shown in Fig. 2~5, single mirror image support moves a plurality of virtual machines simultaneously and relates generally to the following aspects:
One, as shown in Figure 3, the process of newly-built virtual machine may further comprise the steps:
S201: the configuration file of newly-built virtual machine comprises being configured such as CPU, internal memory, virtual machine ID, network MAC address etc.;
S202: for this virtual machine distributes an independently storage space (being the external memory space of virtual machine), it is unique corresponding with virtual machine ID on nfs server, to guarantee the independence of data storage;
S203: be the mirror image of a blank of this virtual machine creating, the big I of mirror image is distributed according to actual needs, and for example, if Installation of W indows XP needs 10G, Win7 possibly need 20G, and recreation is installed will be by the size of Games Software; Installing operating system on this mirror image supports a plurality of virtual machines on this mirror image, to move;
Above-mentioned steps S201~S203 is the initialization procedure of virtual machine image in the prior art, after virtual machine is set up, all can set up corresponding mirror image for virtual machine.
S204: start virtual machine, said mirror image is divided into read-only and read-write two subregions, correspond respectively to system partitioning and data partition;
S205: the external memory space that distributes among the step S202 is mounted to this virtual machine, as the carry subregion, and the mapping relations of foundation and above-mentioned data partition;
S206: realize the data sync between read-write subregion and the carry subregion, that is, any data storage operations that produces in the follow-up virtual machine operational process all will be synchronized to the carry subregion, such as the preservation of file, deletion etc.
Two, as shown in Figure 4, single mirror image support moves a plurality of virtual machines simultaneously, and the process of creating a plurality of virtual machines may further comprise the steps:
S301: create the configuration file of a plurality of virtual machines, the filename of this configuration file has uniqueness, and virtual machine ID, network MAC address in this configuration file also have uniqueness, in order to avoid cause conflict.But the mirror image title in the configuration file is consistent, and a plurality of virtual machines all point to the mirror image that above-mentioned newly-built virtual machine generates;
S302: for a plurality of virtual machines of creating among the step S301 distribute corresponding storage space respectively on nfs server, each storage space is unique corresponding with each virtual machine ID;
S303: load existing image file, start each virtual machine;
In practical operation, above-mentioned steps S302 and S303 can exchange order, that is, also can load existing image file earlier, start each virtual machine, and then be each virtual machine distribution external memory space.
S304: the storage space that is distributed among the step S302 is mounted to respectively on the corresponding virtual machine, as each virtual machine carry subregion, and the mapping relations of foundation and above-mentioned data partition;
S305: the data sync that realizes the corresponding carry subregion of the read-write subregion of each virtual machine with it.
Three, as shown in Figure 5, the process that virtual machine and external memory space carry out data sync may further comprise the steps:
S401: virtual machine carries out data read-write operation at read-write subregion, such as preservation, deletion etc.;
S402: virtual machine is after the data manipulation of read-write subregion is accomplished, and similar operations realizes operations such as preservation, deletion to the outer carry subregion of mirror image synchronously;
Four, as shown in Figure 6, virtual-machine data rejuvenation may further comprise the steps:
S501: start (restarting) existing virtual machine;
S502: will be mounted to this virtual machine with the external memory space that this virtual-machine data subregion has been set up mapping relations, as the carry subregion;
S503: the data sync of carry subregion is arrived the read-write subregion of virtual machine, recover the state before virtual machine withdraws from;
S504: but virtual machine gets into running status.
In the above-mentioned applying examples, be example, describe how to be implemented in the data read-write operation that moves a plurality of virtual machines on the single operation system image simultaneously in detail with Xen and Aufs.Here be example with Xen and Aufs; It is not the situation that the method announced of expression present embodiment can only be used for Xen and Aufs; But because Xen and Aufs are the projects of increasing income; Can customize and revise according to the required code that carries out of present embodiment easily, when realizing that single mirror image multi-dummy machine is supported, bigger degree of freedom arranged, only be the purpose of the present embodiment content being carried out actual verification in order to reach.In fact, the method for present embodiment is equally applicable to other any virtual platforms that comprise vSphere, Hyper-v.The method of application of involved Xen, Aufs and NFS is a prior art in the present embodiment, repeats no more here.
Can find out from the foregoing description; With respect to prior art; The read/write conflict problem of file when the method and system of on single mirror image, moving a plurality of virtual machines simultaneously that provide in the foregoing description have avoided a plurality of virtual machines to operate on the same mirror image, virtual machine close restart after, from the external memory space of virtual machine, carry out data and recover; Can recover virtual machine and withdraw from preceding running status, and help follow-up migration of virtual machine and maintenance.In addition; Greatly saved the shared storage space of virtual machine image; Renewal of virtualized server simultaneously and upgrading only need be implemented a mirror image; Can be synchronized to all nodes, this maintenance cost of not only having saved server with shortened maintenance time, and can reduce or avoid fully upgrading with escalation process in the possibility of makeing mistakes.
One of ordinary skill in the art will appreciate that all or part of step in the said method can instruct related hardware to accomplish through program, said program can be stored in the computer-readable recording medium, like ROM (read-only memory), disk or CD etc.Alternatively, all or part of step of the foregoing description also can use one or more integrated circuit to realize.Correspondingly, each the module/unit in the foregoing description can adopt the form of hardware to realize, also can adopt the form of software function module to realize.The present invention is not restricted to the combination of the hardware and software of any particular form.
The above is merely the preferred embodiments of the present invention, is not to be used to limit protection scope of the present invention.According to summary of the invention of the present invention; Also other various embodiments can be arranged; Under the situation that does not deviate from spirit of the present invention and essence thereof, those of ordinary skill in the art are when making various corresponding changes and distortion according to the present invention, and are all within spirit of the present invention and principle; Any modification of being done, be equal to replacement, improvement etc., all should be included within protection scope of the present invention.
Claims (16)
- One kind the operation a plurality of virtual machines method, comprising:Virtual machine image is divided into read-only subregion and read-write subregion, preserves in the said virtual machine image in the said read-only subregion and need carry out write-protected data;A plurality of virtual machines load said virtual machine image, and said a plurality of virtual machines carry out read-write operation to file and data in its system's operation and the software running process in said read-write subregion.
- 2. the method for claim 1 is characterized in that,Said needs carry out write-protected data and comprise operating system, perhaps, comprise operating system and other data that need not change.
- 3. the method for claim 1 is characterized in that,Said read-write subregion is a virtual disk.
- 4. like claim 1 or 3 described methods, it is characterized in that,Said method also comprises: for said virtual machine distributes the external memory space outside the said virtual machine image, and set up mapping relations with said read-write subregion.
- 5. method as claimed in claim 4 is characterized in that,The corresponding different external storage space of different virtual machines.
- 6. method as claimed in claim 4 is characterized in that,Said method also comprises: carry out data sync between the external memory space of said read-write subregion and said virtual machine.
- 7. method as claimed in claim 6 is characterized in that,Carry out data sync between the external memory space of said read-write subregion and said virtual machine, comprising:Said virtual machine after read-write subregion carries out the read-write operation completion to the file in the operation of its system and the software running process and data, with said file and data sync to setting up in the external memory space of mapping relations with said virtual machine.
- 8. method as claimed in claim 7 is characterized in that,Carrying out data sync between the external memory space of said read-write subregion and said virtual machine also comprises:During said virtual machine activation, file in the external memory space that is kept at said virtual machine and data sync are set up in the read-write subregion of mapping relations with the external memory space of said virtual machine in mirror image.
- One kind the operation a plurality of virtual machines system, comprising:Subregion is divided module, is used for virtual machine image is divided into read-only subregion and read-write subregion, preserves in the said virtual machine image in the said read-only subregion and need carry out write-protected data;The multi-dummy machine load-on module is used to control a plurality of virtual machines and loads said virtual machine image;Data read-write module is used for controlling said a plurality of virtual machine and at said read-write subregion file and data in its system's operation and the software running process is carried out read-write operation.
- 10. system as claimed in claim 9 is characterized in that,Said needs carry out write-protected data and comprise operating system, perhaps, comprise operating system and other data that need not change.
- 11. system as claimed in claim 9 is characterized in that,Said read-write subregion is a virtual disk.
- 12. like claim 9 or 11 described systems, it is characterized in that,Said system also comprises: the external memory space distribution module is used to said virtual machine and distributes the external memory space outside the said virtual machine image, and sets up mapping relations with said read-write subregion.
- 13. system as claimed in claim 12 is characterized in that,The corresponding different external storage space of different virtual machines.
- 14. system as claimed in claim 12 is characterized in that,Said system also comprises and said data read-write module and the data simultaneous module that said external memory space distribution module links to each other, and is used to accomplish the data sync between the external memory space of said read-write subregion and said virtual machine.
- 15. system as claimed in claim 14 is characterized in that,Said data simultaneous module is accomplished the data sync between the external memory space of said read-write subregion and said virtual machine, comprising:Said virtual machine after read-write subregion carries out the read-write operation completion to the file in the operation of its system and the software running process and data, said data simultaneous module with said file and data sync to setting up in the external memory space of mapping relations with said virtual machine.
- 16. system as claimed in claim 14 is characterized in that,Said data simultaneous module is accomplished the data sync between the external memory space of said read-write subregion and said virtual machine, also comprises:During said virtual machine activation, file and data sync that said data simultaneous module will be kept in the external memory space of said virtual machine are set up in the read-write subregion of mapping relations with the external memory space of said virtual machine in mirror image.
Priority Applications (2)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
CN2011104061848A CN102521016A (en) | 2011-12-08 | 2011-12-08 | Method and system for operating multiple virtual machines |
PCT/CN2012/071186 WO2012155555A1 (en) | 2011-12-08 | 2012-02-16 | Method and system for running multiple virtual machines |
Applications Claiming Priority (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
CN2011104061848A CN102521016A (en) | 2011-12-08 | 2011-12-08 | Method and system for operating multiple virtual machines |
Publications (1)
Publication Number | Publication Date |
---|---|
CN102521016A true CN102521016A (en) | 2012-06-27 |
Family
ID=46291955
Family Applications (1)
Application Number | Title | Priority Date | Filing Date |
---|---|---|---|
CN2011104061848A Pending CN102521016A (en) | 2011-12-08 | 2011-12-08 | Method and system for operating multiple virtual machines |
Country Status (2)
Country | Link |
---|---|
CN (1) | CN102521016A (en) |
WO (1) | WO2012155555A1 (en) |
Cited By (14)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN102999369A (en) * | 2012-12-25 | 2013-03-27 | 杭州华三通信技术有限公司 | Method and device for upgrading virtual machines |
CN103051687A (en) * | 2012-12-10 | 2013-04-17 | 浪潮(北京)电子信息产业有限公司 | System and method for deploying application service to cloud-storage virtual machine |
CN104199722A (en) * | 2014-05-14 | 2014-12-10 | 温武少 | Virtual computer storage service system and using method thereof |
CN105353985A (en) * | 2015-11-03 | 2016-02-24 | 国云科技股份有限公司 | Method for improving reading speed of virtual machine temporary file |
WO2016078370A1 (en) * | 2014-11-18 | 2016-05-26 | 中兴通讯股份有限公司 | Method and apparatus for synchronizing virtual machine of network device |
CN106844003A (en) * | 2016-12-26 | 2017-06-13 | 中国电子科技集团公司第三十研究所 | The method of calibration and device of a kind of virtual machine image |
CN103902348B (en) * | 2012-12-25 | 2017-07-14 | 华为技术有限公司 | The reading/writing method of user data, system and physical machine under a kind of virtualized environment |
WO2017173922A1 (en) * | 2016-04-08 | 2017-10-12 | 中兴通讯股份有限公司 | Method and apparatus for upgrading virtual machine |
CN109491757A (en) * | 2018-10-11 | 2019-03-19 | 广东微云科技股份有限公司 | The Acceleration of starting method of local computing mode virtual machine |
WO2019165774A1 (en) * | 2018-02-28 | 2019-09-06 | 郑州云海信息技术有限公司 | Design method and device for double image shared .conf partition file |
CN110244691A (en) * | 2019-06-19 | 2019-09-17 | 深圳市道通科技股份有限公司 | A kind of vehicle diagnosis method, apparatus and system |
CN113805946A (en) * | 2020-06-15 | 2021-12-17 | 苏州佳世达电通有限公司 | Processing method and device for nonvolatile attribute of android system and electronic equipment |
CN114253672A (en) * | 2022-02-24 | 2022-03-29 | 中瓴智行(成都)科技有限公司 | Hypervisor-based sustainable safe storage method, system and storage medium |
CN114968122A (en) * | 2022-06-09 | 2022-08-30 | 北京天融信网络安全技术有限公司 | Virtual machine file tamper-proofing method and private cloud cluster |
Families Citing this family (1)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN105426216B (en) * | 2015-12-11 | 2019-01-15 | 中南大学 | A kind of intelligent terminal software update method based on lucidification disposal |
Citations (4)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
US5437033A (en) * | 1990-11-16 | 1995-07-25 | Hitachi, Ltd. | System for recovery from a virtual machine monitor failure with a continuous guest dispatched to a nonguest mode |
CN101373441A (en) * | 2008-09-19 | 2009-02-25 | 苏州壹世通科技有限公司 | Virtual platform system based on firmware |
CN101589365A (en) * | 2007-01-25 | 2009-11-25 | 微软公司 | Protecting operating-system resources |
CN102185928A (en) * | 2011-06-01 | 2011-09-14 | 广州杰赛科技股份有限公司 | Method for creating virtual machine in cloud computing system and cloud computing system |
Family Cites Families (3)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
GB2381092B (en) * | 2001-10-19 | 2005-10-19 | Ibm | Object locking in a shared VM environment |
US8099574B2 (en) * | 2006-12-27 | 2012-01-17 | Intel Corporation | Providing protected access to critical memory regions |
US8024790B2 (en) * | 2007-04-11 | 2011-09-20 | Trend Micro Incorporated | Portable secured computing environment for performing online confidential transactions in untrusted computers |
-
2011
- 2011-12-08 CN CN2011104061848A patent/CN102521016A/en active Pending
-
2012
- 2012-02-16 WO PCT/CN2012/071186 patent/WO2012155555A1/en active Application Filing
Patent Citations (4)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
US5437033A (en) * | 1990-11-16 | 1995-07-25 | Hitachi, Ltd. | System for recovery from a virtual machine monitor failure with a continuous guest dispatched to a nonguest mode |
CN101589365A (en) * | 2007-01-25 | 2009-11-25 | 微软公司 | Protecting operating-system resources |
CN101373441A (en) * | 2008-09-19 | 2009-02-25 | 苏州壹世通科技有限公司 | Virtual platform system based on firmware |
CN102185928A (en) * | 2011-06-01 | 2011-09-14 | 广州杰赛科技股份有限公司 | Method for creating virtual machine in cloud computing system and cloud computing system |
Cited By (24)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN103051687A (en) * | 2012-12-10 | 2013-04-17 | 浪潮(北京)电子信息产业有限公司 | System and method for deploying application service to cloud-storage virtual machine |
CN103051687B (en) * | 2012-12-10 | 2016-05-25 | 浪潮(北京)电子信息产业有限公司 | A kind of system and method that applied business is deployed to cloud storage virtual machine |
CN103902348B (en) * | 2012-12-25 | 2017-07-14 | 华为技术有限公司 | The reading/writing method of user data, system and physical machine under a kind of virtualized environment |
CN102999369A (en) * | 2012-12-25 | 2013-03-27 | 杭州华三通信技术有限公司 | Method and device for upgrading virtual machines |
CN102999369B (en) * | 2012-12-25 | 2016-08-17 | 杭州华三通信技术有限公司 | The method and device of virtual machine upgrading |
CN104199722A (en) * | 2014-05-14 | 2014-12-10 | 温武少 | Virtual computer storage service system and using method thereof |
WO2016078370A1 (en) * | 2014-11-18 | 2016-05-26 | 中兴通讯股份有限公司 | Method and apparatus for synchronizing virtual machine of network device |
CN105353985A (en) * | 2015-11-03 | 2016-02-24 | 国云科技股份有限公司 | Method for improving reading speed of virtual machine temporary file |
WO2017173922A1 (en) * | 2016-04-08 | 2017-10-12 | 中兴通讯股份有限公司 | Method and apparatus for upgrading virtual machine |
CN107273146A (en) * | 2016-04-08 | 2017-10-20 | 中兴通讯股份有限公司 | Virtual machine upgrade method and device |
CN107273146B (en) * | 2016-04-08 | 2021-11-19 | 中兴通讯股份有限公司 | Virtual machine upgrading method and device |
CN106844003A (en) * | 2016-12-26 | 2017-06-13 | 中国电子科技集团公司第三十研究所 | The method of calibration and device of a kind of virtual machine image |
CN106844003B (en) * | 2016-12-26 | 2020-05-08 | 中国电子科技集团公司第三十研究所 | Virtual machine mirror image verification method and device |
WO2019165774A1 (en) * | 2018-02-28 | 2019-09-06 | 郑州云海信息技术有限公司 | Design method and device for double image shared .conf partition file |
US11586535B2 (en) | 2018-02-28 | 2023-02-21 | Zhengzhou Yunhai Information Technology Co., Ltd. | Method and apparatus for designing dual-mirror shared conf partition file |
CN109491757A (en) * | 2018-10-11 | 2019-03-19 | 广东微云科技股份有限公司 | The Acceleration of starting method of local computing mode virtual machine |
CN109491757B (en) * | 2018-10-11 | 2022-03-15 | 广东微云科技股份有限公司 | Starting acceleration method of local computing mode virtual machine |
CN110244691A (en) * | 2019-06-19 | 2019-09-17 | 深圳市道通科技股份有限公司 | A kind of vehicle diagnosis method, apparatus and system |
WO2020253778A1 (en) * | 2019-06-19 | 2020-12-24 | 深圳市道通科技股份有限公司 | Automobile diagnosis method, device, and system |
CN110244691B (en) * | 2019-06-19 | 2021-04-09 | 深圳市道通科技股份有限公司 | Automobile diagnosis method, device and system |
CN113805946A (en) * | 2020-06-15 | 2021-12-17 | 苏州佳世达电通有限公司 | Processing method and device for nonvolatile attribute of android system and electronic equipment |
CN113805946B (en) * | 2020-06-15 | 2023-08-18 | 苏州佳世达电通有限公司 | Processing method and device for nonvolatile attribute of android system and electronic equipment |
CN114253672A (en) * | 2022-02-24 | 2022-03-29 | 中瓴智行(成都)科技有限公司 | Hypervisor-based sustainable safe storage method, system and storage medium |
CN114968122A (en) * | 2022-06-09 | 2022-08-30 | 北京天融信网络安全技术有限公司 | Virtual machine file tamper-proofing method and private cloud cluster |
Also Published As
Publication number | Publication date |
---|---|
WO2012155555A1 (en) | 2012-11-22 |
Similar Documents
Publication | Publication Date | Title |
---|---|---|
CN102521016A (en) | Method and system for operating multiple virtual machines | |
US10963290B2 (en) | Hypervisor exchange with virtual-machine consolidation | |
EP3117311B1 (en) | Method and system for implementing virtual machine images | |
US10817333B2 (en) | Managing memory in devices that host virtual machines and have shared memory | |
JP5026509B2 (en) | Converting a machine to a virtual machine | |
CN110196753B (en) | Container-based graphics processor GPU virtualization method, device and readable medium | |
CN102402446B (en) | Method and device for installing application software | |
US11403086B2 (en) | System and method for upgrading operating system of a container using an auxiliary host | |
CN102799464A (en) | Virtual machine creation method, virtual machine creation system, virtual machine resetting method and virtual machine resetting system | |
US10705867B2 (en) | Hypervisor exchange with virtual machines in memory | |
CN105718377A (en) | Method and apparatus for copying magnetic disk data in virtual application | |
CN110806911A (en) | Cloud desktop management and control method, device and system | |
US20140082275A1 (en) | Server, host and method for reading base image through storage area network | |
US8566541B2 (en) | Storage system storing electronic modules applied to electronic objects common to several computers, and storage control method for the same | |
US20140123122A1 (en) | System and method for virtual machine offline patching without mount the virtual disk | |
CN107341073B (en) | Method and device for realizing compatibility of container host and virtual host image file | |
US20190065527A1 (en) | Information processing device and information processing system | |
US9864609B1 (en) | Rebooting a hypervisor without disrupting or moving an associated guest operating system | |
US11086616B2 (en) | Near zero downtime application upgrade | |
CN111506389A (en) | Virtual machine starting method and device | |
CN114237814A (en) | Virtual machine migration method and device across virtualization platforms and computer equipment | |
US20210255883A1 (en) | Integrity-preserving cold migration of virtual machines | |
US20130263115A1 (en) | Information processing apparatus, apparatus management method, and apparatus management program | |
CN107209727B (en) | Storage system | |
CN115390876A (en) | Virtual machine QEMU program hot upgrading method, device and equipment |
Legal Events
Date | Code | Title | Description |
---|---|---|---|
C06 | Publication | ||
PB01 | Publication | ||
C10 | Entry into substantive examination | ||
SE01 | Entry into force of request for substantive examination | ||
RJ01 | Rejection of invention patent application after publication |
Application publication date: 20120627 |
|
RJ01 | Rejection of invention patent application after publication |