JPWO2019100984A5 - - Google Patents

Download PDF

Info

Publication number
JPWO2019100984A5
JPWO2019100984A5 JP2020527993A JP2020527993A JPWO2019100984A5 JP WO2019100984 A5 JPWO2019100984 A5 JP WO2019100984A5 JP 2020527993 A JP2020527993 A JP 2020527993A JP 2020527993 A JP2020527993 A JP 2020527993A JP WO2019100984 A5 JPWO2019100984 A5 JP WO2019100984A5
Authority
JP
Japan
Prior art keywords
data
disk
instance
migration
new instance
Prior art date
Legal status (The legal status is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the status listed.)
Pending
Application number
JP2020527993A
Other languages
Japanese (ja)
Other versions
JP2021504795A (en
Publication date
Priority claimed from CN201711186691.9A external-priority patent/CN109842636A/en
Application filed filed Critical
Publication of JP2021504795A publication Critical patent/JP2021504795A/en
Publication of JPWO2019100984A5 publication Critical patent/JPWO2019100984A5/ja
Pending legal-status Critical Current

Links

Description

この開示は、2017年11月24日に出願された中国特許出願201711186691.9の優先権を主張する、2018年11月14日に出願された国際出願PCT/CN2018/115383の国内段階エントリであり、それらの両方は、その全体が参照により本明細書に組み込まれる。 This disclosure is a National Phase Entry of International Application PCT/CN2018/115383 filed on November 14, 2018 claiming priority from Chinese Patent Application No. 201711186691.9 filed on November 24, 2017. , both of which are incorporated herein by reference in their entirety.

本開示は、クラウドコンピューティングの分野に関し、特に、クラウドサービス移行のための方法、装置、及び電子デバイスに関する。 TECHNICAL FIELD This disclosure relates to the field of cloud computing, and more particularly to methods, apparatus, and electronic devices for cloud service migration.

クラウドコンピューティングの人気と開発が高まるにつれ、クラウドコンピューティングテクノロジーに基づく製品への関心が高まり、それにより、より多くの種類のクラウド製品が利用可能になっている。例えば、基本的なクラウドコンピューティングサービスであるクラウドサーバ(例えば、Elastic Compute Service(ECS))は、水、電気、ガス等のようなコモディティリソースのように便利且つ効率的にサービスを提供し、さまざまなアプリケーションを提供できる。しかし、クラウドサービスプロバイダが徐々に拡大し、新しいデータセンタを構築するにつれて、ユーザは、クラウドサービスを使用するときに地理的地域を選択するためのより堅牢な要件を持ち始める。一方、クラウドサービスに基づいて導入されたシステムアーキテクチャは進化と拡大を続けているため、クラウドサービスのディストリビューションを再調整する必要もある。さらに、ユーザサービスの範囲の調整に伴い、ユーザーエクスペリエンスを向上させるために、クラウドサービスを優先プロモーション地域に移行する必要もある。 As the popularity and development of cloud computing increases, interest in products based on cloud computing technology increases, thereby making more types of cloud products available. For example, a basic cloud computing service, a cloud server (e.g., Elastic Compute Service (ECS)), can conveniently and efficiently serve commodity resources such as water, electricity, gas, etc. application can be provided. However, as cloud service providers gradually expand and build new data centers, users begin to have more robust requirements for choosing a geographical region when using cloud services. On the other hand, as the system architecture deployed based on cloud services continues to evolve and expand, there is also a need to readjust the distribution of cloud services. In addition, with the adjustment of the scope of user services, there is also a need to shift cloud services to priority promotional regions in order to improve user experience.

現在、クラウドサービスプロバイダは、クラウドサービスの移行に関連するこれらの上記のニーズに対応する包括的なソリューションを提供していない。例えば、ワシントン州シアトルのAmazon,Inc.が提供するクラウドコンピューティングサービスプラットフォームAWS(Amazon Web Services)は、クラウドサービス(例えば、ディスクミラーリング)にサービスするためのディスクのミラーリングされたイメージのみを提供する。ユーザはこれらのミラーリングされたイメージを使用して、ミラーリングイメージのコピー処理を介してデータを同期する。ディスク上のデータのサイズは一般に数百ギガバイト又はテラバイトの大きさであるため、データのミラーリングに長い時間がかかり、その結果、サービスが長時間中断する。さらに、ミラーリングを使用してデータを同期するという側面を除いて、クラウドサービスの包括的な移行はまだ実現されていない。従って、ユーザは、クラウドサービスのインスタンスの作成、アプリケーションサービスの配置、及びクラウドサーバのIPアドレスの構成のような構成を処理する必要がある。これらの動作はすべて、複雑な移行プロセスを必要とする。 Currently, cloud service providers do not offer comprehensive solutions to address these above-mentioned needs related to cloud service migration. For example, Amazon, Inc. of Seattle, Washington. The cloud computing service platform AWS (Amazon Web Services) provided by Amazon.com provides only mirrored images of disks for serving cloud services (eg, disk mirroring). Users use these mirrored images to synchronize data through the process of copying mirrored images. Since the size of the data on the disk is typically on the order of hundreds of gigabytes or terabytes, it takes a long time to mirror the data, resulting in long service interruptions. Moreover, a comprehensive migration of cloud services has yet to be realized, except for the aspect of using mirroring to synchronize data. Therefore, users need to handle configuration such as creating instances of cloud services, deploying application services, and configuring IP addresses of cloud servers. All of these operations require complex migration processes.

本開示は、先行技術におけるクラウドサービス移行に関連付けられる延長されるサービス中断時間及び複雑な動作の技術的問題を解決するためのクラウドサービス移行のための方法、装置、及び電子デバイスを提供する。 The present disclosure provides a method, apparatus, and electronic device for cloud service migration to solve the technical problems of extended service interruption time and complex operations associated with cloud service migration in the prior art.

一実施形態では、本開示は、クラウドサービス移行方法を提供し、前記方法は、ソースクラスタ内にホストされたクラウドサービスに関連する移行要求を取得する段階であり、前記移行要求は、前記ソースクラスタからターゲットクラスタに前記クラウドサービスを移行するためのスケジュールされた移行時間を含む、段階と、前記スケジュールされた移行時間に基づいて、前記クラウドサービスの元のインスタンスに関連付けられるディスクデータを前記ターゲットクラスタ内にインスタンス化された前記クラウドサービスの新しいインスタンスのサービスのためのディスクに移行する段階であり、前記ディスクデータの前記移行は前記ディスクデータの移行優先度順位に基づいて実行される、段階と、ディスクに対する前記元のクラウドサービスインスタンスのデータ操作を前記新しいインスタンスのサービスのための前記ディスクに対する前記新いクラウドサービスインスタンスのデータ操作として構成する段階と、を備える。 In one embodiment, the present disclosure provides a cloud service migration method, said method comprising obtaining a migration request related to a cloud service hosted in a source cluster, said migration request and transferring disk data associated with the original instance of the cloud service to the target cluster based on the scheduled migration time. migrating to a disk for service of a new instance of the cloud service instantiated in a disk, wherein the migration of the disk data is performed based on a migration priority of the disk data; as data operations of the new cloud service instance to the disk for services of the new instance.

一実施形態では、方法は、さらに、前記元のインスタンスのサービスのための前記ディスクに対する前記クラウドサービスの前記データ操作を前記新しいインスタンスのサービスのための前記ディスクに対する前記データ操作として構成する段階が実行される前に、前記ターゲットクラスタ内に新しいインスタンスをインスタンス化する段階と、前記新しいインスタンスと前記新しいインスタンスに関連付けられるリソースコンポーネントを構成する段階と、前記ソースクラスタにて前記元のインスタンスを終了する段階と、前記リソースコンポーネントに基づいて前記新しいインスタンスを開始する段階と、を備える。 In one embodiment, the method further comprises configuring the data operations of the cloud service on the disk for the original instance of the service as the data operations on the disk for the new instance of the service. instantiating a new instance in the target cluster, configuring the new instance and a resource component associated with the new instance, and terminating the original instance in the source cluster before the and starting the new instance based on the resource component.

一実施形態では、前記新しいインスタンス及び前記新しいインスタンスに関連付けられるリソースコンポーネントを構成する段階は、前記元のインスタンスの前記構成情報に基づいて、前記同じ構成を前記構成情報として使用して前記ターゲットクラスタ内で前記新しいインスタンスを構成する段階、又は、事前構成された構成インタフェースを通じて取得される前記構成情報に基づいて前記新しいインスタンスを構成する段階、を含む。 In one embodiment, configuring the new instance and the resource components associated with the new instance comprises: based on the configuration information of the original instance, using the same configuration as the configuration information in the target cluster; or configuring the new instance based on the configuration information obtained through a preconfigured configuration interface.

一実施形態では、リソースコンポーネントはディスクを含む。別の実施形態において、リソースコンポーネントは、さらに、CPU、メモリ、オペレーティングシステム、及びネットワーク接続のうち少なくとも1つを含む。 In one embodiment, resource components include disks. In another embodiment, the resource component further includes at least one of CPU, memory, operating system, and network connection.

一実施形態では、前記新しいインスタンス及び前記新しいインスタンスのリソースコンポーネントを構成する段階は、前記ターゲットクラスタ内でネットワークポートを割り当てる段階と、前記ソースクラスタのネットワークポートから前記クラウドサービスを解放する段階と、前記クラウドサービスを前記ターゲットクラスタに割り当てられる前記ネットワークポートに構成する段階と、ルーティング更新を実行する段階と、を含む。 In one embodiment, configuring the new instance and resource components of the new instance comprises allocating network ports in the target cluster; releasing the cloud service from the network ports of the source cluster; configuring cloud services to the network ports assigned to the target cluster; and performing routing updates.

一実施形態では、前記新しいインスタンス及び前記新しいインスタンスのリソースコンポーネントを構成する段階は、前記元のインスタンスのサービスのための前記ディスクに対する前記クラウドサービスに関連付けられるデータ操作を停止する段階と、前記ターゲットクラスタ内の前記新しいインスタンスのサービスのための前記ディスクを割り当てる段階と、前記新しいインスタンスのサービスのための前記ディスクの前記割り当てが完了した後、前記スケジュールされた移行時間に基づいて、前記クラウドサービスの元のインスタンスに関連付けられるディスクデータを前記ターゲットクラスタ内にインスタンス化された前記クラウドサービスの新しいインスタンスのサービスのためのディスクに移行する段階と、前記元のインスタンスのサービスのためのディスクに対する前記クラウドサービスのデータ操作を前記新しいインスタンスのサービスのための前記ディスクに対するデータ操作として構成する段階と、を含む。 In one embodiment, configuring the new instance and resource components of the new instance includes stopping data operations associated with the cloud service on the disk for the service of the original instance; after allocating the disk for the service of the new instance in the cloud service, and after the allocation of the disk for the service of the new instance is completed, based on the scheduled migration time, moving the cloud service to the original migrating disk data associated with an instance of said cloud service to a disk for service of a new instance of said cloud service instantiated in said target cluster; configuring data operations as data operations on the disk for servicing the new instance.

一実施形態では、前記クラウドサービスの元のインスタンスに関連付けられる前記ディスクデータを前記ターゲットクラスタ内にインスタンス化された前記クラウドサービスの新しいインスタンスのサービスのためのディスクに移行する段階は、前記元のインスタンスに関連付けられる前記ディスクデータを少なくとも1つのデータブロックに分割し、前記元のインスタンスに関連付けられる前記ディスクデータを前記データブロックの形態で前記新しいインスタンスのサービスのための前記ディスクにコピーする段階と、前記元のインスタンスに関連付けられる前記ディスクデータを少なくとも1つのデータブロックに分割し、各データブロックに対応するデータミラーリングイメージを作成し、前記元のインスタンスに関連付けられる前記ディスクデータをデータミラーリングを介して前記新しいインスタンスのサービスのための前記ディスクにコピーする段階と、を含む。 In one embodiment, migrating the disk data associated with the original instance of the cloud service to a disk for service of a new instance of the cloud service instantiated in the target cluster comprises: splitting the disk data associated with at least one data block into at least one data block and copying the disk data associated with the original instance in the form of the data block to the disk for servicing the new instance; dividing the disk data associated with the original instance into at least one data block, creating a data mirroring image corresponding to each data block, and transferring the disk data associated with the original instance to the new instance via data mirroring; and copying to said disk for instance servicing .

一実施形態では、データブロックは、データブロックがコピーされているかどうかをマーキングするためのフラグビットを用いて構成される。前記元のインスタンスに関連付けられる前記ディスクデータを前記新しいインスタンスのサービスのための前記ディスクにコピーする処理において、既にコピーされたデータは前記フラグビットに基づいて前記元のインスタンスに関連付けられる前記ディスクデータと比較され、前記元のインスタンスに関連付けられる前記ディスクデータのコピーの進行を決定する。 In one embodiment, data blocks are configured with a flag bit to mark whether the data block has been copied. In the process of copying the disk data associated with the original instance to the disk for servicing the new instance, the already copied data is compared with the disk data associated with the original instance based on the flag bits. A comparison is made to determine the progress of copying the disk data associated with the original instance.

一実施形態では、前記元のインスタンス及び前記新しいインスタンスは、それぞれの処理キューを用いてそれぞれ構成される。前記元のインスタンスのサービスのための前記ディスクに対する前記クラウドサービスのデータ操作を含むデータ要求は、前記元のインスタンスの前記処理キューにエンキューされ、前記新しいインスタンスのサービスのための前記ディスクに対する前記クラウドサービスのデータ操作を含むデータ要求は、前記新しいインスタンスの前記処理キューにエンキューされる。 In one embodiment, the original instance and the new instance are each configured with respective processing queues. Data requests comprising data operations of the cloud service on the disk for service of the original instance are enqueued in the processing queue of the original instance and the cloud service on the disk for service of the new instance. are enqueued into the processing queue of the new instance.

一実施形態では、前記元のインスタンスのサービスのためのディスクに対する前記クラウドサービスのデータ操作を前記新しいインスタンスのサービスのための前記ディスクに対するデータ操作として構成する段階の後、前記新しいインスタンスのサービスのための前記ディスクに対する前記クラウドサービスのデータ操作を含むデータ要求は、前記新しいインスタンスの前記処理キューにエンキューされ、前記元のインスタンスの前記処理キュー内の処理が完了していないデータ要求が、処理のために前記新しいインスタンスの前記処理キューに転送される。 In one embodiment, after configuring the cloud service 's data operations on the disk for the original instance 's service as data operations on the disk for the new instance's service, for the new instance 's service: are enqueued in the processing queue of the new instance, and data requests for which processing in the processing queue of the original instance has not been completed are processed. to the processing queue of the new instance.

一実施形態では、前記ディスクデータの移行優先度は、前記データ要求に含まれる前記データが、前記新しいインスタンスのサービスのための前記ディスク内に存在するかどうか判断する段階と、前記データ要求内に含まれる前記データが前記新しいインスタンスのサービスのための前記ディスク内に存在しないとの判断に応じて、前記データ要求内に含まれる前記データの移行優先度を高移行優先度に構成する段階と、前記元のインスタンスに関連付けられる前記ディスクデータを前記ターゲットクラスタ内にインスタンス化された前記クラウドサービスの前記新しいインスタンスのサービスのための前記ディスクに移行する前記処理において、移行優先度の降順で前記移行を実行する段階と、により決定される。 In one embodiment, the migration priority of the disk data includes determining whether the data included in the data request resides in the disk for servicing of the new instance; configuring a migration priority of the data contained in the data request to a high migration priority in response to determining that the contained data is not present in the disk for servicing of the new instance; in the process of migrating the disk data associated with the original instance to the disk for service of the new instance of the cloud service instantiated in the target cluster, performing the migration in descending order of migration priority; and the step of performing.

一実施形態では、前記新しいインスタンスの前記処理キューでのデータ要求の処理は、前記データ要求に含まれるデータが前記新しいインスタンスのサービスのための前記ディスク内に存在するかどうかを判断し、前記データ要求に含まれる前記データが前記新しいインスタンスのサービスのための前記ディスク内に存在するとの判断に応じて、前記新しいインスタンスのサービスのための前記ディスクに対し、前記データ要求に含まれるデータ操作を実行する段階と、前記データ要求に含まれる前記データが前記新しいインスタンスのサービスのための前記ディスク内に存在しないとの判断に応じて、前記高移行優先度の前記データを前記元のインスタンスのサービスのための前記ディスクから、前記新しいインスタンスのサービスのための前記ディスクに行し、前記データの前記移行が完了すると前記新しいインスタンスのサービスのための前記ディスクに対し、前記データ要求に含まれるデータ操作を実行する段階と、を含む。 In one embodiment, processing a data request in the processing queue of the new instance determines whether data included in the data request resides in the disk for servicing of the new instance; Performing a data operation included in the data request on the disk for servicing the new instance in response to determining that the data included in the request resides in the disk for servicing the new instance. and, in response to determining that the data included in the data request is not present in the disk for servicing of the new instance, transferring the data of high migration priority to servicing of the original instance. from the disk for servicing the new instance to the disk for servicing the new instance, and when the migration of the data is complete, transfer the data contained in the data request to the disk for servicing the new instance and performing the operation.

一実施形態では、ソースクラスタ及びターゲットクラスタは、異なる利用可能ゾーン内に構成される。 In one embodiment, the source cluster and target cluster are configured in different Availability Zones.

一実施形態では、クラウドサービスは、クラウドコンピューティングサービスを提供するためのクラウドサーバとして構成される。別の実施形態において、ソースクラスタは、少なくとも1つのクラウドサーバのクラウドサーバクラスタを含み、ターゲットクラスタは、少なくとも1つのクラウドサーバのクラウドサーバクラスタを含む。 In one embodiment, the cloud service is configured as a cloud server for providing cloud computing services. In another embodiment, the source cluster comprises a cloud server cluster of at least one cloud server and the target cluster comprises a cloud server cluster of at least one cloud server.

一実施形態では、本開示は、クラウドサービス移行装置を提供し、前記装置は、ソースクラスタ内クラウドサービスに関連する移行要求を取得するよう構成された移行要求取得ユニットであり、前記移行要求は、前記ソースクラスタからターゲットクラスタに前記クラウドサービスを移行するためのスケジュールされた移行時間を含む、移行要求取得ユニットと、前記スケジュールされた移行時間に基づいて、前記クラウドサービスの元のインスタンスに関連付けられるディスクデータを、前記ターゲットクラスタ内にインスタンス化された前記クラウドサービスの新しいインスタンスのサービスのための前記ターゲットクラスタ内に割り当てられたディスクに移行するよう構成されたディスク移行ユニットであり、前記ディスクデータの前記移行は前記ディスクデータの移行優先度順位に基づいて実行される、ディスク移行ユニットと、前記元のインスタンスのサービスのためのディスクに対する前記クラウドサービスのデータ操作を前記新しいインスタンスのサービスのための前記ディスクに対するデータ操作として構成するよう構成されたデータ操作構成ユニットと、を備える。 In one embodiment, the present disclosure provides a cloud service migration device, said device being a migration request acquisition unit configured to acquire a migration request related to a cloud service in a source cluster, said migration request comprising: , a migration request acquisition unit comprising a scheduled migration time for migrating the cloud service from the source cluster to a target cluster; and associated with an original instance of the cloud service based on the scheduled migration time. a disk migration unit configured to migrate disk data to a disk allocated within the target cluster for servicing of a new instance of the cloud service instantiated within the target cluster ; is performed based on the migration priority of the disk data, a disk migration unit and a data operation of the cloud service to a disk for the service of the original instance for the service of the new instance; a data manipulation configuration unit configured to configure data manipulation for the disc.

一実施形態では、本開示は、電子デバイスを提供し、前記電子デバイスは、メモリ及びプロセッサを備え、前記メモリは、前記プロセッサに結合され、前記プロセッサにより読み取られて実行されると前記電子デバイスに、ソースクラスタ内にホストされたクラウドサービスに関連する移行要求を取得する段階であり、前記移行要求は前記クラウドサービスを前記ソースクラスタからターゲットクラスタに移行するためのスケジュールされた移行時間を含む、段階と、前記スケジュールされた移行時間に基づいて、前記クラウドサービスの元のインスタンスに関連付けられるディスクデータを前記ターゲットクラスタ内にインスタンス化された前記クラウドサービスの新しいインスタンスのサービスのためのディスクに移行する段階であり、前記ディスクデータの前記移行は、前記ディスクデータの移行優先度順位に基づいて実行される、段階と、前記元のインスタンスのサービスのためのディスクに対する前記クラウドサービスのデータ操作を前記新しいインスタンスのサービスのための前記ディスクに対するデータ操作として構成する段階と、を実行させるコンピュータ可読命令を格納するよう構成される。 In one embodiment, the present disclosure provides an electronic device, said electronic device comprising a memory and a processor, said memory coupled to said processor, said memory being read and executed by said processor to provide said electronic device with , obtaining a migration request associated with a cloud service hosted in a source cluster, said migration request including a scheduled migration time for migrating said cloud service from said source cluster to a target cluster; and migrating disk data associated with the original instance of the cloud service to disks for services of a new instance of the cloud service instantiated in the target cluster based on the scheduled migration time. wherein the migration of the disk data is performed based on the migration priority of the disk data; and configuring as data operations on the disk for the service of ;

一実施形態では、本開示は、クラウドサービス移行方法を提供し、前記方法は、ソースクラスタ内にホストされたクラウドサービスに関連する移行要求を取得する段階であり、前記移行要求は、前記ソースクラスタからターゲットクラスタに前記クラウドサービスを移行するためのスケジュールされた移行時間を含む、段階と、前記スケジュールされた移行時間に基づいて、前記クラウドサービスの元のインスタンスに関連付けられるディスクデータを前記ターゲットクラスタ内にインスタンス化された前記クラウドサービスの新しいインスタンスのサービスのためのディスクに移行する段階であり、前記ディスクデータの前記移行は前記ディスクデータの移行優先度順位に基づいて実行される、段階と、前記元のインスタンスのサービスのためのディスクに対する前記クラウドサービスのデータ操作を前記新しいインスタンスのサービスのための前記ディスクに対するデータ操作として構成する段階と、を備える。 In one embodiment, the present disclosure provides a cloud service migration method, said method comprising obtaining a migration request related to a cloud service hosted in a source cluster, said migration request and transferring disk data associated with the original instance of the cloud service to the target cluster based on the scheduled migration time. migrating to a disk for service of a new instance of the cloud service instantiated in a new instance of the cloud service, wherein the migration of the disk data is performed based on a migration priority of the disk data; configuring the cloud service 's data operations on the disk for the original instance of the service as data operations on the disk for the new instance of the service .

様々な実施形態によると、クラウドサービス移行方法は、クラウドサービスをソースクラスタからターゲットクラスタに移行する処理において、ユーザにより指定され、クラウドサービスに対する移行要求に含まれるスケジュールされた移行時間に基づいて、ソースクラスタ内のクラウドサービスのディスクデータが、スケジュールされた移行時間に基づいてターゲットクラスタに移行され、ソースクラスタ内のディスクに対するクラウドサービスのデータ操作が、ターゲットクラスタ内のディスクに対するデータ操作として再構成されてターゲットクラスタ内の新しいインスタンスを介してサービスを提供する、ことを提供する。このように、クラウドサービスは、ソースクラスタからターゲットクラスタに、簡素化された技術を用いて移行され、クラウドサービスインスタンスにより提供されるクラウドサービスの中断により生ずる潜在的なサービス中断時間を削減し、それによりサービス移行における改善された効率及び利便性を実現する。 According to various embodiments, a cloud service migration method, in the process of migrating a cloud service from a source cluster to a target cluster, is based on a scheduled migration time specified by a user and included in a migration request for the cloud service. The cloud service disk data in the cluster is migrated to the target cluster based on the scheduled migration time, and the cloud service data operations on disks in the source cluster are reconfigured as data operations on disks in the target cluster. Provide a service through a new instance in the target cluster. In this manner, cloud services are migrated from a source cluster to a target cluster using simplified techniques to reduce potential service disruption times caused by interruptions in cloud services provided by cloud service instances and achieves improved efficiency and convenience in service migration.

本開示の幾つかの実施形態に係るクラウドサービス移行のための方法を示すフロー図である。FIG. 2 is a flow diagram illustrating a method for cloud service migration according to some embodiments of the present disclosure;

本開示の幾つかの実施形態に係るクラウドサーバ移行を示す概略図である。FIG. 4 is a schematic diagram illustrating cloud server migration according to some embodiments of the present disclosure;

本開示の幾つかの実施形態に係るクラウドサーバインスタンスのサービスのためのディスクの移行を示す概略図である。FIG. 3 is a schematic diagram illustrating disk migration for servicing a cloud server instance according to some embodiments of the present disclosure;

本開示の幾つかの実施形態に係るクラウドサービス移行の装置を示すブロック図である。1 is a block diagram illustrating an apparatus for cloud service migration according to some embodiments of the present disclosure; FIG.

本開示の幾つかの実施形態に係るクラウドサービス移行に対する電子デバイスを示すブロック図である。1 is a block diagram illustrating an electronic device to cloud service migration according to some embodiments of the present disclosure; FIG.

本開示の完全な理解を容易にするために、多くの特定の詳細が次の説明において明らかにされる。しかし、本開示は、本明細書に記載されている以外の多くの他の方式で実装されることができ、当業者は本開示の本質から逸脱することなく同様の導出を行うことができ、本開示は以下で説明される特定の実装によって限定されない。 Numerous specific details are set forth in the following description to facilitate a thorough understanding of the present disclosure. However, the present disclosure can be implemented in many other ways than those described herein, and similar derivations can be made by those skilled in the art without departing from the essence of the disclosure, The disclosure is not limited by the particular implementations described below.

本開示は、クラウドサービスのための方法、装置、及び電子デバイスを提供する。以下における図面は、以下に詳細に説明される本開示の幾つかの実施形態である。 The present disclosure provides methods, apparatus, and electronic devices for cloud services. The drawings below are some embodiments of the present disclosure, which are described in detail below.

図1は、本開示の幾つかの実施形態に係るクラウドサービス移行のための処理を示す。図1に示されるように、クラウドサービス移行の処理は以下のステップを含む。示される実施形態では、本明細書に説明される方法は、クラウドコンピューティングプラットフォーム又は同様のシステムによって実行されてよい。 FIG. 1 illustrates a process for cloud service migration according to some embodiments of the present disclosure. As shown in FIG. 1, the process of cloud service migration includes the following steps. In the illustrated embodiment, the methods described herein may be performed by a cloud computing platform or similar system.

ステップS101.ソースクラスタ内にホストされるクラウドサービスに関連する移行要求を取得する。 Step S101. Retrieve migration requests related to cloud services hosted within the source cluster.

本明細書で使用されるように、クラウドサービスは、基本的なクラウドコンピューティングサービスを提供するクラウドサーバ(例えば、Elastic Compute Service (ECS))を指す。クラウドサーバを使用するユーザは、事前にハードウェアデバイスを購入する必要はない。代りに、ユーザは、サービスの必要に基づいて要求される数のクラウドサーバインスタンスを作成する。クラウドサーバの使用の間、実際のサービスにおける変化に基づいて、クラウドサーバに関して、ユーザは、ディスクボリュームを拡大又は削減、ネットワーク帯域幅を増加又は減少する等してよい。幾つかのシナリオでは、ユーザは、もはや使用されないクラウドサーバに関連付けられるリソースを解放してよい。仮想コンピューティング環境として、クラウドサーバインスタンスは、CPU、メモリ、オペレーティングシステム、ディスク、ネットワーク帯域幅等のような必要なサーバリソースコンポーネントを含む。クラウドサーバインスタンスは、クラウドサーバにより、各ユーザ、仮想マシンである各クラウドサーバインスタンスに提供されるオペレーティングエンティティである。ユーザは、クラウドサーバインスタンスに関連付けられる管理権限を介して、クラウドサーバインスタンス上で、ディスクのマウント、キャッシュ、イメージミラーリング、環境開発等のような動作を実行してよい。 As used herein, cloud service refers to a cloud server (eg, Elastic Compute Service (ECS)) that provides basic cloud computing services. Users who use cloud servers do not need to purchase hardware devices in advance. Instead, users create as many cloud server instances as required based on service needs. During the use of the cloud server, the user may increase or decrease the disk volume, increase or decrease the network bandwidth, etc. with respect to the cloud server, based on changes in the actual service. In some scenarios, users may release resources associated with cloud servers that are no longer in use. As a virtual computing environment, a cloud server instance includes necessary server resource components such as CPU, memory, operating system, disk, network bandwidth, and so on. A cloud server instance is an operating entity provided by a cloud server to each user, each cloud server instance being a virtual machine. A user may perform operations such as disk mounting, caching, image mirroring, environment development, etc. on a cloud server instance through administrative privileges associated with the cloud server instance.

一般的に、地理的地域は、1又は複数の利用可能ゾーンを用いて構成される。本明細書で使用されるように、利用可能ゾーンは、同じ領域内の1又は複数のデータセンタを指し、電力供給、通信ネットワーク等のようなインフラストラクチャは互いから切り離される。このように、障害は利用可能ゾーンの間で切り離され、クラウドサーバインスタンスのネットワーク遅延は、同じ利用可能ゾーン内でより低い。クラウドサーバインスタンスを同じ利用可能ゾーン内に配置するかどうかは、耐障害性及びネットワーク遅延感度の要件に依存する。耐障害性に対する高まった要件がある場合、クラウドサーバインスタンスは、同じ地理的地域の異なる利用可能ゾーン内に導入される。ネットワーク遅延感度に対する高まった要件がある場合、クラウドサーバインスタンスは、同じ地理的地域の同じ利用可能ゾーン内に導入される。一般的に、利用可能ゾーン内のデータセンタは、複数のクラウドサーバのクラウドサーバクラスタである。一例では、互いから分離して導入される複数のクラウドサーバクラスタは、同じ利用可能ゾーン内にある。 A geographic region is typically constructed using one or more Availability Zones. As used herein, an availability zone refers to one or more data centers within the same region, with infrastructure such as power supply, communication networks, etc. separated from each other. In this way, faults are isolated between Availability Zones and network latency of cloud server instances is lower within the same Availability Zone. Whether to place cloud server instances within the same availability zone depends on the requirements of fault tolerance and network delay sensitivity. With increased requirements for fault tolerance, cloud server instances are deployed within different availability zones of the same geographical region. With increased requirements for network delay sensitivity, cloud server instances are deployed within the same availability zone in the same geographical region. Typically, a data center within an availability zone is a cloud server cluster of multiple cloud servers. In one example, multiple cloud server clusters that are deployed separately from each other are within the same availability zone.

様々な実施形態によると、クラウドサービス移行の方法は、クラウドサーバを、同じ地理的地域内の利用可能ゾーンを超えて移行する、又はクラウドサーバを、1つの地理的地域内の利用可能ゾーンから別の地理的地域内の利用可能ゾーンに移行するためにあってよい。幾つかの実施形態では、2つの利用可能ゾーンの間で、第1利用可能ゾーン内の第1クラウドサーバクラスタ内のクラウドサーバが、第2利用可能ゾーン内の第2クラウドサーバクラスタに移行される。
換言すると、クラウドサーバは、ソースクラウドサーバクラスタ(ソースクラスタ)からターゲットクラウドサーバクラスタ(ターゲットクラスタ)に移行される。
According to various embodiments, a method of cloud service migration migrates cloud servers across availability zones within the same geographic region, or migrates cloud servers from one availability zone to another within one geographic region. may be to migrate to an availability zone within the geographic region of In some embodiments, between two Availability Zones, a cloud server in a first cloud server cluster in a first Availability Zone is migrated to a second cloud server cluster in a second Availability Zone. .
In other words, cloud servers are migrated from a source cloud server cluster (source cluster) to a target cloud server cluster (target cluster).

クラウドサーバをソースクラウドサーバクラスタからターゲットクラウドサーバクラスタに移行することにおいて、移行のためのクラウドサーバの数は固定されず、実際のサービス要件に基づいて決定される。簡単のため、単一のクラウドサーバのみが、例として移行について示されるが、複数のクラウドサーバの移行も同様であり、本明細書に詳細には説明されない。 In migrating cloud servers from a source cloud server cluster to a target cloud server cluster, the number of cloud servers for migration is not fixed, but determined based on actual service requirements. For simplicity, only a single cloud server is shown for migration as an example, but multiple cloud server migration is similar and will not be described in detail herein.

このステップにおいて、ソースクラウドサーバクラスタ内でホストされたクラウドサーバに関連する移行要求が取得される。一実施形態では、移行要求は、クラウドサーバをソースクラウドサーバクラスタからターゲットクラウドサーバクラスタに移行するためのスケジュールされた移行時間を含む。換言すると、クラウドサーバは、事前にスケジュールされた方式で移行される。例えば、スケジュールされた移行時間は、タイマを使用してスケジュールされることができる。タイマがトリガされると(例えば、タイマによる現在時刻が移行の予定時刻に達するまでの時間の経過)、移行処理が実行されて、クラウドサーバがソースクラウドサーバクラスタからターゲットクラウドサーバクラスタに移行される。図2に示されるように、特定の時点にてクラウドサーバをソースクラウドサーバクラスタからターゲットクラウドサーバクラスタに移行するために、ユーザが、移行されるクラウドサーバに対する移行処理(201)をスケジュールする。一実施形態では、タイマは、ユーザによって指定された時間に基づいて、スケジュールされた移行時間に満了するように構成される。タイマがトリガされると(207)(例えば、タイマによる現在時刻がスケジュールされた移行時間に達する)、移行処理が開始されて、実行(209、211)されてクラウドサーバが移行される。 In this step, migration requests associated with cloud servers hosted in the source cloud server cluster are obtained. In one embodiment, the migration request includes a scheduled migration time for migrating a cloud server from a source cloud server cluster to a target cloud server cluster. In other words, cloud servers are migrated in a pre-scheduled manner. For example, scheduled transition times can be scheduled using timers. When the timer is triggered (e.g., the time elapses until the timer's current time reaches the migration's scheduled time), a migration process is performed to migrate the cloud servers from the source cloud server cluster to the target cloud server cluster. . As shown in Figure 2, in order to migrate a cloud server from a source cloud server cluster to a target cloud server cluster at a specific time, a user schedules a migration process (201) for the migrated cloud server. In one embodiment, the timer is configured to expire at the scheduled transition time based on the time specified by the user. When the timer is triggered (207) (eg, the current time according to the timer reaches the scheduled migration time), the migration process is initiated and executed (209, 211) to migrate the cloud server.

幾つかの実施形態では、クラウドサーバに関連する移行処理がスケジュールされた後(203)(例えば、移行時間がユーザにより指定される)、スケジュールされた移行時間は、実際のサービス要件のため、変更される必要があってよい(205)。例えば、クラウドサーバインスタンスによりホストされたクラウドサービスにより提供されるユーザサービスがビジーであると、スケジュールされた移行時間は延期される必要がある。このシナリオにおいて、スケジュールされた移行時間は、それゆえに、ユーザにより指定された後の時間に変更されることができる。同様に、クラウドサーバインスタンスによりホストされるクラウドサービスにより提供されるユーザサービスのプロモーションが期待される結果を超えると、1つの新しい利用可能ゾーン内のクラウドサーバを配置する元のプランが、それゆえに、複数の新しい利用可能ゾーン内のクラウドサーバを配置するよう調整されることができる。さらに、移行タスクが、1つのターゲットクラウドサーバクラスタから複数のターゲットクラウドサーバクラスタへの移行タスクに対応して、ターゲットクラウドサーバクラスタを変更するよう、変更されることもできる。これは、クラウドサーバを新しく割り当てられる利用可能ゾーン内のクラウドサーバクラスタに移行する移行タスクを追加することに等価である。 In some embodiments, after the migration process associated with the cloud server is scheduled (203) (eg, the migration time is specified by the user), the scheduled migration time may vary due to actual service requirements. (205). For example, if user services provided by a cloud service hosted by a cloud server instance are busy, the scheduled migration time should be postponed. In this scenario, the scheduled transition time can therefore be changed to a later time specified by the user. Similarly, if the promotion of user services provided by cloud services hosted by a cloud server instance exceeds the expected results, the original plan to place cloud servers within one new Availability Zone may therefore be: It can be coordinated to place cloud servers in multiple new Availability Zones. Further, the migration task can also be modified to change the target cloud server cluster in response to the migration task from one target cloud server cluster to multiple target cloud server clusters. This is equivalent to adding a migration task to migrate the cloud server to a cloud server cluster within the newly assigned availability zone.

ステップS102.スケジュールされた移行時間に基づいて、クラウドサービスの元のインスタンスに関連付けられるディスクデータをターゲットクラスタ内にインスタンス化されたクラウドサービスの新しいインスタンスのサービスのためのディスクに移行する。 Step S102. Based on the scheduled migration time, migrate disk data associated with the original instance of the cloud service to disks for the service of the new instance of the cloud service instantiated in the target cluster.

上記のステップS101では、クラウドサーバをソースクラウドサーバクラスタからターゲットクラウドサーバクラスタに移行するための移行要求が取得され、移行時間が、移行要求に含まれるスケジュールされた移行時間に基づいて決定される。ステップS102では、ソースクラウドサーバクラスタ内のクラウドサーバの元のインスタンスに関連付けられるディスクデータが、スケジュールされた移行時間に基づいて、ターゲットクラウドサーバクラスタ内でインスタンス化されクラウドサーバの新しいインスタンスのサービスのためのディスクに移行される。 In step S101 above, a migration request for migrating a cloud server from a source cloud server cluster to a target cloud server cluster is obtained, and a migration time is determined based on a scheduled migration time included in the migration request. In step S102, the disk data associated with the original instance of the cloud server in the source cloud server cluster is transferred to the services of the new instance of the cloud server instantiated in the target cloud server cluster based on the scheduled migration time. is migrated to disk for

本開示の幾つかの実施形態では、ソースクラウドサーバクラスタ内のクラウドサーバの元のインスタンスに関連付けられるディスクデータが、ターゲットクラウドサーバクラスタ内でインスタンス化されクラウドサーバの新しいインスタンスのサービスのためのディスクに移行される前に、以下の手順が実行される。 In some embodiments of the present disclosure, the disk data associated with the original instance of the cloud server in the source cloud server cluster is the disk data for the service of the new instance of the cloud server instantiated in the target cloud server cluster. Before moving to , the following steps are performed:

1)ターゲットクラウドサーバクラスタ内のクラウドサーバの新しいインスタンスをインスタンス化する。 1) Instantiate a new instance of the cloud server in the target cloud server cluster.

