JP7469524B2 - Method, device, storage medium, and electronic device for migrating virtual machines between cloud platforms - Google Patents

Method, device, storage medium, and electronic device for migrating virtual machines between cloud platforms Download PDF

Info

Publication number
JP7469524B2
JP7469524B2 JP2022580056A JP2022580056A JP7469524B2 JP 7469524 B2 JP7469524 B2 JP 7469524B2 JP 2022580056 A JP2022580056 A JP 2022580056A JP 2022580056 A JP2022580056 A JP 2022580056A JP 7469524 B2 JP7469524 B2 JP 7469524B2
Authority
JP
Japan
Prior art keywords
virtual machine
cloud platform
target
source
migration
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.)
Active
Application number
JP2022580056A
Other languages
Japanese (ja)
Other versions
JP2023531532A (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.)
ZTE Corp
Original Assignee
ZTE 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 ZTE Corp filed Critical ZTE Corp
Publication of JP2023531532A publication Critical patent/JP2023531532A/en
Application granted granted Critical
Publication of JP7469524B2 publication Critical patent/JP7469524B2/en
Active legal-status Critical Current
Anticipated expiration legal-status Critical

Links

Images

Classifications

    • GPHYSICS
    • G06COMPUTING; CALCULATING OR 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; CALCULATING OR 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
    • GPHYSICS
    • G06COMPUTING; CALCULATING OR 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/0673Single storage device
    • G06F3/0674Disk device
    • G06F3/0676Magnetic disk device
    • GPHYSICS
    • G06COMPUTING; CALCULATING OR 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/445Program loading or initiating
    • GPHYSICS
    • G06COMPUTING; CALCULATING OR 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
    • GPHYSICS
    • G06COMPUTING; CALCULATING OR 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

Landscapes

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

Description

本願は出願番号が202010582905.X、出願日が2020年6月23日である中国特許出願に基づいて提出され、その中国特許出願の優先権を主張し、その中国特許出願の全文を参考として本願に援用する。 This application is based on and claims priority to a Chinese patent application bearing application number 202010582905.X and filed on June 23, 2020, the entire text of which is incorporated herein by reference.

本願の実施形態は、仮想マシン移行の技術分野に関し、具体的には、クラウドプラットフォーム間の仮想マシン移行方法、装置、記憶媒体及び電子機器に関する。 The embodiments of the present application relate to the technical field of virtual machine migration, and more specifically, to a method, device, storage medium, and electronic device for migrating virtual machines between cloud platforms.

多くの企業は、さまざまな地域の従業員が利用できるクラウドデスクトップを提供するために、各地に自社のクラウドプラットフォームデータセンターを持つことが多い。A地で勤務しているが、クラウドデスクトップはB地のクラウドプラットフォーム上にある場合がしばしばある。このため、ユーザはクラウドデスクトップを近くで利用できず、ネットワーク帯域幅にボトルネックがあり、優れたユーザエクスペリエンスを提供できない可能性がある。 Many companies often have their own cloud platform data centers in different regions to provide cloud desktops that employees in different regions can use. Often, you work in location A, but your cloud desktop is on a cloud platform in location B. This means that users may not be able to use the cloud desktop locally, which can create bottlenecks in network bandwidth and result in a poor user experience.

その一方で、あるデータセンターのリソースにボトルネックが発生した場合、リソーススケジューリングを行い、リソースに余裕のあるデータセンターに仮想マシンを移行する必要がある。従来の移行スキームでは、同じデータセンター内での仮想マシン全体の移行しか実現不可能である。遠隔移行する場合、仮想マシンをデータセンターAからエクスポートしてから、データセンターBのクラウドプラットフォームにインポートする方法で行うしかない。 On the other hand, if a bottleneck occurs in resources at a certain data center, resource scheduling is required to migrate virtual machines to a data center with spare resources. With conventional migration schemes, migration of entire virtual machines within the same data center is only possible. Remote migration can only be performed by exporting the virtual machine from data center A and then importing it into the cloud platform at data center B.

多くの教育機関は自社のクラウドデスクトップを構築しており、多くの場合、1つの教室で1つの仮想化プラットフォームオールインワンマシンを使用する導入スキームを採用することが多く、導入及び運用が簡単である。上記の従来スキームには、次のような欠点がある。(1)データセンター内移行では遠隔移行は実現できず、クラウドプラットフォーム内の各リソースプール間でリソースの配分をスケジュールすることのみが可能である。(2)インポートとエクスポートには、ソースのデータセンターから仮想マシンをエクスポートしてから、エクスポートされた仮想マシンディスクイメージと構成ファイルをターゲット仮想マシンにインポートする必要があり、最初から最後まで手作業による介入が必要で、オペレーションが複雑である。(3)インポートとエクスポートにより、仮想マシンのディスクファイルチェーン構造が変更され、ディスクファイルチェーン構造の整合性が維持できなくなる。 Many educational institutions have built their own cloud desktops, and often adopt a deployment scheme of using one virtualization platform all-in-one machine in one classroom, which is easy to deploy and operate. The above traditional scheme has the following disadvantages: (1) Intra-datacenter migration cannot realize remote migration, and can only schedule resource allocation among each resource pool in the cloud platform. (2) Import and export require exporting the virtual machine from the source data center and then importing the exported virtual machine disk image and configuration file to the target virtual machine, which requires manual intervention from start to finish and is complicated in operation. (3) Import and export will change the disk file chain structure of the virtual machine, and the integrity of the disk file chain structure cannot be maintained.

そのために、仮想マシン自体のディスクファイルチェーン構造を変更することなく、クラウドプラットフォーム間の遠隔移行を容易にできる災害復旧バックアップの実施スキームの提供が強く求められている。 To this end, there is a strong demand for a disaster recovery backup implementation scheme that can facilitate remote migration between cloud platforms without changing the disk file chain structure of the virtual machine itself.

本願の実施形態はクラウドプラットフォーム間の仮想マシン移行方法、装置、記憶媒体及び電子機器を提供することにより、データセンター内移行では遠隔移行を実現できない、インポート及びエクスポート最初から最後まで手作業による介入が必要である、ディスクファイルチェーン構造の整合性を維持できないなどの問題を含む、関連する技術的問題のうちの1つを少なくともある程度解決する。 The embodiments of the present application provide a method, apparatus, storage medium and electronic device for migrating a virtual machine between cloud platforms, thereby resolving at least to some extent one of the related technical problems, including the inability to realize remote migration in intra-datacenter migration, the need for manual intervention from start to finish import and export, and the inability to maintain the integrity of the disk file chain structure.

本願の一実施形態によれば、クラウドプラットフォーム間の仮想マシン移行方法を提供し、前記クラウドプラットフォーム間の仮想マシン移行方法は、ターゲットクラウドプラットフォームに移行のターゲット仮想マシンを作成するステップであって、前記ターゲット仮想マシンの構成情報は、ソースクラウドプラットフォームのソース仮想マシンの構成情報と一致し、前記ターゲット仮想マシンのネットワークポートグループは、前記ターゲットクラウドプラットフォームのネットワークポートグループとして構成され、前記ターゲット仮想マシンのディスクリポジトリは前記ターゲットクラウドプラットフォームのディスクリポジトリとして構成されるステップと、前記ソースクラウドプラットフォームの前記ソース仮想マシンのディスクファイルチェーン構造に従って、ネットワークコピー方式により、ファイルノードを、前記ターゲットクラウドプラットフォームのターゲット仮想マシンのディスクリポジトリ内に1つずつ移行するステップと、を含む。 According to one embodiment of the present application, a method for migrating a virtual machine between cloud platforms is provided, the method for migrating a virtual machine between cloud platforms includes the steps of: creating a target virtual machine for migration in a target cloud platform, in which configuration information of the target virtual machine is consistent with configuration information of a source virtual machine in a source cloud platform, a network port group of the target virtual machine is configured as a network port group of the target cloud platform, and a disk repository of the target virtual machine is configured as a disk repository of the target cloud platform; and migrating file nodes one by one into the disk repository of the target virtual machine of the target cloud platform by a network copy method according to the disk file chain structure of the source virtual machine of the source cloud platform.

