CN103902233A - Virtual machine system on-line storage migration method and device and server - Google Patents

Virtual machine system on-line storage migration method and device and server Download PDF

Info

Publication number
CN103902233A
CN103902233A CN201310170441.1A CN201310170441A CN103902233A CN 103902233 A CN103902233 A CN 103902233A CN 201310170441 A CN201310170441 A CN 201310170441A CN 103902233 A CN103902233 A CN 103902233A
Authority
CN
China
Prior art keywords
storage space
machine system
memory device
destination end
dummy machine
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.)
Granted
Application number
CN201310170441.1A
Other languages
Chinese (zh)
Other versions
CN103902233B (en
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.)
China Telecom Corp Ltd
Original Assignee
China Telecom Corp 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 China Telecom Corp Ltd filed Critical China Telecom Corp Ltd
Priority to CN201310170441.1A priority Critical patent/CN103902233B/en
Publication of CN103902233A publication Critical patent/CN103902233A/en
Application granted granted Critical
Publication of CN103902233B publication Critical patent/CN103902233B/en
Active legal-status Critical Current
Anticipated expiration legal-status Critical

Links

Images

Landscapes

  • Information Retrieval, Db Structures And Fs Structures Therefor (AREA)

Abstract

The invention discloses a virtual machine system on-line storage migration method and device and a server. The method comprises the steps that a target side storage space which is not smaller than a source side storage space is defined on a target side storage device according to the source side storage space of an original mirror image magnetic disk file of a virtual machine system on a source side storage device; in the copying process that the original mirror image magnetic disk file is copied into the target side storage space from the source side storage space, data to be written in are written into a storage position according to a data writing request of the virtual machine system, and the offset distance between the initial position of the source side storage space and the storage position is the same as the offset distance between the initial position of the target side storage space and the storage position. By the adoption of the virtual machine system on-line storage migration method and device and the server, the limitation of access to the magnetic disk I/O space of the virtual machine system during storage migration is eliminated, and service performance reduction caused by I/O limitation is avoided.

Description