上記のステップS101を介してソースクラウドサーバクラスタ内のクラウドサーバをターゲットクラウドサーバクラスタに移行するための移行要求を取得した後、クラウドサーバをソースクラウドサーバクラスタからターゲットクラウドサーバクラスタに移行する処理の間、まずクラウドサーバのインスタンス(例えば、新しいインスタンス)、ターゲットクラウドサーバクラスタ内にンスタンス化される。図2に示されるように、特定のスケジュールされた移行時間にて、クラウドサーバをソースクラウドサーバクラスタからターゲットクラウドサーバクラスタに移行するために、クラウドサーバに対する移行要求が取得された後、クラウドサーバに対する移行処理が、移行要求内に含まれるスケジュールされた移行時間に関連付けられるトリガ(207)に基づいて実行される(209、211)。この例では、クラウドサーバの新しいインスタンスが、ターゲットクラウドサーバクラスタ内でインスタンス化される。 During the process of migrating the cloud server from the source cloud server cluster to the target cloud server cluster after obtaining the migration request for migrating the cloud server in the source cloud server cluster to the target cloud server cluster via step S101 above. , first a cloud server instance (eg, a new instance) is instantiated in the target cloud server cluster. As shown in FIG. 2, at a specific scheduled migration time, after a migration request to the cloud server is obtained to migrate the cloud server from the source cloud server cluster to the target cloud server cluster, A migration process is performed (209, 211) based on a trigger (207) associated with the scheduled migration time contained within the migration request. In this example, a new instance of cloud server is instantiated within the target cloud server cluster.