本願のもう一つの実施形態によれば、クラウドプラットフォーム間の仮想マシン移行装置を提供し、前記クラウドプラットフォーム間の仮想マシン移行装置は、ターゲットクラウドプラットフォームに移行のターゲット仮想マシンを作成するように構成されている作成モジュールであって、前記ターゲット仮想マシンの構成情報は、ソースクラウドプラットフォームのソース仮想マシンの構成情報と一致し、前記ターゲット仮想マシンのネットワークポートグループは、前記ターゲットクラウドプラットフォームのネットワークポートグループとして構成され、前記ターゲット仮想マシンのディスクリポジトリは前記ターゲットクラウドプラットフォームのディスクリポジトリとして構成される作成モジュールと、前記ソースクラウドプラットフォームの前記ソース仮想マシンのディスクファイルチェーン構造に従って、ネットワークコピー方式により、ファイルノードを、前記ターゲットクラウドプラットフォームのターゲット仮想マシンのディスクリポジトリ内に1つずつ移行するように構成されている移行モジュールと、を含む。 According to another embodiment of the present application, there is provided an inter-cloud platform virtual machine migration apparatus, the inter-cloud platform virtual machine migration apparatus including: a creation module configured to create a target virtual machine for migration in a target cloud platform, where configuration information of the target virtual machine matches configuration information of a source virtual machine in a source cloud platform, a network port group of the target virtual machine is configured as a network port group of the target cloud platform, and a disk repository of the target virtual machine is configured as a disk repository of the target cloud platform; and a migration module configured to migrate file nodes one by one into the disk repository of the target virtual machine of the target cloud platform by a network copy method according to the disk file chain structure of the source virtual machine of the source cloud platform.

本願のもう一つの実施形態によれば、さらにコンピュータ可読記憶媒体を提供し、前記コンピュータ可読記憶媒体にはコンピュータプログラムが記憶されており、前記コンピュータプログラムは、実行時に上記の何れか一つの方法実施形態におけるステップを実行するように構成されている。 According to another embodiment of the present application, there is further provided a computer-readable storage medium having a computer program stored therein, the computer program being configured, when executed, to perform the steps of any one of the method embodiments described above.

本願のもう一つの実施形態によれば、さらにメモリとプロセッサとを含む電子装置を提供し、前記メモリにはコンピュータプログラムが記憶されており、前記プロセッサは、前記コンピュータプログラムを実行することで、上記の何れか一つの方法実施形態におけるステップを実行するように構成されている。 According to another embodiment of the present application, there is provided an electronic device further comprising a memory and a processor, the memory storing a computer program, and the processor configured to execute the computer program to perform the steps of any one of the method embodiments described above.

本願の実施形態にかかる、クラウドプラットフォーム間の仮想マシン移行方法のフローチャートである。2 is a flowchart of a method for migrating a virtual machine between cloud platforms according to an embodiment of the present application; 本願の実施形態にかかる、クラウドプラットフォーム間の仮想マシン移行装置の構成ブロック図である。1 is a configuration block diagram of a virtual machine migration device between cloud platforms according to an embodiment of the present application; 本願の実施形態にかかる、管理モジュールを有するクラウドプラットフォーム間の仮想マシン移行装置の構成ブロック図である。FIG. 2 is a configuration block diagram of an inter-cloud platform virtual machine migration apparatus having a management module according to an embodiment of the present application; 本願の実施形態にかかる、実行ユニットを有するクラウドプラットフォーム間の仮想マシン移行装置の構成ブロック図である。FIG. 1 is a configuration block diagram of an inter-cloud platform virtual machine migration device having an execution unit according to an embodiment of the present application; いくつかの場合にかかる、エクスポートとインポートにより仮想マシンを遠隔地のクラウドプラットフォームに移行するスキームを示す模式図である。FIG. 1 is a schematic diagram illustrating a scheme for migrating a virtual machine to a remote cloud platform through export and import in some cases. 本願の一実施形態にかかる、クラウドプラットフォーム間移行により仮想マシンの全体移行を完成させる模式図である。FIG. 2 is a schematic diagram illustrating a process for completing a full migration of a virtual machine through inter-cloud platform migration according to an embodiment of the present application; 本願の一実施形態にかかる、クラウドプラットフォーム内部の全体移行スキームの模式図である。FIG. 2 is a schematic diagram of a global migration scheme within a cloud platform according to an embodiment of the present application; 本願の一実施形態にかかる、クラウドプラットフォーム内部の全体移行方法のフローチャートである。4 is a flowchart of a method for overall migration within a cloud platform according to an embodiment of the present application; 本願の一実施形態にかかる、クラウドプラットフォーム内部の移行およびプラットフォーム間移行が依存するネットワーク構成条件の比較模式図である。FIG. 2 is a comparative schematic diagram of network configuration conditions on which migration within a cloud platform and migration between platforms depend, according to an embodiment of the present application. 本願の実施形態にかかる、クラウドプラットフォーム間の仮想マシン遠隔移行方法のフローチャートである。2 is a flowchart of a method for remote migration of a virtual machine between cloud platforms according to an embodiment of the present application;

以下では、添付図面を参照し、実施形態と組み合わせて、本願の実施形態を詳しく説明する。 Below, the embodiments of the present application will be described in detail with reference to the attached drawings and in combination with the embodiments.

なお、本願の明細書、特許請求の範囲及び上記図面における用語「第1」、「第2」等は類似の対象を区別するためのものであり、必ずしも特定の順序又は前後の順番を記述するためのものではない。 Note that the terms "first," "second," etc. in the specification, claims, and drawings of this application are used to distinguish between similar objects and are not necessarily intended to describe a specific order or chronology.

本実施形態において、クラウドプラットフォーム間の仮想マシン移行方法を提供する。図1は本願の実施形態にかかる、クラウドプラットフォーム間の仮想マシン移行方法のフローチャートである。図1に示すように、該フローは、以下のステップを含む。
ステップS101において、ターゲットクラウドプラットフォームに移行のターゲット仮想マシンを作成する。ここで、前記ターゲット仮想マシンの構成情報は、ソースクラウドプラットフォームのソース仮想マシンの構成情報と一致する。前記ターゲット仮想マシンのネットワークポートグループは、前記ターゲットクラウドプラットフォームのネットワークポートグループとして構成される。前記ターゲット仮想マシンのディスクリポジトリは前記ターゲットクラウドプラットフォームのディスクリポジトリとして構成される。
ステップS102において、前記ソースクラウドプラットフォームの前記ソース仮想マシンのディスクファイルチェーン構造に従って、ネットワークコピー方式により、ファイルノードを、前記ターゲットクラウドプラットフォームのターゲット仮想マシンのディスクリポジトリ内に1つずつ移行する。
In this embodiment, a method for migrating a virtual machine between cloud platforms is provided. Figure 1 is a flow chart of a method for migrating a virtual machine between cloud platforms according to an embodiment of the present application. As shown in Figure 1, the flow includes the following steps:
In step S101, a target virtual machine for migration is created in a target cloud platform, where configuration information of the target virtual machine is consistent with configuration information of a source virtual machine in a source cloud platform, a network port group of the target virtual machine is configured as a network port group of the target cloud platform, and a disk repository of the target virtual machine is configured as a disk repository of the target cloud platform.
In step S102, according to a disk file chain structure of the source virtual machine of the source cloud platform, file nodes are migrated one by one into a disk repository of a target virtual machine of the target cloud platform by a network copy manner.

本実施形態のステップS101の前に、移行する必要のある前記ソース仮想マシンを、管理インターフェースを介して、移行リストに追加するステップをさらに含んでもよい。 Before step S101 in this embodiment, the method may further include a step of adding the source virtual machine that needs to be migrated to a migration list via a management interface.

本実施形態において、移行する必要のある前記ソース仮想マシンを、管理インターフェースを介して、移行リストに追加するステップの後に、前記ソース仮想マシンの移行開始時刻を設定するステップと、前記移行開始時刻になると、前記ソース仮想マシンに対する移行オペレーションをトリガするステップと、をさらに含んでもよい。 In this embodiment, after the step of adding the source virtual machine that needs to be migrated to a migration list via a management interface, the method may further include the steps of setting a migration start time for the source virtual machine, and triggering a migration operation for the source virtual machine when the migration start time arrives.

本実施形態において、ステップS102は、前記ソース仮想マシンの移行対象ディスクのリストを構築し、各ディスクについて、移行対象ファイルのリストを構築するステップと、前記ソースクラウドプラットフォームまたは前記ターゲットクラウドプラットフォーム内のホストを選択して、前記ソース仮想マシンのディスクファイルを前記ターゲット仮想マシンのディスクリポジトリにコピーするオペレーションを実行させるステップとを含んでもよい。 In this embodiment, step S102 may include constructing a list of disks to be migrated of the source virtual machine and, for each disk, constructing a list of files to be migrated; and selecting a host in the source cloud platform or the target cloud platform to perform an operation to copy disk files of the source virtual machine to a disk repository of the target virtual machine.

