WO2012153903A1 - 가상머신 디스크 마이그레이션 장치 및 그 방법 - Google Patents

가상머신 디스크 마이그레이션 장치 및 그 방법 Download PDF

Info

Publication number
WO2012153903A1
WO2012153903A1 PCT/KR2011/009770 KR2011009770W WO2012153903A1 WO 2012153903 A1 WO2012153903 A1 WO 2012153903A1 KR 2011009770 W KR2011009770 W KR 2011009770W WO 2012153903 A1 WO2012153903 A1 WO 2012153903A1
Authority
WO
WIPO (PCT)
Prior art keywords
disk
virtual machine
physical disk
physical
snapshot
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.)
Ceased
Application number
PCT/KR2011/009770
Other languages
English (en)
French (fr)
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.)
KT Corp
Original Assignee
KT Corp
Priority date (The priority date is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the date listed.)
Filing date
Publication date
Application filed by KT Corp filed Critical KT Corp
Publication of WO2012153903A1 publication Critical patent/WO2012153903A1/ko
Anticipated expiration legal-status Critical
Ceased legal-status Critical Current

Links

Images

Classifications

    • GPHYSICS
    • G06COMPUTING OR CALCULATING; COUNTING
    • G06FELECTRIC DIGITAL DATA PROCESSING
    • G06F3/00Input arrangements for transferring data to be processed into a form capable of being handled by the computer; Output arrangements for transferring data from processing unit to output unit, e.g. interface arrangements
    • G06F3/06Digital input from, or digital output to, record carriers, e.g. RAID, emulated record carriers or networked record carriers
    • G06F3/0601Interfaces specially adapted for storage systems
    • G06F3/0602Interfaces specially adapted for storage systems specifically adapted to achieve a particular effect
    • G06F3/0614Improving the reliability of storage systems
    • G06F3/0617Improving the reliability of storage systems in relation to availability
    • GPHYSICS
    • G06COMPUTING OR CALCULATING; COUNTING
    • G06FELECTRIC DIGITAL DATA PROCESSING
    • G06F3/00Input arrangements for transferring data to be processed into a form capable of being handled by the computer; Output arrangements for transferring data from processing unit to output unit, e.g. interface arrangements
    • G06F3/06Digital input from, or digital output to, record carriers, e.g. RAID, emulated record carriers or networked record carriers
    • G06F3/0601Interfaces specially adapted for storage systems
    • G06F3/0628Interfaces specially adapted for storage systems making use of a particular technique
    • G06F3/0646Horizontal data movement in storage systems, i.e. moving data in between storage devices or systems
    • G06F3/0647Migration mechanisms
    • GPHYSICS
    • G06COMPUTING OR CALCULATING; COUNTING
    • G06FELECTRIC DIGITAL DATA PROCESSING
    • G06F3/00Input arrangements for transferring data to be processed into a form capable of being handled by the computer; Output arrangements for transferring data from processing unit to output unit, e.g. interface arrangements
    • G06F3/06Digital input from, or digital output to, record carriers, e.g. RAID, emulated record carriers or networked record carriers
    • G06F3/0601Interfaces specially adapted for storage systems
    • G06F3/0668Interfaces specially adapted for storage systems adopting a particular infrastructure
    • G06F3/0671In-line storage system
    • G06F3/0683Plurality of storage devices
    • GPHYSICS
    • G06COMPUTING OR CALCULATING; COUNTING
    • G06FELECTRIC DIGITAL DATA PROCESSING
    • G06F9/00Arrangements for program control, e.g. control units
    • G06F9/06Arrangements for program control, e.g. control units using stored programs, i.e. using an internal store of processing equipment to receive or retain programs
    • GPHYSICS
    • G06COMPUTING OR CALCULATING; COUNTING
    • G06FELECTRIC DIGITAL DATA PROCESSING
    • G06F9/00Arrangements for program control, e.g. control units
    • G06F9/06Arrangements for program control, e.g. control units using stored programs, i.e. using an internal store of processing equipment to receive or retain programs
    • G06F9/44Arrangements for executing specific programs
    • G06F9/455Emulation; Interpretation; Software simulation, e.g. virtualisation or emulation of application or operating system execution engines
    • G06F9/45533Hypervisors; Virtual machine monitors
    • G06F9/45558Hypervisor-specific management and integration aspects
    • GPHYSICS
    • G06COMPUTING OR CALCULATING; COUNTING
    • G06FELECTRIC DIGITAL DATA PROCESSING
    • G06F11/00Error detection; Error correction; Monitoring
    • G06F11/07Responding to the occurrence of a fault, e.g. fault tolerance
    • G06F11/16Error detection or correction of the data by redundancy in hardware
    • G06F11/20Error detection or correction of the data by redundancy in hardware using active fault-masking, e.g. by switching out faulty elements or by switching in spare elements
    • G06F11/2053Error detection or correction of the data by redundancy in hardware using active fault-masking, e.g. by switching out faulty elements or by switching in spare elements where persistent mass storage functionality or persistent mass storage control functionality is redundant
    • G06F11/2094Redundant storage or storage space
    • GPHYSICS
    • G06COMPUTING OR CALCULATING; COUNTING
    • G06FELECTRIC DIGITAL DATA PROCESSING
    • G06F9/00Arrangements for program control, e.g. control units
    • G06F9/06Arrangements for program control, e.g. control units using stored programs, i.e. using an internal store of processing equipment to receive or retain programs
    • G06F9/44Arrangements for executing specific programs
    • G06F9/455Emulation; Interpretation; Software simulation, e.g. virtualisation or emulation of application or operating system execution engines
    • G06F9/45533Hypervisors; Virtual machine monitors
    • G06F9/45558Hypervisor-specific management and integration aspects
    • G06F2009/4557Distribution of virtual machine instances; Migration and load balancing
    • GPHYSICS
    • G06COMPUTING OR CALCULATING; COUNTING
    • G06FELECTRIC DIGITAL DATA PROCESSING
    • G06F2201/00Indexing scheme relating to error detection, to error correction, and to monitoring
    • G06F2201/815Virtual