2)クラウドサーバの新しいインスタンス及び新しいインスタンスに関連付けられるリソースコンポーネントを構成する。 2) Configure a new instance of the cloud server and resource components associated with the new instance.

上で説明したように、クラウドサーバインスタンスは、CPU、メモリ、オペレーティングシステム、ディスク、ネットワーク帯域幅等のような必要なサーバリソースコンポーネントを含む仮想コンピューティング環境である。一実施形態では、クラウドサーバにより使用されるリソースは、3つのカテゴリ、インスタンス、ネットワーク接続、及びストレージ(例えば、ディスク)に分類される。以下は、インスタンスリソース及びネットワークリソースの移行プロセスを、ターゲットクラウドサーバクラスタ内でインスタンス化されるクラウドサーバの新しいインスタンスの構成及び新しいインスタンスのリソースコンポーネントの構成を説明する例として示す。 As explained above, a cloud server instance is a virtual computing environment that includes necessary server resource components such as CPU, memory, operating system, disk, network bandwidth, and so on. In one embodiment, resources used by cloud servers are classified into three categories: instances, network connections, and storage (eg, disks). The migration process of instance resources and network resources is provided below as an example to illustrate the configuration of a new instance of a cloud server instantiated in a target cloud server cluster and the configuration of resource components of the new instance.

a.クラウドサーバの新しいインスタンス。 a. A new instance of a cloud server.

本明細書で使用されるように、クラウドサーバのインスタンスは、CPU及びメモリリソースの収集された利用を指し、構成はその構成を通じて示される。例えば、{コア:2、メモリ:2048}の構成に対して、2つのコアのCPU及び2ギガバイトのサイズのメモリで構成されるインスタンスを示す。クラウドサーバの管理は、クラウドサーバ上の移行管理を必要機能として含む上位層のクラウドコントロールシステムにより実装される。このように、クラウドサーバのインスタンスの移行は、クラウドコントロールシステムにより実装され、クラウドコントロールシステムは、ソースクラウドサーバクラスタ内のクラウドサーバの元のインスタンスを解放し、クラウドサーバの元のインスタンスの構成情報に基づく同じ構成でのインスタンス化要求をターゲットクラウドサーバクラスタに送信し、ターゲットクラウドサーバクラスタ内でインスタンス化される新しいインスタンスを同じ構成で構成する。クラウドサーバのインスタンスの移行は、構成が完了すると完了する(213)。幾つかの実施形態では、移行を完了した後、スケジュールされた移行時間が削除される(215)。 As used herein, a cloud server instance refers to the aggregated utilization of CPU and memory resources, and configuration is indicated through that configuration. For example, for a configuration of {cores: 2, memory: 2048}, we show an instance configured with two cores of CPU and a memory of size 2 gigabytes. Cloud server management is implemented by a higher layer cloud control system that includes migration management on cloud servers as a required function. Thus, the migration of cloud server instances is implemented by the cloud control system, which releases the original instance of the cloud server in the source cloud server cluster and restores the configuration information of the original instance of the cloud server. to the target cloud server cluster to configure a new instance to be instantiated in the target cloud server cluster with the same configuration. The cloud server instance migration is complete (213) once the configuration is complete. In some embodiments, after completing the migration, the scheduled migration time is deleted (215).

さらに、実装では、クラウドサーバインスタンスによりホストされるクラウドサービスにより提供されるユーザサービスのスケールの増大に伴って、ユーザは、クラウドサービスが、ユーザサービスをより大きなスケールでサポートすることを意図する。換言すると、クラウドサービスを提供するクラウドサーバの新しいインスタンスは、より多くのリソースで構成される必要がある。クラウドサーバの新しいインスタンスの構成が元のインスタンスのそれと異なるような場合に、クラウドサーバの新しいインスタンスを構成するための構成インタフェースが提供される。このように、ユーザは、構成インタフェースを介して自己定義された新しいインスタンスの構成情報を送信する。その後、ユーザにより送信された構成情報が構成インタフェースにおいて取得される。新しいインスタンスは、取得された構成情報に基づいて構成されて、ユーザサービスの要件をより適切に適応する。 Further, in implementations, as the scale of user services provided by cloud services hosted by cloud server instances increases, the user intends that the cloud services will support the user services on a larger scale. In other words, new instances of cloud servers that provide cloud services need to be configured with more resources. A configuration interface is provided for configuring a new instance of a cloud server, such that the configuration of the new instance of the cloud server differs from that of the original instance. Thus, a user submits configuration information for a new self-defined instance via the configuration interface. The configuration information submitted by the user is then obtained at the configuration interface . The new instance is configured based on the obtained configuration information to better adapt the user service requirements.

b.クラウドサーバのネットワーク。 b. Network of cloud servers.

一実施形態では、ネットワーク移行は、クラウドコントロールシステムによりクラウドサーバに関連付けられるネットワークポートを割り当てるとともに解放するルーティング通知処理により実装される。一例では、そのような処理は、ターゲットクラウドサーバクラスタ内のクラウドサーバに対するネットワークポートを割り当てること、クラウドコントロールシステムにより転送されるネットワーク構成情報に基づいて、クラウドサービスをソースクラウドサーバクラスタにおけるネットワークポートから解放すること、クラウドサービスをターゲットクラウドサーバクラスタ内に割り当てられるネットワークポートに構成すること、ルーティング更新及びアドレス解決プロトコル(ARP)アドバタイズを完了することを含む。このように、端末ポートは、ブロードキャストを介してクラウドサーバに関連付けられるネットワークポートがソースクラウドサーバクラスタからターゲットクラウドサーバクラスタに変更されことを通知される。 In one embodiment, network migration is implemented by a routing notification process that allocates and releases network ports associated with cloud servers by the cloud control system. In one example, such processing includes assigning network ports for cloud servers in the target cloud server cluster, releasing cloud services from network ports in the source cloud server cluster based on network configuration information transferred by the cloud control system. configuring cloud services to assigned network ports in the target cloud server cluster; completing routing updates and Address Resolution Protocol (ARP) advertisements. In this way, terminal ports are notified via broadcast that the network port associated with the cloud server is changed from the source cloud server cluster to the target cloud server cluster.

一実施形態では、ネットワーク移行の間、ユーザは、移行の前後でIPアドレスをキープする。このように、所有のネットワークの地理的地域において、IPアドレスは、地理的地域内のすべて利用可能ゾーンにおいて到達可能である。代替的に、ユーザは、IPアドレスを変更することを選択してよい。この場合に、新しい関係のみが、移行前のIPアドレスと移行後のIPアドレスの間をマッピングするために確立される必要がある。しかし、地理的地域の全体からIPアドレスにアクセスすると、時折、ネットワークアクセスの品質が低下することを導く。従って、ネットワークアクセス品質を保証するために、一例において、IPアドレスの移行は、IPアドレスが同じ地理的地域内に属しているときのみ実行され、サービスへのアクセスの高い効率を保証する。 In one embodiment, during a network migration, users keep their IP addresses before and after the migration. Thus, in the geographic area of the proprietary network, IP addresses are reachable in all availability zones within the geographic area. Alternatively, the user may choose to change the IP address. In this case, only new relationships need to be established to map between pre-migration and post-migration IP addresses. However, accessing IP addresses from across geographic regions sometimes leads to poor network access quality. Therefore, to ensure network access quality, in one example IP address migration is performed only when the IP addresses belong within the same geographical region, ensuring high efficiency of access to services.

3)ソースクラウドサーバクラスタ内で元のインスタンスを終了し、リソースコンポーネントに基づいてターゲットクラウドサーバクラスタ内にインスタンス化される新しいインスタンスを開始する。 3) Terminate the original instance in the source cloud server cluster and start a new instance instantiated in the target cloud server cluster based on the resource component.

このステップでは、上記の動作における新しいインスタンス及び新しいインスタンスのリソースコンポーネントを構成した後、クラウドサーバの元のインスタンスがソースサーバクラスタにて終了される。次に、クラウドサーバの新しいインスタンスが、リソースコンポーネントに基づいて開始され、クラウドサーバの新しいインスタンスが、ユーザにサービスを提供できるようになる。 In this step, after configuring the new instance and resource components of the new instance in the above operation, the original instance of the cloud server is terminated at the source server cluster. A new instance of the cloud server is then started based on the resource component, and the new instance of the cloud server is ready to serve users.

一実施形態では、ソースクラウドサーバクラスタ内のクラウドサーバの元のインスタンスに関連付けられるディスクデータが、スケジュールされた移行時間に基づいて、ターゲットクラウドサーバクラスタ内でインスタンス化されクラウドサーバの新しいインスタンスのサービスのためのディスクに移行される前に、以下の手順が実行される。動作は、元のインスタンスのサービスのためのディスクに対するクラウドサービスのデータ操作(読み取り及び書き込み処理を含む)を停止することを含む。動作は、さらに、ターゲットクラウドサーバクラスタにおける新しいインスタンスのサービスのためのディスクを割り当てることを含み、これに基づいて、ソースクラウドサーバクラスタ内のクラウドサーバの元のインスタンスに関連付けられるディスクデータが、ターゲットクラウドサーバクラスタ内にインスタンス化されクラウドサーバの新しいインスタンスのサービスのためのディスクに移行される。実装では、クラウドサーバの元のインスタンス及びクラウドサーバの新しいインスタンスは、それぞれ、独自の処理キューを有する。そのような処理キューは、元のインスタンスの処理キューと新しいインスタンスの処理キューとが含まれ、元のインスタンスの処理キューには、元のインスタンスのサービスのためのディスクに対するクラウドサーバのデータ操作を含むデータ要求(読み取り又は書き込み要求を含む)が処理のためにエンキューされ、新しいインスタンスの処理キューには、新しいインスタンスのサービスのためのディスクに対するクラウドサーバのデータ操作を含む読み取り又は書き込み要求が処理のためにエンキューされる In one embodiment, disk data associated with the original instance of the cloud server in the source cloud server cluster is serviced by the new instance of the cloud server instantiated in the target cloud server cluster based on the scheduled migration time. Before it is migrated to disk for , the following steps are performed: The action includes stopping the cloud service's data operations (including read and write operations) to disks for the original instance 's service . The operations further include allocating a disk for the service of the new instance in the target cloud server cluster, on the basis of which disk data associated with the original instance of the cloud server in the source cloud server cluster is transferred to the target cloud server cluster. migrated to disk for service on new instances of cloud servers instantiated within the cloud server cluster. In implementations, the original instance of the cloud server and the new instance of the cloud server each have their own processing queue. Such processing queues include the original instance's processing queue and the new instance's processing queue, where the original instance's processing queue includes the cloud server's data operations on disks for service of the original instance. data requests (including read or write requests) are enqueued for processing, and the new instance's processing queue contains read or write requests, including cloud server data operations to disks for the new instance 's services, are queued for processing. Enqueued for

図3、本開示の幾つかの実施形態に係るクラウドサービスのサービスのためのディスクの移行を示すフロー図に移る。図3に示されるように、ディスクA(301)は、ソースサーバクラスタに割り当てられて、移行されるクラウドサーバをサービスする。クラウドサーバは、ディスクAからデータを読み取り、それにデータを書き込むように構成される。クラウドシステムの上位層がディスクA(301)に関連する移行命令を発行すると、ディスクA(301)は読み取り及び書き込み処理のすべてを停止するよう構成される。さらに、元のインスタンスの処理キューは、そこにエンキューされた読み取り及び書き込み要求を処理することを停止する。また、ディスクA(301)は、削除予定の状態でマーキングされる。クラウドサーバのサービスのためのディスクB(303)は、ターゲットクラウドサーバクラスタ内で割り当てられ、その後、ディスクB(303)は、読み取り及び書き込みサービスを提供することを開始するよう構成される。例えば、ディスクB(303)に対する読み取り又は書き込み動作を含む読み取り又は書き込み要求は、新しいインスタンスの処理キューにエンキューされ、新しいインスタンスの読み取り及び書き込み処理は、すべてディスクB(303)に対して実行される。元のインスタンスの処理キューが処理のためにそこで読み取り/書き込み要求をデキューするのを停止すると、元のインスタンスの処理キューにあり、処理が完了していない読み取り/書き込み要求が、処理のために新しいインスタンスの処理キューに転送される。 Turning to FIG. 3, a flow diagram illustrating disk migration for service of a cloud service according to some embodiments of the present disclosure. As shown in Figure 3, Disk A (301) is assigned to the source server cluster to serve the migrated cloud servers. The cloud server is configured to read data from disk A and write data to it. Disk A (301) is configured to stop all read and write operations when the upper layer of the cloud system issues a migration order relating to Disk A (301). Additionally, the original instance's processing queue stops processing read and write requests enqueued therein. Also, disk A (301) is marked to be deleted. Disk B (303) for cloud server services is allocated in the target cloud server cluster, after which Disk B (303) is configured to start providing read and write services. For example, a read or write request containing a read or write operation to disk B (303) is enqueued into the processing queue of the new instance, and all read and write operations of the new instance are performed to disk B (303). . When the original instance's processing queue stops dequeuing read/write requests there for processing, any read/write requests that were in the original instance's processing queue and have not completed processing are sent to a new queue for processing. transferred to the instance's processing queue.

幾つかの実施形態では、元のインスタンスに関連付けられるディスクデータは、バックグランドスレッドの実行を介して新しいインスタンスのサービスのためのディスクにコピーされる。一例では、移行優先度は、移行の間、ディスクデータに対して構成され、元のインスタンスに関連付けられるディスクデータの移行は、低移行優先度の構成を用いて開始される。移行の間、読み取り/書き込み処理が新しいインスタンスにより実行されると、データ要求内に含まれるデータが、新しいインスタンスのサービスのためのディスク内に存在するかどうかが判断される。データクラウドサーバの新しいインスタンスのサービスのためのディスク上に存在しないとの判断に応じて、データ要求に含まれるデータの移行優先度を高移行優先度に設定する。このように、元のインスタンスに関連付けられるディスクデータをターゲットクラスタ内でインスタンス化されたクラウドサービスの新しいインスタンスのサービスのためのディスクに移行する処理において、移行は移行優先度の降順で実行される。 In some embodiments, disk data associated with the original instance is copied to disk for servicing of the new instance via background thread execution. In one example, a migration priority is configured for disk data during migration, and migration of disk data associated with the original instance is initiated using a low migration priority configuration. During migration, as read/write operations are performed by the new instance, it is determined whether the data contained within the data request resides in the disk for service of the new instance. Setting the migration priority of the data contained in the data request to a high migration priority in response to determining that the data is not present on the disk for servicing of the new instance of the cloud server. Thus, in the process of migrating the disk data associated with the original instance to the disk for the service of the new instance of the cloud service instantiated in the target cluster, migration is performed in descending order of migration priority.