本実施形態において、前記ソースクラウドプラットフォームまたは前記ターゲットクラウドプラットフォーム内のホストを選択して、前記ソース仮想マシンのディスクファイルを前記ターゲット仮想マシンのディスクリポジトリにコピーするオペレーションを実行させるステップは、ソースクラウドプラットフォームのホストを選択して、ディスクファイルをコピーするオペレーションを実行させるステップと、前記ターゲットクラウドプラットフォームにメッセージを送信し、既にコピー済みの共有ノードが前記ターゲット仮想マシンに存在するか否かを判定するステップと、前記共有ノードがコピー中である場合、前記ソースクラウドプラットフォームのホストは前記共有ノードのコピーが完了するまで待機するステップと、前記共有ノードが既にコピー済みである場合、前記ソースクラウドプラットフォームのホストは、前記共有ノードのコピーオペレーションを行わず、次のディスクファイルノードのコピーを行うステップと、を含んでもよい。 In this embodiment, the step of selecting a host in the source cloud platform or the target cloud platform to perform an operation to copy a disk file of the source virtual machine to a disk repository of the target virtual machine may include the steps of selecting a host in the source cloud platform to perform an operation to copy a disk file, sending a message to the target cloud platform to determine whether an already copied shared node exists in the target virtual machine, and if the shared node is being copied, the host in the source cloud platform waiting until the copy of the shared node is completed, and if the shared node has already been copied, the host in the source cloud platform not performing the copy operation of the shared node and copying the next disk file node.

本実施形態において、前記ターゲットクラウドプラットフォームにメッセージを送信し、既にコピー済みの共有ノードが前記ターゲット仮想マシンに存在するか否かを判定するステップの後に、前記共有ノードが初めてコピーされる場合、前記ターゲットクラウドプラットフォームのホストにメッセージを送信し、前記ターゲットクラウドプラットフォームのホストによる前記共有ノードのネットワークコピーを開始するステップをさらに含んでもよい。 In this embodiment, after the step of sending a message to the target cloud platform and determining whether an already copied shared node exists in the target virtual machine, if the shared node is copied for the first time, the step of sending a message to a host of the target cloud platform and initiating a network copy of the shared node by the host of the target cloud platform may be further included.

上記のステップを通して、遠隔地のデータセンターに、実ディスクを持たないターゲット仮想マシンを作成し、遠隔地のクラウドプラットフォーム間のメッセージコンポーネントのメッセージチャネルを確立し、管理ネットワークのネットワークコピーに基づいてディスクファイルチェーンを完全に対称的にコピーする。これにより、いくつかの場合における、データセンター内移行では遠隔移行を実現できない、インポート及びエクスポート最初から最後まで手作業による介入が必要である、ディスクファイルチェーン構造の整合性を維持できないなどの問題を含む、関連する技術的問題のうちの1つを少なくともある程度解決する。そのため、クラウドプラットフォーム間の仮想マシンの遠隔移行を実現し、ディスクファイルチェーン構造の整合性を維持する効果を達成した。 Through the above steps, a target virtual machine without a real disk is created in a remote data center, a message channel of a message component between remote cloud platforms is established, and the disk file chain is completely symmetrically copied based on the network copy of the management network. This at least partially solves one of the related technical problems, including the fact that in some cases, remote migration cannot be realized in intra-data center migration, manual intervention is required from start to finish for import and export, and the integrity of the disk file chain structure cannot be maintained. Therefore, the effect of realizing remote migration of virtual machines between cloud platforms and maintaining the integrity of the disk file chain structure has been achieved.

以上の実施態様の説明を通して、当業者は、上記の実施形態の方法によれば、ソフトウェアに必要な汎用ハードウェアプラットフォームを加える方法(勿論ハードウェアによることも可能であるが、多くの場合では前者がより良い実施方法)で実現できることを明確に理解できる。このような理解に基づいて、本願の技術案は、本質としては、或いは先行技術に対して貢献する部分は、ソフトウェア製品の形式で体現してもよい。当該計算機ソフトウェア製品は、記憶媒体(例えばROM/RAM、磁気ディスク、光ディスク)の中に記憶してもよく、一台の端末機器(携帯電話、計算機、サーバ、或いはネットワーク機器等でもよい)に本願の各実施形態で説明する方法を実行させるための幾つかの命令を含む。 Through the above description of the embodiments, those skilled in the art can clearly understand that the methods of the above embodiments can be realized by adding a required general-purpose hardware platform to software (of course, hardware is also possible, but in many cases the former is a better implementation method). Based on this understanding, the technical solution of the present application, in its essence or in its contribution to the prior art, may be embodied in the form of a software product. The computer software product may be stored in a storage medium (e.g., ROM/RAM, magnetic disk, optical disk) and includes several instructions for causing a terminal device (which may be a mobile phone, a computer, a server, or a network device, etc.) to execute the methods described in each embodiment of the present application.

本実施形態において、さらに上述した実施形態および他の実施形態を実現するために使用されるクラウドプラットフォーム間の仮想マシン移行装置を提供し、既に説明済みの内容の説明は省かれる。以下で使用されるように、用語「モジュール」、「ユニット」は、所定の機能を実現できるソフトウェアおよび/またはハードウェアの組み合わせである。以下の実施形態で説明される装置は、ソフトウェアで実現されることが好ましいが、ハードウェア、またはソフトウェアとハードウェアとの組み合わせでの実装も可能であり、想到できるものである。 In this embodiment, a virtual machine migration device between cloud platforms is further provided, which is used to realize the above-mentioned embodiment and other embodiments, and the description of the contents already described will be omitted. As used below, the terms "module" and "unit" refer to a combination of software and/or hardware capable of realizing a specified function. The device described in the following embodiment is preferably realized in software, but implementation in hardware or a combination of software and hardware is also possible and conceivable.

図2は、本願の実施形態にかかる、クラウドプラットフォーム間の仮想マシン移行装置の構成ブロック図である。図2に示すように、該装置は、作成モジュール10と移行モジュール20とを含む。 Figure 2 is a configuration block diagram of a virtual machine migration device between cloud platforms according to an embodiment of the present application. As shown in Figure 2, the device includes a creation module 10 and a migration module 20.

前記作成モジュール10は、ターゲットクラウドプラットフォームに移行のターゲット仮想マシンを作成するように構成されている。ここで、前記ターゲット仮想マシンの構成情報は、ソースクラウドプラットフォームのソース仮想マシンの構成情報と一致する。前記ターゲット仮想マシンのネットワークポートグループは、前記ターゲットクラウドプラットフォームのネットワークポートグループとして構成される。前記ターゲット仮想マシンのディスクリポジトリは前記ターゲットクラウドプラットフォームのディスクリポジトリとして構成される。 The creation module 10 is configured to create a target virtual machine for migration in a target cloud platform, where the configuration information of the target virtual machine is consistent with the configuration information of the source virtual machine in the source cloud platform; the network port group of the target virtual machine is configured as a network port group of the target cloud platform; and the disk repository of the target virtual machine is configured as a disk repository of the target cloud platform.

前記移行モジュール20は、前記ソースクラウドプラットフォームの前記ソース仮想マシンのディスクファイルチェーン構造に従って、ネットワークコピー方式により、ファイルノードを、前記ターゲットクラウドプラットフォームのターゲット仮想マシンのディスクリポジトリ内に1つずつ移行するように構成されている。 The migration module 20 is configured to migrate file nodes one by one into the disk repository of the target virtual machine of the target cloud platform by a network copy method according to the disk file chain structure of the source virtual machine of the source cloud platform.

図3は本願の実施形態にかかる、管理モジュールを有するクラウドプラットフォーム間の仮想マシン移行装置の構成ブロック図である。図3に示すように、該装置は、図2に示した全てのモジュールに加えて、管理モジュール30と設定モジュール40とをさらに含んでもよい。 Figure 3 is a configuration block diagram of a virtual machine migration device between cloud platforms having a management module according to an embodiment of the present application. As shown in Figure 3, the device may further include a management module 30 and a setting module 40 in addition to all the modules shown in Figure 2.