On-line storage moving method, device and the server of dummy machine system
Technical field
The present invention relates to computer application field, particularly a kind of on-line storage moving method, device and server of dummy machine system.
Background technology
Intel Virtualization Technology has been realized the separating and uncoupling of bottom hardware equipment and upper strata operating system and application program, has greatly improved physical resource utilization factor, becomes one of important base layer support technology of cloud computing platform.Compared with traditional physical machine, virtual machine (Virtual Machine, the VM) system building based on Intel Virtualization Technology has better isolation and closure, be more convenient for migration and management.
Dummy machine system migrating technology allows dummy machine system to move to another suitable target physical machine, so that hardware maintenance, centralized management and software upgrading from a source physical machine.The target of dummy machine system migration is the impact reducing as far as possible service, and shortens as far as possible the time of bulk migration and serve stop time.
For the on-line storage migration of dummy machine system, in prior art, mainly contain three kinds of schemes.
A kind of is the scheme of shutting down migration.This scheme be by dummy machine system from source host migration to destination main frame before, first stop the operation of dummy machine system, then the internal storage state of dummy machine system or virtual machine disk file are transferred to destination main frame from source main frame, wherein, the internal storage states that adopt in LAN (Local Area Network) more, in wide area network, the virtual machine disk files that adopt, finally start dummy machine system operation more on destination main frame.Though this scheme is simple, shut down migration and can cause the external service of dummy machine system completely unavailable, make transition process opaque to user.
Another kind is the pre-iteration copy of internal memory scheme.This scheme is mainly through N wheel iteration, except the first round transmits whole internal storage state, other each take turns the internal memory variable quantity that is all transmission after between last round of transmission period.Due in whole transition process only N wheel transmitting procedure need to stop dummy machine system and on the service of operation, therefore, this scheme can significantly reduce the unavailable time of dummy machine system service in transition process, even reaches the stop time of 100ms.But this scheme has following two limitations: first, for keeping the consistance of migration front and back virtual machine disk file content at source and destination, this scheme requires source host and destination host to possess shared network storage; Secondly, although this scheme shutdown is shorter opportunity, iterating of internal memory also can affect the service performance of dummy machine system, especially changes application service more frequently for internal storage state, and this impact may continue the long period.
The scheme of another migration is based on disk mirroring file data migration copy.This scheme implementation is in keeping the operation of source virtual machine system, and original disk file is copied to destination main frame by source host and internal storage state.In this process, the disk file data that changed after migration starts by migration controller record, then stop any magnetic disc i/o access of dummy machine system on source or destination main frame, the data transmission changing, to destination main frame, is finally started dummy machine system in target end-host.This scheme has solved dummy machine system and has moved the restriction to shared network storage, goes for the dummy machine system migration under wan environment.But, this scheme requires to stop any magnetic disc i/o access of dummy machine system to disk storage space in migration handoff procedure, therefore can produce " I/O " hunger phenomenon, cause the application service execution time in dummy machine system to increase, affect service performance, especially in the time that the network bandwidth is not high or disk read-write is comparatively frequent, this affect the duration will be longer.
Summary of the invention
According to the embodiment of the present invention aspect, a technical matters to be solved is: a kind of on-line storage moving method, device and server of dummy machine system are provided, avoid the restriction of dummy machine system storage transition process to disk space I/O access.
The online storage moving method of a kind of dummy machine system that the embodiment of the present invention provides, described method comprises:
Source storage size according to the original mirrored disk file of dummy machine system on source memory device is divided the destination end storage space that is not less than described source storage size on destination end memory device;
In execution, described original mirrored disk file is copied to the replicate run process of described destination end storage space from described source storage space, for the data writing operation request of described dummy machine system, data to be written are write simultaneously to the memory location with the reference position of described source storage space, destination end storage space with same offset distance; For the read data operation requests of described dummy machine system, from described source storage space reading out data;
The end position that arrives described original mirrored disk file in response to described replicate run, stops described replicate run;
The memory location of the mirrored disk file of described dummy machine system is switched to described destination end memory device by described source memory device, completes the on-line storage migration of dummy machine system.
Preferably, the writing position of described data to be written is outside the source storage space of described source memory device; Described method also comprises:
According to the offset distance of said write position and source storage space reference position, divide the new storage space identical with size of data to be written from described destination end memory device, between the reference position of described new storage space and destination end storage space reference position, there is described offset distance;
Data to be written are write to the writing position of described source memory device and the new storage space of described destination end memory device simultaneously.
Preferably, described method also comprises:
The memory access path of pre-configured dummy machine system place main frame makes described main frame carry out read-write operation to described source memory device and destination end memory device simultaneously.
Preferably, described method also comprises:
Start the migrating processes of dummy machine system;
In response to the migration instruction that receives described migrating processes and send, carry out described operation of dividing the destination end storage space that is not less than described source storage size on destination end memory device.
The online storage moving apparatus of a kind of dummy machine system that the embodiment of the present invention provides, described device comprises:
Division unit for the source storage size on source memory device according to the original mirrored disk file of dummy machine system, is divided the destination end storage space that is not less than described source storage size on destination end memory device;
Migration performance element, for carrying out the replicate run that described original mirrored disk file is copied to described destination end storage space from described source storage space;
Read-write control unit, be used in described replicate run process, for the data writing operation request of described dummy machine system, data to be written are write simultaneously to the memory location with the reference position of described source storage space, destination end storage space with same offset distance; For the read data operation requests of described dummy machine system, from described source storage space reading out data;
Migration monitoring unit, for monitoring the end position of the described original mirrored disk file of described replicate run arrival, stops described replicate run;
Switch unit, for the memory location of the mirrored disk file of described dummy machine system is switched to described destination end memory device by described source memory device, completes the on-line storage migration of dummy machine system.
Preferably, the writing position of described data to be written is outside the source storage space of described source memory device;
Described division unit, also for according to the offset distance of said write position and source storage space reference position, divide the new storage space identical with size of data to be written from described destination end memory device, between the reference position of described new storage space and destination end storage space reference position, there is described offset distance;
Described read-write control unit, also for write data to be written the writing position of described source memory device and the new storage space of described destination end memory device simultaneously.
Preferably, described device also comprises:
Path configurations unit for the memory access path of pre-configured dummy machine system place main frame, makes described main frame carry out read-write operation to described source memory device and destination end memory device simultaneously.
Preferably, described device also comprises:
Migration control module, for starting dummy machine system migrating processes;
Described division unit, in response to the migration instruction that receives described migrating processes and send, is carried out described operation of dividing the destination end storage space that is not less than described source storage size on destination end memory device.
A kind of server that the embodiment of the present invention provides, on described server, carry one or more dummy machine system, this server comprises according to the online storage moving apparatus of any one dummy machine system in the online storage moving apparatus embodiment of above-mentioned dummy machine system.
The on-line storage moving method of the dummy machine system providing based on the above embodiment of the present invention, device and server, by original mirrored disk file being copied to from source storage space the replicate run process of destination end storage space in execution, for the data writing operation request of dummy machine system, data to be written are write and source storage space simultaneously, the memory location with same offset distance of destination end storage space, the data in magnetic disk changing is carried out to two-way simultaneous write operation, for the read data operation requests of dummy machine system, from source storage space reading out data, eliminate the restrict access of storage transition process dummy machine system to magnetic disc i/o space, without suspend virtual machine I/O read-write operation in transition process, avoid declining because I/O limits the service performance causing, realize the uninterrupted access of user to service, improve the availability that dummy machine system is served in transition process.
In addition, the dummy machine system on-line storage migration scheme that the original mirrored disk file copy that the embodiment of the present invention provides and the two-way simultaneous of delta data write, without the shared network storage, move applicable to the dummy machine system on-line storage in distributed environment compared with the pre-iteration copy mode of internal memory.Compared with the technical scheme copying with the migration of disk mirroring file data, also eliminate the variable design transmitting procedure in transition process, shortened migration task execution time.Meanwhile, also avoided the consumption to Internet resources that causes due to transmission more data variable quantity.
Technical scheme provided by the present invention realizes the non-interrupting service in the situation that applicable to public cloud service provider the memory device dilatation of cloud data center, maintenance upgrade or the application scenario such as planning adjustments again, is not also interrupting the in the situation that its enterprise applying, realizing the scenes such as virtual machine application migration applicable to Enterprise organization system.
By the detailed description to exemplary embodiment of the present invention referring to accompanying drawing, it is clear that further feature of the present invention and advantage thereof will become.
Accompanying drawing explanation
In order to be illustrated more clearly in the embodiment of the present invention or technical scheme of the prior art, to the accompanying drawing of required use in embodiment or description of the Prior Art be briefly described below, apparently, accompanying drawing in the following describes is only some embodiments of the present invention, for those of ordinary skills, do not paying under the prerequisite of creative work, can also obtain according to these accompanying drawings other accompanying drawing.
, it should be understood that for convenience of description, the size of the various piece shown in accompanying drawing is not to draw according to actual proportionate relationship meanwhile.In similar label and letter accompanying drawing below, represent similar terms, therefore, once be defined in an a certain Xiang Yi accompanying drawing, in accompanying drawing subsequently, do not need it to be further discussed.
The accompanying drawing that forms a part for instructions has been described embodiments of the invention, and together with the description for explaining principle of the present invention.
With reference to accompanying drawing, according to detailed description below, can more be expressly understood the present invention, wherein:
Fig. 1 illustrates the schematic flow sheet of a kind of embodiment of on-line storage moving method of dummy machine system provided by the present invention;
Fig. 2 illustrates the schematic flow sheet of a kind of embodiment of on-line storage moving method of dummy machine system provided by the present invention;
Fig. 3 illustrates the schematic flow sheet of a kind of embodiment of on-line storage moving method of dummy machine system provided by the present invention;
Fig. 4 illustrates the structural representation of a kind of embodiment of on-line storage moving apparatus of dummy machine system provided by the present invention;
Fig. 5 illustrates the system architecture schematic diagram of the on-line storage moving method Application Example of dummy machine system provided by the present invention;
Fig. 6 illustrates the system architecture schematic diagram of the on-line storage moving method Application Example of dummy machine system provided by the present invention;
Fig. 7 illustrates the storage area schematic diagram in the on-line storage moving method Application Example of dummy machine system provided by the present invention.
Embodiment
Below in conjunction with the accompanying drawing in the embodiment of the present invention, the technical scheme in the embodiment of the present invention is clearly and completely described, obviously, described embodiment is only the present invention's part embodiment, rather than whole embodiment.It should be noted that: unless illustrate in addition, the parts of setting forth in these embodiments and the positioned opposite of step do not limit the scope of the invention.
Illustrative to the description only actually of at least one exemplary embodiment below, never as any restriction to the present invention and application or use.Based on the embodiment in the present invention, those of ordinary skills, not making the every other embodiment obtaining under creative work prerequisite, belong to the scope of protection of the invention.
May not discuss in detail for the known technology of person of ordinary skill in the relevant, method and apparatus, but in suitable situation, described technology, method and apparatus should be regarded as authorizing a part for instructions.
In all examples with discussing shown here, it is exemplary that any occurrence should be construed as merely, rather than as restriction.Therefore, other example of exemplary embodiment can have different values.
Shown in Figure 1, Fig. 1 illustrates the schematic flow sheet of a kind of embodiment of online storage moving method of dummy machine system provided by the present invention.In this embodiment, the online storage moving method of dummy machine system comprises following operation.
101, the source storage size according to the original mirrored disk file of dummy machine system on source memory device is divided the destination end storage space that is not less than source storage size on destination end memory device.
102, in execution, original mirrored disk file is copied to from source storage space the replicate run process of destination end storage space, for the data writing operation request of dummy machine system, data to be written are write simultaneously to the memory location with the reference position of source storage space, destination end storage space with same offset distance; For the read data operation requests of dummy machine system, from source storage space reading out data.
103, arrive the end position of original mirrored disk file in response to replicate run, stop replicate run.
104, the memory location of the mirrored disk file of dummy machine system is switched to destination end memory device by source memory device, complete the on-line storage migration of dummy machine system.
The method providing based on above-described embodiment, by original mirrored disk file being copied to from source storage space the replicate run process of destination end storage space in execution, for the data writing operation request of dummy machine system, data to be written are write and source storage space simultaneously, the memory location with same offset distance of destination end storage space, the data in magnetic disk changing is carried out to two-way simultaneous write operation, eliminate the restrict access of storage transition process dummy machine system to magnetic disc i/o space, avoid declining because I/O limits the service performance causing, realize user to the disconnected access of loseing of service, improve the availability that dummy machine system is served in transition process.
Shown in Figure 2, Fig. 2 illustrates the schematic flow sheet of a kind of embodiment of online storage moving method of dummy machine system provided by the present invention.According to the inventive method embodiment concrete example, in operation 102 embodiment illustrated in fig. 1, in execution, original mirrored disk file is copied to from source storage space the replicate run process of destination end storage space, for the data writing operation request of dummy machine system, if the writing position of data to be written is outside the source storage space of source memory device, the method can also comprise:
201, according to the offset distance of writing position and source storage space reference position, divide the new storage space identical with size of data to be written from destination end memory device, between the reference position of new storage space and destination end storage space reference position, there is offset distance;
202, data to be written are write to the writing position of source memory device and the new storage space of destination end memory device simultaneously.
Similarly, when replicate run arrives the end position of original mirrored disk file, stop replicate run.
Shown in Figure 3, Fig. 3 illustrates the schematic flow sheet of a kind of embodiment of online storage moving method of dummy machine system provided by the present invention.Compare in Fig. 1 or Fig. 2 embodiment, according to the inventive method embodiment concrete example, the method can also comprise the processing to read data operation requests.Take embodiment in Fig. 1 as example, Fig. 3 embodiment can also comprise:
301, the memory access path of pre-configured dummy machine system place main frame makes main frame carry out read-write operation to source memory device and destination end memory device simultaneously.
According to the inventive method embodiment concrete example, the method also comprises: the migrating processes that starts dummy machine system; In response to the migration instruction that receives migrating processes and send, carry out the operation of dividing the destination end storage space that is not less than source storage size on destination end memory device.
Shown in Figure 4, Fig. 4 illustrates the structural representation of a kind of embodiment of on-line storage moving apparatus of dummy machine system provided by the present invention.In this embodiment, the online storage moving apparatus of dummy machine system comprises:
Division unit 401 for the source storage size on source memory device according to the original mirrored disk file of dummy machine system, is divided the destination end storage space that is not less than source storage size on destination end memory device;
Migration performance element 402, for carrying out the replicate run that original mirrored disk file is copied to destination end storage space from source storage space;
Read-write control unit 403 in replicate run process, for the data writing operation request of dummy machine system, writes data to be written the memory location with the reference position of source storage space, destination end storage space with same offset distance simultaneously; For the read data operation requests of dummy machine system, from source storage space reading out data;
Move monitoring unit 404, arrive the end position of original mirrored disk file in response to replicate run, stop replicate run;
Switch unit 405, for the memory location of the mirrored disk file of dummy machine system is switched to destination end memory device by source memory device, completes the on-line storage migration of dummy machine system.
According to apparatus of the present invention embodiment concrete example, the writing position of data to be written is outside the source storage space of source memory device.
Division unit 401, also for according to the offset distance of writing position and source storage space reference position, divide the new storage space identical with size of data to be written from destination end memory device, between the reference position of new storage space and destination end storage space reference position, there is offset distance;
Read-write control unit 403, also for write data to be written the writing position of source memory device and the new storage space of destination end memory device simultaneously.
According to apparatus of the present invention embodiment concrete example, path configurations unit 406 for the memory access path of pre-configured dummy machine system place main frame, makes main frame carry out read-write operation to source memory device and destination end memory device simultaneously.
According to apparatus of the present invention embodiment concrete example, migration control module 407, for starting dummy machine system migrating processes.Division unit 402, in response to the migration instruction that receives migrating processes and send, is carried out the operation of dividing the destination end storage space that is not less than source storage size on destination end memory device.
A kind of embodiment of server provided by the invention, carries one or more dummy machine system on this server, this server comprises according to any one in the online storage moving apparatus embodiment of above-mentioned dummy machine system.
Exemplarily, shown in Fig. 5 and Fig. 6, Fig. 5 and Fig. 6 all illustrate the system architecture schematic diagram of the on-line storage moving method Application Example of dummy machine system provided by the present invention.On main frame HA, carry 3 dummy machine system VA, VB, VC, client operating system and application program are installed on each dummy machine system.The on-line storage moving apparatus (hereinafter to be referred as storage moving apparatus) of dummy machine system provided by the present invention can be arranged on main frame HA above and this main frame is wholely set, for example, be embedded into the code in the scheduling virtual machine supervisory routine of main frame HA, also can arrange separately, for example, the hardware that the software program of isolated operation or runs program instructions are relevant is realized.Before carrying out migration task, the memory access path of the main frame HA at pre-configured dummy machine system VB place, path configurations unit makes this main frame can have access to source memory device SS and destination end memory device SD simultaneously.Be described as example the memory device of dummy machine system VB is carried out to on-line storage migration below:
The migration control module of storage moving apparatus is according to user's input command or according to host schedules task start dummy machine system migrating processes;
The division unit of storage moving apparatus, in response to the migration instruction that receives migrating processes and send, is divided the destination end storage space that is not less than source storage size on destination end memory device;
The migration performance element of storage moving apparatus is carried out the replicate run that original mirrored disk file is copied to destination end storage space from source storage space;
In replicate run process, the read-write operation request of the read-write control unit control dummy machine system VB of storage moving apparatus to memory device, wherein, for the data writing operation request of dummy machine system VB, data to be written are write simultaneously to the memory location with the reference position of source storage space, destination end storage space with same offset distance; For the read data operation requests of dummy machine system, from source storage space reading out data;
The migration monitoring unit of storage moving apparatus monitors replicate run and arrives the end position of original mirrored disk file, stops replicate run;
The switch unit of storage moving apparatus is switched to destination end memory device by the memory location of the mirrored disk file of dummy machine system by source memory device, completes the on-line storage migration of dummy machine system.
In the various embodiments described above, can indicate by storage pointer position for the control of storage space and read and write position.
Shown in Figure 7, Fig. 7 illustrates the storage area schematic diagram in the on-line storage moving method Application Example of dummy machine system provided by the present invention.Arrow indication position representative in Fig. 7 in source storage space copies the current pointer position of the original mirrored disk file of virtual machine.In figure, " x " character schematically represents the mirrored disk file data not changing in transition process, will be copied to the destination end storage space of destination end memory device by migration performance element.In figure, " * " character schematically represents that transition process is in replicate run process, data to former mirrored disk file in source storage space enter the content of rewriting, will be write the memory location with the reference position of source storage space, destination end storage space with same offset distance by read-write control unit simultaneously; In Fig. 7, " # " character schematically represents the write operation that dummy machine system carries out the region outside the source storage space of original mirrored disk file, division unit is according to the offset distance of writing position and source storage space reference position, divide the new storage space identical with size of data to be written from destination end memory device, between the reference position of new storage space and destination end storage space reference position, there is offset distance.Data to be written are write the writing position of source memory device and the new storage space of destination end memory device by read-write control unit simultaneously.
So far, described on-line storage moving method, device and the server according to a kind of dummy machine system of the present invention in detail.For fear of covering design of the present invention, details more known in the field are not described.Those skilled in the art, according to description above, can understand how to implement technical scheme disclosed herein completely.
In this instructions, each embodiment all adopts the mode of going forward one by one to describe, and what each embodiment stressed is and the difference of other embodiment, same or analogous part cross-references between each embodiment.For the on-line storage moving apparatus and server example of dummy machine system, because it is substantially corresponding with embodiment of the method, so description is fairly simple, relevant part is referring to the part explanation of embodiment of the method.
May realize in many ways on-line storage moving method, device and the server of dummy machine system of the present invention.For example, can realize by any combination of software, hardware, firmware or software, hardware, firmware on-line storage moving method, device and the server of dummy machine system of the present invention.The said sequence that is used for the step of described method is only in order to describe, and the step of method of the present invention is not limited to above specifically described order, unless otherwise specified.In addition, in certain embodiments, can be also the program being recorded in recording medium by the invention process, these programs comprise the machine readable instructions for realizing the method according to this invention.Thereby the present invention also covers the recording medium of storing the program for carrying out the method according to this invention.
Although specific embodiments more of the present invention are had been described in detail by example, it should be appreciated by those skilled in the art, above example is only in order to describe, rather than in order to limit the scope of the invention.It should be appreciated by those skilled in the art, can without departing from the scope and spirit of the present invention, above embodiment be modified.Scope of the present invention is limited by claims.