図3に示されるように、ディスクA(301)上のデータは、バックグランドスレッドの実行によりディスクB(303)にコピーされる。そのようなコピーの間、読み取り又は書き込み動作が新しいインスタンス上で実行されると、読み取り又は書き込み動作を含む読み取り又は書き込み要求に含まれるデータがディスクB(303)上に存在するかどうかが判断される。データがディスクB(303)上に存在するとの判断に応じて、読み取り又は書き込み要求に含まれる読み取り又は書き込み動作がディスクBに対して実行される。そうでなければ、新しいインスタンスに関連付けられるデータがディスクB(303)上に存在しない(例えば、要求されたデータがディスクB303にまだコピーされていない)との判断に応じて、新しいインスタンスに関連付けられるデータの移行優先度が、低移行優先度から高移行優先度に変更される。これに基づいて、読み取り又は書き込み要求内に含まれる読み取り又は書き込み動作がディスクB(303)に対して実行されることが完了すると、高移行優先度のデータ(例えば、新しいインスタンスに関連付けられるデータ)がディスクA(301)からディスクB(303)にコピーされる。この実装は、非同期データコピーの基礎であり、非同期データコピーは、クラウドサーバの新しいインスタンスがサービスの提供を開始する前に、ディスクA(301)上のデータがディスクB(303)に完全にコピーされるのを待つ必要はないことを導き、それにより、ユーザサービスに関連付けられる中断時間(例えば、ダウンタイム)を削減することができる。 As shown in Figure 3, data on disk A (301) is copied to disk B (303) by executing a background thread. During such copying, when a read or write operation is performed on the new instance, it is determined whether the data contained in the read or write request containing the read or write operation is present on disk B (303). be. Upon determining that data resides on disk B (303), the read or write operation included in the read or write request is performed to disk B. Otherwise, upon determining that the data associated with the new instance does not exist on disk B (303) (e.g., the requested data has not yet been copied to disk B 303), the The data migration priority is changed from low migration priority to high migration priority. Based on this, when the read or write operation contained within the read or write request completes being performed to disk B (303), the high migration priority data (e.g., data associated with the new instance) is copied from disk A (301) to disk B (303). This implementation is the basis for asynchronous data copy, in which the data on disk A (301) is completely copied to disk B (303) before the new instance of the cloud server starts serving the service. This leads to a reduction in downtime (eg, downtime) associated with user services.

一実施形態では、ディスクA(301)上のデータのディスクB(303)へのコピーは、元のインスタンスに関連付けられるディスクA(301)のデータを少なくとも1つのデータブロックに分割することにより実行され、元のインスタンスに関連付けられるディスクA(301)上のデータが、そのようなデータブロックの形態で新しいインスタンスのサービスのためのディスクB(303)にコピーされる。さらに、ディスクA(301)上のデータは、イメージミラーリングによりディスクB(303)にコピーされる。一例では、ディスクA(301)上のデータは、少なくとも1つのデータブロックに分割され、そして、各データブロックに対応するデータミラーリングイメージが作成され、ディスクA(301)上のデータはデータミラーリングに介してディスクB(303)にコピーされる。 In one embodiment, copying data on disk A (301) to disk B (303) is performed by splitting the data on disk A (301) associated with the original instance into at least one data block. , the data on disk A (301) associated with the original instance is copied to disk B (303) for service of the new instance in the form of such data blocks. Further, the data on disk A (301) is copied to disk B (303) by image mirroring. In one example, the data on Disk A (301) is divided into at least one data block, and a data mirroring image corresponding to each data block is created, and the data on Disk A (301) undergoes data mirroring. is copied to disk B (303).

さらに、データブロックがコピーされているかどうかをマーキングするフラグビットが、データブロックに対して構成されることができる。一例では、データブロックがディスクB(303)にコピーされていると、データブロックのフラグビットは1としてマーキングされ、データブロックがコピーされていないと、データブロックのフラグビットは0としてマーキングされる。これに基づいて、ディスクA(301)上のデータをディスクB(303)にコピーする処理において、既にコピーされたデータが、データブロックのフラグビットに基づいてディスクA(301)上のデータと比較され、ディスクA(301)上のデータのコピーの進行を判断する。実装では、ディスクA(301)上のデータのコピーの進行を判断するために使用される比較は、ユーザが、ディスクA(301)上のデータをディスクB(303)にコピーするリアルタイムのコピーの進行を取得することができる移行進行クエリインタフェースにカプセル化される。 Additionally, a flag bit can be configured for the data block that marks whether the data block has been copied. In one example, the data block's flag bit is marked as 1 if the data block has been copied to disk B (303), and the data block's flag bit is marked as 0 if the data block has not been copied. Based on this, in the process of copying the data on disk A (301) to disk B (303), the already copied data is compared with the data on disk A (301) based on the flag bit of the data block. to determine the progress of data copying on disk A (301). In an implementation, the comparison used to determine the progress of copying data on disk A (301) is based on the real-time copying of the data on disk A (301) to disk B (303) by the user. Encapsulated in a migration progress query interface that can retrieve progress.

一般的に、ディスク上のデータのサイズは、数百ギガバイト又は数テラバイトの大きさである。ディスクデータを約100GB/時間のスピードでコピーすることができると仮定すると、現在のシステムにより利用される技術では、コピーのためにミラーイメージにミラーリングされるディスクデータをコピーするのに数時間かかる。対照的に、本開示の技術的解決手段は、元のインスタンスにより提供されるサービスの終了からクラウドサービスの新しいインスタンスが開始される後に提供されるサービスの再開まで数えて、約2、3分のサービス中断時間を提供する。従って、本開示の技術的解決手段は、現在の移行技術に関連付けられる数時間又はより長いサービス中断時間と比較して、より効率的である。 Typically, the size of data on a disk is on the order of hundreds of gigabytes or terabytes. Assuming that disk data can be copied at a speed of about 100 GB/hour, the technology utilized by current systems takes several hours to copy disk data that is mirrored to a mirror image for copying. In contrast, the technical solution of the present disclosure takes about a few minutes, counting from the termination of the service provided by the original instance to the restart of the service provided after a new instance of the cloud service is started. Provide service downtime. Therefore, the technical solution of the present disclosure is more efficient compared to several hours or longer service interruption times associated with current migration techniques.

ここで、図1に戻って参照すると、処理は、さらにステップS103.元のインスタンスのサービスのためのディスクに対するクラウドサービスのデータ操作を新しいインスタンスのサービスのためのディスクに対するデータ操作として構成することを含む。 Now referring back to FIG. 1, the process further includes step S103. Including configuring the cloud service 's data operations on the disks for the original instance's service as the data operations on the disks for the new instance 's service .

上で説明したように、クラウドサービスの元のインスタンス及びクラウドサーバの新しいインスタンスの各々は、それらのそれぞれの処理キューを用いて構成される。一例では、元のインスタンスのサービスのためのディスクに対するクラウドサーバのデータ操作を含むデータ要求(例えば、読み取り又は書き込み要求を含む要求)は、元のインスタンスの処理キューに処理のためにエンキューされる。新しいインスタンスのサービスのためのディスクに対するクラウドサーバのデータ操作を含む読み取り又は書き込み要求は、処理のために新しいインスタンスの処理キューにエンキューされる。 As explained above, each of the original instance of the cloud service and the new instance of the cloud server is configured with their respective processing queues. In one example, data requests that include cloud server data manipulations to disks for services of the originating instance (eg, requests that include read or write requests) are enqueued to the processing queue of the originating instance for processing. Read or write requests involving cloud server data manipulations to disks for the new instance 's service are enqueued to the new instance's processing queue for processing.

スケジュールされた移行時間に基づいて、クラウドサーバの元のインスタンスに関連付けられるディスクデータをソースクラウドサーバクラスタから、ターゲットクラウドサーバクラスタ内にインスタンス化されるクラウドサーバの新しいインスタンスのサービスのためのディスクに、記のように移行することに基づいて、元のインスタンスのサービスのためのディスクに対するクラウドサーバのデータ操作、新しいインスタンスのサービスのためのディスクに対するデータ操作として構成され、それにより、クラウドサーバにより提供されるクラウドサービスをソースクラウドサーバクラスタからターゲットクラウドサーバクラスタに移行する。 based on the scheduled migration time, disk data associated with the original instance of the cloud server from the source cloud server cluster to the disks for service of the new instance of the cloud server instantiated in the target cloud server cluster; Based on the migration as described above , the cloud server's data operations on the disk for the original instance 's service are configured as data operations on the disk for the new instance's service , thereby allowing the cloud server to Migrate provided cloud services from a source cloud server cluster to a target cloud server cluster.

図3を参照すると、クラウドサーバ(305)(例えば、クラウドサービスを提供するクラウドサーバの元のインスタンス)は、データをディスクA(301)から読み取り、ディスクA(301)にデータを書き込む。クラウドシステムの上位層がディスクA(301)に関連する移行命令を発行すると、ディスクA(301)は、読み取り及び書き込み処理をすべて停止し、元のインスタンスの処理キューは、そこにエンキューされた読み取り要求及び書き込み要求を処理するのを停止する。さらに、ディスクA(301)は、削除予定の状態でマーキングされ、クラウドサーバのサービスのためのディスクB(303)、ターゲットクラウドサーバクラスタに割り当てられる。次に、ディスクB(303)割り当てられた後、ディスクB(303)は読み取り及び書き込み要求に対しサービス供給するのを開始し、ディスクB(303)に対する読み取り処理又は書き込み処理を含む読み取り要求又は書き込み要求が、新しいインスタンスの処理キューにエンキューされる。新しいインスタンスの読み取り処理及び書き込み処理は、すべてディスクB(303)に対して実行される。元のインスタンスの処理キューがそこにエンキューされた読み取り要求及び書き込み要求を処理するのを停止した後、まだ元のインスタンスの処理キュー内にあり、処理がまだ完了していない読み取り要求及び書き込み要求が、処理のために新しいインスタンスの処理キューに転送される。 Referring to FIG. 3, a cloud server (305) (eg, the original instance of a cloud server that provides cloud services) reads data from disk A (301) and writes data to disk A (301). When the upper layer of the cloud system issues a migration order related to Disk A (301), Disk A (301) stops all read and write processing, and the original instance's processing queue is cleared of the reads enqueued there. Stop processing requests and write requests. In addition, Disk A (301) is marked for deletion and Disk B (303) for cloud server service is assigned to the target cloud server cluster. Then, after Disk B (303) is allocated, Disk B (303) begins servicing read and write requests, and read or write requests involving read or write operations to Disk B (303). A write request is enqueued into the processing queue of the new instance. All new instance read and write operations are performed to disk B (303). Read and write requests that are still in the original instance's processing queue and have not yet completed processing after the original instance's processing queue has stopped processing read and write requests that were enqueued in it , is transferred to the new instance's processing queue for processing.

幾つかの実施形態では、クラウドサーバは、「ライブ移行」の方式でソースクラウドサーバクラスタからターゲットクラウドサーバクラスタに移行される。一例では、上記の移行と比較して、元のインスタンスのサービスのためのディスクに対するクラウドサーバの読み取り又は書き込み動作が停止される前に(例えば、元のインスタンスのサービスが停止される前に)、新しいインスタンスがインスタンス化され、当該インスタンスのサービスのためのディスクがターゲットクラウドサーバクラスタに割り当てられる。また、相応に新しいインスタンス及び新しいインスタンスのサービスのためのディスク構成され、その完了後に新しいインスタンスが開始される。新しいインスタンスが開始された後、元のインスタンスに関連付けられるメモリデータは、新しいインスタンスの実行に関連付けられるメモリにコピーされ、元のインスタンスの実行状態(例えば、CPU状態、レジスター状態)に関連する実行状態データがさらに、元のインスタンスの実行状態に関連する実行状態データが事前に構成された閾値より低くなるまで、新しいインスタンスにコピーされる。その後、元のインスタンスのサービスのためのディスク(例えば、ディスクA301)に対するクラウドサーバの読み取り処理及び書き込み処理が停止され、残りの実行状態データが新しいインスタンスにコピーされ、元のインスタンスのサービスのためのディスク(例えば、ディスクA301)に対するクラウドサーバのデータ操作が、新しいインスタンスのサービスのためのディスク(例えば、ディスクB303)に対するデータ操作として構成され、それにより、クラウドサーバの移行を実現する。クラウドサーバを移行するためにライブ移行技術を使用して、サービス中断時間はより短く、ミリ秒又はマイクロ秒のオーダー内で制御されることができ、クラウドサーバのより効率的な移行を実現する。 In some embodiments, cloud servers are migrated from a source cloud server cluster to a target cloud server cluster in a "live migration" fashion. In one example, compared to the migration above, before cloud server read or write operations to disks for service of the original instance are stopped (e.g., before service of the original instance is stopped): A new instance is instantiated and the disks for the instance 's services are allocated to the target cloud server cluster. Also, the disks for the new instance and services of the new instance are configured accordingly , and the new instance is started after its completion. After the new instance is started, the memory data associated with the original instance is copied to the memory associated with execution of the new instance, and the execution state associated with the original instance's execution state (e.g., CPU state, register state). Data is further copied to the new instance until the execution state data associated with the execution state of the original instance is below a preconfigured threshold. After that, the cloud server's read and write operations to the disk for the original instance 's service (e.g., disk A301) are stopped, the remaining running state data is copied to the new instance, and the A cloud server's data operations on a disk (eg, disk A 301) are configured as data operations on a disk (eg, disk B 303) for servicing a new instance, thereby realizing cloud server migration. Using live migration technology to migrate cloud servers, the service interruption time is shorter and can be controlled within the order of milliseconds or microseconds, realizing more efficient migration of cloud servers.

様々な実施形態により、クラウドサービス移行解決は、ユーザにより指定され、移行要求内に含まれるスケジュールされた移行時間に基づいて、クラウドサーバをソースクラウドサーバクラスタからターゲットクラウドサーバクラスタに移行する処理において、クラウドサーバは、スケジュールされた移行時間に基づいてソースクラウドサーバクラスタからターゲットクラウドサーバクラスタに移行されることを提供される。ソースクラウドサーバクラスタ内のディスクに対するクラウドサービスのデータ操作は、ターゲットクラウドサーバクラスタ内のディスクに対するデータ操作として再構成され、ターゲットクラウドサーバクラスタ内の新しいインスタンスによりサービスを提供する。このように、クラウドサーバは、シンプルな実装を用いてソースクラウドサーバクラスタからターゲットクラウドサーバクラスタに移行されるとともに、クラウドサービスインスタンスにより提供されるサービスの中断により生ずるサービス中断時間を削減し、より効率的で便利な移行を実現する。 According to various embodiments, a cloud service migration solution, in the process of migrating a cloud server from a source cloud server cluster to a target cloud server cluster based on a scheduled migration time specified by a user and included within the migration request, includes: A cloud server is provided to be migrated from a source cloud server cluster to a target cloud server cluster based on a scheduled migration time. The cloud service's data operations on disks in the source cloud server cluster are reconfigured as data operations on disks in the target cloud server cluster and served by new instances in the target cloud server cluster. In this way, cloud servers are migrated from a source cloud server cluster to a target cloud server cluster using a simple implementation, while reducing service disruption times caused by interruptions in services provided by cloud service instances, making them more efficient. to make the transition easier and more convenient.

図4は、本開示の幾つかの実施形態に係るクラウドサービス移行の例示的装置を示すブロック図である。クラウドサービス移行装置は、実質的に、上で説明されたクラウドサービス移行に対する方法と同様であり、詳細は、簡単のため本明細書では繰り返すことはしない。 FIG. 4 is a block diagram illustrating an exemplary apparatus for cloud service migration according to some embodiments of the disclosure. The cloud service migration apparatus is substantially similar to the method for cloud service migration described above, and the details are not repeated here for the sake of brevity.

図4に示されるように、サービス移行のための装置(400)は、移行要求取得ユニット(401)、ディスク移行ユニット(402)、及びデータ操作構成ユニット(403)を含む。 As shown in FIG. 4, the device for service migration (400) includes a migration request acquisition unit (401), a disk migration unit (402) and a data manipulation configuration unit (403).

移行要求取得ユニット(401)は、ソースクラスタ内にホストされるクラウドサービスに関連付けられる移行要求を取得するよう構成され、移行要求は、ソースクラスタからターゲットクラスタにクラウドサービスを移行するためのスケジュールされた移行時間を含む。 A migration request obtaining unit (401) is configured to obtain a migration request associated with a cloud service hosted in a source cluster, the migration request being scheduled for migrating a cloud service from a source cluster to a target cluster. Including transition time.

ディスク移行ユニット(402)は、スケジュールされた移行時間に基づいて、クラウドサービスの元のインスタンスに関連付けられるディスクデータをターゲットクラスタ内にインスタンス化されたクラウドサービスの新しいインスタンスのサービスのためのディスクに移行するよう構成され、ディスクデータの移行は、ディスクデータの移行優先度順位に基づく。 A disk migration unit (402) migrates disk data associated with the original instance of the cloud service to a disk for service of a new instance of the cloud service instantiated in the target cluster based on a scheduled migration time. and disk data migration is based on the disk data migration priority order.

データ操作構成ユニット(403)は、元のインスタンスのサービスのためのディスクに対するクラウドサービスのデータ操作を新しいインスタンスのサービスのためのディスクに対するデータ操作として構成するよう構成される。 The data operation configuration unit (403) is configured to configure data operations of the cloud service on the disk for the original instance of the service as data operations on the disk for the new instance of the service .

一実施形態では、クラウドサービス移行のための装置(400)は、さらに、新しいインスタンスインスタンス化ユニット、構成ユニット、及び新しいインスタンス開始ユニットを含む。 In one embodiment, the apparatus (400) for cloud service migration further includes a new instance instantiation unit, a configuration unit and a new instance start unit.

新しいインスタンスインスタンス化ユニットは、ターゲットサーバクラスタ内のクラウドサービスの新しいインスタンスをインスタンス化するよう構成される。 A new instance instantiation unit is configured to instantiate a new instance of the cloud service in the target server cluster.

構成ユニットは、新しいインスタンスに関連付けられる新しいインスタンス及びリソースコンポーネントを構成するように構成される。 The configuration unit is configured to configure new instance and resource components associated with the new instance.

新しいインスタンス開始ユニットは、ソースサーバクラスタにて元のインスタンスを停止するよう構成され、リソースコンポーネントに基づいて新しいインスタンスを開始する。 A new instance start unit is configured to stop the original instance at the source server cluster and start a new instance based on the resource component.

幾つかの実施形態では、構成ユニットは、第1の新しいインスタンス構成サブユニット及び第2の新しいインスタンス構成サブユニットのうちの1つ又は両方を含む。 In some embodiments, the configuration unit includes one or both of a first new instance configuration sub-unit and a second new instance configuration sub-unit.

第1の新しいインスタンス構成サブユニットは、元のインスタンスの構成情報に基づいて、構成情報と同じ構成を使用してターゲットクラスタ内に新しいインスタンスを構成するよう構成される。 A first new instance configuration sub-unit is configured to configure a new instance in the target cluster based on the configuration information of the original instance using the same configuration as the configuration information.

第2の新しいインスタンス構成サブユニットは、事前構成された構成インタフェースを通じて取得された構成情報に基づいて新しいインスタンスを構成するよう構成される。 A second new instance configuration subunit is configured to configure a new instance based on configuration information obtained through a preconfigured configuration interface.