前記管理モジュール30は、ターゲット仮想マシンを作成する前に、移行する必要のある前記ソース仮想マシンを、管理インターフェースを介して、移行リストに追加するように構成されている。
前記設定モジュール40は、前記移行開始時刻になると、前記ソース仮想マシンに対する移行オペレーションをトリガするように、前記ソース仮想マシンの移行開始時刻を設定するように構成されている。
The management module 30 is configured to add, via a management interface, the source virtual machine that needs to be migrated to a migration list before creating a target virtual machine.
The setting module 40 is configured to set a migration start time of the source virtual machine, such that when the migration start time occurs, a migration operation for the source virtual machine is triggered.

図4は本願の実施形態にかかる、実行ユニットを有するクラウドプラットフォーム間の仮想マシン移行装置の構成ブロック図である。図4に示すように、該装置において、図2に示した全てのモジュールに加えて、前記移行モジュール20はリスト構築ユニット21と実行ユニット22とをさらに含んでもよい。 Figure 4 is a configuration block diagram of a virtual machine migration device between cloud platforms having an execution unit according to an embodiment of the present application. As shown in Figure 4, in the device, in addition to all the modules shown in Figure 2, the migration module 20 may further include a list construction unit 21 and an execution unit 22.

前記リスト構築ユニット21は、前記ソース仮想マシンの移行対象ディスクのリストを構築し、各ディスクについて、移行対象ファイルのリストを構築するように構成されている。
前記実行ユニット22は、前記ソースクラウドプラットフォームまたは前記ターゲットクラウドプラットフォーム内のホストを選択して、前記ソース仮想マシンのディスクファイルを前記ターゲット仮想マシンのディスクリポジトリにコピーするオペレーションを実行させるように構成されている。
The list building unit 21 is configured to build a list of disks to be migrated of the source virtual machine, and for each disk build a list of files to be migrated.
The execution unit 22 is configured to select a host in the source cloud platform or the target cloud platform to perform an operation to copy disk files of the source virtual machine to a disk repository of the target virtual machine.

本実施形態において、前記実行ユニット22はさらに、ソースクラウドプラットフォームのホストを選択して、ディスクファイルをコピーするオペレーションを実行させ、前記ターゲットクラウドプラットフォームにメッセージを送信し、既にコピー済みの共有ノードが前記ターゲット仮想マシンに存在するか否かを判定し、前記共有ノードがコピー中である場合、前記共有ノードのコピーが完了するまで待機し、前記共有ノードが既にコピー済みである場合、前記共有ノードのコピーオペレーションを行わず、次のディスクファイルノードのコピーを行うように構成されてもよい。 In this embodiment, the execution unit 22 may be further configured to select a host in the source cloud platform to perform an operation to copy a disk file, send a message to the target cloud platform, determine whether an already copied shared node exists in the target virtual machine, and if the shared node is being copied, wait until the copy of the shared node is completed; if the shared node has already been copied, do not perform the copy operation of the shared node and copy the next disk file node.

本実施形態において、前記実行ユニット22はさらに、前記共有ノードが初めてコピーされる場合、前記ターゲットクラウドプラットフォームのホストにメッセージを送信し、前記ターゲットクラウドプラットフォームのホストによる前記共有ノードのネットワークコピーを開始するように構成されてもよい。 In this embodiment, the execution unit 22 may be further configured to send a message to the host of the target cloud platform when the shared node is copied for the first time, to initiate a network copy of the shared node by the host of the target cloud platform.

なお、上述した各モジュールは、ソフトウェアまたはハードウェアで実装することが可能で、後者の場合、以下の方法で実装できるが、これに限定されるものではない。上述したモジュールはすべて同一のプロセッサ内にあり、または、上記の各モジュールはそれぞれ、任意の組み合わせの形で、異なるプロセッサ内にある。 Note that each of the above-mentioned modules can be implemented in software or hardware, and in the latter case, can be implemented in the following manner, but is not limited to this: all of the above-mentioned modules can be in the same processor, or each of the above-mentioned modules can be in a different processor in any combination.

本願の実施形態はさらに、コンピュータ可読記憶媒体を提供し、該コンピュータ可読記憶媒体にはコンピュータプログラムが記憶されており、該コンピュータプログラムは、実行時に上記の何れか一つの方法実施形態におけるステップを実行するように構成されている。 An embodiment of the present application further provides a computer-readable storage medium having a computer program stored therein, the computer program being configured, when executed, to perform the steps of any one of the method embodiments described above.

一つの例示的な実施形態において、上記コンピュータ可読記憶媒体は、USBメモリ、読み取り専用メモリ(Read-Only Memory、ROMと略称する)、ランダムアクセスメモリ(Random Access Memory、RAMと略称する)、モバイルハードディスク、磁気ディスク又は光ディスクなど、コンピュータプログラムを記憶できる各種媒体を含むが、これらに限定されない。 In one exemplary embodiment, the computer-readable storage medium includes various media capable of storing computer programs, such as, but not limited to, a USB memory, a read-only memory (abbreviated as ROM), a random access memory (abbreviated as RAM), a mobile hard disk, a magnetic disk, or an optical disk.

本願の実施形態はさらに、メモリとプロセッサとを含む電子装置を提供し、該メモリにはコンピュータプログラムが記憶されており、該プロセッサは、該コンピュータプログラムを実行することで、上記の何れか一つの方法実施形態におけるステップを実行するように構成されている。 An embodiment of the present application further provides an electronic device including a memory and a processor, the memory storing a computer program, and the processor configured to execute the computer program to perform the steps of any one of the method embodiments described above.

一つの例示的な実施形態において、上記電子装置はさらに、伝送機器及び入出力機器を含んでもよい。ここで、該伝送機器は上記プロセッサと接続され、該入出力機器は上記プロセッサと接続されている。 In one exemplary embodiment, the electronic device may further include a transmission device and an input/output device, where the transmission device is connected to the processor and the input/output device is connected to the processor.

本実施形態おける具体的な例は、上記実施形態及び例示的な実施形態に記載された例を参照することができ、本実施形態はここでは説明を省く。 For specific examples of this embodiment, please refer to the examples described in the above embodiments and exemplary embodiments, and a description of this embodiment will be omitted here.

本願により提供される技術案を理解しやすくするために、以下では、具体的なシナリオの実施形態に関連して詳細に説明する。 To facilitate understanding of the technical solution provided by this application, the following provides a detailed description in relation to an embodiment of a specific scenario.

本願の一実施形態はクラウドプラットフォーム間の仮想マシン遠隔移行方法を提供する。遠隔地のデータセンターに、実ディスクを持たないターゲット仮想マシンを作成し、遠隔地のクラウドプラットフォーム間のメッセージコンポーネントのメッセージチャネルを確立し、管理ネットワークのネットワークコピーに基づいてディスクファイルチェーンを完全に対称的にコピーする。これにより、最終的には仮想マシンのクラウドプラットフォーム間の遠隔移行を実現する。また、ディスクの共有ノードに対して重複してコピーしない設計を行い、遠隔移行の効率を向上させる。 An embodiment of the present application provides a method for remote migration of a virtual machine between cloud platforms. A target virtual machine without a real disk is created in a remote data center, a message channel of a message component between the remote cloud platforms is established, and a disk file chain is completely symmetrically copied based on a network copy of a management network. This ultimately realizes remote migration of a virtual machine between cloud platforms. In addition, a design is made to avoid duplicate copying for shared disk nodes, improving the efficiency of remote migration.

本願の一実施形態は遠隔地でクラウドデスクトップ使用するシナリオにおける、ネットワークコピー方式に基づいた仮想マシン遠隔全体移行の方法を提供する。まず、該スキームによれば、AデータセンターのクラウドプラットフォームからBデータセンターのクラウドプラットフォームへの仮想マシン全体の移行を実現できる。次に、該スキームによれば、移行の開始時刻と終了時刻を設定できるため、ユーザの通常の使用に影響を与えずに、作業時間外で移行を行うことが可能である。さらに、該スキームによれば、たとえ移行が失敗しても、ソース仮想マシンに影響を与えることはないため、ユーザはもとのどおりクラウドデスクトップを正常に使用することが可能である。また、該スキームによれば、仮想マシンのディスクファイルチェーンの構造が維持され、ターゲット仮想マシンとソース仮想マシンのディスク構造が一致する。最後に、該スキームによれば、コピーされた仮想マシンの共有ファイルノードについて重複してコピーしないため、移行の効率が向上する。 An embodiment of the present application provides a method for remote full virtual machine migration based on a network copy scheme in a scenario where a cloud desktop is used in a remote location. First, the scheme can realize the migration of the entire virtual machine from the cloud platform of data center A to the cloud platform of data center B. Second, the scheme allows the start and end times of the migration to be set, so that the migration can be performed outside of working hours without affecting the user's normal use. Furthermore, even if the migration fails, the scheme does not affect the source virtual machine, so that the user can continue to use the cloud desktop normally as before. Furthermore, the scheme maintains the structure of the virtual machine's disk file chain, and the disk structures of the target virtual machine and the source virtual machine are consistent. Finally, the scheme does not duplicate and copy the shared file nodes of the copied virtual machine, improving the efficiency of migration.