Definitions

  • the present invention relates to a disk migration apparatus and a method thereof, and more particularly, to an apparatus and method for performing physical movement of a virtual machine disk during the operation of the virtual machine.
  • a virtual machine is a virtualization of a real physical server and includes at least one virtual disk in a physical disk. If you want to migrate a disk of a virtual machine to a new physical disk for maintenance, etc., you can easily move it to another physical disk if the virtual machine is not running, but if the virtual machine is running, the virtual machine is constantly Accesses and writes to and reads from, making it difficult to migrate the virtual disks.
  • An object of the present invention is to provide an apparatus and a method for migrating a virtual machine disk to another physical disk while the virtual machine is running.
  • an example of a disk migration method includes: replicating a virtual machine disk of a first physical disk for a currently running virtual machine to a second physical disk; A first reflecting step of identifying a change in the virtual machine disk in the first physical disk based on the second physical disk and reflecting the change in the second physical disk; Changing the second physical disk to a new virtual machine disk for the virtual machine; And a second reflecting step of identifying an unchanged variation of the virtual machine disk of the first physical disk based on the second physical disk and reflecting the reflected variation on the second physical disk.
  • an example of a disk migration apparatus includes: a first physical disk on which a virtual machine disk for a running virtual machine exists; A second physical disk to migrate the virtual machine disk of the first physical disk; A snapshot controller configured to generate a snapshot of a variation of the virtual machine disk of the first physical disk based on the second physical disk; The virtual machine disk of the first physical disk is copied to the second physical disk, and the change of the virtual machine disk of the first physical disk is reflected to the second physical disk by using the snapshot generated by the snapshot controller.
  • a migration unit And a VM disk controller for changing the second physical disk into a new virtual machine disk of the virtual machine.
  • a virtual machine disk can be quickly migrated to a new physical disk without stopping the driving of the virtual machine.
  • FIG. 1 is a view showing an example of a schematic configuration for a disk migration according to the present invention
  • FIG. 2 is a view showing an example of a configuration of a disk migration apparatus according to the present invention.
  • FIG. 3 is a flowchart illustrating an example of a disk migration method while driving a virtual machine according to the present invention.
  • an example of a disk migration method includes: replicating a virtual machine disk of a first physical disk for a currently running virtual machine to a second physical disk; A first reflecting step of identifying a change in the virtual machine disk in the first physical disk based on the second physical disk and reflecting the change in the second physical disk; Changing the second physical disk to a new virtual machine disk for the virtual machine; And a second reflecting step of identifying an unchanged variation of the virtual machine disk of the first physical disk based on the second physical disk and reflecting the reflected variation on the second physical disk.
  • an example of a disk migration apparatus includes: a first physical disk on which a virtual machine disk for a running virtual machine exists; A second physical disk to migrate the virtual machine disk of the first physical disk; A snapshot controller configured to generate a snapshot of a variation of the virtual machine disk of the first physical disk based on the second physical disk; The virtual machine disk of the first physical disk is copied to the second physical disk, and the change of the virtual machine disk of the first physical disk is reflected to the second physical disk by using the snapshot generated by the snapshot controller.
  • a migration unit And a VM disk controller for changing the second physical disk into a new virtual machine disk of the virtual machine.
  • FIG. 1 is a view showing an example of a schematic configuration for a disk migration according to the present invention.
  • the virtual machine 110 implemented in the physical server 100 includes a virtual machine disk 140 in the first physical disk 120. At least one virtual machine 110 may be driven in the physical server 100, and the first physical disk 120 may include at least one virtual machine disk 140.
  • the first physical disk 120 and the second physical disk 130 may be storage space that separates one storage device or may be physically different storage devices, and may also be in the same spatial location or may be a storage area network (SAN) or It may be a storage device connected via a network such as a network attached storage (NAS).
  • SAN storage area network
  • NAS network attached storage
  • the virtual machine disk 140 located in the first physical disk 120 is a place where data related to the driving of the virtual machine is stored and may be configured as a file or a set of files, depending on the driving of the virtual machine 110. The data is changed. Therefore, if the virtual machine is not running, the migration can be completed by simply cloning the virtual machine disk 140 of the first physical disk 120 to the second physical disk 130, but if the virtual machine is running, the first physical disk Since the contents of the virtual machine disk 140 of 120 vary from time to time, it is not possible to simply complete the migration by copying to the second physical disk 130.
  • FIG. 2 is a diagram illustrating an example of a configuration of an apparatus for performing a disk migration while driving a virtual machine according to the present invention.
  • the disk migration apparatus includes a snapshot controller 200, a migration unit 210, a VM disk controller 220, a first physical disk 230, and a second physical disk 240. Include.
  • the first physical disk 230 and the second physical disk 240 may be physically one storage device, a separate storage device, or a storage device connected through a network.
  • the first physical disk 230 is where the virtual machine disk for the currently running virtual machine is located and the second physical disk 240 is a new physical disk to be migrated.
  • the migration unit 210 replicates the virtual machine disk of the first physical disk 230 to the second physical disk 240. However, as described above, since the data of the first physical disk 230 continuously changes during the operation of the virtual machine, the migration unit 210 uses a snapshot of the disk variation generated by the snapshot controller 200. The change is continuously reflected to the second physical disk 240.
  • the snapshot controller 200 identifies a change in the first physical disk 230 based on the second physical disk 240 and generates the snapshot.
  • a snapshot is a point-in-time copy or point-in-time image of data stored on disk. That is, the snapshot controller 200 may be configured to copy the disk of the virtual machine of the first physical disk 230 to the second physical disk 240 by the migration unit 210. The contents are compared with the contents of the virtual machine disk of the first physical disk 230 to identify the variation and generate the snapshot as a snapshot.
  • the snapshot controller 200 continuously generates a change in a snapshot at a predetermined cycle, and the migration unit 210 also reflects the change in the second physical disk 240 using the snapshot at a predetermined cycle.
  • the VM disk controller 220 converts the second physical disk 240 into a new virtual machine disk of the virtual machine after the virtual machine disk of the first physical disk 230 is replicated to the second physical disk 240 and the change is reflected. Change it. However, since the data of the virtual machine disk of the first physical disk 230 may be changed between the time of reflecting the recent change and the change of the virtual machine disk, the snapshot controller 200 finally generates a snapshot of the change. The migration unit 210 finally completes the migration by reflecting the change to the second physical disk 240.
  • FIG. 3 is a flowchart illustrating an example of a disk migration method while driving a virtual machine according to the present invention.
  • the disk migration apparatus generates a second physical disk for migrating a virtual machine disk of a first physical disk for a running virtual machine (S300). At this time, the disk migration apparatus prepares a disk space of the same size as the virtual machine disk of the first physical disk in the second physical disk.
  • the second physical disk itself may be a disk having the same size as the virtual machine disk of the first physical disk, the size of the first physical disk when the space is large enough to accommodate a plurality of virtual machine disks Create as many virtual machine disks.
  • the disk migration apparatus first copies the virtual machine disk of the first physical disk to the second physical disk (S310). Since the virtual machine is currently running, the contents of the virtual machine disk of the first physical disk change frequently. Therefore, the disk migration apparatus grasps the variation of the virtual machine disk of the first physical disk based on the copied contents of the second physical disk and generates the snapshot as a snapshot (S320). The disk migration apparatus reflects the change to the second physical disk by using the snapshot. Steps S320 and S330 of generating a snapshot of the change and reflecting it on the second physical disk may be repeatedly performed at regular intervals in consideration of the amount of the disk change or the system situation.
  • the disk migration apparatus changes the second physical disk to a new virtual machine disk of the currently running virtual machine (S340). For example, if a specific space of the second physical disk is allocated as a virtual machine disk for migration, the allocated virtual machine disk is changed to a new disk of the virtual machine.
  • the disk migration apparatus finally changes the virtual of the first physical disk based on the second physical disk.
  • the change of the machine disk is identified and created as a snapshot, and the change is finally reflected to the second physical disk by using the generated snapshot (S350).
  • the snapshot is used to identify and reflect the change between the second physical disk and the first physical disk.
  • various other techniques for identifying and reflecting the change between the two disks are described. Of course, it can be used.
  • the invention can also be embodied as computer readable code on a computer readable recording medium.
  • the computer-readable recording medium includes all kinds of recording devices in which data that can be read by a computer system is stored. Examples of computer-readable recording media include ROM, RAM, CD-ROM, magnetic tape, floppy disks, optical data storage devices, and the like.
  • the computer readable recording medium can also be distributed over network coupled computer systems so that the computer readable code is stored and executed in a distributed fashion.