幾つかの実施形態では、リソースコンポーネントはディスクを含む。幾つかの他の実施形態において、リソースコンポーネントは、さらに、CPU、メモリ、オペレーティングシステム、及びネットワーク接続のうち少なくとも1つを含む。 In some embodiments, resource components include disks. In some other embodiments, the resource component further includes at least one of CPU, memory, operating system, and network connection.

幾つかの実施形態では、構成ユニットは、ネットワークポート割り当てサブユニット及びネットワークポート移行サブユニットを含む。 In some embodiments, the configuration unit includes a network port allocation subunit and a network port migration subunit.

ネットワークポート割り当てサブユニットは、ターゲットクラスタ内にネットワークポートを割り当てるよう構成される。 The network port allocation subunit is configured to allocate network ports in the target cluster.

ネットワークポート移行サブユニットは、ソースクラスタにてネットワークポートからクラウドサービスを解放し、クラウドサービスをターゲットクラスタにて割り当てるネットワークポートに構成し、ルーティング更新を実行するよう構成される。 The network port migration subunit is configured to release the cloud service from the network port at the source cluster, configure the cloud service to the allocated network port at the target cluster, and perform the routing update.

幾つかの実施形態では、構成ユニットは、データ操作停止ユニット及びディスク割り当てサブユニットを含む。 In some embodiments, the configuration unit includes a data operation suspension unit and a disk allocation subunit.

データ操作停止ユニットは、元のインスタンスのサービスのためのディスクに対するクラウドサービスのデータ操作を停止するよう構成される。 The data manipulation stop unit is configured to stop data manipulation of the cloud service to the disk for the service of the original instance.

ディスク割り当てサブユニットは、ターゲットクラスタ内新しいインスタンスのサービスのためのディスクを割り当てるよう構成される。 The disk allocation subunit is configured to allocate disks for services of new instances in the target cluster.

幾つかの実施形態では、データ操作構成ユニット(403)は、第1コピーサブユニット及び第2コピーサブユニットのうちの1つ又は両方を含む。 In some embodiments, the data manipulation configuration unit (403) includes one or both of a first copy subunit and a second copy subunit.

第1コピーサブユニットは、元のインスタンスに関連付けられるディスクデータを少なくとも1つのデータブロックに分割し、元のインスタンスに関連付けられるディスクデータを新しいインスタンスのサービスのためのディスクにデータブロックの形態でコピーするよう構成される。 A first copy subunit divides disk data associated with the original instance into at least one data block and copies the disk data associated with the original instance to a disk for servicing the new instance in the form of data blocks. configured as follows.

第2コピーサブユニットは、元のインスタンスに関連付けられるディスクデータを少なくとも1つのデータブロックに分割し、各データブロックに対応するデータミラーリングイメージを作成し、元のインスタンスに関連付けられるディスクデータを新しいインスタンスのサービスのためのディスクにデータミラーリングを介してコピーするよう構成される。 A second copy subunit divides the disk data associated with the original instance into at least one data block, creates a data mirroring image corresponding to each data block, and copies the disk data associated with the original instance to the new instance . Configured to copy via data mirroring to disk for service .

幾つかの実施形態では、データブロックは、データブロックがコピーされているかどうかをマーキングするためのフラグビットを用いて構成される。前記元のインスタンスに関連付けられる前記ディスクデータを前記新しいインスタンスのサービスのための前記ディスクにコピーする処理において、既にコピーされたデータは前記フラグビットに基づいて前記元のインスタンスに関連付けられる前記ディスクデータと比較され、前記元のインスタンスに関連付けられる前記ディスクデータのコピーの進行を決定する。 In some embodiments, data blocks are constructed with flag bits to mark whether the data block has been copied. In the process of copying the disk data associated with the original instance to the disk for servicing the new instance, the already copied data is compared with the disk data associated with the original instance based on the flag bits. A comparison is made to determine the progress of copying the disk data associated with the original instance.

幾つかの実施形態では、前記元のインスタンス及び前記新しいインスタンスは、それらのそれぞれの処理キューを用いてそれぞれ構成される。元のインスタンスのサービスのためのディスクに対するクラウドサービスのデータ操作を含むデータ要求は、元のインスタンスの処理キューにエンキューされ、新しいインスタンスのサービスのためのディスクに対するクラウドサービスのデータ操作を含むデータ要求は、新しいインスタンスの処理キューにエンキューされる。 In some embodiments, the original instance and the new instance are each configured with their respective processing queues. Data requests involving cloud service data operations on disks for the original instance's service are enqueued in the original instance's processing queue, and data requests involving cloud service data operations on disks for the new instance 's service are enqueued in the processing queue of the original instance. , is enqueued into the processing queue of the new instance.

幾つかの実施形態では、データ操作構成ユニット(403)が実行を開始した後、新しいインスタンスのサービスのためのディスクに対するクラウドサービスのデータ操作を含むデータ要求は、新しいインスタンスの処理キューにエンキューされる。さらに、元のインスタンスの処理キューに残り、処理が完了していないデータ要求は、処理のために前記新しいインスタンスの前記処理キューに転送される。 In some embodiments, after the data manipulation configuration unit (403) begins execution, data requests including cloud service data manipulations to disks for the new instance 's service are enqueued into the new instance's processing queue. . In addition, data requests that remain in the processing queue of the original instance and have not completed processing are forwarded to the processing queue of the new instance for processing.

幾つかの実施形態では、ディスクデータの移行優先度は以下の段階により決定される。第1に、データ要求内に含まれるデータ、前記新しいインスタンスのサービスのためのディスクに存在するかどうかを判断する。データ要求に含まれるデータ新しいインスタンスのサービスのためのディスクに存在しないとの判断に応じて、データ要求に含まれるデータの移行優先度を高移行優先度に構成する。 In some embodiments, the migration priority of disk data is determined by the following steps. First, determine if the data contained in the data request exists on disk for the new instance 's service . Configuring the migration priority of the data included in the data request to a high migration priority in response to determining that the data included in the data request is not present on the disk for servicing the new instance.

第2に、元のインスタンスに関連付けられるディスクデータをターゲットクラスタ内でインスタンス化されたクラウドサービスの新しいインスタンスのサービスのためのディスクに移行する処理において、移行優先度の降順で移行を実行する。 Second, in the process of migrating the disk data associated with the original instance to the disk for service of the new instance of the cloud service instantiated in the target cluster, the migration is performed in descending order of migration priority.

幾つかの実施形態では、装置(400)は、さらに、新しいインスタンスの処理キューでデータ要求を処理する処理において実行される決定サブユニットを含む。 In some embodiments, the apparatus (400) further includes a decision subunit that is executed in processing data requests in the processing queue of the new instance.

決定サブユニットは、データ要求内に含まれるデータが、新しいインスタンスのサービスのためのディスクに存在するかどうかを判断するよう構成される。データ要求内に含まれるデータが新しいインスタンスのサービスのためのディスク内に存在するとの判断に応じて、決定サブユニットは、新しいインスタンスのサービスのためのディスクに基づいてデータ要求内に含まれるデータ操作を実行するよう構成される。あるいは、データ要求内に含まれるデータが新しいインスタンスのサービスのためのディスクに存在しないとの判断に応じて、決定サブユニットは、高移行優先度のデータを元のインスタンスのサービスのためのディスクから、新しいインスタンスのサービスのためのディスクに優先的に移行し、移行が完了すると、新しいインスタンスのサービスのためのディスクに基づき、データ要求に含まれるデータ操作を実行するよう構成されA determining subunit is configured to determine whether the data contained in the data request is present on the disk for the service of the new instance. Upon determining that the data contained within the data request resides in the disk for servicing the new instance, the determining subunit manipulates the data contained within the data request based on the disk for servicing the new instance. configured to run Alternatively , upon determining that the data contained within the data request is not present on the disk for servicing of the new instance, the decision sub-unit removes the high migration priority data from the disk for servicing of the original instance. , is configured to preferentially migrate to the disk for servicing the new instance and, once the migration is complete , perform the data operations included in the data request based on the disk for servicing the new instance.

幾つかの実施形態では、ソースクラスタ及びターゲットクラスタは、異なる利用可能ゾーン内に構成される。 In some embodiments, the source cluster and target cluster are configured in different Availability Zones.

幾つかの実施形態では、クラウドサービスは、クラウドコンピューティングサービスを提供するためのクラウドサーバとして構成される。幾つかの実施形態では、ソースクラスタは、少なくとも1つのクラウドサーバのクラウドサーバクラスタとして構成され、ターゲットクラスタは、少なくとも1つのクラウドサーバのクラウドサーバクラスタとして構成される。 In some embodiments, the cloud service is configured as a cloud server for providing cloud computing services. In some embodiments, the source cluster is configured as a cloud server cluster of at least one cloud server and the target cluster is configured as a cloud server cluster of at least one cloud server.

図5は、本開示の幾つかの実施形態に係るクラウドサービス移行に対する例示的な電子デバイスのブロック図である。電子デバイスの機能は、クラウドサービス移行のための上記の方法と実質的に同様であり、本明細書では詳細を繰り返すことはしない。 FIG. 5 is a block diagram of an exemplary electronic device for cloud service migration according to some embodiments of the present disclosure; The function of the electronic device is substantially similar to the above method for cloud service migration, and the details will not be repeated here.

図5に示されるように、クラウドサービス移行のための電子デバイスは、メモリ(501)及びプロセッサ(502)を含む。 As shown in Figure 5, an electronic device for cloud service migration includes a memory (501) and a processor (502).

メモリ(501)は、コンピュータ実行可能命令を格納するように構成される。プロセッサ(502)は、メモリ(501)に格納されたコンピュータ実行可能命令を読み取って実行して、電子デバイス(500)に以下のステップを含む動作を実行させるように構成される。 The memory (501) is configured to store computer-executable instructions. The processor (502) is configured to read and execute computer-executable instructions stored in the memory (501) to cause the electronic device (500) to perform operations including the following steps.

ステップ1.ソースクラスタ内にホストされるクラウドサービスに関連付けられる移行要求を取得する段階であり、移行要求は、ソースクラスタからターゲットクラスタにクラウドサービスを移行するためのスケジュールされた移行時間を含む。 Step 1. Obtaining a migration request associated with a cloud service hosted in a source cluster, the migration request including a scheduled migration time for migrating the cloud service from the source cluster to the target cluster.

ステップ2.スケジュールされた移行時間に基づいて、クラウドサービスの元のインスタンスに関連付けられるディスクデータをターゲットクラスタ内にインスタンス化されたクラウドサービスの新しいインスタンスのサービスのためのディスクに移行し、ディスクデータの移行は、ディスクデータの移行優先度順位に基づいて実行される。 Step 2. Based on the scheduled migration time, migrate disk data associated with the original instance of the cloud service to the disks for the service of the new instance of the cloud service instantiated in the target cluster, and the migration of the disk data will: Executed based on disk data migration priority order.

ステップ3.元のインスタンスのサービスのためのディスクに対するクラウドサービスのデータ操作を、新しいインスタンスのサービスのためのディスクに対するデータ操作として構成する。 Step 3. Configure the cloud service's data operations on the disks for the original instance 's service as data operations on the disks for the new instance 's service .

幾つかの実施形態では、元のインスタンスのサービスのためのディスクに対するクラウドサービスのデータ操作を新しいインスタンスのサービスのためのディスクに対するデータ操作として構成する段階の前に、プロセッサ(502)はさらに、ターゲットクラスタ内に新しいインスタンスをインスタンス化する段階と、新しいインスタンスと新しいインスタンスに関連付けられるリソースコンポーネントを構成する段階と、ソースクラスタにて元のインスタンスを停止する段階と、リソースコンポーネントに基づいて新しいインスタンスを開始する段階と、を含む前記コンピュータ可読命令を実行するよう構成される。 In some embodiments, prior to configuring the cloud service's data operations on the disk for the original instance's service as data operations on the disk for the new instance 's service , the processor (502) further comprises: instantiating new instances in the cluster; configuring the new instances and resource components associated with the new instances; stopping the original instances in the source cluster; and starting new instances based on the resource components. and performing the computer readable instructions.

幾つかの実施形態では、前記新しいインスタンス及び前記新しいインスタンスに関連付けられるリソースコンポーネントを構成する段階は、前記元のインスタンスの前記構成情報に基づいて、記構成情報の構成と同じ構成を使用して前記ターゲットクラスタ内で前記新しいインスタンスを構成する段階、又は、事前構成された構成インタフェースを通じて取得される前記構成情報に基づいて前記新しいインスタンスを構成する段階、により実装される。 In some embodiments, configuring the new instance and resource components associated with the new instance comprises configuring the new instance based on the configuration information of the original instance using the same configuration as configuring the configuration information. Implemented by configuring the new instance within the target cluster or configuring the new instance based on the configuration information obtained through a pre-configured configuration interface.

幾つかの実施形態では、リソースコンポーネントはディスクを含む。他の実施形態において、リソースコンポーネントは、さらに、CPU、メモリ、オペレーティングシステム、及びネットワーク接続のうち少なくとも1つを含む。 In some embodiments, resource components include disks. In other embodiments, the resource component further includes at least one of CPU, memory, operating system, and network connection.

幾つかの実施形態では、新しいインスタンス及び新しいインスタンスに関連付けられるリソースコンポーネントを構成する段階は、ターゲットクラスタ内でネットワークポートを割り当てる段階と、ソースクラスタのネットワークポートからクラウドサービスを解放する段階と、クラウドサービスをターゲットクラスタに割り当てられるネットワークポートに構成する段階と、ルーティング更新を実行する段階と、を含む。 In some embodiments, configuring the new instance and the resource components associated with the new instance comprises allocating network ports in the target cluster, releasing the cloud service from the network ports of the source cluster, to network ports assigned to the target cluster, and performing routing updates.

幾つかの実施形態では、新しいインスタンス及び新しいインスタンスに関連付けられるリソースコンポーネントを構成する段階は、元のインスタンスのサービスのためのディスクに対するクラウドサービスのデータ操作を停止する段階と、ターゲットクラスタ内の新しいインスタンスのサービスのためのディスクを割り当てる段階と、新しいインスタンスのサービスのためのディスクの割り当てが完了した後、スケジュールされた移行時間に基づいて、クラウドサービスの元のインスタンスに関連付けられるディスクデータをターゲットクラスタ内にインスタンス化されたクラウドサービスの新しいインスタンスのサービスのためのディスクに移行し、元のインスタンスのサービスのためのディスクに対するクラウドサービスのデータ操作を新しいインスタンスのサービスのためのディスクに対するデータ操作として構成する命令を実行する段階と、を含む。 In some embodiments, configuring the new instance and the resource components associated with the new instance includes stopping the cloud service's data operations on the disk for the original instance 's service and the new instance in the target cluster. After the disk allocation phase for the services of the new instance has been completed, disk data associated with the original instance of the cloud service is transferred to the target cluster based on the scheduled migration time. Migrate to the disk for the service of the new instance of the cloud service instantiated in , and configure the cloud service's data operations on the disk for the service on the original instance as the data operations on the disk for the service on the new instance and executing the instructions.

幾つかの実施形態では、クラウドサービスの元のインスタンスに関連付けられるディスクデータをターゲットクラスタ内にインスタンス化されたクラウドサービスの新しいインスタンスのサービスのためのディスクに移行する段階は、元のインスタンスに関連付けられるディスクデータを少なくとも1つのデータブロックに分割し、元のインスタンスに関連付けられるディスクデータをデータブロックの形態で新しいインスタンスのサービスのためのディスクにコピーする段階、または、元のインスタンスに関連付けられるディスクデータを少なくとも1つのデータブロックに分割し、各データブロックに対応するデータミラーリングイメージを作成し、元のインスタンスのディスクデータをデータミラーリングを介して新しいインスタンスのディスクにコピーする段階により実装される。 In some embodiments, migrating disk data associated with the original instance of the cloud service to disks for services of a new instance of the cloud service instantiated in the target cluster is associated with the original instance. dividing the disk data into at least one data block and copying the disk data associated with the original instance in the form of data blocks to a disk for servicing the new instance ; or copying the disk data associated with the original instance. dividing into at least one data block, creating a data mirroring image corresponding to each data block, and copying the original instance's disk data to the new instance's disk via data mirroring.

幾つかの実施形態では、データブロックは、データブロックがコピーされているかどうかをマーキングするためのフラグビットを用いて構成される。元のインスタンスに関連付けられるディスクデータを新しいインスタンスのサービスのためのディスクにコピーする処理において、既にコピーされたデータはフラグビットに基づいて元のインスタンスに関連付けられるディスクデータと比較され、元のインスタンスに関連付けられるディスクデータのコピーの進行を決定する。 In some embodiments, data blocks are constructed with flag bits to mark whether the data block has been copied. In the process of copying the disk data associated with the original instance to the disk for servicing of the new instance, the already copied data is compared with the disk data associated with the original instance based on flag bits and transferred to the original instance. Determines the progress of copying the associated disk data.

幾つかの実施形態では、元のインスタンス及び新しいインスタンスは、それらのそれぞれの処理キューを用いてそれぞれ構成される。元のインスタンスのサービスのためのディスクに対するクラウドサービスのデータ操作を含むデータ要求は、元のインスタンスの処理キューにエンキューされ、新しいインスタンスのサービスのためのディスクに対するクラウドサービスのデータ操作を含むデータ要求は、新しいインスタンスの処理キューにエンキューされる。 In some embodiments, the original instance and the new instance are each configured with their respective processing queues. Data requests involving cloud service data operations on disks for the original instance's service are enqueued in the original instance's processing queue, and data requests involving cloud service data operations on disks for the new instance 's service are enqueued in the processing queue of the original instance. , is enqueued into the processing queue of the new instance.

幾つかの実施形態では、元のインスタンスのサービスのためのディスクに対するクラウドサービスのデータ操作を新しいインスタンスのサービスのためのディスクに対するデータ操作として構成する段階の後、新しいインスタンスのサービスのためのディスクに対するクラウドサービスのデータ操作を含むデータ要求は、新しいインスタンスの処理キューにエンキューされ、元のインスタンスの処理キュー内に残ってまだ処理が完了していないデータ要求が、処理のために新しいインスタンスの処理キューに転送される。 In some embodiments, after configuring the cloud service 's data operations on the disks for the original instance 's service as data operations on the disks for the new instance 's service , Data requests involving cloud service data operations are enqueued into the new instance's processing queue, and data requests that remain in the original instance's processing queue and have not yet completed processing are sent to the new instance's processing queue for processing. transferred to