Claims (9)

1. an online storage moving method for dummy machine system, is characterized in that, described method comprises:
Source storage size according to the original mirrored disk file of dummy machine system on source memory device is divided the destination end storage space that is not less than described source storage size on destination end memory device;
In execution, described original mirrored disk file is copied to the replicate run process of described destination end storage space from described source storage space, for the data writing operation request of described dummy machine system, data to be written are write simultaneously to the memory location with the reference position of described source storage space, destination end storage space with same offset distance; For the read data operation requests of described dummy machine system, from described source storage space reading out data;
The end position that arrives described original mirrored disk file in response to described replicate run, stops described replicate run;
The memory location of the mirrored disk file of described dummy machine system is switched to described destination end memory device by described source memory device, completes the on-line storage migration of dummy machine system.
2. method according to claim 1, is characterized in that, the writing position of described data to be written is outside the source storage space of described source memory device; Described method also comprises:
According to the offset distance of said write position and source storage space reference position, divide the new storage space identical with size of data to be written from described destination end memory device, between the reference position of described new storage space and destination end storage space reference position, there is described offset distance;
Data to be written are write to the writing position of described source memory device and the new storage space of described destination end memory device simultaneously.
3. method according to claim 2, is characterized in that, described method also comprises:
The memory access path of pre-configured dummy machine system place main frame makes described main frame carry out read-write operation to described source memory device and destination end memory device simultaneously.
4. method according to claim 3, is characterized in that, described method also comprises:
Start the migrating processes of dummy machine system;
In response to the migration instruction that receives described migrating processes and send, carry out described operation of dividing the destination end storage space that is not less than described source storage size on destination end memory device.
5. an online storage moving apparatus for dummy machine system, is characterized in that, described device comprises:
Division unit for the source storage size on source memory device according to the original mirrored disk file of dummy machine system, is divided the destination end storage space that is not less than described source storage size on destination end memory device;
Migration performance element, for carrying out the replicate run that described original mirrored disk file is copied to described destination end storage space from described source storage space;
Read-write control unit, be used in described replicate run process, for the data writing operation request of described dummy machine system, data to be written are write simultaneously to the memory location with the reference position of described source storage space, destination end storage space with same offset distance; For the read data operation requests of described dummy machine system, from described source storage space reading out data;
Migration monitoring unit, for monitoring the end position of the described original mirrored disk file of described replicate run arrival, stops described replicate run;
Switch unit, for the memory location of the mirrored disk file of described dummy machine system is switched to described destination end memory device by described source memory device, completes the on-line storage migration of dummy machine system.
6. device according to claim 5, is characterized in that, the writing position of described data to be written is outside the source storage space of described source memory device;
Described division unit, also for according to the offset distance of said write position and source storage space reference position, divide the new storage space identical with size of data to be written from described destination end memory device, between the reference position of described new storage space and destination end storage space reference position, there is described offset distance;
Described read-write control unit, also for write data to be written the writing position of described source memory device and the new storage space of described destination end memory device simultaneously.
7. device according to claim 6, is characterized in that, described device also comprises:
Path configurations unit for the memory access path of pre-configured dummy machine system place main frame, makes described main frame carry out read-write operation to described source memory device and destination end memory device simultaneously.
8. device according to claim 7, is characterized in that, described device also comprises:
Migration control module, for starting dummy machine system migrating processes;
Described division unit, in response to the migration instruction that receives described migrating processes and send, is carried out described operation of dividing the destination end storage space that is not less than described source storage size on destination end memory device.
9. a server, carries one or more dummy machine system on described server, it is characterized in that, described server comprises the online storage moving apparatus according to the dummy machine system described in claim 5 to 8 any one.
CN201310170441.1A 2012-12-27 2013-05-10 On-line storage moving method, device and the server of virtual machine system Active CN103902233B (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN201310170441.1A CN103902233B (en) 2012-12-27 2013-05-10 On-line storage moving method, device and the server of virtual machine system

Applications Claiming Priority (4)

Application Number Priority Date Filing Date Title
CN201210578728.3 2012-12-27
CN2012105787283 2012-12-27
CN201210578728 2012-12-27
CN201310170441.1A CN103902233B (en) 2012-12-27 2013-05-10 On-line storage moving method, device and the server of virtual machine system

Publications (2)

Publication Number Publication Date
CN103902233A true CN103902233A (en) 2014-07-02
CN103902233B CN103902233B (en) 2018-09-11

Family

ID=50993583

Family Applications (1)

Application Number Title Priority Date Filing Date
CN201310170441.1A Active CN103902233B (en) 2012-12-27 2013-05-10 On-line storage moving method, device and the server of virtual machine system

Country Status (1)

Country Link
CN (1) CN103902233B (en)

Cited By (9)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN105224391A (en) * 2015-10-12 2016-01-06 浪潮(北京)电子信息产业有限公司 A kind of online backup method and system of virtual machine
CN106156031A (en) * 2015-03-24 2016-11-23 联想(北京)有限公司 A kind of information processing method and electronic equipment
CN106775846A (en) * 2016-11-30 2017-05-31 三星(中国)半导体有限公司 For the method and device of the online migration of physical server
CN106959827A (en) * 2017-03-30 2017-07-18 联想(北京)有限公司 Information processing method, information processor and server
CN107636612A (en) * 2015-03-27 2018-01-26 英特尔公司 Application container for the real-time migration of Mobile solution
CN111208947A (en) * 2020-01-10 2020-05-29 深信服科技股份有限公司 Data migration method and device, physical machine, cloud platform and computer storage medium
CN111273872A (en) * 2020-02-14 2020-06-12 北京百度网讯科技有限公司 Data migration method, device, equipment and medium
CN112148430A (en) * 2020-09-28 2020-12-29 中电积至(海南)信息技术有限公司 Method for online safe migration of virtual machine with virtual network function
CN112667148A (en) * 2020-11-30 2021-04-16 上海七牛信息技术有限公司 Method and system for cluster storage data online migration

Citations (5)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN101464812A (en) * 2009-01-06 2009-06-24 北京航空航天大学 Virtual machine migration method
CN102103629A (en) * 2010-12-14 2011-06-22 西北工业大学 Online data migration method
US20120137098A1 (en) * 2010-11-29 2012-05-31 Huawei Technologies Co., Ltd. Virtual storage migration method, virtual storage migration system and virtual machine monitor
CN102609361A (en) * 2012-01-16 2012-07-25 北京邮电大学 Method and device for transferring storage data of virtual machine
CN103064753A (en) * 2012-10-25 2013-04-24 浪潮电子信息产业股份有限公司 Disk array three-stage recovery system designing method

Patent Citations (5)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN101464812A (en) * 2009-01-06 2009-06-24 北京航空航天大学 Virtual machine migration method
US20120137098A1 (en) * 2010-11-29 2012-05-31 Huawei Technologies Co., Ltd. Virtual storage migration method, virtual storage migration system and virtual machine monitor
CN102103629A (en) * 2010-12-14 2011-06-22 西北工业大学 Online data migration method
CN102609361A (en) * 2012-01-16 2012-07-25 北京邮电大学 Method and device for transferring storage data of virtual machine
CN103064753A (en) * 2012-10-25 2013-04-24 浪潮电子信息产业股份有限公司 Disk array three-stage recovery system designing method

Cited By (14)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN106156031A (en) * 2015-03-24 2016-11-23 联想(北京)有限公司 A kind of information processing method and electronic equipment
CN106156031B (en) * 2015-03-24 2019-10-29 联想(北京)有限公司 A kind of information processing method and electronic equipment
CN107636612A (en) * 2015-03-27 2018-01-26 英特尔公司 Application container for the real-time migration of Mobile solution
CN107636612B (en) * 2015-03-27 2022-04-19 英特尔公司 Application migration device, method and storage medium
CN105224391A (en) * 2015-10-12 2016-01-06 浪潮(北京)电子信息产业有限公司 A kind of online backup method and system of virtual machine
CN105224391B (en) * 2015-10-12 2018-10-12 浪潮(北京)电子信息产业有限公司 A kind of online backup method and system of virtual machine
CN106775846B (en) * 2016-11-30 2021-02-23 三星(中国)半导体有限公司 Method and device for online migration of physical server
CN106775846A (en) * 2016-11-30 2017-05-31 三星(中国)半导体有限公司 For the method and device of the online migration of physical server
CN106959827A (en) * 2017-03-30 2017-07-18 联想(北京)有限公司 Information processing method, information processor and server
CN106959827B (en) * 2017-03-30 2020-02-21 联想(北京)有限公司 Information processing method, information processing apparatus, and server
CN111208947A (en) * 2020-01-10 2020-05-29 深信服科技股份有限公司 Data migration method and device, physical machine, cloud platform and computer storage medium
CN111273872A (en) * 2020-02-14 2020-06-12 北京百度网讯科技有限公司 Data migration method, device, equipment and medium
CN112148430A (en) * 2020-09-28 2020-12-29 中电积至(海南)信息技术有限公司 Method for online safe migration of virtual machine with virtual network function
CN112667148A (en) * 2020-11-30 2021-04-16 上海七牛信息技术有限公司 Method and system for cluster storage data online migration

Also Published As

Publication number Publication date
CN103902233B (en) 2018-09-11

Similar Documents

Publication Publication Date Title
CN103902233A (en) Virtual machine system on-line storage migration method and device and server
US8407182B1 (en) Systems and methods for facilitating long-distance live migrations of virtual machines
JP5698432B2 (en) Logical partition migration method and program
JP5246388B2 (en) Virtual device configuration system and method thereof
US9395920B2 (en) Throttle disk I/O using disk drive simulation model
US8191063B2 (en) Method for migrating a plurality of virtual machines by associating files and state information with a single logical container
US8019861B2 (en) Speculative virtual machine resource scheduling
US9003149B2 (en) Transparent file system migration to a new physical location
US9323461B2 (en) Traffic reducing on data migration
US8140822B2 (en) System and method for maintaining page tables used during a logical partition migration
JP4659526B2 (en) Management computer, computer system and control method for managing license of program installed in storage system
JP2010097533A (en) Application migration and power consumption optimization in partitioned computer system
CN105027068A (en) Performing copies in a storage system
CN103793258A (en) Hypervisor-based server duplication system and method
WO2013140460A1 (en) Patch applying method for virtual machine by cloning an operating system image on shared storage and applying a patch to this cloned image
CN105740052A (en) Method, device and system for online migration of virtual machines of non-shared memories
KR20120125039A (en) Apparatus of migrating disk of virtual machine and method thereof
US20130311739A1 (en) Storage apparatus, storage system, and data migration method
US20210223959A1 (en) Transitioning from an original device to a new device within a data storage array
CN105760218A (en) Online migration method and device for virtual machine
CN111679889B (en) Conversion migration method and system of virtual machine
US20110060884A1 (en) Systems and methods for collapsing a derivative version of a primary storage volume
US20130080725A1 (en) Control apparatus, control method, and storage apparatus
CN103885811A (en) Device, system and method for system-wide online migration of virtual machine system
JP6028415B2 (en) Data migration control device, method and system for virtual server environment

Legal Events

Date Code Title Description
C06 Publication
PB01 Publication
C10 Entry into substantive examination
SE01 Entry into force of request for substantive examination
GR01 Patent grant
GR01 Patent grant