Landscapes

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

Abstract

가상머신 디스크 마이그레이션 장치 및 그 방법이 개시된다. 가상머신 디스크 마이그레이션 장치는 현재 구동중인 가상머신에 대한 제1 물리 디스크의 가상머신 디스크를 제2 물리 디스크로 복제하고, 제2 물리 디스크를 기준으로 제1 물리 디스크 내 가상머신 디스크의 변동분을 파악하여 이를 제2 물리 디스크에 반영하고, 제2 물리 디스크를 상기 가상머신에 대한 새로운 가상머신 디스크로 변경한 후 제2 물리 디스크를 기준으로 제1 물리 디스크의 가상머신 디스크의 반영되지 않은 변동분을 파악하여 이를 제2 물리 디스크에 최종 반영함으로서 마이그레이션을 완료한다.

Description

가상머신 디스크 마이그레이션 장치 및 그 방법
본 발명은 디스크 마이그레이션 장치 및 그 방법에 관한 것으로서, 보다 상세하게는 가상머신의 구동 중에 가상머신 디스크의 물리적인 이동을 수행하는 장치 및 그 방법에 관한 것이다.
가상머신은 실질적인 물리서버의 가상화(virtualization)이며, 물리적인 디스크에 적어도 하나의 가상 디스크를 포함한다. 관리 유지 등을 위해 가상머신의 디스크를 새로운 물리 디스크에 마이그레이션하고자 할 경우, 가상머신이 구동중인 아닌 경우에는 다른 물리 디스크로 용이하게 옮길 수 있으나, 가상머신이 구동 중인 경우에는 끊임없이 가상머신이 가상 디스크에 접근하여 쓰고 읽기를 수행하므로 그 가상 디스크의 마이그레이션 수행에 어려움이 있다.
본 발명이 이루고자 하는 기술적 과제는, 가상머신의 구동 중에 가상머신 디스크를 다른 물리 디스크로 마이그레이션할 수 있는 장치 및 그 방법을 제공하는 데 있다.
상기의 기술적 과제를 달성하기 위한, 본 발명에 따른 디스크 마이그레이션 방법의 일 예는, 현재 구동중인 가상머신에 대한 제1 물리 디스크의 가상머신 디스크를 제2 물리 디스크로 복제하는 단계; 상기 제2 물리 디스크를 기준으로 상기 제1 물리 디스크 내 가상머신 디스크의 변동분을 파악하여 이를 상기 제2 물리 디스크에 반영하는 제1 반영단계; 상기 제2 물리 디스크를 상기 가상머신에 대한 새로운 가상머신 디스크로 변경하는 단계; 및 상기 제2 물리 디스크를 기준으로 상기 제1 물리 디스크의 가상머신 디스크의 반영되지 않은 변동분을 파악하여 이를 상기 제2 물리 디스크에 반영하는 제2 반영단계;를 포함한다.
상기의 기술적 과제를 달성하기 위한, 본 발명에 따른 디스크 마이그레이션 장치의 일 예는, 구동 중인 가상머신에 대한 가상머신 디스크가 존재하는 제1 물리 디스크; 상기 제1 물리 디스크의 가상머신 디스크를 마이그레이션할 제2 물리 디스크; 상기 제2 물리 디스크를 기준으로 상기 제1 물리 디스크의 가상머신 디스크의 변동분을 스냅샷으로 생성하는 스냅샷 제어부; 상기 제1 물리디스크의 가상머신 디스크를 상기 제2 물리 디스크로 복제하고, 상기 스냅샷 제어부에 의해 생성된 스냅샷을 이용하여 상기 제1 물리 디스크의 가상머신 디스크의 변동분을 제2 물리 디스크에 반영하는 마이그레이션부; 및 상기 제2 물리 디스크를 상기 가상머신의 새로운 가상머신 디스크로 변경하는 VM 디스크 컨트롤러;를 포함한다.
본 발명에 따르면, 가상머신의 구동 중에 그 구동을 중지함이 없이 가상머신 디스크를 새로운 물리 디스크로 신속하게 마이그레이션 할 수 있다.
도 1은 본 발명에 따른 디스크 마이그레이션을 위한 개략적인 구성의 일 예를 도시한 도면,
도 2는 본 발명에 따른 디스크 마이그레이션 장치의 일 예의 구성을 도시한 도면, 그리고,
도 3은 본 발명에 따른 가상머신 구동 중 디스크 마이그레이션 방법의 일 예를 도시한 흐름도이다.
상기의 기술적 과제를 달성하기 위한, 본 발명에 따른 디스크 마이그레이션 방법의 일 예는, 현재 구동중인 가상머신에 대한 제1 물리 디스크의 가상머신 디스크를 제2 물리 디스크로 복제하는 단계; 상기 제2 물리 디스크를 기준으로 상기 제1 물리 디스크 내 가상머신 디스크의 변동분을 파악하여 이를 상기 제2 물리 디스크에 반영하는 제1 반영단계; 상기 제2 물리 디스크를 상기 가상머신에 대한 새로운 가상머신 디스크로 변경하는 단계; 및 상기 제2 물리 디스크를 기준으로 상기 제1 물리 디스크의 가상머신 디스크의 반영되지 않은 변동분을 파악하여 이를 상기 제2 물리 디스크에 반영하는 제2 반영단계;를 포함한다.
상기의 기술적 과제를 달성하기 위한, 본 발명에 따른 디스크 마이그레이션 장치의 일 예는, 구동 중인 가상머신에 대한 가상머신 디스크가 존재하는 제1 물리 디스크; 상기 제1 물리 디스크의 가상머신 디스크를 마이그레이션할 제2 물리 디스크; 상기 제2 물리 디스크를 기준으로 상기 제1 물리 디스크의 가상머신 디스크의 변동분을 스냅샷으로 생성하는 스냅샷 제어부; 상기 제1 물리디스크의 가상머신 디스크를 상기 제2 물리 디스크로 복제하고, 상기 스냅샷 제어부에 의해 생성된 스냅샷을 이용하여 상기 제1 물리 디스크의 가상머신 디스크의 변동분을 제2 물리 디스크에 반영하는 마이그레이션부; 및 상기 제2 물리 디스크를 상기 가상머신의 새로운 가상머신 디스크로 변경하는 VM 디스크 컨트롤러;를 포함한다.
이하에서, 첨부된 도면들을 참조하여 본 발명에 따른 디스크 마이그레이션 장치 및 그 방법에 대해 상세히 설명한다.
도 1은 본 발명에 따른 디스크 마이그레이션을 위한 개략적인 구성의 일 예를 도시한 도면이다.
도 1을 참조하면, 물리서버(100)에 구현된 가상머신(110)은 제1 물리 디스크(120)에 가상머신 디스크(140)를 포함한다. 물리서버(100)에 적어도 하나 이상의 가상머신(110)이 구동될 수 있으며, 또한 제1 물리 디스크(120)는 적어도 하나 이상의 가상머신 디스크(140)를 포함할 수 있다. 제1 물리 디스크(120) 및 제2 물리 디스크(130)는 하나의 저장 디바이스를 분리한 저장 공간이거나 물리적으로 서로 다른 저장 디바이스일 수 있으며, 또한 공간적으로 같은 위치에 있거나 SAN(Storage Area Network) 또는 NAS(Network Attached Storage) 등과 같은 네트워크를 통해 연결된 저장 디바이스일 수 있다.
제1 물리 디스크(120)에 위치한 가상머신 디스크(140)는 가상머신의 구동과 관련된 데이터가 저장된 곳으로서 하나의 파일(file) 또는 파일 집합으로 구성될 수 있고 가상머신(110)의 구동에 따라 그 데이터가 변동된다. 따라서 가상머신이 구동하지 않는다면 단순히 제1 물리 디스크(120)의 가상머신 디스크(140)를 제2 물리 디스크(130)로 복제함으로써 마이그레이션을 완료할 수 있으나 가상머신이 구동 중인 경우에는 제1 물리 디스크(120)의 가상머신 디스크(140)의 내용이 수시로 변동되므로 단순히 제2 물리 디스크(130)로 복제하여 마이그레이션을 완료할 수 없다.
도 2는 본 발명에 따른 가상머신 구동 중 디스크 마이그레이션을 수행하기 위한 장치의 일 예의 구성을 도시한 도면이다.
도 2를 참조하면, 본 발명에 따른 디스크 마이그레이션 장치는 스냅샷 제어부(200), 마이그레이션부(210), VM 디스크 컨트롤러(220), 제1 물리 디스크(230) 및 제2 물리 디스크(240)를 포함한다.
제1 물리 디스크(230) 및 제2 물리 디스크(240)는 도 1에서 설명한 바와 같이 물리적으로 하나의 저장 디바이스 또는 분리된 저장 디바이스이거나 네트워크를 통해서 연결되는 저장 디바이스일 수 있다. 여기서 제1 물리 디스크(230)는 현재 구동중인 가상머신에 대한 가상머신 디스크가 위치한 곳이며 제2 물리 디스크(240)는 마이그레이션할 새로운 물리 디스크이다.
마이그레이션부(210)는 제1 물리 디스크(230)의 가상머신 디스크를 제2 물리 디스크(240)로 복제한다. 그러나 앞서 살핀 바와 같이 가상머신의 구동 중에 제1 물리 디스크(230)의 데이터는 계속하여 변화하므로, 마이그레이션부(210)는 스냅샷 제어부(200)에 의해 생성된 디스크 변동분에 대한 스냅샷을 이용하여 그 변동분을 계속하여 제2 물리 디스크(240)에 반영한다.
스냅샷 제어부(200)는 제2 물리 디스크(240)를 기준으로 제1 물리 디스크(230)의 변동분을 파악하여 이를 스냅샷(snapshot)으로 생성한다. 스냅샷은 디스크에 저장되어 있는 데이터의 시점(point-in-time) 복사본 또는 시점 이미지이다. 즉, 스냅샷 제어부(200)는 마이그레이션부(210)에 의해 제1 물리 디스크(230)의 가상머신의 디스크가 제2 물리 디스크(240)에 복제된 후에 복제된 제2 물리 디스크(240)의 내용과 제1 물리 디스크(230)의 가상머신 디스크의 내용을 비교하여 변동분을 파악하고 그 변동분을 스냅샷으로 생성한다. 스냅샷 제어부(200)는 일정 주기로 계속하여 변동분을 스냅샷으로 생성하며, 마이그레이션부(210) 또한 일정 주기로 그 변동분을 스냅샷을 이용하여 제2 물리 디스크(240)에 반영한다.
VM 디스크 컨트롤러(220)는 제1 물리 디스크(230)의 가상머신 디스크가 제2 물리 디스크(240)로 복제되고 그 변동분의 반영된 후에 제2 물리 디스크(240)를 가상머신의 새로운 가상머신 디스크로 변경한다. 다만 최근 변동분 반영시점과 가상머신 디스크의 변경 시점 사이에 제1 물리 디스크(230)의 가상머신 디스크의 데이터가 변동될 가능성이 있으므로, 스냅샷 제어부(200)는 최종적으로 그 변동분에 대한 스냅샷을 생성하고, 마이그레이션부(210)는 그 변동분을 제2 물리 디스크(240)에 최종 반영함으로써 마이그레이션을 완료한다.
도 3은 본 발명에 따른 가상머신 구동 중 디스크 마이그레이션 방법의 일 예를 도시한 흐름도이다.
도 3을 참조하면, 본 발명에 따른 디스크 마이그레이션 장치는 구동중인 가상머신에 대한 제1 물리 디스크의 가상머신 디스크를 마이그레이션할 제2 물리 디스크를 생성한다(S300). 이때 디스크 마이그레이션 장치는 제1 물리 디스크의 가상머신 디스크와 동일한 크기의 디스크 공간을 제2 물리 디스크에 준비한다. 물론 제2 물리 디스크 자체가 제1 물리 디스크의 가상머신 디스크와 동일한 크기를 가지는 디스크일 수 있으며, 제2 물리 디스크가 다수의 가상머신 디스크를 수용할 만큼 공간이 큰 경우에는 제1 물리 디스크의 크기만큼의 가상머신 디스크를 생성한다.
디스크 마이그레이션 장치는 제1 물리 디스크의 가상머신 디스크를 우선 제2 물리 디스크로 복제한다(S310). 가상머신이 현재 구동 중에 있으므로 제1 물리 디스크의 가상머신 디스크의 내용은 수시로 변동된다. 따라서 디스크 마이그레이션 장치는 제2 물리 디스크의 복제된 내용을 기준으로 제1 물리 디스크의 가상머신 디스크의 변동분을 파악하여 이를 스냅샷으로 생성한다(S320). 그리고 디스크 마이그레이션 장치는 스냅샷을 이용하여 그 변동분을 제2 물리 디스크에 반영한다. 변동분의 스냅샷 생성 및 제2 물리 디스크에 반영하는 절차(S320,S330)는 디스크 변동분의 양이나 시스템 상황 등을 고려하여 일정 주기로 반복하여 수행될 수 있다.
변동분이 반영된 후에, 디스크 마이그레이션 장치는 제2 물리 디스크를 현재 구동중인 가상 머신의 새로운 가상머신 디스크로 변동한다(S340). 예를 들어, 제2 물리 디스크의 특정 공간이 마이그레이션을 위한 가상머신 디스크로 할당되었다면 그 할당된 가상머신 디스크가 가상머신의 새로운 디스크로 변동된다.
마지막 변동분의 반영시점과 새로운 가상머신 디스크로의 변경 시점 사이에 제1 물리 디스크의 가상머신 디스크의 내용이 변동될 수 있으므로, 최종적으로 디스크 마이그레이션 장치는 제2 물리 디스크를 기준으로 제1 물리 디스크의 가상머신 디스크의 변동분을 파악하며 스냅샷으로 생성하고, 생성한 스냅샷을 이용하여 변동분을 제2 물리 디스크에 최종적으로 반영한다(S350).
이상의 실시 예에서 제2 물리 디스크와 제1 물리 디스크 사이의 변동분을 파악하여 반영하기 위하여 스냅샷을 이용하는 경우를 들었으나, 이 외 두 디스크 사이의 변동분을 파악하여 이를 반영하는 다양한 종류의 다른 기술이 이용될 수 있음은 물론이다.
본 발명은 또한 컴퓨터로 읽을 수 있는 기록매체에 컴퓨터가 읽을 수 있는 코드로서 구현하는 것이 가능하다. 컴퓨터가 읽을 수 있는 기록매체는 컴퓨터 시스템에 의하여 읽혀질 수 있는 데이터가 저장되는 모든 종류의 기록장치를 포함한다. 컴퓨터가 읽을 수 있는 기록매체의 예로는 ROM, RAM, CD-ROM, 자기 테이프, 플로피디스크, 광데이터 저장장치 등이 있다. 또한 컴퓨터가 읽을 수 있는 기록매체는 네트워크로 연결된 컴퓨터 시스템에 분산되어 분산방식으로 컴퓨터가 읽을 수 있는 코드가 저장되고 실행될 수 있다.
이제까지 본 발명에 대하여 그 바람직한 실시예들을 중심으로 살펴보았다. 본 발명이 속하는 기술 분야에서 통상의 지식을 가진 자는 본 발명이 본 발명의 본질적인 특성에서 벗어나지 않는 범위에서 변형된 형태로 구현될 수 있음을 이해할 수 있을 것이다. 그러므로 개시된 실시예들은 한정적인 관점이 아니라 설명적인 관점에서 고려되어야 한다. 본 발명의 범위는 전술한 설명이 아니라 특허청구범위에 나타나 있으며, 그와 동등한 범위 내에 있는 모든 차이점은 본 발명에 포함된 것으로 해석되어야 할 것이다.