幾つかの実施形態では、ディスクデータの移行優先度は、データ要求に含まれるデータが、新しいインスタンスのサービスのためのディスク内に存在するかどうか判断する段階と、データ要求内に含まれるデータが新しいインスタンスのサービスのためのディスク内に存在しないとの判断に応じて、データ要求内に含まれるデータの移行優先度を高移行優先度に構成する段階と、元のインスタンスに関連付けられるディスクデータをターゲットクラスタ内にインスタンス化されたクラウドサービスの新しいインスタンスのサービスのためのディスクに移行する処理において、移行優先度の降順で移行を実行する段階と、により決定される。 In some embodiments, disk data migration priority includes determining whether the data contained in the data request resides in the disk for servicing the new instance; configuring the migration priority of the data contained within the data request to a high migration priority in response to determining that it is not present in the disk for servicing of the new instance; and, in the process of migrating to disks for services of a new instance of the cloud service instantiated in the target cluster, performing the migration in descending order of migration priority.

幾つかの実施形態では、新しいインスタンスの処理キューのデータ要求の処理は、次の処理を含む。データ要求に含まれるデータが新しいインスタンスのサービスのためのディスク内に存在するかどうかを判断する段階、データ要求に含まれるデータが新しいインスタンスのサービスのためのディスク内に存在するとの判断に応じて、データ要求に含まれるデータ操作を新しいインスタンスのサービスのためのディスクに対実行する段階、データ要求に含まれるデータが新しいインスタンスのサービスのためのディスク内に存在しないとの判断に応じて、移行優先度のデータを元のインスタンスのサービスのためのディスクから新しいインスタンスのサービスのためのディスクへと移行し、移行が完了すると新しいインスタンスのサービスのためのディスクに対し、データ要求に含まれるデータ操作を実行する段階と、を含む。 In some embodiments, the processing of data requests in the new instance's processing queue includes the following processing. determining whether the data included in the data request resides in the disk for the service of the new instance, upon determination that the data included in the data request resides in the disk for the service of the new instance; , performing a data operation included in the data request on the disk for the service of the new instance, upon determining that the data included in the data request does not exist in the disk for the service of the new instance, Migrates high- migration-priority data from the disk for servicing the original instance to the disk for servicing the new instance, and once the migration is complete, migrates the data to the disk for servicing the new instance as part of the data request. and performing the data manipulation performed on the data.

幾つかの実施形態では、ソースクラスタ及びターゲットクラスタは、異なる利用可能ゾーン内に構成される。 In some embodiments, the source cluster and target cluster are configured in different Availability Zones.

幾つかの実施形態では、クラウドサービスは、クラウドコンピューティングサービスを提供するためのクラウドサーバとして構成される。他の実施形態において、ソースクラスタは、少なくとも1つのクラウドサーバのクラウドサーバクラスタを含む、ターゲットクラスタは、少なくとも1つのクラウドサーバのクラウドサーバクラスタを含む。 In some embodiments, the cloud service is configured as a cloud server for providing cloud computing services. In other embodiments, the source cluster comprises a cloud server cluster of at least one cloud server, and the target cluster comprises a cloud server cluster of at least one cloud server.

本開示は、好ましい実施形態を通じて上に開示されているが、それに限定されることを意図していない。当業者は、開示の精神及び範囲から逸脱することなく、可能な変更及び修正を作成することができる。従って、本開示の保護範囲は、本開示の特許請求の範囲によって定義されるべきである。 Although the present disclosure has been disclosed above through preferred embodiments, it is not intended to be so limited. Those skilled in the art can make possible changes and modifications without departing from the spirit and scope of the disclosure. Therefore, the protection scope of this disclosure should be defined by the claims of this disclosure.

典型的な構成では、コンピューティングデバイスは、1又は複数のプロセッサ(CPU)、入力/出力インタフェース、ネットワークインタフェース、及びメモリを含む。 In a typical configuration, a computing device includes one or more processors (CPUs), input/output interfaces, network interfaces, and memory.

メモリは、リードオンリメモリ(ROM)又はフラッシュメモリ(フラッシュRAM)のような非永続的メモリ、ランダムアクセスメモリ(RAM)又は不揮発性メモリ等の形態のコンピュータ可読媒体を含んでよい。メモリはコンピュータ可読媒体の例である。 The memory may include computer readable media in the form of read only memory (ROM) or non-persistent memory such as flash memory (flash RAM), random access memory (RAM) or non-volatile memory, and the like. Memory is an example of a computer-readable medium.

コンピュータ可読媒体は、任意の方法及び技術を用いて情報ストレージを実現できる永続的並びに非永続的な、及び移動可能並びに非移動可能な媒体を含む。情報は、コンピュータ可読命令、データ構造、プログラムのモジュール、又は他のデータであってよい。コンピュータの記憶媒体の例には、限定されないが、相変化メモリ(PRAM)、スタティックランダムアクセスメモリ(SRAM)、ダイナミックランダムアクセスメモリ(DRAM)、他のタイプのランダムアクセスメモリ(RAM)、リードオンリメモリ(ROM)、電気的消去可能プログラム可能リードオンリメモリ(EEPROM)、フラッシュメモリ若しくは他のメモリ装置、コンパクトディスクリードオンリメモリ(CD‐ROM)、デジタル多用途ディスク(DVD)若しくは他の光学式記憶装置、カセットテープ、磁気テープ/磁気ディスク記憶装置若しくは他の磁気記憶装置、又は任意の他の非伝送媒体が含まれ、これらの例は、コンピュータ処理装置がアクセス可能な情報を格納するのに用いられてよい。本明細書の定義によると、コンピュータ可読媒体は、変調データ信号及び搬送波のような非一時的コンピュータ可読媒体(一時的媒体)を含まない。 Computer-readable media includes both permanent and non-permanent, removable and non-removable media that can provide information storage using any method or technology. The information may be computer readable instructions, data structures, program modules, or other data. Examples of computer storage media include, but are not limited to, phase change memory (PRAM), static random access memory (SRAM), dynamic random access memory (DRAM), other types of random access memory (RAM), read-only memory (ROM), electrically erasable programmable read only memory (EEPROM), flash memory or other memory device, compact disc read only memory (CD-ROM), digital versatile disc (DVD) or other optical storage device , cassette tapes, magnetic tape/disk storage or other magnetic storage devices, or any other non-transmission media, examples of which are used to store information accessible by a computer processing device. you can As defined herein, computer-readable media does not include non-transitory computer-readable media (transitory media) such as modulated data signals and carrier waves.

当業者であれば、本開示の実施形態が方法、システム、又はコンピュータプログラム製品として提供され得ることを理解すべきである。従って本開示は、全てハードウェアの実施形態、全てソフトウェアの実施形態、又はソフトウェアとハードウェアを組み合わせた実施形態からなる形態を用いてよい。さらに、本開示は、コンピュータ利用可能プログラムコードを内部に含んでいる1又は複数のコンピュータ利用可能記憶媒体(磁気ディスクメモリ、CD-ROM、光学メモリ等を含むがこれらに限定されない)上に実装されるコンピュータプログラム製品の形を使用することができる。
本明細書によれば、以下の各項目に記載の構成もまた開示される。
[項目1]
ソースクラスタ内のクラウドサービスに対する移行要求を取得する段階であって、前記移行要求は、前記ソースクラスタからターゲットクラスタに前記クラウドサービスを移行するためのスケジュールされた移行時間を含む、取得する段階と、
前記スケジュールされた移行時間に従って、前記クラウドサービスの元のインスタンスのディスクデータを前記ターゲットクラスタ内に作成された前記クラウドサービスの新しいインスタンスのディスクに移行する段階であって、前記ディスクデータの前記移行は前記ディスクデータの移行優先度順位に基づいて実行される、移行する段階と、
前記元のインスタンスのディスク上の前記クラウドサービスのデータ操作を前記新しいインスタンスの前記ディスク上のデータ操作として構成する段階と、
を備えるクラウドサービス移行方法。
[項目2]
前記元のインスタンスのディスク上の前記クラウドサービスのデータ操作を前記新しいインスタンスの前記ディスク上のデータ操作として構成する前記段階が実行される前に、
前記ターゲットクラスタ内に前記新しいインスタンスを作成する段階と、
前記新しいインスタンスと前記新しいインスタンスのリソースコンポーネントを構成する段階と、
前記ソースクラスタの前記元のインスタンスを終了する段階と、
前記リソースコンポーネントに基づいて前記新しいインスタンスを開始する段階と、
が実行される、項目1に記載のクラウドサービス移行方法。
[項目3]
前記新しいインスタンスと前記新しいインスタンスのリソースコンポーネントを構成する前記段階は、
前記元のインスタンスの構成情報に従って、前記ターゲットクラスタ内の前記新しいインスタンスを前記構成情報と同じ構成に従って構成する段階、又は、
プリセットされた構成インタフェースを通じて取得された構成情報に従って、前記新しいインスタンスを構成する段階、
の方式により実装される、項目2に記載のクラウドサービス移行方法。
[項目4]
前記リソースコンポーネントは、前記ディスクを含み、前記リソースコンポーネントは、CPU、メモリ、オペレーティングシステム、及びネットワークのうち少なくとも1つをさらに含む、項目2に記載のクラウドサービス移行方法。
[項目5]
前記新しいインスタンス及び前記新しいインスタンスのリソースコンポーネントを構成する前記段階は、
前記ターゲットクラスタ内でネットワークポートを作成する段階と、
前記ソースクラスタのネットワークポートから前記クラウドサービスを解放する段階と、
前記クラウドサービスを前記ターゲットクラスタの前記ネットワークポートに構成する段階と、
ルート更新を実行する段階と、
を含む、項目4に記載のクラウドサービス移行方法。
[項目6]
前記新しいインスタンス及び前記新しいインスタンスのリソースコンポーネントを構成する前記段階は、
前記元のインスタンスの前記ディスク上で前記クラウドサービスの前記データ操作を停止する段階と、
前記ターゲットクラスタ内の前記新しいインスタンスの前記ディスクを作成する段階と、
前記新しいインスタンスの前記ディスクの前記作成が完了した後、
前記スケジュールされた移行時間に従って、前記クラウドサービスの元のインスタンスのディスクデータを前記ターゲットクラスタ内に作成された前記クラウドサービスの新しいインスタンスのディスクに移行する前記段階と、
前記元のインスタンスのディスク上の前記クラウドサービスのデータ操作を前記新しいインスタンスの前記ディスク上のデータ操作として構成する段階と、
を実行する段階と、
を含む、項目4に記載のクラウドサービス移行方法。
[項目7]
前記クラウドサービスの元のインスタンスのディスクデータを前記ターゲットクラスタ内に作成された前記クラウドサービスの新しいインスタンスのディスクに移行する前記段階は、
前記元のインスタンスの前記ディスクデータを少なくとも1つのデータブロックに分割し、前記元のインスタンスの前記ディスクデータを前記データブロックの形態で前記新しいインスタンスの前記ディスクにコピーする段階、又は、
前記元のインスタンスの前記ディスクデータを少なくとも1つのデータブロックに分割し、各データブロックに対応するデータイメージを作成し、前記元のインスタンスの前記ディスクデータを前記データイメージの形態の前記新しいインスタンスの前記ディスクにコピーする段階、
の方式により実装される、項目1に記載のクラウドサービス移行方法。
[項目8]
前記データブロックは、前記データブロックがコピーされているかどうかをマーキングするためのフラグビットを含み、前記元のインスタンスの前記ディスクデータを前記新しいインスタンスの前記ディスクにコピーする処理において、既にコピーされたデータは前記フラグビットに基づいて前記元のインスタンスの前記ディスクデータと比較され、前記元のインスタンスの前記ディスクデータのコピーの進行は、比較の結果に従って取得される、項目7に記載のクラウドサービス移行方法。
[項目9]
前記元のインスタンス及び前記新しいインスタンスのそれぞれは、前記元のインスタンス及び前記新しいインスタンスにそれぞれ対応する処理キューを含み、前記元のインスタンスの前記ディスク上の前記クラウドサービスの前記データ操作を含むデータ要求は、前記元のインスタンスの前記処理キューに追加され、前記新しいインスタンスの前記ディスク上の前記クラウドサービスの前記データ操作を含むデータ要求は、前記新しいインスタンスの前記処理キューに追加される、項目2に記載のクラウドサービス移行方法。
[項目10]
前記元のインスタンスのディスク上の前記クラウドサービスのデータ操作を前記新しいインスタンスの前記ディスク上のデータ操作として構成する前記段階が実行された後、前記新しいインスタンスの前記ディスク上の前記クラウドサービスの前記データ操作を含むデータ要求は、前記新しいインスタンスの前記処理キューに追加され、前記元のインスタンスの前記処理キューで処理が完了していないデータ要求が、処理のために前記新しいインスタンスの前記処理キューに送信される、項目9に記載のクラウドサービス移行方法。
[項目11]
前記ディスクデータの移行優先度は、
前記データ要求に含まれるデータが、前記新しいインスタンスの前記ディスク内に存在するかどうかを判断し、存在しない場合、前記データ要求内に含まれる前記データの移行優先度を高移行優先度に設定し、
前記元のインスタンスの前記ディスクデータを前記ターゲットクラスタ内に作成された前記クラウドサービスの前記新しいインスタンスの前記ディスクに移行する前記処理において、移行優先度の降順で前記移行を実行する、
方式で決定される、項目1に記載のクラウドサービス移行方法。
[項目12]
前記新しいインスタンスの前記処理キューでデータ要求を処理する処理において、
前記データ要求に含まれるデータが前記新しいインスタンスの前記ディスク内に存在するかどうかを判断し、存在する場合、前記新しいインスタンスの前記ディスクに基づ前記データ要求に含まれるデータ操作を実行する段階と、
存在しない場合、前記元のインスタンスの前記ディスクから前記新しいインスタンスの前記ディスクに前記高移行優先度の前記データを移行し、前記移行が完了すると前記新しいインスタンスの前記ディスクに基づ前記データ要求に含まれるデータ操作を実行する段階と、
が実行される、項目11に記載のクラウドサービス移行方法。
[項目13]
前記ソースクラスタ及び前記ターゲットクラスタは、異なる利用可能ゾーンにある、項目1から12のいずれか一項に記載のクラウドサービス移行方法。
[項目14]
前記クラウドサービスは、クラウドコンピューティングサービスを提供するためのクラウドサーバを指し、前記ソースクラスタは、少なくとも1つのクラウドサーバから構成されるクラウドサーバクラスタを指し、前記ターゲットクラスタは、少なくとも1つのクラウドサーバから構成されるクラウドサーバクラスタを指す、項目1から12のいずれか一項に記載のクラウドサービス移行方法。
[項目15]
ソースクラスタ内のクラウドサービスに対する移行要求を取得するよう構成される移行要求取得ユニットであって、前記移行要求は、前記ソースクラスタからターゲットクラスタに前記クラウドサービスを移行するためのスケジュールされた移行時間を含む、前記移行要求取得ユニットと、
前記スケジュールされた移行時間に従って、前記クラウドサービスの元のインスタンスのディスクデータを前記ターゲットクラスタ内に作成された前記クラウドサービスの新しいインスタンスのディスクに移行するよう構成されたディスク移行ユニットと、
前記元のインスタンスのディスク上の前記クラウドサービスのデータ操作を前記新しいインスタンスの前記ディスク上のデータ操作として構成するよう構成されるデータ操作構成ユニットと、
を備えるクラウドサービス移行装置。
[項目16]
メモリ及びプロセッサを備え、
前記メモリは、コンピュータ実行可能命令を格納するよう構成され、前記プロセッサは、
ソースクラスタ内のクラウドサービスに対する移行要求を取得する段階であって、前記移行要求は前記クラウドサービスを前記ソースクラスタからターゲットクラスタに移行するためのスケジュールされた移行時間を含む、取得する段階と、
前記スケジュールされた移行時間に従って、前記クラウドサービスの元のインスタンスのディスクデータを前記ターゲットクラスタ内に作成された前記クラウドサービスの新しいインスタンスのディスクに移行する段階と、
前記元のインスタンスのディスク上の前記クラウドサービスのデータ操作を前記新しいインスタンスの前記ディスク上のデータ操作として構成する段階と、
を含む前記コンピュータ実行可能命令を実行するよう構成される、
電子デバイス。
A person skilled in the art should understand that the embodiments of the present disclosure may be provided as a method, system or computer program product. Accordingly, the present disclosure may take the form of an all-hardware embodiment, an all-software embodiment, or an embodiment combining software and hardware. Further, the present disclosure may be implemented on one or more computer-usable storage media (including but not limited to magnetic disk memories, CD-ROMs, optical memories, etc.) having computer-usable program code therein. can be used in the form of a computer program product that
According to this specification, configurations described in the following items are also disclosed.
[Item 1]
obtaining a migration request for a cloud service in a source cluster, the migration request including a scheduled migration time for migrating the cloud service from the source cluster to a target cluster;
migrating disk data of the original instance of the cloud service to disks of a new instance of the cloud service created in the target cluster according to the scheduled migration time, wherein the migration of the disk data comprises: migrating performed based on the migration priority order of the disk data;
configuring data operations of the cloud service on the disks of the original instance as data operations on the disks of the new instance;
A cloud service migration method comprising:
[Item 2]
Before performing the step of configuring data operations of the cloud service on the disks of the original instance as data operations on the disks of the new instance,
creating the new instance in the target cluster;
configuring the new instance and resource components of the new instance;
terminating the original instance of the source cluster;
starting the new instance based on the resource component;
The cloud service migration method according to item 1, wherein
[Item 3]
The step of configuring the new instance and resource components of the new instance comprises:
according to the configuration information of the original instance, configuring the new instances in the target cluster according to the same configuration as the configuration information; or
configuring the new instance according to configuration information obtained through a preset configuration interface;
The cloud service migration method according to item 2, which is implemented by the method of
[Item 4]
The cloud service migration method according to item 2, wherein the resource component includes the disk, and the resource component further includes at least one of CPU, memory, operating system, and network.
[Item 5]
The step of configuring the new instance and resource components of the new instance includes:
creating network ports in the target cluster;
releasing the cloud service from a network port of the source cluster;
configuring the cloud service on the network port of the target cluster;
performing a route update;
The cloud service migration method according to item 4, comprising:
[Item 6]
The step of configuring the new instance and resource components of the new instance includes:
stopping the data manipulation of the cloud service on the disk of the original instance;
creating the disk of the new instance in the target cluster;
After completing said creation of said disk of said new instance,
migrating disk data of an original instance of the cloud service to disks of a new instance of the cloud service created in the target cluster according to the scheduled migration time;
configuring data operations of the cloud service on the disks of the original instance as data operations on the disks of the new instance;
and
The cloud service migration method according to item 4, comprising:
[Item 7]
The step of migrating disk data of the original instance of the cloud service to disks of a new instance of the cloud service created in the target cluster comprises:
dividing the disk data of the original instance into at least one data block and copying the disk data of the original instance in the form of the data block to the disk of the new instance; or
dividing the disk data of the original instance into at least one data block, creating a data image corresponding to each data block, and converting the disk data of the original instance to the new instance in the form of the data image; copying to disk,
The cloud service migration method according to item 1, implemented by the method of
[Item 8]
The data block includes a flag bit for marking whether the data block has been copied, and in the process of copying the disk data of the original instance to the disk of the new instance, the data already copied. is compared with the disk data of the original instance based on the flag bit, and progress of copying the disk data of the original instance is obtained according to the result of the comparison. .
[Item 9]
each of the original instance and the new instance includes a processing queue corresponding to the original instance and the new instance, respectively, and a data request including the data manipulation of the cloud service on the disk of the original instance; , a data request added to the processing queue of the original instance and including the data manipulation of the cloud service on the disk of the new instance is added to the processing queue of the new instance. cloud service migration method.
[Item 10]
after the step of configuring the data operations of the cloud service on the disks of the original instance as the data operations on the disks of the new instance is performed, the data of the cloud service on the disks of the new instance; Data requests containing operations are added to the processing queue of the new instance, and data requests not completed in the processing queue of the original instance are sent to the processing queue of the new instance for processing. 10. The cloud service migration method according to item 9.
[Item 11]
The migration priority of the disk data is
determining whether the data included in the data request exists in the disk of the new instance, and if not, setting the migration priority of the data included in the data request to high migration priority. ,
in the process of migrating the disk data of the original instance to the disk of the new instance of the cloud service created in the target cluster, performing the migration in descending order of migration priority;
The cloud service migration method according to item 1, determined by a method.
[Item 12]
In processing data requests in the processing queue of the new instance,
determining whether the data included in the data request exists in the disk of the new instance, and if so, performing the data manipulation included in the data request based on the disk of the new instance; and,
if not, migrating the data with the high migration priority from the disk of the original instance to the disk of the new instance, and responding to the data request based on the disk of the new instance when the migration is complete. performing the included data manipulation;
12. The cloud service migration method according to item 11, wherein
[Item 13]
13. The cloud service migration method according to any one of items 1 to 12, wherein the source cluster and the target cluster are in different availability zones.
[Item 14]
The cloud service refers to a cloud server for providing cloud computing services, the source cluster refers to a cloud server cluster composed of at least one cloud server, and the target cluster refers to at least one cloud server. 13. A cloud service migration method according to any one of items 1 to 12, referring to a configured cloud server cluster.
[Item 15]
A migration request obtaining unit configured to obtain a migration request for a cloud service in a source cluster, said migration request comprising a scheduled migration time for migrating said cloud service from said source cluster to a target cluster. the transition request acquisition unit comprising:
a disk migration unit configured to migrate disk data of an original instance of the cloud service to a disk of a new instance of the cloud service created in the target cluster according to the scheduled migration time;
a data operation configuration unit configured to configure data operations of the cloud service on the disk of the original instance as data operations on the disk of the new instance;
A cloud service migration device comprising:
[Item 16]
with memory and processor,
The memory is configured to store computer-executable instructions, the processor comprising:
obtaining a migration request for a cloud service in a source cluster, the migration request including a scheduled migration time for migrating the cloud service from the source cluster to a target cluster;
migrating disk data of an original instance of the cloud service to a disk of a new instance of the cloud service created in the target cluster according to the scheduled migration time;
configuring data operations of the cloud service on the disks of the original instance as data operations on the disks of the new instance;
configured to execute said computer-executable instructions comprising
electronic device.