本願の一実施形態の核心となる構想は、メッセージコンポーネントを異なるクラウドプラットフォーム間で通信させることによって、管理プラットフォームが相互に通信して仮想マシン管理データを取得できるようにし、ネットワークコピー方式に基づいて仮想マシンのディスクファイルノードの逐一コピーを実行し、コピープロセスは完全に対称である。これにより、ソース仮想マシンとターゲット仮想マシンのディスク構造の整合性が保証され、また、共有されるディスクファイルノードについて重複してコピーしない。そのため、極端に制限された条件下での仮想マシンの遠隔全体移行が可能になる。 The core idea of an embodiment of the present application is to allow message components to communicate between different cloud platforms, so that the management platforms can communicate with each other to obtain virtual machine management data, and perform point-by-point copying of the disk file nodes of the virtual machines based on a network copy method, and the copy process is fully symmetrical. This ensures the consistency of the disk structures of the source and target virtual machines, and does not duplicate copies of shared disk file nodes. This enables remote full migration of virtual machines under extremely restricted conditions.

図5はいくつかの場合にかかる、エクスポートとインポートにより仮想マシンを遠隔地のクラウドプラットフォームに移行するスキームを示す模式図である。図5に示すように、仮想マシンをエクスポートとインポートするオペレーションにより、仮想マシンをA地のクラウドプラットフォームから遠隔地に移行する。すなわち、まず、A地の仮想マシンをnfsストレージにエクスポートする。次に、インポートオペレーションによって、nfsストレージ上のディスクイメージファイルおよび仮想マシンの構成情報をB地のクラウドプラットフォームにインポートする。 Figure 5 is a schematic diagram showing a scheme for migrating a virtual machine to a remote cloud platform by exporting and importing in several cases. As shown in Figure 5, a virtual machine is migrated from a cloud platform in location A to a remote location by an operation of exporting and importing a virtual machine. That is, first, the virtual machine in location A is exported to nfs storage. Next, the disk image file on the nfs storage and the configuration information of the virtual machine are imported to the cloud platform in location B by an import operation.

図6は本願の一実施形態にかかる、クラウドプラットフォーム間移行により仮想マシンの全体移行を完成させる模式図である。図6に示すように、まず、B地のクラウドプラットフォームに移行のターゲット仮想マシンを作成する。該仮想マシンの各種基本構成情報は、ソース仮想マシンと一致する。仮想マシンはディスク実ファイルを持たない。ディスクのあるリポジトリは、選択されるB地のクラウドプラットフォーム内のリポジトリである。仮想マシンのネットワークインターフェースカードは、ターゲットクラウドプラットフォーム内のネットワークポートグループとして構成される。次に、ディスクファイルチェーン構造に従って、ネットワークコピー方式により、ファイルノードを、B地のクラウドプラットフォームのリポジトリ内に1つずつ移行する。 FIG. 6 is a schematic diagram of completing the entire migration of a virtual machine by inter-cloud platform migration according to an embodiment of the present application. As shown in FIG. 6, first, a target virtual machine for migration is created in the cloud platform of location B. Various basic configuration information of the virtual machine is consistent with that of the source virtual machine. The virtual machine does not have a disk real file. The repository with the disk is the repository in the cloud platform of location B that is selected. The network interface card of the virtual machine is configured as a network port group in the target cloud platform. Next, according to the disk file chain structure, the file nodes are migrated one by one into the repository of the cloud platform of location B by a network copy method.

図5と図6の模式図を比較すると、データセンター間で移行するシナリオは、インポートとエクスポートのスキームと比較して、次のようなメリットがある。第1に、移行プロセスが完全に自動化され、手作業による介入が不要になり、オペレーションのプロセスが容易になる。第2に、ディスクファイルチェーン構造が維持されるため、ファイルノードの親子関係をもとのどおり維持することができる。 Comparing the schematic diagrams in Figure 5 and Figure 6, the inter-datacenter migration scenario has the following advantages compared with the import and export scheme: First, the migration process is fully automated, eliminating the need for manual intervention and facilitating the operation process. Second, the disk file chain structure is maintained, so the parent-child relationship of file nodes can be kept intact.

図7は本願のいくつかの実施形態にかかる、クラウドプラットフォーム内部の全体移行スキームの模式図である。図8は本願のいくつかの実施形態にかかる、クラウドプラットフォーム内部の全体移行方法のフローチャートである。図7および図8に示すように、該方法は以下のステップを含む。 FIG. 7 is a schematic diagram of a full migration scheme within a cloud platform according to some embodiments of the present application. FIG. 8 is a flowchart of a full migration method within a cloud platform according to some embodiments of the present application. As shown in FIGS. 7 and 8, the method includes the following steps:

ステップS801において、仮想マシンの移行対象ディスクのリストを構築する。 In step S801, a list of disks to be migrated for the virtual machine is constructed.

ステップS802において、仮想マシンの各ディスクの移行対象ファイルのリストを構築する。 In step S802, a list of files to be migrated for each disk of the virtual machine is constructed.

ステップS803において、各ディスクファイルノードについて、プラットフォーム内のホストを選択してデータコピーを行う。 In step S803, for each disk file node, a host within the platform is selected and data is copied.

ステップS804において、ディスクファイルのコピーが終了した後、仮想マシンは、新しいリソースプールおよび新しいリポジトリで動作できるようになる。 In step S804, after the disk file copying is complete, the virtual machine is ready to run in the new resource pool and new repository.

図9は本願の実施形態にかかる、クラウドプラットフォーム内部の移行およびプラットフォーム間移行が依存するネットワーク構成条件の比較模式図である。図9に示すように、同一プラットフォーム内では、リポジトリはすべてのホストと接続できるため、直接ストレージネットワークを介して単一のホストを選択することで、ディスクデータのコピーと移行を完成させることができる。データセンター間での仮想マシンの移行の場合、二つの場所のストレージネットワーク間が隔離されているため、ディスクファイルノードの移行は、2つのクラウドプラットフォーム内の2つのホストが互いに連携して、管理ネットワークに依存して行われる。これにより、クラウドプラットフォーム間では、ストレージネットワークに依存することなく、極端な条件下で仮想マシンの全体移行を行うことが可能になる。 Figure 9 is a comparative schematic diagram of network configuration conditions on which migration within a cloud platform and migration between platforms depend according to an embodiment of the present application. As shown in Figure 9, within the same platform, the repository can connect to all hosts, so copying and migration of disk data can be completed by selecting a single host directly through the storage network. In the case of migration of virtual machines between data centers, since the storage networks of the two locations are isolated, the migration of disk file nodes is performed by two hosts in two cloud platforms cooperating with each other and relying on the management network. This makes it possible to perform full migration of virtual machines between cloud platforms under extreme conditions without relying on the storage network.

図5と図6のインポートとエクスポートによるプラットフォーム間移行スキーム、および図9のプラットフォーム内仮想マシン移行とクラウドプラットフォーム間移行の比較により、本スキームのメリットを以下のとおりまとめることができる。 By comparing the inter-platform migration scheme using import and export in Figures 5 and 6, and the intra-platform virtual machine migration and inter-cloud platform migration in Figure 9, the advantages of this scheme can be summarized as follows:

(1)オペレーションプロセスは完全に自動化されている。移行する必要のある仮想マシンを移行対象リストに追加するとともに、移行の開始時刻と終了時刻を設定するだけで、プラットフォームは仮想マシンの移行オペレーションを行うことが可能である。 (1) The operation process is fully automated. By simply adding the virtual machines that need to be migrated to the migration target list and setting the start and end times for the migration, the platform can perform the virtual machine migration operation.

(2)移行によってディスクファイルチェーンの構造が変更されることはない。そのため、仮想マシンのリストア機能などの差分特有の特性が維持される。 (2) The migration does not change the structure of the disk file chain. Therefore, differential-specific characteristics such as the virtual machine restore function are maintained.

(3)ストレージネットワークに依存することなく、特定のシナリオにおいて仮想マシンの全体移行を行うことができる。 (3) Full migration of virtual machines can be performed in certain scenarios without relying on the storage network.