Claims (7)

  1. 현재 구동중인 가상머신에 대한 제1 물리 디스크의 가상머신 디스크를 제2 물리 디스크로 복제하는 단계;
    상기 제2 물리 디스크를 기준으로 상기 제1 물리 디스크 내 가상머신 디스크의 변동분을 파악하여 이를 상기 제2 물리 디스크에 반영하는 제1 반영단계;
    상기 제2 물리 디스크를 상기 가상머신에 대한 새로운 가상머신 디스크로 변경하는 단계; 및
    상기 제2 물리 디스크를 기준으로 상기 제1 물리 디스크의 가상머신 디스크의 반영되지 않은 변동분을 파악하여 이를 상기 제2 물리 디스크에 반영하는 제2 반영단계;를 포함하는 것을 특징으로 하는 디스크 마이그레이션 방법.
  2. 제 1항에 있어서, 상기 복제하는 단계 이전에,
    상기 제1 물리 디스크의 가상머신 디스크와 동일 크기의 디스크를 상기 제2 물리 디스크에 생성하는 단계;를 더 포함하는 것을 특징으로 하는 디스크 마이그레이션 방법.
  3. 제 1항에 있어서, 상기 제1 반영단계는,
    상기 제2 물리 디스크에 복제된 내용을 기준으로 상기 제1 물리 디스크의 가상머신 디스크의 변동분을 스냅샵으로 생성하는 단계; 및
    상기 스냅샷을 이용하여 상기 가상머신 디스크의 변동분을 상기 제2 물리 디스크에 반영하는 단계;를 포함하는 것을 특징으로 하는 디스크 마이그레이션 방법.
  4. 제 1항에 있어서, 상기 제2 반영단계는,
    상기 가상머신의 새로운 가상머신 디스크로 변경된 제2 물리 디스크를 기준으로 상기 제1 물리 디스크의 가상머신 디스크의 변동분을 스냅샷으로 생성하는 단계; 및
    상기 스냅샷을 이용하여 변동분을 상기 제2 물리 디스크에 반영하는 단계;를 포함하는 것을 특징으로 하는 디스크 마이그레이션 방법.
  5. 구동 중인 가상머신에 대한 가상머신 디스크가 존재하는 제1 물리 디스크;
    상기 제1 물리 디스크의 가상머신 디스크를 마이그레이션할 제2 물리 디스크;
    상기 제2 물리 디스크를 기준으로 상기 제1 물리 디스크의 가상머신 디스크의 변동분을 스냅샷으로 생성하는 스냅샷 제어부;
    상기 제1 물리디스크의 가상머신 디스크를 상기 제2 물리 디스크로 복제하고, 상기 스냅샷 제어부에 의해 생성된 스냅샷을 이용하여 상기 제1 물리 디스크의 가상머신 디스크의 변동분을 제2 물리 디스크에 반영하는 마이그레이션부; 및
    상기 제2 물리 디스크를 상기 가상머신의 새로운 가상머신 디스크로 변경하는 VM 디스크 컨트롤러;를 포함하는 것을 특징으로 하는 디스크 마이그레이션 장치.
  6. 제 5항에 있어서,
    상기 제2 물리 디스크는 상기 제1 물리 디스크의 가상머신 디스크와 동일한 크기의 디스크를 포함하는 것을 특징으로 하는 디스크 마이그레이션 장치.
  7. 제 5항에 있어서,
    상기 VM 디스크 컨틀로러에 의해 상기 가상머신의 가상머신 디스크가 변경된 후에,
    상기 스냅샷 제어부는 상기 제2 물리 디스크를 기준으로 상기 제1 물리 디스크의 가상머신 디스크의 변동분을 파악하여 스냅샷을 생성하고,
    상기 마이그레이션부는 상기 스냅샷을 이용하여 변동분을 제2 물리 디스크에 최종 반영하는 것을 특징으로 하는 디스크 마이그레이션 장치.