Claims (21)

ソースクラスタ内にホストされるクラウドサービスに関連付けられる移行要求を取得する段階であって、前記移行要求は、前記ソースクラスタからターゲットクラスタに前記クラウドサービスを移行するためのスケジュールされた移行時間を含む、取得する段階と、
前記スケジュールされた移行時間及び移行優先度順位に基づいて、前記クラウドサービスの元のインスタンスに関連付けられるディスクデータを前記ターゲットクラスタ内にインスタンス化された前記クラウドサービスの新しいインスタンスに関連付けられるディスクに移行する段階と、
前記元のインスタンスに関連付けられるディスクに対する前記クラウドサービスのデータ操作を前記新しいインスタンスに関連付けられる前記ディスクに対するデータ操作として構成する段階と、
を備える方法であって、
前記移行する段階は、
前記移行中に、データ要求に含まれるデータが前記新しいインスタンスに関連付けられる前記ディスクに存在しないとの判断に応じて、前記データ要求に含まれる前記データの移行優先度を第1の移行優先度から第2の移行優先度に変更する段階であって、前記第2の移行優先度は前記データ要求に含まれる前記データが前記第1の移行優先度よりも早く移行されることを生じさせる段階を含む、方法
obtaining a migration request associated with a cloud service hosted in a source cluster, the migration request including a scheduled migration time for migrating the cloud service from the source cluster to a target cluster; obtaining;
Migrating disk data associated with the original instance of the cloud service to a disk associated with a new instance of the cloud service instantiated in the target cluster based on the scheduled migration time and migration priority. stages and
configuring data operations of the cloud service on the disk associated with the original instance as data operations on the disk associated with the new instance;
a method comprising
The transitioning step includes:
during the migration, reducing the migration priority of the data included in the data request from a first migration priority in response to determining that the data included in the data request is not present on the disk associated with the new instance; changing to a second migration priority, said second migration priority causing said data included in said data request to be migrated earlier than said first migration priority; including, method .
前記移行する段階は、The transitioning step includes:
前記移行中に、データ要求に含まれるデータが前記新しいインスタンスに関連付けられる前記ディスクに存在するとの判断に応じて、前記データ要求を、前記新しいインスタンスに関連付けられる前記ディスクに対し実行する段階を含む、請求項1に記載の方法。 executing the data request to the disk associated with the new instance upon determining, during the migration, that the data contained in the data request resides on the disk associated with the new instance; The method of claim 1.
前記ターゲットクラスタ内の前記新しいインスタンスをインスタンス化する段階と、
前記新しいインスタンスに関連付けられるリソースコンポーネントを構成する段階と、
前記ソースクラスタにおける前記元のインスタンスを終了する段階と、
前記データ操作を構成する段階の前に、前記ターゲットクラスタにおける前記リソースコンポーネントに基づいて前記新しいインスタンスを開始する段階と、
をさらに備える請求項1または2に記載の方法。
instantiating the new instance in the target cluster;
configuring a resource component associated with the new instance;
terminating the original instance in the source cluster;
prior to configuring the data manipulation, starting the new instance based on the resource component in the target cluster;
3. The method of claim 1 or 2 , further comprising:
前記新しいインスタンスに関連付けられるリソースコンポーネントを構成する前記段階は、構成情報に基づいて前記ターゲットクラスタ内で前記新しいインスタンスを構成する段階を含み、前記構成情報は、前記元のインスタンスの構成と事前構成された構成インタフェースを介して取得される構成情報とで構成されるグループから選択される、請求項に記載の方法。 The step of configuring resource components associated with the new instance includes configuring the new instance within the target cluster based on configuration information, the configuration information preconfigured with the configuration of the original instance. 4. The method of claim 3 , selected from a group consisting of: configuration information obtained through a configuration interface obtained through a configuration interface. 前記クラウドサービスの前記元のインスタンスに関連付けられるディスクデータを前記ターゲットクラスタ内にインスタンス化された前記クラウドサービスの前記新しいインスタンスに関連付けられる前記ディスクに移行する前記段階は、
前記元のインスタンスに関連付けられる前記ディスクデータを少なくとも1つのデータブロックに分割し、前記元のインスタンスに関連付けられる前記ディスクデータを前記新しいインスタンスに関連付けられる前記ディスクに前記データブロックの形態でコピーする段階と、
前記元のインスタンスに関連付けられる前記ディスクデータを少なくとも1つのデータブロックに分割し、各データブロックに対応するデータミラーリングイメージを生成し、前記元のインスタンスに関連付けられる前記ディスクデータを前記新しいインスタンスに関連付けられる前記ディスクにデータミラーリングを介してコピーする段階と、
のうちの1又は複数を含む、請求項1からのいずれか一項に記載の方法。
The step of migrating disk data associated with the original instance of the cloud service to the disk associated with the new instance of the cloud service instantiated in the target cluster comprises:
dividing said disk data associated with said original instance into at least one data block and copying said disk data associated with said original instance to said disk associated with said new instance in the form of said data block; ,
dividing the disk data associated with the original instance into at least one data block, generating a data mirroring image corresponding to each data block, and associating the disk data associated with the original instance with the new instance. copying via data mirroring to the disk;
5. The method of any one of claims 1-4 , comprising one or more of
前記データブロックは、前記データブロックがコピーされているかどうかをマーキングするためのフラグビットを用いて構成され、前記方法はさらに、
前記フラグビットに基づいて、前記新しいインスタンスに関連付けられる前記ディスクにコピーされたデータを前記元のインスタンスに関連付けられる前記ディスクデータと比較する段階と、
前記比較する段階の結果に基づいて、前記元のインスタンスに関連付けられる前記ディスクデータのコピーの進行を判断する段階と、
を備える、請求項に記載の方法。
The data block is configured with a flag bit for marking whether the data block has been copied, the method further comprising:
comparing the copied data to the disk associated with the new instance with the disk data associated with the original instance based on the flag bits;
determining the progress of copying the disk data associated with the original instance based on the results of the comparing;
6. The method of claim 5 , comprising:
前記新しいインスタンスに関連付けられる前記ディスクに対する前記クラウドサービスのデータ操作を含むデータ要求を、処理のために前記新しいインスタンスの処理キューにエンキューする段階と、
前記元のインスタンスの処理キューからデータ要求を、処理のために前記新しいインスタンスの前記処理キューに転送する段階と、
をさらに備える、請求項1からのいずれか一項に記載の方法。
enqueuing data requests, including data operations of the cloud service on the disk associated with the new instance, into a processing queue of the new instance for processing;
forwarding data requests from the processing queue of the original instance to the processing queue of the new instance for processing;
7. The method of any one of claims 1-6 , further comprising:
前記移行する段階は、前記データ要求に含まれるデータ前記新しいインスタンスに関連付けられる前記ディスクに存在しないとの判断に応じて、前記データ要求に含まれる前記データの移行優先度を高移行優先度に構成する段階と、
前記元のインスタンスに関連付けられる前記ディスクデータを前記ターゲットクラスタ内でインスタンス化された前記クラウドサービスの前記新しいインスタンスに関連付けられる前記ディスクに移行優先度の降順で移行する段階と、
含む、請求項に記載の方法。
The step of migrating increases a migration priority of the data included in the data request to a high migration priority in response to determining that the data included in the data request does not exist on the disk associated with the new instance. configuring;
migrating the disk data associated with the original instance to the disk associated with the new instance of the cloud service instantiated in the target cluster in descending order of migration priority;
2. The method of claim 1 , comprising :
前記移行優先度の降順で移行する前記段階は、前記高移行優先度の前記データを前記元のインスタンスに関連付けられる前記ディスクから前記新しいインスタンスに関連付けられる前記ディスクに移行し、その移行が完了すると、記データ要求に含まれる前記データ操作を前記新しいインスタンスに関連付けられる前記ディスクに対し実行する段階を含む、請求項に記載の方法。 the step of migrating in descending order of migration priority migrates the data with the high migration priority from the disk associated with the original instance to the disk associated with the new instance; 9. The method of claim 8 , comprising executing the data manipulation included in the data request to the disk associated with the new instance . コンピュータに、
ソースクラスタ内にホストされるクラウドサービスに関連付けられる移行要求を取得する手順であって、前記移行要求は、前記ソースクラスタからターゲットクラスタに前記クラウドサービスを移行するためのスケジュールされた移行時間を含む、取得する手順と、
前記スケジュールされた移行時間及び移行優先度順位に基づいて、前記クラウドサービスの元のインスタンスに関連付けられるディスクデータを前記ターゲットクラスタ内にインスタンス化される前記クラウドサービスの新しいインスタンスに関連付けられるディスクに移行する手順と、
前記元のインスタンスに関連付けられるディスクに対する前記クラウドサービスのデータ操作を前記新しいインスタンスに関連付けられる前記ディスクに対するデータ操作として構成する手順と、
を実行させるプログラムであって、
前記移行する手順は、
前記移行中に、データ要求に含まれるデータが前記新しいインスタンスに関連付けられる前記ディスクに存在しないとの判断に応じて、前記データ要求に含まれる前記データの移行優先度を第1の移行優先度から第2の移行優先度に変更する手順であって、前記第2の移行優先度は前記データ要求に含まれる前記データが前記第1の移行優先度よりも早く移行されることを生じさせる手順を含む、プログラム
to the computer,
A procedure for obtaining a migration request associated with a cloud service hosted in a source cluster, the migration request including a scheduled migration time for migrating the cloud service from the source cluster to a target cluster. the procedure for obtaining
Migrating disk data associated with the original instance of the cloud service to a disk associated with a new instance of the cloud service instantiated in the target cluster based on the scheduled migration time and migration priority. a procedure;
configuring data operations of the cloud service on the disk associated with the original instance as data operations on the disk associated with the new instance;
A program that executes
The migration procedure is
during the migration, reducing the migration priority of the data included in the data request from a first migration priority in response to determining that the data included in the data request is not present on the disk associated with the new instance; changing to a second migration priority, wherein the second migration priority causes the data included in the data request to be migrated earlier than the first migration priority; including, program .
前記コンピュータに
前記ターゲットクラスタ内の前記新しいインスタンスをインスタンス化する手順と、
前記新しいインスタンスに関連付けられるリソースコンポーネントを構成する手順と、
前記ソースクラスタにおける前記元のインスタンスを終了する手順と、
前記データ操作を構成する手順の前に、前記ターゲットクラスタにおける前記リソースコンポーネントに基づいて前記新しいインスタンスを開始する手順と、
をさらに実行させる、請求項10に記載のプログラム。
instantiating said new instance in said target cluster on said computer;
configuring a resource component associated with the new instance;
terminating the original instance in the source cluster;
starting said new instance based on said resource component in said target cluster prior to said configuring data manipulation;
11. The program according to claim 10 , further causing the execution of
前記新しいインスタンスに関連付けられるリソースコンポーネントを構成する前記手順は、構成情報に基づいて前記ターゲットクラスタ内で前記新しいインスタンスを構成する手順を含み、前記構成情報は、前記元のインスタンスの構成と事前構成された構成インタフェースを介して取得される構成情報とで構成されるグループから選択される、請求項11に記載のプログラム。 The step of configuring resource components associated with the new instance includes configuring the new instance in the target cluster based on configuration information, the configuration information preconfigured with the configuration of the original instance. 12. The program product of claim 11 , selected from the group consisting of configuration information obtained through a configuration interface such as 前記移行する順は、
前記元のインスタンスに関連付けられる前記ディスクデータを少なくとも1つのデータブロックに分割し、前記元のインスタンスに関連付けられる前記ディスクデータを前記新しいインスタンスに関連付けられる前記ディスクに前記データブロックの形態でコピーする手順と、
前記元のインスタンスに関連付けられる前記ディスクデータを少なくとも1つのデータブロックに分割し、各データブロックに対応するデータミラーリングイメージを生成し、前記元のインスタンスに関連付けられる前記ディスクデータを前記新しいインスタンスに関連付けられる前記ディスクにデータミラーリングを介してコピーする手順と、
のうちの1又は複数を含む、請求項10から12のいずれか一項に記載のプログラム。
The migration procedure is
dividing said disk data associated with said original instance into at least one data block and copying said disk data associated with said original instance to said disk associated with said new instance in the form of said data block; ,
dividing the disk data associated with the original instance into at least one data block, generating a data mirroring image corresponding to each data block, and associating the disk data associated with the original instance with the new instance. copying to said disk via data mirroring;
13. A program according to any one of claims 10 to 12 , comprising one or more of
前記データブロックは、前記データブロックがコピーされているかどうかをマーキングするためのフラグビットで構成され、前記プログラムは前記コンピュータに、
前記フラグビットに基づいて、前記新しいインスタンスに関連付けられる前記ディスクにコピーされたデータを前記元のインスタンスに関連付けられる前記ディスクデータと比較する手順と、
比較する前記手順の結果に基づいて、前記元のインスタンスに関連付けられる前記ディスクデータのコピーの進行を判断する手順と、
をさらに実行させる、請求項13に記載のプログラム。
The data blocks are configured with flag bits for marking whether the data blocks have been copied, and the program instructs the computer to:
comparing the copied data to the disk associated with the new instance with the disk data associated with the original instance based on the flag bits;
determining the progress of copying the disk data associated with the original instance based on the results of the comparing step;
14. The program according to claim 13 , further causing the execution of
前記移行する手順は
データ要求に含まれるデータ前記新しいインスタンスに関連付けられる前記ディスクに存在しないとの判断に応じて、前記データ要求に含まれる前記データの移行優先度を高移行優先度に構成する手順と、
前記元のインスタンスに関連付けられる前記ディスクデータを前記ターゲットクラスタ内でインスタンス化された前記クラウドサービスの前記新しいインスタンスに関連付けられる前記ディスクに移行優先度の降順で移行する手順と、
含む、請求項10から14のいずれか一項に記載のプログラム。
The migration procedure is
configuring a migration priority of the data included in the data request to a high migration priority in response to determining that the data included in the data request is not present on the disk associated with the new instance;
migrating the disk data associated with the original instance to the disk associated with the new instance of the cloud service instantiated in the target cluster in descending order of migration priority;
15. A program according to any one of claims 10 to 14 , comprising
プロセッサと、
前記プロセッサによる実行のためのプログラムロジックをそこに有形に格納するための記憶媒体とを備える電子デバイスであって、格納された前記プログラムロジックは、
前記プロセッサにより実行されると、ソースクラスタ内にホストされるクラウドサービスに関連付けられる移行要求を取得するためのロジックであって、前記移行要求は、前記ソースクラスタからターゲットクラスタに前記クラウドサービスを移行するためのスケジュールされた移行時間を含む、ロジックと、
前記プロセッサにより実行されると、前記スケジュールされた移行時間及び移行優先度順位に基づいて、前記クラウドサービスの元のインスタンスに関連付けられるディスクデータを前記ターゲットクラスタ内にインスタンス化された前記クラウドサービスの新しいインスタンスに関連付けられるディスクに移行するためのロジックと、
前記プロセッサにより実行されると、前記元のインスタンスに関連付けられるディスクに対する前記クラウドサービスのデータ操作を前記新しいインスタンスに関連付けられる前記ディスクに対するデータ操作として構成するためのロジックと、
を含む、電子デバイスであって、
前記移行するためのロジックは、
前記移行中に、データ要求に含まれるデータが前記新しいインスタンスに関連付けられる前記ディスクに存在しないとの判断に応じて、前記データ要求に含まれる前記データの移行優先度を第1の移行優先度から第2の移行優先度に変更するロジックであって、前記第2の移行優先度は前記データ要求に含まれる前記データが前記第1の移行優先度よりも早く移行されることを生じさせるロジックを含む、電子デバイス
a processor;
and a storage medium for tangibly storing therein program logic for execution by said processor, said stored program logic comprising:
Logic for, when executed by the processor, obtaining a migration request associated with a cloud service hosted in a source cluster, the migration request migrating the cloud service from the source cluster to a target cluster. logic, including scheduled transition times for
When executed by the processor, the disk data associated with the original instance of the cloud service is transferred to the new instance of the cloud service instantiated in the target cluster based on the scheduled migration time and migration priority. logic to migrate to the disk associated with the instance;
logic for, when executed by the processor, configuring data operations of the cloud service on the disk associated with the original instance as data operations on the disk associated with the new instance;
An electronic device comprising
The logic for the transition is
during the migration, reducing the migration priority of the data included in the data request from a first migration priority in response to determining that the data included in the data request is not present on the disk associated with the new instance; logic to change to a second migration priority, wherein the second migration priority causes the data included in the data request to be migrated earlier than the first migration priority; electronic devices, including ;
前記格納されたプログラムロジックは、
前記プロセッサにより実行されると、前記ターゲットクラスタ内に前記新しいインスタンスをインスタンス化するためのロジックと、
前記プロセッサにより実行されると、前記新しいインスタンスに関連付けられるリソースコンポーネントを構成するためのロジックと、
前記プロセッサにより実行されると、前記ソースクラスタにおける前記元のインスタンスを終了するためのロジックと、
前記プロセッサにより実行されると、前記データ操作を構成するに、前記ターゲットクラスタにおける前記リソースコンポーネントに基づいて前記新しいインスタンスを開始するためのロジックと、
をさらに含む、請求項16に記載の電子デバイス。
The stored program logic includes:
logic for, when executed by the processor, instantiating the new instance in the target cluster;
logic for, when executed by the processor, configuring a resource component associated with the new instance;
logic for, when executed by the processor, terminating the original instance in the source cluster;
logic for, when executed by the processor, starting the new instance based on the resource component in the target cluster prior to configuring the data manipulation;
17. The electronic device of claim 16 , further comprising:
前記新しいインスタンスに関連付けられるリソースコンポーネントを構成するための前記ロジックは、
前記プロセッサにより実行されると、構成情報に基づいて前記ターゲットクラスタ内で前記新しいインスタンスを構成するためのロジックであって、前記構成情報は、前記元のインスタンスの構成と事前構成された構成インタフェースを介して取得される構成情報とで構成されるグループから選択される、ロジックを含む、請求項17に記載の電子デバイス。
The logic for configuring resource components associated with the new instance comprises:
Logic, when executed by the processor, for configuring the new instance in the target cluster based on configuration information, the configuration information including a configuration of the original instance and a preconfigured configuration interface. 18. The electronic device of claim 17 , comprising logic selected from the group consisting of: configuration information obtained via:
前記クラウドサービスの前記元のインスタンスに関連付けられるディスクデータを前記ターゲットクラスタ内にインスタンス化された前記クラウドサービスの前記新しいインスタンスに関連付けられる前記ディスクに移行するための前記ロジックは、
前記プロセッサにより実行されると、前記元のインスタンスに関連付けられる前記ディスクデータを少なくとも1つのデータブロックに分割し、前記元のインスタンスに関連付けられる前記ディスクデータを前記新しいインスタンスに関連付けられる前記ディスクに前記データブロックの形態でコピーするためのロジックと、
前記プロセッサにより実行されると、前記元のインスタンスに関連付けられる前記ディスクデータを少なくとも1つのデータブロックに分割し、各データブロックに対応するデータミラーリングイメージを生成し、前記元のインスタンスに関連付けられる前記ディスクデータを前記新しいインスタンスに関連付けられる前記ディスクにデータミラーリングを介してコピーするためのロジックと、
のうちの1又は複数を含む、請求項16から18のいずれか一項に記載の電子デバイス。
The logic for migrating disk data associated with the original instance of the cloud service to the disk associated with the new instance of the cloud service instantiated in the target cluster comprises:
when executed by the processor, partitioning the disk data associated with the original instance into at least one data block; transferring the disk data associated with the original instance to the disk associated with the new instance; logic for copying in block form;
when executed by the processor, partitioning the disk data associated with the original instance into at least one data block and generating a data mirroring image corresponding to each data block; and logic for copying data to the disk associated with the new instance via data mirroring;
19. The electronic device of any one of claims 16-18 , comprising one or more of
前記データブロックは、前記データブロックがコピーされているかどうかをマーキングするためのフラグビットを用いて構成され、前記格納されたプログラムロジックはさらに、
前記プロセッサにより実行されると、前記フラグビットに基づいて、前記新しいインスタンスに関連付けられる前記ディスクにコピーされたデータを前記元のインスタンスに関連付けられる前記ディスクデータと比較するためのロジックと、
前記プロセッサにより実行されると、前記比較の結果に基づいて、前記元のインスタンスに関連付けられる前記ディスクデータのコピーの進行を判断するためのロジックと、
を含む、請求項19に記載の電子デバイス。
The data block is configured with a flag bit for marking whether the data block has been copied, the stored program logic further comprising:
logic for, when executed by the processor, comparing the copied data to the disk associated with the new instance with the disk data associated with the original instance based on the flag bits;
logic for, when executed by the processor, determining progress of copying the disk data associated with the original instance based on the results of the comparison;
20. The electronic device of claim 19 , comprising:
前記移行するためのロジックは、
前記プロセッサにより実行されると、データ要求に含まれるデータ前記新しいインスタンスに関連付けられる前記ディスクに存在しないとの判断に応じて、前記データ要求に含まれる前記データの移行優先度を高移行優先度に構成するためのロジックと、
前記プロセッサにより実行されると、前記元のインスタンスに関連付けられる前記ディスクデータを前記ターゲットクラスタ内でインスタンス化された前記クラウドサービスの前記新しいインスタンスに関連付けられる前記ディスクに移行優先度の降順で移行するロジックと、
む、請求項16から20のいずれか一項に記載の電子デバイス。
The logic for the transition is
When executed by the processor, the migration priority of the data included in the data request is changed to high migration priority in response to determining that the data included in the data request is not present on the disk associated with the new instance. logic to configure the
Logic that, when executed by the processor, migrates the disk data associated with the original instance to the disk associated with the new instance of the cloud service instantiated in the target cluster in descending order of migration priority. and,
21. The electronic device of any one of claims 16-20 , comprising :
JP2020527993A 2017-11-24 2018-11-14 Methods, devices, and electronic devices for cloud service migration Pending JP2021504795A (en)