以下、添付の図面に関連して、本実施形態の実施についてさらに詳細に説明する。 The implementation of this embodiment will be described in further detail below with reference to the attached drawings.

本願の一実施形態の応用シナリオは、大規模データセンターの仮想化クラウドプラットフォーム環境内である。 The application scenario of one embodiment of this application is within a virtualized cloud platform environment in a large-scale data center.

図10は本願の実施形態にかかる、クラウドプラットフォーム間の仮想マシン遠隔移行方法のフローチャートである。図10に示すように、該方法は以下のステップを含む。 Figure 10 is a flowchart of a method for remote migration of a virtual machine between cloud platforms according to an embodiment of the present application. As shown in Figure 10, the method includes the following steps:

S1001において、移行する必要のある仮想マシンを、管理インターフェースを介して、移行リストに追加する。 In S1001, the virtual machines that need to be migrated are added to the migration list via the management interface.

S1002において、仮想マシンの移行開始時刻と終了時刻を設定する。 In S1002, the start and end times for the virtual machine migration are set.

S1003において、移行開始時刻になると、仮想マシンに対するデータセンター間での遠隔移行オペレーションをトリガする。 In S1003, when the migration start time arrives, a remote migration operation between data centers for the virtual machine is triggered.

S1004において、ターゲットクラウドプラットフォームにメッセージを送信してターゲット仮想マシンを作成させる。ターゲット仮想マシンの基本構成情報は、ソース仮想マシンと一致する。ネットワークインターフェースカードのポートグループおよびディスクリポジトリとしては、ターゲットクラウドプラットフォーム上のネットワークおよびリポジトリを使用する。 At S1004, a message is sent to the target cloud platform to create a target virtual machine. The basic configuration information of the target virtual machine is consistent with that of the source virtual machine. The network and repository on the target cloud platform are used as the port group and disk repository of the network interface card.

S1005において、移行対象のディスクファイルのリストを構築する。 In S1005, a list of disk files to be migrated is constructed.

S1006において、ソースクラウドプラットフォームの一つのホストを選択して、ディスクファイルをコピーするオペレーションを実行させる。 At S1006, one host in the source cloud platform is selected to perform an operation to copy the disk file.

S1007において、選択されたターゲットクラウドプラットフォームにメッセージを送信し、既にコピー済みの共有ノードが相手側に存在するか否かを判定する。 At S1007, a message is sent to the selected target cloud platform to determine whether a shared node that has already been copied exists on the other side.

S1008において、コピー中の共有ノードがある場合、コピーが完了するまで待機し、既にコピー済みの共有ノードがある場合、コピーを行う必要がないため、次のファイルノードのコピーを実行する。 In S1008, if there is a shared node being copied, the process waits until the copying is complete, and if there is a shared node that has already been copied, copying of the next file node is performed since there is no need to copy it.

S1009において、共有ノードが初めてコピーされる場合、ターゲット側のホストにメッセージを送信してネットワークコピーのサーバ側を起動させる。 In S1009, if the shared node is copied for the first time, a message is sent to the target host to start the server side of the network copy.

S1010において、ソースプラットフォーム上のホストがネットワークコピーのクライアント側を起動する。 At S1010, the host on the source platform initiates the client side of the network copy.

S1011において、ファイルノードのコピーを完成させ、次のディスクファイルノードのコピーを行う。 In S1011, the file node copy is completed and the next disk file node is copied.

S1012において、仮想マシンディスクの移行がすべて完了し、全体の移行が終了する。 At S1012, migration of all virtual machine disks is completed and the entire migration ends.

本実施形態によれば、大規模なデータセンターシナリオに対して、遠隔地のデータセンター間で業務仮想マシンを全体移行することが可能で、メッセージコンポーネントのシングルトンモードを可能にして、仮想マシンディスクに対して完全に対称なコピーを行うことにより、ネットワークコピー方式に基づいて仮想マシンの全体移行を行うことができる。また、共有ノードについて重複したコピーを行わないため、移行の効率が向上する。該スキームによれば、仮想マシンの全体の遠隔移行を容易に行い、ユーザエクスペリエンスを向上させ、運用保守のコストを削減し、異なるデータセンター間のリソースを合理的にスケジューリングすることができる。 According to this embodiment, for large-scale data center scenarios, it is possible to migrate the entire business virtual machine between remote data centers, and by enabling the singleton mode of the message component and performing a completely symmetric copy on the virtual machine disk, the entire virtual machine can be migrated based on the network copy method. In addition, since duplicate copies are not made on shared nodes, the migration efficiency is improved. This scheme makes it easy to migrate the entire virtual machine remotely, improves the user experience, reduces the cost of operation and maintenance, and enables rational scheduling of resources between different data centers.

本願の上述した実施形態によれば、遠隔地のデータセンターに、実ディスクを持たないターゲット仮想マシンを作成し、遠隔地のクラウドプラットフォーム間のメッセージコンポーネントのメッセージチャネルを確立し、管理ネットワークのネットワークコピーに基づいてディスクファイルチェーンを完全に対称的にコピーする。これにより、いくつかの場合における、データセンター内移行では遠隔移行を実現できない、インポート及びエクスポート最初から最後まで手作業による介入が必要である、ディスクファイルチェーン構造の整合性を維持できないなどの問題を含む、関連する技術的問題のうちの1つを少なくともある程度解決できる。そのため、クラウドプラットフォーム間の仮想マシンの遠隔移行を実現し、ディスクファイルチェーン構造の整合性を維持する効果を達成した。 According to the above-mentioned embodiment of the present application, a target virtual machine without a real disk is created in a remote data center, a message channel of a message component between remote cloud platforms is established, and a disk file chain is completely symmetrically copied based on a network copy of a management network. This can at least partially solve one of the related technical problems, including the problem that in some cases, remote migration cannot be realized in intra-data center migration, manual intervention is required from start to finish for import and export, and the integrity of the disk file chain structure cannot be maintained. Therefore, the effect of realizing remote migration of virtual machines between cloud platforms and maintaining the integrity of the disk file chain structure has been achieved.

以上の内容は、本システムおよび方法を具体的な実施形態を合わせてさらに詳しく説明したものであり、本システムおよび方法の具体的な実施がこれらの説明に限定されると認めるべきではない。本システムおよび方法が属する技術分野の当業者にとって、本願の構想を逸脱することなく、いくつかの簡単な推断演繹又は置換を行うことができ、それらはいずれも本システムおよび方法の保護範囲に属するとみなすべきである。 The above is a more detailed description of the present system and method in conjunction with specific embodiments, and it should not be recognized that the specific implementation of the present system and method is limited to these descriptions. Those skilled in the art of the technical field to which the present system and method pertains may make some simple deductions or substitutions without departing from the concept of the present application, and all of them should be considered to fall within the scope of protection of the present system and method.

明らかに、上記の本発明の各モジュール又は各ステップは、汎用のコンピューティング装置で実現でき、これらは単一のコンピューティング装置に集中してもよいし、あるいは、複数のコンピューティング装置からなるネットワーク上に分散してもよい。それらはコンピューティング装置が実行可能なプログラムコードで実現できるため、それらを記憶装置に記憶させてコンピューティング装置によって実行できる。そして場合によっては、ここに示されたまたは説明されたステップは、異なる順序で実行することができ、または、それらをそれぞれの集積回路モジュールに作製し、あるいは、それらのうちの複数のモジュール又はステップを単一の集積回路モジュールに作製して実現できる。このように、本願は、いかなる特定のハードウェア及びソフトウェアの組み合わせにも限定されない。 Evidently, each module or step of the present invention described above can be implemented in a general-purpose computing device, and may be centralized in a single computing device or distributed over a network of multiple computing devices. They can be implemented in program code executable by a computing device, and thus can be stored in a storage device and executed by the computing device. In some cases, the steps shown or described herein can be performed in a different order, or can be implemented by fabricating them into respective integrated circuit modules, or by fabricating multiple of the modules or steps into a single integrated circuit module. Thus, the present application is not limited to any particular combination of hardware and software.

以上の記載は本願のいくつかの実施形態に過ぎず、本願を制限するものではない。当業者にとって、本願には各種の変更と変化が可能である。本願の原則内で行われたいかなる修正、均等物による置換、改良等は、いずれも本願の保護範囲内に含まれるべきである。 The above description is merely some embodiments of the present application, and does not limit the present application. Those skilled in the art may make various changes and modifications to the present application. Any modifications, equivalent replacements, improvements, etc. made within the principles of the present application should be included within the scope of protection of the present application.

Claims (10)