PCT/KR2011/009770 2011-05-06 2011-12-19 가상머신 디스크 마이그레이션 장치 및 그 방법 Ceased WO2012153903A1 (ko)

Applications Claiming Priority (2)

Application Number Priority Date Filing Date Title
KR1020110043078A KR101512714B1 (ko) 2011-05-06 2011-05-06 가상머신 디스크 마이그레이션 장치 및 그 방법
KR10-2011-0043078 2011-05-06

Publications (1)

Publication Number Publication Date
WO2012153903A1 true WO2012153903A1 (ko) 2012-11-15

Family

ID=47091040

Family Applications (1)

Application Number Title Priority Date Filing Date
PCT/KR2011/009770 Ceased WO2012153903A1 (ko) 2011-05-06 2011-12-19 가상머신 디스크 마이그레이션 장치 및 그 방법

Country Status (3)

Country Link
US (1) US20120284471A1 (ko)
KR (1) KR101512714B1 (ko)
WO (1) WO2012153903A1 (ko)

Families Citing this family (12)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US9317311B2 (en) 2013-06-17 2016-04-19 International Business Machines Corporation Generating a deployment pattern for reuse in a networked computing environment
US9389970B2 (en) 2013-11-01 2016-07-12 International Business Machines Corporation Selected virtual machine replication and virtual machine restart techniques
US9836327B1 (en) 2015-06-12 2017-12-05 Amazon Technologies, Inc. Network-based storage access control for migrating live storage clients
US9594598B1 (en) 2015-06-12 2017-03-14 Amazon Technologies, Inc. Live migration for virtual computing resources utilizing network-based storage
US10698829B2 (en) * 2015-07-27 2020-06-30 Datrium, Inc. Direct host-to-host transfer for local cache in virtualized systems wherein hosting history stores previous hosts that serve as currently-designated host for said data object prior to migration of said data object, and said hosting history is checked during said migration
US9524111B1 (en) * 2016-03-07 2016-12-20 FittedCloud, Inc. Devices, systems, apparatus, and methods for transparent and automated optimization of storage resource allocation in a cloud services system
US10061528B2 (en) * 2016-05-22 2018-08-28 Vmware, Inc. Disk assignment for multiple distributed computing clusters in a virtualized computing environment
KR102010152B1 (ko) * 2016-11-30 2019-08-12 제주대학교 산학협력단 가상머신의 마이그레이션을 수행하기 위한 방법 및 장치
WO2018101736A1 (ko) * 2016-11-30 2018-06-07 제주대학교 산학협력단 가상머신의 마이그레이션을 수행하기 위한 방법 및 장치
CN109388478A (zh) * 2018-11-01 2019-02-26 郑州云海信息技术有限公司 用于OpenStack环境中迁移虚拟机的方法和装置
US11875169B2 (en) * 2020-07-21 2024-01-16 Google Llc Optimizing replication-based migration of virtual machines
CN113296716A (zh) * 2021-07-09 2021-08-24 云宏信息科技股份有限公司 虚拟机磁盘在线迁移方法、计算机可读存储介质和计算机