Applications Claiming Priority (3)

Application Number Priority Date Filing Date Title
CN201711186691.9 2017-11-24
CN201711186691.9A CN109842636A (en) 2017-11-24 2017-11-24 Cloud service moving method, device and electronic equipment
PCT/CN2018/115383 WO2019100984A1 (en) 2017-11-24 2018-11-14 Cloud service migration method and apparatus, and electronic device

Publications (2)

Publication Number Publication Date
JP2021504795A JP2021504795A (en) 2021-02-15
JPWO2019100984A5 true JPWO2019100984A5 (en) 2023-03-06

Family

ID=66630886

Family Applications (1)

Application Number Title Priority Date Filing Date
JP2020527993A Pending JP2021504795A (en) 2017-11-24 2018-11-14 Methods, devices, and electronic devices for cloud service migration

Country Status (5)

Country Link
US (1) US11861203B2 (en)
EP (1) EP3716577A4 (en)
JP (1) JP2021504795A (en)
CN (1) CN109842636A (en)
WO (1) WO2019100984A1 (en)

Families Citing this family (16)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN110324184B (en) * 2019-06-26 2021-06-25 深圳前海微众银行股份有限公司 Service capacity expansion and migration method, device, system, equipment and readable storage medium
US11748130B2 (en) * 2019-06-28 2023-09-05 Intel Corporation Virtualization and multi-tenancy support in graphics processors
JP7375375B2 (en) * 2019-08-28 2023-11-08 富士フイルムビジネスイノベーション株式会社 Information processing device, information processing system, and information processing program
CN110825494A (en) * 2019-11-01 2020-02-21 北京京东尚科信息技术有限公司 Physical machine scheduling method and device and computer storage medium
CN111813760B (en) * 2020-05-29 2024-03-26 阿里巴巴集团控股有限公司 Data migration method and device
CN112286904A (en) * 2020-09-30 2021-01-29 北京大米科技有限公司 Cluster migration method and device and storage medium
CN112565431A (en) * 2020-12-08 2021-03-26 西藏宁算科技集团有限公司 Cross-region cluster migration method and device based on user access amount and electronic equipment
CN112698792B (en) * 2021-01-14 2021-09-10 腾讯科技(深圳)有限公司 Data migration method and device of distributed storage system and electronic equipment
CN113093995B (en) * 2021-04-12 2023-05-26 深圳软通动力信息技术有限公司 Cloud disk data migration method and system
CN113128909A (en) * 2021-05-13 2021-07-16 瑞麟天下节能技术(北京)有限公司 Server management method based on power resources
CN114615263A (en) * 2022-02-10 2022-06-10 深圳市小满科技有限公司 Cluster online migration method, device, equipment and storage medium
CN114338692B (en) * 2022-02-17 2023-11-10 上海玄翎科技有限公司 Data balancing method and device based on partitioned cluster expansion
CN116319354B (en) * 2023-01-30 2023-11-28 杭州优云科技有限公司 Network topology updating method based on cloud instance migration
KR102543749B1 (en) * 2023-02-17 2023-06-14 주식회사 헤카톤에이아이 A Artificial Intelligence-Based Automation System for Data Lake Migration
CN116582453B (en) * 2023-07-06 2023-09-15 北京志凌海纳科技有限公司 Monitoring data migration method and system in multi-service cluster scene
CN118069173B (en) * 2024-04-25 2024-06-25 中国科学院空天信息创新研究院 Non-invasive migration cloud loading method and system for application system

Family Cites Families (44)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US5680640A (en) * 1995-09-01 1997-10-21 Emc Corporation System for migrating data by selecting a first or second transfer means based on the status of a data element map initialized to a predetermined state
US20070234107A1 (en) 2006-03-31 2007-10-04 International Business Machines Corporation Dynamic storage data protection
GB0606639D0 (en) * 2006-04-01 2006-05-10 Ibm Non-disruptive file system element reconfiguration on disk expansion
US8108912B2 (en) * 2008-05-29 2012-01-31 Red Hat, Inc. Systems and methods for management of secure data in cloud-based network
US8738872B2 (en) 2009-04-03 2014-05-27 Peter Chi-Hsiung Liu Methods for migrating data in a server that remains substantially available for use during such migration
JP5284905B2 (en) * 2009-08-12 2013-09-11 富士通株式会社 Data migration method and program
US8984269B2 (en) * 2011-02-28 2015-03-17 Red Hat, Inc. Migrating data among cloud-based storage networks via a data distribution service
US8909734B2 (en) 2012-02-07 2014-12-09 International Business Machines Corporation Migrating data between networked computing environments
JP5942511B2 (en) * 2012-03-19 2016-06-29 富士通株式会社 Backup device, backup method, and backup program
US9292330B2 (en) * 2012-11-29 2016-03-22 International Business Machines Corporation Replacing virtual machine disks
CN103139221B (en) * 2013-03-07 2016-07-06 中国科学院软件研究所 Data migration method between a kind of dependable virtual platform and construction method, platform
US20140280977A1 (en) 2013-03-15 2014-09-18 Servicemesh, Inc. Systems and methods for evaluating computing resources
JP6186787B2 (en) * 2013-03-25 2017-08-30 富士通株式会社 Data transfer device, data transfer system, data transfer method and program
US9201606B1 (en) * 2013-05-20 2015-12-01 Ca, Inc. System and method for automating data migrations between heterogeneous architectures
US9648134B2 (en) * 2013-05-20 2017-05-09 Empire Technology Development Llc Object migration between cloud environments
CN103458050A (en) * 2013-09-16 2013-12-18 浪潮电子信息产业股份有限公司 Electronic reading room set-up method based on cloud computation
CN103581331B (en) * 2013-11-13 2018-04-03 中国科学院计算技术研究所 The online moving method of virtual machine and system
CN103605561A (en) * 2013-11-28 2014-02-26 中标软件有限公司 Cloud computing cluster system and method for on-line migration of physical server thereof
CN105095317B (en) * 2014-05-23 2018-09-21 ***股份有限公司 Distributed data base service management system
US9542108B2 (en) * 2014-06-30 2017-01-10 Scale Computing, Inc. Efficient migration of virtual storage devices to a remote node using snapshots
CN104283951B (en) * 2014-09-29 2018-03-27 华为技术有限公司 The method, apparatus and system of a kind of instance migration
CN105528368B (en) * 2014-09-30 2019-03-12 北京金山云网络技术有限公司 A kind of database migration method and device
US9672054B1 (en) 2014-12-05 2017-06-06 Amazon Technologies, Inc. Managing virtual machine migration
JP6979264B2 (en) * 2014-12-30 2021-12-08 エヌエイチエヌ コーポレーション Cloud service provision method and system
US9600320B2 (en) 2015-02-11 2017-03-21 International Business Machines Corporation Mitigation of virtual machine security breaches
US9575797B2 (en) 2015-03-20 2017-02-21 International Business Machines Corporation Virtual machine migration between hypervisor virtual machines and containers
CN104750541B (en) * 2015-04-22 2018-01-16 成都睿峰科技有限公司 A kind of virtual machine migration method
CN106302623B (en) 2015-06-12 2020-03-03 微软技术许可有限责任公司 Tenant-controlled cloud updates
US9612865B2 (en) 2015-06-15 2017-04-04 International Business Machines Corporation Managed services coordinator
US20170024260A1 (en) 2015-07-21 2017-01-26 Cisco Technology, Inc. Workload migration across cloud providers and data centers
US9600331B1 (en) 2015-08-24 2017-03-21 International Business Machines Corporation Virtual machine placement in a cloud computing environment based on factors including optimized processor-memory affinity
KR102471665B1 (en) 2015-08-27 2022-11-25 포그혼 시스템스 인코포레이티드 Edge Intelligence Platform and Internet of Things Sensor Stream System
US10489249B2 (en) 2015-09-30 2019-11-26 Commvault Systems, Inc. Dynamic triggering of block-level backups based on block change thresholds and corresponding file identities using communication pathways between co-resident data agents
US9832277B2 (en) * 2015-11-13 2017-11-28 Western Digital Technologies, Inc. Systems and methods for adaptive partitioning in distributed cache memories
US20170235647A1 (en) 2016-02-12 2017-08-17 Commvault Systems, Inc. Data protection operations based on network path information
US10684924B2 (en) 2016-02-18 2020-06-16 Commvault Systems, Inc. Data restoration operations based on network path information
WO2017145272A1 (en) * 2016-02-24 2017-08-31 株式会社日立製作所 Data migration method and computer system
US10565067B2 (en) 2016-03-09 2020-02-18 Commvault Systems, Inc. Virtual server cloud file system for virtual machine backup from cloud operations
CN105897866B (en) * 2016-03-29 2019-03-29 新浪网技术(中国)有限公司 A kind of cloud host migration method and device based on IaaS cloud platform
JP6819131B2 (en) 2016-08-18 2021-01-27 富士通株式会社 Information processing equipment, information processing methods, information processing programs and information processing systems
US10491689B2 (en) 2016-09-16 2019-11-26 Oracle International Corporation Centralized monitoring of cloud operations
CN106790713B (en) * 2017-03-08 2019-09-20 中国人民解放军国防科学技术大学 Across data center virtual machine migration method under cloud computing environment
US10776329B2 (en) 2017-03-28 2020-09-15 Commvault Systems, Inc. Migration of a database management system to cloud storage
CN107018193A (en) * 2017-04-01 2017-08-04 济南浪潮高新科技投资发展有限公司 A kind of VTPM migratory systems and method based on shared storage

Similar Documents

Publication Publication Date Title
US11861203B2 (en) Method, apparatus and electronic device for cloud service migration
EP4049435B1 (en) Dynamic resource movement in heterogeneous computing environments including cloud edge locations
US10965737B1 (en) Cloud computing in communications service provider networks
US11917446B1 (en) Mobility of cloud compute instances hosted within communications service provider networks
US11356500B1 (en) Disaggregated processing of radio-based applications
US10979534B1 (en) Latency-based placement of cloud compute instances within communications service provider networks
CN100495343C (en) Method and system for providing two levels server virtualization
JPWO2019100984A5 (en)
US11928514B2 (en) Systems and methods providing serverless DNS integration
WO2015070241A1 (en) Session idle optimization for streaming server
US11463377B2 (en) Using edge-optimized compute instances to execute user workloads at provider substrate extensions
US11743325B1 (en) Centralized load balancing of resources in cloud edge locations embedded in telecommunications networks
US11461123B1 (en) Dynamic pre-copy and post-copy determination for live migration between cloud regions and edge locations
US11474857B1 (en) Accelerated migration of compute instances using offload cards
US11573839B1 (en) Dynamic scheduling for live migration between cloud regions and edge locations
US11662928B1 (en) Snapshot management across cloud provider network extension security boundaries
Altahat et al. Analysis and comparison of live virtual machine migration methods
US10791062B1 (en) Independent buffer memory for network element
US11809735B1 (en) Snapshot management for cloud provider network extensions
US11916999B1 (en) Network traffic management at radio-based application pipeline processing servers
WO2021179556A1 (en) Storage system and request processing method, and switch
US20240236178A1 (en) Network traffic management at radio-based application pipeline processing servers
WO2023231572A1 (en) Container creation method and apparatus, and storage medium
US11853785B1 (en) Virtual machine cloning and resource configuration
WO2023077791A1 (en) Service processing method, system and apparatus