クラウドプラットフォーム間の仮想マシン移行装置によって実行されるクラウドプラットフォーム間の仮想マシン移行方法であって、
前記仮想マシン移行装置が、ターゲットクラウドプラットフォームに移行のターゲット仮想マシンを作成するステップであって、前記ターゲット仮想マシンの構成情報は、ソースクラウドプラットフォームのソース仮想マシンの構成情報と一致し、前記ターゲット仮想マシンのネットワークポートグループは、前記ターゲットクラウドプラットフォームのネットワークポートグループとして構成され、前記ターゲット仮想マシンのディスクリポジトリは前記ターゲットクラウドプラットフォームのディスクリポジトリとして構成されるステップと、
前記仮想マシン移行装置が、前記ソースクラウドプラットフォームの前記ソース仮想マシンのディスクファイルチェーン構造に従って、ネットワークコピー方式により、ファイルノードを、前記ターゲットクラウドプラットフォームのターゲット仮想マシンのディスクリポジトリ内に1つずつ移行するステップと、
を含むクラウドプラットフォーム間の仮想マシン移行方法。
A method for migrating a virtual machine between cloud platforms, which is executed by an apparatus for migrating a virtual machine between cloud platforms, comprising:
The virtual machine migration device creates a target virtual machine for migration in a target cloud platform, where the configuration information of the target virtual machine is consistent with the configuration information of the source virtual machine of the source cloud platform, a network port group of the target virtual machine is configured as a network port group of the target cloud platform, and a disk repository of the target virtual machine is configured as a disk repository of the target cloud platform;
The virtual machine migration device migrates file nodes one by one into a disk repository of a target virtual machine of the target cloud platform by a network copy manner according to a disk file chain structure of the source virtual machine of the source cloud platform;
A method for migrating virtual machines between cloud platforms, including:
前記仮想マシン移行装置が、ターゲットクラウドプラットフォームに移行のターゲット仮想マシンを作成するステップの前に、
前記仮想マシン移行装置が、移行する必要のある前記ソース仮想マシンを、管理インターフェースを介して、移行リストに追加するステップ
をさらに含む請求項1に記載の方法。
Before the step of the virtual machine migration device creating a target virtual machine for migration in a target cloud platform,
The method of claim 1 , further comprising: the virtual machine migration device adding, via a management interface, the source virtual machine that needs to be migrated to a migration list.
前記仮想マシン移行装置が、移行する必要のある前記ソース仮想マシンを、管理インターフェースを介して、移行リストに追加するステップの後に、
前記仮想マシン移行装置が、前記ソース仮想マシンの移行開始時刻を設定するステップと、
前記仮想マシン移行装置が、前記移行開始時刻になると、前記ソース仮想マシンに対する移行オペレーションをトリガするステップと、
をさらに含む請求項2に記載の方法。
After the step of the virtual machine migration device adding the source virtual machine that needs to be migrated to a migration list via a management interface,
The virtual machine migration device sets a migration start time of the source virtual machine;
the virtual machine migration device triggering a migration operation on the source virtual machine when the migration start time arrives;
The method of claim 2 further comprising:
前記仮想マシン移行装置が、前記ソースクラウドプラットフォームの前記ソース仮想マシンのディスクファイルチェーン構造に従って、ネットワークコピー方式により、ファイルノードを、前記ターゲットクラウドプラットフォームのターゲット仮想マシンのディスクリポジトリ内に1つずつ移行するステップは、
前記仮想マシン移行装置が、前記ソース仮想マシンの移行対象ディスクのリストを構築し、各ディスクについて、移行対象ファイルのリストを構築するステップと、
前記仮想マシン移行装置が、コピー対象のファイルノードに応じて、前記ソースクラウドプラットフォームまたは前記ターゲットクラウドプラットフォーム内のホストを選択して、前記ソース仮想マシンのディスクファイルを前記ターゲット仮想マシンのディスクリポジトリにコピーするオペレーションを実行させるステップと、
をさらに含む請求項1に記載の方法。
The virtual machine migration device migrates file nodes one by one into a disk repository of a target virtual machine of the target cloud platform by a network copy manner according to a disk file chain structure of the source virtual machine of the source cloud platform,
the virtual machine migration device constructing a list of disks to be migrated of the source virtual machine, and for each disk, constructing a list of files to be migrated;
The virtual machine migration device selects a host in the source cloud platform or the target cloud platform according to a file node to be copied, and executes an operation of copying a disk file of the source virtual machine to a disk repository of the target virtual machine;
The method of claim 1 further comprising:
前記仮想マシン移行装置が、コピー対象のファイルノードに応じて、前記ソースクラウドプラットフォームまたは前記ターゲットクラウドプラットフォーム内のホストを選択して、前記ソース仮想マシンのディスクファイルを前記ターゲット仮想マシンのディスクリポジトリにコピーするオペレーションを実行させるステップは、
前記仮想マシン移行装置が、ソースクラウドプラットフォームのホストを選択して、ディスクファイルをコピーするオペレーションを実行させるステップと、
前記仮想マシン移行装置が、前記ターゲットクラウドプラットフォームにメッセージを送信し、既にコピー済みの共有ノードが前記ターゲット仮想マシンに存在するか否かを判定するステップと、
前記仮想マシン移行装置が、前記共有ノードがコピー中である場合、前記ソースクラウドプラットフォームのホストは前記共有ノードのコピーが完了するまで待機するステップと、
前記仮想マシン移行装置が、前記共有ノードが既にコピー済みである場合、前記ソースクラウドプラットフォームのホストは、前記共有ノードのコピーオペレーションを行わず、次のディスクファイルノードのコピーを行うステップと、
を含む請求項4に記載の方法。
The step of causing the virtual machine migration device to select a host in the source cloud platform or the target cloud platform according to a file node to be copied, and to execute an operation of copying a disk file of the source virtual machine to a disk repository of the target virtual machine,
The virtual machine migration device selects a host of the source cloud platform to perform an operation of copying a disk file;
The virtual machine migration device sends a message to the target cloud platform to determine whether a shared node that has already been copied exists in the target virtual machine;
When the virtual machine migration device is copying the shared node, the host of the source cloud platform waits until the copying of the shared node is completed;
When the virtual machine migration device detects that the shared node has already been copied, the source cloud platform host does not perform a copy operation of the shared node, but performs a copy operation of the next disk file node;
5. The method of claim 4, comprising:
前記仮想マシン移行装置が、前記ターゲットクラウドプラットフォームにメッセージを送信し、既にコピー済みの共有ノードが前記ターゲット仮想マシンに存在するか否かを判定するステップの後に、
前記仮想マシン移行装置が、前記共有ノードが初めてコピーされる場合、前記ターゲットクラウドプラットフォームのホストにメッセージを送信し、前記ターゲットクラウドプラットフォームのホストによる前記共有ノードのネットワークコピーを開始するステップ をさらに含む請求項5に記載の方法。
After the step of the virtual machine migration device sending a message to the target cloud platform to determine whether an already copied shared node exists in the target virtual machine,
6. The method of claim 5 , further comprising: when the shared node is copied for the first time, the virtual machine migration apparatus sends a message to the host of the target cloud platform to initiate a network copy of the shared node by the host of the target cloud platform.
ターゲットクラウドプラットフォームに移行のターゲット仮想マシンを作成するように構成されている作成モジュールであって、前記ターゲット仮想マシンの構成情報は、ソースクラウドプラットフォームのソース仮想マシンの構成情報と一致し、前記ターゲット仮想マシンのネットワークポートグループは、
前記ターゲットクラウドプラットフォームのネットワークポートグループとして構成され、前記ターゲット仮想マシンのディスクリポジトリは前記ターゲットクラウドプラットフォームのディスクリポジトリとして構成される作成モジュールと、
前記ソースクラウドプラットフォームの前記ソース仮想マシンのディスクファイルチェーン構造に従って、ネットワークコピー方式により、ファイルノードを、前記ターゲットクラウドプラットフォームのターゲット仮想マシンのディスクリポジトリ内に1つずつ移行するように構成されている移行モジュールと、
を含むクラウドプラットフォーム間の仮想マシン移行装置。
A creation module configured to create a target virtual machine for migration in a target cloud platform, wherein configuration information of the target virtual machine is consistent with configuration information of a source virtual machine in a source cloud platform, and a network port group of the target virtual machine is:
a creation module configured as a network port group of the target cloud platform and a disk repository of the target virtual machine configured as a disk repository of the target cloud platform;
A migration module configured to migrate file nodes one by one into a disk repository of a target virtual machine of the target cloud platform by a network copy manner according to a disk file chain structure of the source virtual machine of the source cloud platform;
A virtual machine migration device between cloud platforms, including:
前記移行モジュールは、
前記ソース仮想マシンの移行対象ディスクのリストを構築し、各ディスクについて、移行対象ファイルのリストを構築するように構成されているリスト構築ユニットと、
前記ソースクラウドプラットフォームまたは前記ターゲットクラウドプラットフォーム内のホストを選択して、前記ソース仮想マシンのディスクファイルを前記ターゲット仮想マシンのディスクリポジトリにコピーするオペレーションを実行させるように構成されている実行ユニットと、
をさらに含む請求項7に記載の装置。
The transition module includes:
a list building unit configured to build a list of disks to be migrated of the source virtual machine and, for each disk, build a list of files to be migrated;
an execution unit configured to select a host in the source cloud platform or the target cloud platform to perform an operation of copying a disk file of the source virtual machine to a disk repository of the target virtual machine;
The apparatus of claim 7 further comprising:
コンピュータプログラムを記憶しているコンピュータ読み取り可能な記憶媒体であって、
前記コンピュータプログラムは、実行時に請求項1から6の何れか一項に記載の方法を実行するように構成されている
コンピュータ読み取り可能な記憶媒体。
A computer-readable storage medium storing a computer program,
A computer readable storage medium, the computer program being configured to perform the method of any one of claims 1 to 6 when executed.
メモリとプロセッサとを含む電子装置であって、
前記メモリにはコンピュータプログラムが記憶されており、前記プロセッサは、前記コンピュータプログラムを実行することで請求項1から6の何れか一項に記載の方法を実行するように構成されている
電子装置。
An electronic device including a memory and a processor,
An electronic device, comprising: a computer program stored in the memory; and the processor configured to execute the computer program to perform the method of any one of claims 1 to 6.
JP2022580056A 2020-06-23 2021-06-15 Method, device, storage medium, and electronic device for migrating virtual machines between cloud platforms Active JP7469524B2 (en)