Citations (4)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US20050055402A1 (en) * 2003-09-09 2005-03-10 Eiichi Sato File sharing device and inter-file sharing device data migration method
US20080010325A1 (en) * 2006-07-10 2008-01-10 Nec Corporation Data migration apparatus, method, and program
KR20090065126A (ko) * 2007-12-17 2009-06-22 한국전자통신연구원 가상 머신 디스크 풀을 이용한 가상 머신 프로비저닝 방법
KR20100069968A (ko) * 2008-12-17 2010-06-25 삼성전자주식회사 프로세스 마이그레이션을 관리하는 장치 및 방법

Family Cites Families (6)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US6147773A (en) * 1995-09-05 2000-11-14 Hewlett-Packard Company System and method for a communication system
EP1962192A1 (en) * 2007-02-21 2008-08-27 Deutsche Telekom AG Method and system for the transparent migration of virtual machine storage
US8135930B1 (en) * 2008-07-14 2012-03-13 Vizioncore, Inc. Replication systems and methods for a virtual computing environment
US8046550B2 (en) * 2008-07-14 2011-10-25 Quest Software, Inc. Systems and methods for performing backup operations of virtual machine files
US8234469B2 (en) * 2009-07-09 2012-07-31 Microsoft Corporation Backup of virtual machines using cloned virtual machines
US8751738B2 (en) * 2010-02-08 2014-06-10 Microsoft Corporation Background migration of virtual storage

Patent Citations (4)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US20050055402A1 (en) * 2003-09-09 2005-03-10 Eiichi Sato File sharing device and inter-file sharing device data migration method
US20080010325A1 (en) * 2006-07-10 2008-01-10 Nec Corporation Data migration apparatus, method, and program
KR20090065126A (ko) * 2007-12-17 2009-06-22 한국전자통신연구원 가상 머신 디스크 풀을 이용한 가상 머신 프로비저닝 방법
KR20100069968A (ko) * 2008-12-17 2010-06-25 삼성전자주식회사 프로세스 마이그레이션을 관리하는 장치 및 방법

Also Published As

Publication number Publication date
KR20120125039A (ko) 2012-11-14
US20120284471A1 (en) 2012-11-08
KR101512714B1 (ko) 2015-04-23

Similar Documents

Publication Publication Date Title
WO2012153903A1 (ko) 가상머신 디스크 마이그레이션 장치 및 그 방법
US7313793B2 (en) Method for forking or migrating a virtual machine
US9400611B1 (en) Data migration in cluster environment using host copy and changed block tracking
US7698545B1 (en) Computer configuration chronology generator
JP5229486B2 (ja) 管理計算機及び処理管理方法
US8078581B2 (en) Storage system and remote copy control method
US8775861B1 (en) Non-disruptive storage device migration in failover cluster environment
JP5944001B2 (ja) ストレージシステム、管理計算機、ストレージ装置及びデータ管理方法
WO2013076757A1 (en) Storage system, storage apparatus and method of controlling storage system
CN103885719B (zh) 虚拟机系统在线存储迁移的方法、系统与装置
US9594583B2 (en) Lightweight snapshots for virtual disks
GB2503274A (en) Restoring redundancy in a RAID
JP6136629B2 (ja) ストレージ制御装置,ストレージシステム,および制御プログラム
US20140337594A1 (en) Systems and methods for collapsing a derivative version of a primary storage volume
WO2014174570A1 (ja) ストレージ管理計算機、ストレージ管理方法、およびストレージシステム
CN102611745A (zh) 文件在线迁移方法、装置和系统
US8655852B2 (en) Storage system with improved multiple copy targeting
CN107046811A (zh) 一种源存储设备发送源文件和源文件的克隆文件至备份存储设备的方法、源存储设备以及备份存储设备
JP6160173B2 (ja) ストレージ装置、割当解放制御方法及び割当解放制御プログラム
TWI428744B (zh) 用於儲存暫態資訊之系統、方法以及電腦程式產品
CN111158955A (zh) 一种基于卷复制的高可用系统以及多服务器数据同步方法
JP6028415B2 (ja) 仮想サーバ環境のデータ移行制御装置、方法、システム
WO2013005923A1 (ko) 물리서버를 가상 서버로 마이그레이션하는 장치 및 그 방법
US10789018B2 (en) Supporting non-disruptive movement of a logical volume of non-volatile data storage between storage appliances
CN105760261B (zh) 业务输入输出io处理方法和装置

Legal Events

Date Code Title Description
121 Ep: the epo has been informed by wipo that ep was designated in this application

Ref document number: 11865076

Country of ref document: EP

Kind code of ref document: A1

NENP Non-entry into the national phase

Ref country code: DE

122 Ep: pct application non-entry in european phase

Ref document number: 11865076

Country of ref document: EP

Kind code of ref document: A1