Applications Claiming Priority (3)

Application Number Priority Date Filing Date Title
CN202010582905.XA CN113835822A (en) 2020-06-23 2020-06-23 Cross-cloud-platform virtual machine migration method and device, storage medium and electronic device
CN202010582905.X 2020-06-23
PCT/CN2021/100134 WO2021259094A1 (en) 2020-06-23 2021-06-15 Method and apparatus for migration of virtual machine across cloud platform, and storage medium and electronic apparatus

Publications (2)

Publication Number Publication Date
JP2023531532A JP2023531532A (en) 2023-07-24
JP7469524B2 true JP7469524B2 (en) 2024-04-16

Family

ID=78964339

Family Applications (1)

Application Number Title Priority Date Filing Date
JP2022580056A Active JP7469524B2 (en) 2020-06-23 2021-06-15 Method, device, storage medium, and electronic device for migrating virtual machines between cloud platforms

Country Status (4)

Country Link
JP (1) JP7469524B2 (en)
KR (1) KR20230024416A (en)
CN (1) CN113835822A (en)
WO (1) WO2021259094A1 (en)

Families Citing this family (4)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN114461338B (en) * 2022-01-10 2022-10-14 北京志凌海纳科技有限公司 virtio driver injection method and device
CN114489517B (en) * 2022-02-14 2023-09-08 苏州浪潮智能科技有限公司 Offline acceleration migration method, system, equipment and storage medium
CN114827162A (en) * 2022-03-30 2022-07-29 河南保营机电有限公司 Migratable cloud desktop system based on edge computing
CN117009310B (en) * 2023-09-27 2024-01-23 苏州元脑智能科技有限公司 File synchronization method and device, distributed global content library system and electronic equipment

Citations (3)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JP2008033483A (en) 2006-07-27 2008-02-14 Nec Corp Computer system, computer, and moving method of computer operating environment
JP2013542486A (en) 2010-09-10 2013-11-21 インターナショナル・ビジネス・マシーンズ・コーポレーション On-demand image streaming for virtual machines
CN108228311A (en) 2016-12-22 2018-06-29 中兴通讯股份有限公司 A kind of method across storage pool migration virtual machine

Family Cites Families (5)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN103051479B (en) * 2012-12-24 2016-01-20 北京启明星辰信息技术股份有限公司 The emigration processing method of virtual machine network control strategy and system
CN103077034B (en) * 2013-01-09 2015-08-19 上海交通大学 hybrid virtualization platform JAVA application migration method and system
CN104065685B (en) * 2013-03-22 2018-04-27 ***股份有限公司 Data migration method towards in the bedding storage system of cloud computing environment
CN103577245B (en) * 2013-10-29 2017-05-03 中国科学院计算技术研究所 Lightweight class virtual machine migration method
CN106227587B (en) * 2016-07-19 2019-05-10 浪潮(北京)电子信息产业有限公司 A kind of band snapshot virtual machine complete machine dynamic migration method and device

Patent Citations (3)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JP2008033483A (en) 2006-07-27 2008-02-14 Nec Corp Computer system, computer, and moving method of computer operating environment
JP2013542486A (en) 2010-09-10 2013-11-21 インターナショナル・ビジネス・マシーンズ・コーポレーション On-demand image streaming for virtual machines
CN108228311A (en) 2016-12-22 2018-06-29 中兴通讯股份有限公司 A kind of method across storage pool migration virtual machine

Also Published As

Publication number Publication date
CN113835822A (en) 2021-12-24
KR20230024416A (en) 2023-02-20
JP2023531532A (en) 2023-07-24
WO2021259094A1 (en) 2021-12-30

Similar Documents

Publication Publication Date Title
JP7469524B2 (en) Method, device, storage medium, and electronic device for migrating virtual machines between cloud platforms
US10664323B2 (en) Live migration of virtual machines in distributed computing systems
US10073747B2 (en) Reducing recovery time in disaster recovery/replication setup with multitier backend storage
US8826272B2 (en) Planning a reliable migration in a limited stability virtualized environment
US10936423B2 (en) Enhanced application write performance
JP4195209B2 (en) Method and system for automating storage area network configuration
CN105872016B (en) The operation method of virtual machine in a kind of desktop cloud
US10353872B2 (en) Method and apparatus for conversion of virtual machine formats utilizing deduplication metadata
US9164856B2 (en) Persistent messaging mechanism
CN103368767A (en) Method and system for efficient application management in a cloud with failures
CN101763301B (en) System and method for testing a boot image
US11079968B1 (en) Queue management in multi-site storage systems
US11531526B1 (en) Creating portable serverless applications
CN110402435B (en) Monotonic transactions in multi-master database with loosely coupled nodes
JP2023054777A (en) Method, system, and computer program for testing container orchestration system (generating test cluster for testing container orchestration system)
CN110413369A (en) System and method for the backup in virtualized environment
US8621260B1 (en) Site-level sub-cluster dependencies
US9485308B2 (en) Zero copy volume reconstruction
US9342419B2 (en) Persistent messaging mechanism
CN116483274A (en) Online migration method, device, equipment and medium for distributed block storage volume
US11571618B1 (en) Multi-region game server fleets
US10169343B2 (en) Deferring the cost of virtual storage
US11513833B1 (en) Event listener interface for container-based execution of serverless functions
RU2813491C1 (en) Method and device for transferring virtual machine over cloud platform, as well as data medium and electronic device
JP2012141727A (en) Virtual machine system and control method thereof

Legal Events

Date Code Title Description
A621 Written request for application examination

Free format text: JAPANESE INTERMEDIATE CODE: A621

Effective date: 20221223

A977 Report on retrieval

Free format text: JAPANESE INTERMEDIATE CODE: A971007

Effective date: 20231130

A131 Notification of reasons for refusal

Free format text: JAPANESE INTERMEDIATE CODE: A131

Effective date: 20231205

A521 Request for written amendment filed

Free format text: JAPANESE INTERMEDIATE CODE: A523

Effective date: 20240304

TRDD Decision of grant or rejection written
A01 Written decision to grant a patent or to grant a registration (utility model)

Free format text: JAPANESE INTERMEDIATE CODE: A01

Effective date: 20240319

A61 First payment of annual fees (during grant procedure)

Free format text: JAPANESE INTERMEDIATE CODE: A61

Effective date: 20240404

R150 Certificate of patent or registration of utility model

Ref document number: 7469524

Country of ref document: JP

Free format text: JAPANESE INTERMEDIATE CODE: R150