CN114816764A - Resource migration method and device, processor and electronic equipment - Google Patents

Resource migration method and device, processor and electronic equipment Download PDF

Info

Publication number
CN114816764A
CN114816764A CN202210591057.8A CN202210591057A CN114816764A CN 114816764 A CN114816764 A CN 114816764A CN 202210591057 A CN202210591057 A CN 202210591057A CN 114816764 A CN114816764 A CN 114816764A
Authority
CN
China
Prior art keywords
migration
cluster
resources
migrated
resource
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
CN202210591057.8A
Other languages
Chinese (zh)
Inventor
陈锦涛
孙政清
白佳乐
Current Assignee (The listed assignees may be inaccurate. Google has not performed a legal analysis and makes no representation or warranty as to the accuracy of the list.)
Industrial and Commercial Bank of China Ltd ICBC
Original Assignee
Industrial and Commercial Bank of China Ltd ICBC
Priority date (The priority date is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the date listed.)
Filing date
Publication date
Application filed by Industrial and Commercial Bank of China Ltd ICBC filed Critical Industrial and Commercial Bank of China Ltd ICBC
Priority to CN202210591057.8A priority Critical patent/CN114816764A/en
Publication of CN114816764A publication Critical patent/CN114816764A/en
Pending legal-status Critical Current

Links

Images

Classifications

    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06FELECTRIC DIGITAL DATA PROCESSING
    • G06F9/00Arrangements for program control, e.g. control units
    • G06F9/06Arrangements for program control, e.g. control units using stored programs, i.e. using an internal store of processing equipment to receive or retain programs
    • G06F9/46Multiprogramming arrangements
    • G06F9/50Allocation of resources, e.g. of the central processing unit [CPU]
    • G06F9/5061Partitioning or combining of resources

Landscapes

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

Abstract

The application discloses a resource migration method, a resource migration device, a processor and electronic equipment. Relating to the field of cloud computing, the method comprises the following steps: acquiring a migration request for migrating a plurality of resources to be migrated in an original cluster; responding to the migration request, and executing the operation of migrating a plurality of resources to be migrated in the original cluster to the target cluster; in the process of migrating a plurality of resources to be migrated in an original cluster to a target cluster, if it is detected that a target resource capable of providing external services exists in the target cluster, determining migration information of the target resource, wherein the plurality of resources to be migrated include the target resource, and the migration information is used for indicating migration progress of the target resource relative to the plurality of resources to be migrated; and migrating the request traffic of the original cluster to the target cluster according to the migration information, wherein the request traffic is served by the target resource. By the method and the device, the problem that resources in the cluster cannot be subjected to hot migration in the related technology is solved.

Description

Resource migration method and device, processor and electronic equipment
Technical Field
The present application relates to the field, and in particular, to a resource migration method, device, processor, and electronic device.
Background
The k8s cluster migration is a common requirement scenario in PaaS cloud operation and maintenance, and under scenarios such as infrastructure change, k8s upgrade, and technology architecture transformation, there is a requirement for k8s cluster migration. Generally, k8s cluster migration refers primarily to the re-creation of k8s resources in a source cluster in a target cluster. Besides migration of k8s resources, the migration of cluster traffic is also important, and in an actual migration scenario, the shorter the service interruption time brought to the service by migration of an application is, the better.
The existing k8s cluster migration technical scheme is mostly based on cluster resource redeployment, that is, cluster resources are redeployed in a target cluster according to the original deployment mode of the k8s resources of a source cluster. The technical scheme generally needs to comb resource lists and attributions of a source cluster k8s, comb k8s resource creation logic, make and integrate migration schemes of k8s resources, make and integrate emergency rollback schemes of k8s resource migration and other steps.
The k8s cluster migration technical scheme based on cluster resource redeployment has the defects of low automation degree, long closed loop, poor universality and the like. The core idea of the scheme is to execute the original steps of cluster resource deployment in the target cluster to achieve the effect of cluster migration, but since the k8s cluster is an infrastructure shared by multiple users, the migration and rollback schemes need to be provided by the users, and the cloud platform operation and maintenance personnel are integrated, so that the migration uncertainty is increased. In addition, because the resources deployed by each cluster are different and the related applications are different, the migration scheme is different according to different clusters, and the universality is poor. Finally, the migration of the cluster traffic is not considered, which may cause the interruption of the external service of the application in the cluster migration process.
Aiming at the problem that resources in a cluster cannot be subjected to hot migration in the related art, an effective solution is not provided at present.
Disclosure of Invention
The present application mainly aims to provide a resource migration method, a resource migration apparatus, a processor, and an electronic device, so as to solve the problem in the related art that a resource in a cluster cannot be migrated in a hot manner.
In order to achieve the above object, according to an aspect of the present application, there is provided a migration method of a resource. The method comprises the following steps: acquiring a migration request for migrating a plurality of resources to be migrated in an original cluster; responding to the migration request, and executing the operation of migrating the plurality of resources to be migrated in the original cluster to a target cluster; in the process of migrating a plurality of resources to be migrated in the original cluster to a target cluster, if it is detected that a target resource capable of providing external services exists in the target cluster, determining migration information of the target resource, wherein the plurality of resources to be migrated include the target resource, and the migration information is used for indicating migration progress of the target resource relative to the plurality of resources to be migrated; and migrating the request traffic of the original cluster to the target cluster according to the migration information, wherein the request traffic is served by the target resource.
Optionally, in response to the migration request, the executing the operation of migrating the plurality of resources to be migrated in the original cluster to the target cluster includes: copying a plurality of resources to be migrated in the original cluster to a cloud storage device; and restoring the plurality of resources to be migrated received by the cloud storage device to the target cluster.
Optionally, in response to the migration request, the executing the operation of migrating the plurality of resources to be migrated in the original cluster to the target cluster includes: checking whether the calling interfaces of the original cluster and the target cluster are successfully butted with the cloud storage device or not; under the condition that the calling interfaces of the original cluster and the target cluster are successfully connected with the cloud storage device in an abutting mode, identifying a task type indicated by the migration request, wherein the task type comprises: resource copy tasks and resource recovery tasks; under the condition that the task type is the resource copying task, copying a plurality of resources to be migrated in the original cluster to the cloud storage device; and under the condition that the task type is the resource recovery task, recovering the plurality of resources to be migrated received by the cloud storage device to the target cluster.
Optionally, the migrating the resource in the original cluster to the target cluster in response to the migration request includes: identifying migration parameters in the migration request, wherein the migration parameters include at least: migrating addresses, migrating resource namespaces and migrating resource types; configuring the original cluster and the target cluster to be in butt joint according to the migration address; determining a plurality of resources to be migrated which need to be migrated from the original cluster according to the migration resource name space or the migration resource type; and migrating the resource to be migrated to the target cluster.
Optionally, the migrating the resource in the original cluster to the target cluster in response to the migration request includes: responding to the migration request, and identifying the dependency relationship among the resources to be migrated in the original cluster; determining a migration sequence of the plurality of resources to be migrated according to the dependency relationship; and migrating the plurality of resources to be migrated in the original cluster to the target cluster according to the migration sequence.
Optionally, migrating the request traffic of the original cluster to the target cluster according to the migration information includes: determining a gray scale according to the migration information, wherein the gray scale is used for representing the proportion of the target resource amount of the target resource relative to the total migration resource amount, and the total migration resource amount is the resource amount of the plurality of resources to be migrated in the original cluster before migration starts; determining the transfer proportion of the request flow according to the gray scale; and migrating the request traffic of the original cluster to the target cluster according to the migration proportion.
Optionally, migrating the request traffic of the original cluster to the target cluster according to the migration information includes: determining gray-scale time according to the migration information, wherein the gray-scale time is used for representing migration time for migrating a plurality of resources to be migrated from the original cluster to the target cluster; and under the condition that the gray-scale time exceeds a preset time threshold, transferring all the request traffic of the original cluster to the target cluster.
In order to achieve the above object, according to another aspect of the present application, there is provided a migration apparatus of a resource. The device includes: the system comprises an acquisition unit, a migration unit and a migration unit, wherein the acquisition unit is used for acquiring migration requests for migrating a plurality of resources to be migrated in an original cluster; an execution unit, configured to respond to the migration request, and execute an operation of migrating the multiple resources to be migrated in the original cluster to a target cluster; a determining unit, configured to determine migration information of a target resource if it is detected that the target cluster has a target resource capable of providing external services, in a process of migrating a plurality of resources to be migrated in the original cluster to the target cluster, where the plurality of resources to be migrated include the target resource, and the migration information is used to indicate a migration progress of the target resource with respect to the plurality of resources to be migrated; and the migration unit is used for migrating the request traffic of the original cluster to the target cluster according to the migration information, wherein the request traffic is served by the target resource.
To achieve the above object, according to another aspect of the present application, there is provided a processor. The processor is used for running a program, wherein the program executes the migration method of the resources when running.
To achieve the above object, according to another aspect of the present application, there is provided an electronic device. The electronic device comprises one or more processors and a memory for storing one or more programs, wherein the one or more programs, when executed by the one or more processors, cause the one or more processors to implement the method for migrating resources described above.
Through the application, the following steps are adopted: acquiring a migration request for migrating a plurality of resources to be migrated in an original cluster; responding to the migration request, and executing the operation of migrating a plurality of resources to be migrated in the original cluster to the target cluster; in the process of migrating a plurality of resources to be migrated in an original cluster to a target cluster, if it is detected that a target resource capable of providing external services exists in the target cluster, determining migration information of the target resource, wherein the migration information is used for indicating migration progress of the target resource relative to the plurality of resources to be migrated; and migrating the request traffic of the original cluster to the target cluster according to the migration information, wherein the request traffic is served by the target resource, so that the problem that the resources in the cluster cannot be subjected to hot migration in the related technology is solved. And further achieves the effect of carrying out hot migration on the resources in the cluster.
Drawings
The accompanying drawings, which are incorporated in and constitute a part of this application, illustrate embodiments of the application and, together with the description, serve to explain the application and are not intended to limit the application. In the drawings:
fig. 1 is a flowchart of a migration method of a resource according to an embodiment of the present application;
FIG. 2 is a schematic diagram of a migration scheme of a resource provided according to an embodiment of the present application;
FIG. 3 is a schematic diagram of performing resource copy and resource recovery according to an embodiment of the present application;
FIG. 4 is a schematic diagram of traffic migration provided in accordance with an embodiment of the present application;
FIG. 5 is a schematic diagram of a migration apparatus for resources according to an embodiment of the present application;
fig. 6 is a schematic diagram of an electronic device provided according to an embodiment of the present application.
Detailed Description
It should be noted that the embodiments and features of the embodiments in the present application may be combined with each other without conflict. The present application will be described in detail below with reference to the embodiments with reference to the attached drawings.
In order to make the technical solutions better understood by those skilled in the art, the technical solutions in the embodiments of the present application will be clearly and completely described below with reference to the drawings in the embodiments of the present application, and it is obvious that the described embodiments are only partial embodiments of the present application, but not all embodiments. All other embodiments, which can be derived by a person skilled in the art from the embodiments given herein without making any creative effort, shall fall within the protection scope of the present application.
It should be noted that the terms "first," "second," and the like in the description and claims of this application and in the drawings described above are used for distinguishing between similar elements and not necessarily for describing a particular sequential or chronological order. It should be understood that the data so used may be interchanged under appropriate circumstances such that embodiments of the application described herein may be used. Furthermore, the terms "comprises," "comprising," and "having," and any variations thereof, are intended to cover a non-exclusive inclusion, such that a process, method, system, article, or apparatus that comprises a list of steps or elements is not necessarily limited to those steps or elements expressly listed, but may include other steps or elements not expressly listed or inherent to such process, method, article, or apparatus.
It should be noted that relevant information (including but not limited to user equipment information, user personal information, etc.) and data (including but not limited to data for presentation, analyzed data, etc.) referred to in the present disclosure are information and data that are authorized by the user or sufficiently authorized by various parties. For example, an interface is provided between the system and the relevant user or organization, before obtaining the relevant information, an obtaining request needs to be sent to the user or organization through the interface, and after receiving the consent information fed back by the user or organization, the relevant information is obtained.
The present invention is described below with reference to preferred implementation steps, and fig. 1 is a flowchart of a resource migration method provided in an embodiment of the present application, and as shown in fig. 1, the method includes the following steps:
step S102, acquiring a migration request for migrating a plurality of resources to be migrated in an original cluster;
step S104, responding to the migration request, and executing the operation of migrating a plurality of resources to be migrated in the original cluster to the target cluster;
step S106, in the process of migrating a plurality of resources to be migrated in an original cluster to a target cluster, if it is detected that a target resource capable of providing external services exists in the target cluster, determining migration information of the target resource, wherein the plurality of resources to be migrated include the target resource, and the migration information is used for indicating the migration progress of the target resource relative to the plurality of resources to be migrated;
and step S108, migrating the request traffic of the original cluster to the target cluster according to the migration information, wherein the request traffic is served by the target resource.
Through the application, the following steps are adopted: acquiring a migration request for migrating a plurality of resources to be migrated in an original cluster; responding to the migration request, and executing the operation of migrating a plurality of resources to be migrated in the original cluster to the target cluster; in the process of migrating a plurality of resources to be migrated in an original cluster to a target cluster, if it is detected that a target resource capable of providing external services exists in the target cluster, determining migration information of the target resource, wherein the migration information is used for indicating migration progress of the target resource relative to the plurality of resources to be migrated; and migrating the request traffic of the original cluster to the target cluster according to the migration information, wherein the request traffic is served by the target resource, so that the problem that the resources in the cluster cannot be subjected to hot migration in the related technology is solved. And further, the effect of carrying out hot migration on the resources in the cluster is achieved.
The clusters in the above steps S102 to S108 may be k8S clusters, that is, the original cluster and the target cluster are both k8S clusters; the above steps are used to migrate the resources in the original k8s cluster to the target k8s cluster.
In the step S106, a grayscale migration policy may be adopted in the process of migrating the multiple resources to be migrated in the original cluster to the target cluster, where the grayscale migration policy refers to splitting multiple services supported by the multiple resources to be migrated and then migrating the multiple services one by one, so that in the migration process, as long as the migration of the resource to be migrated that supports a certain service is completed, the service supported by the migrated resource may be used without waiting for the complete migration of the multiple resources to be migrated to begin to be used in the migrated resource.
For example, in the case that a plurality of resources to be migrated in the original cluster support a service, B service, and C service, the grayscale migration refers to: firstly, transmitting a resource to be migrated corresponding to the service A, then transmitting a resource to be migrated corresponding to the service B, and finally transmitting a resource to be migrated corresponding to the service C; during transmission, if the resource to be migrated of the service a is migrated, the target cluster may immediately execute the service a using the migrated resource; in the conventional migration scheme, the service in the original cluster can be used only after the resources to be migrated in the original cluster are completely migrated.
In the step S104, in the process of migrating the multiple resources to be migrated in the original cluster to the target cluster, the cloud storage device may be used as an intermediate device between the original cluster and the target cluster, the cloud storage device copies the files to be migrated from the original cluster, and then restores the files to be migrated in the cloud storage device to the target cluster.
Optionally, in the method for migrating resources provided in the embodiment of the present application, in response to the migration request, executing an operation of migrating a plurality of resources to be migrated in the original cluster to the target cluster includes: copying a plurality of resources to be migrated in the original cluster to a cloud storage device; and restoring the plurality of resources to be migrated received by the cloud storage device to the target cluster.
It should be noted that the cloud storage device is used to store an original file of a resource to be transmitted in an original cluster, and the migration tool currently supports object storage type cloud storage services, including object storage services of mainstream public cloud vendors such as AWS, GCP, Azure, and the like. In addition, any Amazon S3 interface compatible object store is also supported.
Fig. 2 is a schematic diagram of a migration scheme of a resource according to an embodiment of the present application, and as shown in fig. 2, a migration tool is disposed in a cluster, and the migration tool executes a copy and recovery function of the resource, where in a case that the cluster is a k8s cluster, an original cluster is an original k8s cluster 2022, a target cluster is a target k8s cluster 2042, the migration tool in the original cluster is a first migration tool 2024 for executing the copy function, and the migration tool in the target cluster is a second migration tool 2044 for executing the recovery function.
Optionally, as shown in fig. 2, the original cluster is connected to the cloud storage device 206 through a first migration tool 2024, and is configured to copy the multiple resources to be migrated in the original cluster to the cloud storage device, and the target cluster is connected to the cloud storage device 206 through a second migration tool 2044, and is configured to copy the multiple resources to be migrated in the cloud storage device to the target cluster.
Optionally, as shown in fig. 2, the resource migration scheme further includes a migration management module 208 connected to the original cluster and the target cluster, where the migration management module is a control module for cluster migration and mainly provides capabilities of cluster resource migration 2082, cluster traffic migration 2084, cluster migration monitoring 2086, and the like.
Optionally, the migration tool mainly provides functions of copying and recovering the k8s resource, that is, during the migration process, the migration tool is used to complete the copying of the k8s resource in the source cluster first, and then complete the recovery of the k8s resource in the target cluster, so as to complete the migration of the k8s resource.
Optionally, the migration tool is deployed in both the source k8s cluster and the target k8s cluster, and is called by the migration management module to execute operations such as resource copy and resource recovery according to the call parameters.
Optionally, in the method for migrating resources provided in the embodiment of the present application, in response to the migration request, executing an operation of migrating a plurality of resources to be migrated in the original cluster to the target cluster includes: checking whether the calling interfaces of the original cluster and the target cluster are successfully butted with the cloud storage equipment; under the condition that the call interfaces of the original cluster and the target cluster are successfully connected with the cloud storage device in an abutting mode, identifying a task type indicated by the migration request, wherein the task type comprises the following steps: resource copy tasks and resource recovery tasks; under the condition that the task type is a resource copying task, copying a plurality of resources to be migrated in the original cluster to the cloud storage device; and under the condition that the task type is the resource recovery task, recovering the plurality of resources to be migrated received by the cloud storage device to the target cluster.
Alternatively, the calling interface may be a kube-apiserver interface in the k8s cluster.
In the above embodiment of the present invention, the migration request is used to indicate the task type of the migration task, where the task type of the migration request may be split into a resource copy task and a resource recovery task, the original cluster executes the resource copy task, and a plurality of resources to be migrated in the original cluster are copied to the cloud storage device; and executing the resource recovery task by the target cluster, and recovering the plurality of resources to be migrated received by the cloud storage device to the target cluster, so that the resource copy task and the resource recovery task can be respectively executed by the original cluster and the target cluster, and the resource migration task can be reasonably distributed.
Fig. 3 is a schematic diagram of performing resource copy and resource recovery according to an embodiment of the present application, and as shown in fig. 3, the method includes the following steps:
s301, receiving a migration request issued by the migration management module.
S302, executing a health check logic of the migration tool, mainly checking whether the cloud storage device is successfully docked or not, and checking whether the kube-apiserver of the k8S cluster is successfully docked or not. And if any one of the cloud storage and the kube-api server fails to be in butt joint, returning an error and ending the processing of the request.
And S303, judging whether a resource copy task or a resource recovery task needs to be executed according to the migration parameters of the migration request, executing the step S304 if the resource copy task is the resource copy task, and executing the step S314 if the resource import task is the resource import task.
S304, if the resource copying task is the resource copying task, all resources (namely resources to be migrated) of the cluster are inquired from the kube-apiserver, and original files of all the resources (namely the resources to be migrated) are uploaded to the cloud storage device.
S305, judging whether the resource copying task is completed or not, or judging whether the resource copying task is overtime or not, if yes, ending, and if not, returning to the step S304 to execute the resource copying task.
S314, if the resource recovery task is performed, acquiring an original file of the k8S resource from the cloud storage device, and calling the kube-apiserver of the target cluster to recover all k8S resources (namely resources to be migrated).
S315, judging whether the resource recovery task is completed or not, or judging whether the resource recovery task is overtime or not, if yes, ending, otherwise, returning to the step S314 to execute the resource recovery task.
It should be noted that kube-apiserver is one of the most important cores of k8s, and the main functions include: -providing a rest api interface for cluster management, including authentication authorization, data checking of primary cluster state changes, etc.; providing data interaction and communication with other modules. Wherein, only the api server can directly operate the etcd database.
Optionally, as shown in fig. 2, the migration management module includes: the system comprises a cluster resource migration module, a cluster traffic migration module and cluster migration monitoring.
Optionally, as shown in fig. 2, the cluster resource migration module, which provides management capability of the resource migration task, mainly includes: configuration of resource migration parameters and arrangement of resource migration tasks.
Optionally, in the method for migrating resources provided in the embodiment of the present application, migrating resources in an original cluster to a target cluster in response to a migration request includes: identifying migration parameters in the migration request, wherein the migration parameters at least comprise: migrating addresses, migrating resource namespaces and migrating resource types; configuring the original cluster and the target cluster to be in butt joint according to the migration address; determining a plurality of resources to be migrated which need to be migrated from the original cluster according to the migration resource name space or the migration resource type; and migrating the resources to be migrated to the target cluster.
Optionally, the migration parameters further include: a cloud storage address of the cloud storage device.
In the foregoing embodiment of the present invention, the addresses of the original cluster and the target cluster are indicated by the migration parameter in the migration request, and the device cluster that needs to perform resource migration is determined; the resources to be migrated which need to be subjected to resource migration are indicated through the migration resource name space or the migration resource type, so that the selection of the resources to be migrated is realized; therefore, resources to be migrated can be specified according to the name space of the migrated resources or the type of the migrated resources according to the actual scene requirements, and the flexibility of cluster migration is improved.
Optionally, the configuration of the resource migration parameter is used to configure the migration parameter, where the migration parameter is shown in table 1, and the migration specific k8s resource may be specified according to the actual scene requirement by migrating a resource namespace and a migration resource type parameter, so as to improve the flexibility of cluster migration.
Parameter name Parameter value Description of the invention
Task type Copy/restore /
Cloud storage address xx.xx.xx.xx Cloud storage service address
kube-apiserver address xx.xx.xx.xx kube-apiserver service address
Migrating resource namespaces demo-namespaces Specifying migration of a namespace resource
Migrating resource types configmap Specifying migration of a certain type of resource
TABLE 1
Optionally, in the method for migrating resources provided in the embodiment of the present application, migrating resources in an original cluster to a target cluster in response to a migration request includes: responding to the migration request, and identifying the dependency relationship among a plurality of resources to be migrated in the original cluster; determining the migration sequence of a plurality of resources to be migrated according to the dependency relationship; and migrating a plurality of resources to be migrated in the original cluster to the target cluster according to the migration sequence.
Optionally, the arrangement of the resource migration task realizes control of the migration sequence of the resources to be migrated. In a multi-cloud scenario, a service is sometimes provided by the cooperation of applications deployed in a plurality of different k8s clusters, and the services have a mutual dependency relationship. And the sequential migration of a plurality of clusters according to the requirement can be realized by arranging the resource migration tasks.
Optionally, in the method for migrating resources provided in the embodiment of the present application, migrating the request traffic of the original cluster to the target cluster according to the migration information includes: determining a gray scale according to the migration information, wherein the gray scale is used for representing the proportion of the target resource amount of the target resource relative to the total migration resource amount, and the total migration resource amount is the resource amount of a plurality of resources to be migrated in the original cluster before the migration starts; determining the migration proportion of the requested flow according to the gray scale proportion; and migrating the request traffic of the original cluster to the target cluster according to the migration proportion.
In the above embodiment of the present invention, the gray scale refers to a ratio of a target resource amount of a target resource to a total migration resource amount of all resources to be migrated in an original cluster, a request traffic may be determined according to the gray scale, and a part of the request traffic executed in the original cluster is migrated into the target cluster for execution, thereby achieving a technical effect of performing thermal migration on resources in the cluster.
Optionally, in the method for migrating resources provided in the embodiment of the present application, migrating the request traffic of the original cluster to the target cluster according to the migration information includes: determining gray-scale time according to the migration information, wherein the gray-scale time is used for expressing the migration time for migrating a plurality of resources to be migrated from the original cluster to the target cluster; and under the condition that the gray-scale time exceeds a preset time threshold, transferring all the request traffic of the original cluster to the target cluster.
In the above embodiment of the present invention, the predetermined time threshold is a preset total migration time that is consumed for migrating all the resources to be migrated in the original cluster to the target cluster, and when the gray-scale time exceeds the predetermined time threshold, it indicates that all the resources in the original cluster have been migrated to the target cluster, and all the request traffic executed by the original cluster is migrated to the target cluster.
Optionally, as shown in fig. 2, the cluster traffic migration module mainly provides a migration capability for application traffic (i.e., request traffic) in a cluster migration process, and implements live migration of a cluster in combination with cluster resource migration.
Alternatively, the cluster traffic migration task involves parameters such as the traffic migration instance specified by the configuration service name, and the gray-scale policy for traffic switching specified by the gray-scale ratio and the gray-scale time, as shown in table 2.
Parameter name Parameter value Description of the preferred embodiment
Service name Mysql-0010 Traffic service instance name to be migrated
Service domain name http://mysql:8080 Domain name for external access of service
Health examination probe http://healthy:2020 To check whether the service is healthy
Gray scale ratio 20% Flow migration gray scale ratio
Time of grey scale 30min Flow transition gray scale time
TABLE 2
Fig. 4 is a schematic diagram of traffic migration according to an embodiment of the present application, as shown in fig. 4, including the following steps:
s401, receiving a request of a migration management module.
S402, query whether the service instance (i.e., target resource) specified in the target k8S cluster is ready, i.e., whether the recovery is successful. If not ready, retry; if so, step S403 is performed.
And S403, calling the service health check probe, and checking whether the application of the target resource can provide the service to the outside. Retry if the health check fails; if the check is successful, step S404 is performed.
S404, calling a DNS to modify domain name resolution configuration, and transferring partial proportional request flow to a target cluster application according to the gray scale.
S405, it is checked whether the gray scale time is overtime (i.e. it is checked whether the gray scale time exceeds a predetermined time threshold), if overtime, step S406 is executed, and if not overtime, the process returns to step S404.
S406, calling DNS to modify domain name resolution configuration, and migrating all request traffic to target cluster application.
Optionally, as shown in fig. 2, the cluster migration monitoring module mainly displays a monitoring index in the cluster migration process. The monitoring indexes are divided into two types, one type is the monitoring index of cluster resource migration, and the monitoring index mainly comprises the following steps: the total cluster resource migration amount, the total migrated resource amount, the migration time consumption and the like; the other type is a monitoring index of cluster traffic migration, which mainly comprises the following steps: flow migration progress, success rate of requests during flow migration gray scale, time consumed for requests, and the like.
Compared with the existing k8s cluster migration technology, the method has the advantages of high automation degree and strong universality. By docking the kube-apiserver and the cloud storage, the highly automated cluster resource copying and recovery capability is realized, the migration logic is coded, and the migration efficiency is improved. Compared with the existing k8s cluster migration technology, the method has the advantages of small influence on the service and no interruption to the external service. By adding a cluster flow migration mechanism, the migration of the application flow is carried out while cluster resources are migrated, the stability of the flow migration is ensured by a gray strategy, and the cluster heat migration capability is realized; therefore, the defects of low automation degree, poor universality, incapability of guaranteeing the continuity of application services and the like in the conventional k8s cluster migration technology are overcome.
According to the resource migration method provided by the embodiment of the application, a migration request for migrating a plurality of resources to be migrated in an original cluster is obtained; responding to the migration request, and executing the operation of migrating a plurality of resources to be migrated in the original cluster to the target cluster; in the process of migrating a plurality of resources to be migrated in an original cluster to a target cluster, if it is detected that a target resource capable of providing external services exists in the target cluster, determining migration information of the target resource, wherein the migration information is used for indicating migration progress of the target resource relative to the plurality of resources to be migrated; and migrating the request traffic of the original cluster to the target cluster according to the migration information, wherein the request traffic is served by the target resource, so that the problem that the resources in the cluster cannot be subjected to hot migration in the related technology is solved. And further achieves the effect of carrying out hot migration on the resources in the cluster.
It should be noted that the steps illustrated in the flowcharts of the figures may be performed in a computer system such as a set of computer-executable instructions and that, although a logical order is illustrated in the flowcharts, in some cases, the steps illustrated or described may be performed in an order different than presented herein.
The embodiment of the present application further provides a device for migrating resources, and it should be noted that the device for migrating resources of the embodiment of the present application may be used to execute the method for migrating resources provided in the embodiment of the present application. The following describes a resource migration apparatus according to an embodiment of the present application.
Fig. 5 is a schematic diagram of a migration apparatus of a resource according to an embodiment of the present application. As shown in fig. 5, the apparatus includes: an obtaining unit 52, configured to obtain a migration request for migrating a plurality of resources to be migrated in an original cluster; an executing unit 54, configured to respond to the migration request, and execute an operation of migrating a plurality of resources to be migrated in the original cluster to the target cluster; a determining unit 56, configured to determine migration information of a target resource if it is detected that the target cluster has a target resource capable of providing external services during a process of migrating a plurality of resources to be migrated in an original cluster to the target cluster, where the plurality of resources to be migrated include the target resource, and the migration information is used to indicate a migration progress of the target resource with respect to the plurality of resources to be migrated; a migration unit 58, configured to migrate the request traffic of the original cluster to the target cluster according to the migration information, where the request traffic is served by the target resource.
According to the resource migration method provided by the embodiment of the application, a migration request for migrating a plurality of resources to be migrated in an original cluster is obtained; responding to the migration request, and executing the operation of migrating a plurality of resources to be migrated in the original cluster to the target cluster; in the process of migrating a plurality of resources to be migrated in an original cluster to a target cluster, if it is detected that a target resource capable of providing external services exists in the target cluster, determining migration information of the target resource, wherein the migration information is used for indicating migration progress of the target resource relative to the plurality of resources to be migrated; and migrating the request traffic of the original cluster to the target cluster according to the migration information, wherein the request traffic is served by the target resource, so that the problem that the resources in the cluster cannot be subjected to hot migration in the related technology is solved. And further achieves the effect of carrying out hot migration on the resources in the cluster.
Optionally, in the device for migrating resources provided in the embodiment of the present application, the execution unit includes: the copying module is used for copying a plurality of resources to be migrated in the original cluster to the cloud storage device; and the recovery module is used for recovering the plurality of resources to be migrated received by the cloud storage device to the target cluster.
Optionally, in the device for migrating resources provided in the embodiment of the present application, the execution unit includes: the inspection module is used for inspecting whether the calling interfaces of the original cluster and the target cluster are successfully butted with the cloud storage equipment; the first identification module is used for identifying the task type indicated by the migration request under the condition that the call interfaces of the original cluster and the target cluster are successfully docked with the cloud storage device, wherein the task type comprises: resource copy tasks and resource recovery tasks; the first execution module is used for copying a plurality of resources to be migrated in the original cluster to the cloud storage device under the condition that the task type is a resource copy task; and the second execution module is used for recovering the plurality of resources to be migrated received by the cloud storage device to the target cluster under the condition that the task type is the resource recovery task.
Optionally, in the device for migrating resources provided in the embodiment of the present application, the execution unit includes: a second identification module, configured to identify a migration parameter in the migration request, where the migration parameter at least includes: migrating addresses, migrating resource namespaces and migrating resource types; the docking module is used for configuring the docking of the original cluster and the target cluster according to the migration address; the first determining module is used for determining a plurality of resources to be migrated which need to be migrated from the original cluster according to the migration resource name space or the migration resource type; and the third execution module is used for migrating the resources to be migrated to the target cluster.
Optionally, in the device for migrating resources provided in the embodiment of the present application, the execution unit includes: the third identification module is used for responding to the migration request and identifying the dependency relationship among a plurality of resources to be migrated in the original cluster; the second determining module is used for determining the migration sequence of the plurality of resources to be migrated according to the dependency relationship; and the fourth execution module is used for migrating the plurality of resources to be migrated in the original cluster to the target cluster according to the migration sequence.
Optionally, in the migration apparatus for resources provided in the embodiment of the present application, the migration unit includes: a third determining module, configured to determine a gray scale according to the migration information, where the gray scale is used to represent a ratio of a target resource amount of the target resource to a total migration resource amount, and the total migration resource amount is a resource amount of multiple resources to be migrated in the original cluster before the migration starts; the fourth determining module is used for determining the migration proportion of the request flow according to the gray scale proportion; and the first migration module is used for migrating the request traffic of the original cluster to the target cluster according to the migration proportion.
Optionally, in the migration apparatus for resources provided in the embodiment of the present application, the migration unit includes: a fifth determining module, configured to determine a gray-scale time according to the migration information, where the gray-scale time is used to indicate a migration time for migrating a plurality of resources to be migrated from the original cluster to the target cluster; and the second migration module is used for migrating all the request traffic of the original cluster to the target cluster under the condition that the gray-scale time exceeds a preset time threshold.
According to the resource migration device provided by the embodiment of the application, migration requests for migrating a plurality of resources to be migrated in an original cluster are obtained; responding to the migration request, and executing the operation of migrating a plurality of resources to be migrated in the original cluster to the target cluster; in the process of migrating a plurality of resources to be migrated in an original cluster to a target cluster, if it is detected that a target resource capable of providing external services exists in the target cluster, determining migration information of the target resource, wherein the migration information is used for indicating migration progress of the target resource relative to the plurality of resources to be migrated; and migrating the request traffic of the original cluster to the target cluster according to the migration information, wherein the request traffic is served by the target resource, so that the problem that the resources in the cluster cannot be subjected to thermal migration in the related technology is solved, and the effect of performing thermal migration on the resources in the cluster is further achieved.
The resource migration device comprises a processor and a memory, wherein the units and the like are stored in the memory as program units, and the processor executes the program units stored in the memory to realize corresponding functions.
The processor comprises a kernel, and the kernel calls the corresponding program unit from the memory. The kernel may be set one or more, by adjusting kernel parameters (for purposes of the present invention).
The memory may include volatile memory in a computer readable medium, Random Access Memory (RAM) and/or non-volatile memory, such as Read Only Memory (ROM) or flash memory (flash RAM), including at least one memory chip.
An embodiment of the present invention provides a computer-readable storage medium on which a program is stored, which, when executed by a processor, implements the method for migrating resources.
The embodiment of the invention provides a processor, which is used for running a program, wherein the program executes the migration method of the resource when running.
Fig. 6 is a schematic diagram of an electronic device according to an embodiment of the present application, and as shown in fig. 6, an embodiment of the present invention provides an electronic device 60, which includes a processor 62, a memory, and a program stored in the memory 64 and executable on the processor, and the processor implements the following steps when executing the program: acquiring a migration request for migrating a plurality of resources to be migrated in an original cluster; responding to the migration request, and executing the operation of migrating a plurality of resources to be migrated in the original cluster to the target cluster; in the process of migrating a plurality of resources to be migrated in an original cluster to a target cluster, if it is detected that a target resource capable of providing external services exists in the target cluster, determining migration information of the target resource, wherein the plurality of resources to be migrated include the target resource, and the migration information is used for indicating migration progress of the target resource relative to the plurality of resources to be migrated; and migrating the request traffic of the original cluster to the target cluster according to the migration information, wherein the request traffic is served by the target resource.
Optionally, the processor executes the program to implement the following steps: copying a plurality of resources to be migrated in the original cluster to a cloud storage device; and restoring the plurality of resources to be migrated received by the cloud storage device to the target cluster.
Optionally, the processor executes the program to implement the following steps: identifying migration parameters in the migration request, wherein the migration parameters at least comprise: migrating addresses, migrating resource namespaces and migrating resource types; configuring the original cluster and the target cluster to be in butt joint according to the migration address; determining a plurality of resources to be migrated which need to be migrated from the original cluster according to the migration resource name space or the migration resource type; and migrating the resources to be migrated to the target cluster.
Optionally, the processor executes the program to implement the following steps: checking whether the calling interfaces of the original cluster and the target cluster are successfully butted with the cloud storage equipment; under the condition that the call interfaces of the original cluster and the target cluster are successfully connected with the cloud storage device in an abutting mode, identifying a task type indicated by the migration request, wherein the task type comprises the following steps: resource copy tasks and resource recovery tasks; under the condition that the task type is a resource copying task, copying a plurality of resources to be migrated in the original cluster to the cloud storage device; and under the condition that the task type is the resource recovery task, recovering the plurality of resources to be migrated received by the cloud storage device to the target cluster.
Optionally, the processor executes the program to implement the following steps: responding to the migration request, and identifying the dependency relationship among a plurality of resources to be migrated in the original cluster; determining the migration sequence of a plurality of resources to be migrated according to the dependency relationship; and migrating a plurality of resources to be migrated in the original cluster to the target cluster according to the migration sequence.
Optionally, the processor executes the program to implement the following steps: determining a gray scale according to the migration information, wherein the gray scale is used for representing the proportion of the target resource amount of the target resource relative to the total migration resource amount, and the total migration resource amount is the resource amount of a plurality of resources to be migrated in the original cluster before the migration starts; determining the migration proportion of the requested flow according to the gray scale proportion; and migrating the request traffic of the original cluster to the target cluster according to the migration proportion.
Optionally, the processor executes the program to implement the following steps: determining gray-scale time according to the migration information, wherein the gray-scale time is used for expressing the migration time for migrating a plurality of resources to be migrated from the original cluster to the target cluster; and under the condition that the gray-scale time exceeds a preset time threshold, transferring all the request traffic of the original cluster to the target cluster.
The electronic device herein may be a server, a PC, a PAD, a mobile phone, etc.
The present application further provides a computer program product adapted to perform a program for initializing the following method steps when executed on a data processing device: acquiring a migration request for migrating a plurality of resources to be migrated in an original cluster; responding to the migration request, and executing the operation of migrating a plurality of resources to be migrated in the original cluster to the target cluster; in the process of migrating a plurality of resources to be migrated in an original cluster to a target cluster, if it is detected that a target resource capable of providing external services exists in the target cluster, determining migration information of the target resource, wherein the plurality of resources to be migrated include the target resource, and the migration information is used for indicating migration progress of the target resource relative to the plurality of resources to be migrated; and migrating the request traffic of the original cluster to the target cluster according to the migration information, wherein the request traffic is served by the target resource.
Alternatively, it is adapted to perform a procedure when executed on a data processing device, which initializes the following method steps: copying a plurality of resources to be migrated in the original cluster to a cloud storage device; and restoring the plurality of resources to be migrated received by the cloud storage device to the target cluster.
Alternatively, it is adapted to perform a procedure when executed on a data processing device, which initializes the following method steps: identifying migration parameters in the migration request, wherein the migration parameters at least comprise: migrating addresses, migrating resource namespaces and migrating resource types; configuring the butt joint of the original cluster and the target cluster according to the migration address; determining a plurality of resources to be migrated which need to be migrated from the original cluster according to the migration resource name space or the migration resource type; and migrating the resources to be migrated to the target cluster.
Alternatively, it is adapted to perform a procedure when executed on a data processing device, which initializes the following method steps: checking whether the calling interfaces of the original cluster and the target cluster are successfully butted with the cloud storage equipment; under the condition that the call interfaces of the original cluster and the target cluster are successfully connected with the cloud storage device in an abutting mode, identifying a task type indicated by the migration request, wherein the task type comprises the following steps: resource copy tasks and resource recovery tasks; under the condition that the task type is a resource copying task, copying a plurality of resources to be migrated in the original cluster to the cloud storage device; and under the condition that the task type is the resource recovery task, recovering the plurality of resources to be migrated received by the cloud storage device to the target cluster.
Alternatively, it is adapted to perform a procedure when executed on a data processing device, which initializes the following method steps: responding to the migration request, and identifying the dependency relationship among a plurality of resources to be migrated in the original cluster; determining the migration sequence of a plurality of resources to be migrated according to the dependency relationship; and migrating a plurality of resources to be migrated in the original cluster to the target cluster according to the migration sequence.
Alternatively, it is adapted to perform a procedure when executed on a data processing device, which initializes the following method steps: determining a gray scale according to the migration information, wherein the gray scale is used for representing the proportion of the target resource amount of the target resource relative to the total migration resource amount, and the total migration resource amount is the resource amount of a plurality of resources to be migrated in the original cluster before the migration starts; determining the migration proportion of the requested flow according to the gray scale proportion; and migrating the request traffic of the original cluster to the target cluster according to the migration proportion.
Alternatively, it is adapted to perform a procedure when executed on a data processing device, which initializes the following method steps: determining gray-scale time according to the migration information, wherein the gray-scale time is used for expressing the migration time for migrating a plurality of resources to be migrated from the original cluster to the target cluster; and under the condition that the gray time exceeds a preset time threshold, transferring all request flows of the original cluster to the target cluster.
As will be appreciated by one skilled in the art, embodiments of the present application may be provided as a method, system, or computer program product. Accordingly, the present application may take the form of an entirely hardware embodiment, an entirely software embodiment or an embodiment combining software and hardware aspects. Furthermore, the present application may take the form of a computer program product embodied on one or more computer-usable storage media (including, but not limited to, disk storage, CD-ROM, optical storage, and the like) having computer-usable program code embodied therein.
The present application is described with reference to flowchart illustrations and/or block diagrams of methods, apparatus (systems), and computer program products according to embodiments of the application. It will be understood that each flow and/or block of the flowchart illustrations and/or block diagrams, and combinations of flows and/or blocks in the flowchart illustrations and/or block diagrams, can be implemented by computer program instructions. These computer program instructions may be provided to a processor of a general purpose computer, special purpose computer, embedded processor, or other programmable data processing apparatus to produce a machine, such that the instructions, which execute via the processor of the computer or other programmable data processing apparatus, create means for implementing the functions specified in the flowchart flow or flows and/or block diagram block or blocks.
These computer program instructions may also be stored in a computer-readable memory that can direct a computer or other programmable data processing apparatus to function in a particular manner, such that the instructions stored in the computer-readable memory produce an article of manufacture including instruction means which implement the function specified in the flowchart flow or flows and/or block diagram block or blocks.
These computer program instructions may also be loaded onto a computer or other programmable data processing apparatus to cause a series of operational steps to be performed on the computer or other programmable apparatus to produce a computer implemented process such that the instructions which execute on the computer or other programmable apparatus provide steps for implementing the functions specified in the flowchart flow or flows and/or block diagram block or blocks.
In a typical configuration, a computing device includes one or more processors (CPUs), input/output interfaces, network interfaces, and memory.
The memory may include forms of volatile memory in a computer readable medium, Random Access Memory (RAM) and/or non-volatile memory, such as Read Only Memory (ROM) or flash memory (flash RAM). The memory is an example of a computer-readable medium.
Computer-readable media, including both non-transitory and non-transitory, removable and non-removable media, may implement information storage by any method or technology. The information may be computer readable instructions, data structures, modules of a program, 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 technology, compact disc read only memory (CD-ROM), Digital Versatile Discs (DVD) or other optical storage, magnetic cassettes, magnetic tape magnetic disk storage or other magnetic storage devices, or any other non-transmission medium that can be used to store information that can be accessed by a computing device. As defined herein, a computer readable medium does not include a transitory computer readable medium such as a modulated data signal and a carrier wave.
It should also be noted that the terms "comprises," "comprising," or any other variation thereof, are intended to cover a non-exclusive inclusion, such that a process, method, article, or apparatus that comprises a list of elements does not include only those elements but may include other elements not expressly listed or inherent to such process, method, article, or apparatus. Without further limitation, an element defined by the phrase "comprising an … …" does not exclude the presence of other identical elements in the process, method, article, or apparatus that comprises the element.
As will be appreciated by one skilled in the art, embodiments of the present application may be provided as a method, system, or computer program product. Accordingly, the present application may take the form of an entirely hardware embodiment, an entirely software embodiment or an embodiment combining software and hardware aspects. Furthermore, the present application may take the form of a computer program product embodied on one or more computer-usable storage media (including, but not limited to, disk storage, CD-ROM, optical storage, and the like) having computer-usable program code embodied therein.
The above are merely examples of the present application and are not intended to limit the present application. Various modifications and changes may occur to those skilled in the art. Any modification, equivalent replacement, improvement, etc. made within the spirit and principle of the present application should be included in the scope of the claims of the present application.

Claims (10)

1. A method for migrating resources, comprising:
acquiring a migration request for migrating a plurality of resources to be migrated in an original cluster;
responding to the migration request, and executing the operation of migrating the plurality of resources to be migrated in the original cluster to a target cluster;
in the process of migrating a plurality of resources to be migrated in the original cluster to a target cluster, if it is detected that a target resource capable of providing external services exists in the target cluster, determining migration information of the target resource, wherein the plurality of resources to be migrated include the target resource, and the migration information is used for indicating migration progress of the target resource relative to the plurality of resources to be migrated;
and migrating the request traffic of the original cluster to the target cluster according to the migration information, wherein the request traffic is served by the target resource.
2. The method of claim 1, wherein performing the operation of migrating the plurality of resources to be migrated in the original cluster to a target cluster in response to the migration request comprises:
copying a plurality of resources to be migrated in the original cluster to a cloud storage device;
and restoring the plurality of resources to be migrated received by the cloud storage device to the target cluster.
3. The method according to claim 1, wherein performing, in response to the migration request, the operation of migrating the plurality of resources to be migrated in the original cluster to a target cluster comprises:
checking whether the calling interfaces of the original cluster and the target cluster are successfully butted with the cloud storage equipment;
under the condition that the calling interfaces of the original cluster and the target cluster are successfully connected with the cloud storage device in an abutting mode, identifying a task type indicated by the migration request, wherein the task type comprises: resource copy tasks and resource recovery tasks;
under the condition that the task type is the resource copying task, copying a plurality of resources to be migrated in the original cluster to the cloud storage device;
and under the condition that the task type is the resource recovery task, recovering the plurality of resources to be migrated received by the cloud storage device to the target cluster.
4. The method of claim 1, wherein migrating the resources in the original cluster to the target cluster in response to the migration request comprises:
identifying migration parameters in the migration request, wherein the migration parameters include at least: a migration address, a migration resource namespace, and a migration resource type;
configuring the original cluster and the target cluster to be in butt joint according to the migration address;
determining a plurality of resources to be migrated which need to be migrated from the original cluster according to the migration resource name space or the migration resource type;
and migrating the resource to be migrated to the target cluster.
5. The method of claim 1, wherein migrating the resources in the original cluster to the target cluster in response to the migration request comprises:
responding to the migration request, and identifying the dependency relationship among the resources to be migrated in the original cluster;
determining a migration sequence of the plurality of resources to be migrated according to the dependency relationship;
and migrating the plurality of resources to be migrated in the original cluster to the target cluster according to the migration sequence.
6. The method of claim 1, wherein migrating the request traffic of the original cluster to the target cluster according to the migration information comprises:
determining a gray scale according to the migration information, wherein the gray scale is used for representing the proportion of the target resource amount of the target resource relative to the total migration resource amount, and the total migration resource amount is the resource amount of the plurality of resources to be migrated in the original cluster before migration starts;
determining the transfer proportion of the request flow according to the gray scale proportion;
and migrating the request traffic of the original cluster to the target cluster according to the migration proportion.
7. The method of claim 1, wherein migrating the request traffic of the original cluster to the target cluster according to the migration information comprises:
determining gray-scale time according to the migration information, wherein the gray-scale time is used for representing migration time for migrating a plurality of resources to be migrated from the original cluster to the target cluster;
and under the condition that the gray time exceeds a preset time threshold, transferring all the request traffic of the original cluster to the target cluster.
8. An apparatus for migrating resources, comprising:
the system comprises an acquisition unit, a migration unit and a migration unit, wherein the acquisition unit is used for acquiring a migration request for migrating a plurality of resources to be migrated in an original cluster;
an execution unit, configured to respond to the migration request, and execute an operation of migrating the multiple resources to be migrated in the original cluster to a target cluster;
a determining unit, configured to determine migration information of a target resource if it is detected that the target cluster has a target resource capable of providing external services, in a process of migrating a plurality of resources to be migrated in the original cluster to the target cluster, where the plurality of resources to be migrated include the target resource, and the migration information is used to indicate a migration progress of the target resource with respect to the plurality of resources to be migrated;
and the migration unit is used for migrating the request traffic of the original cluster to the target cluster according to the migration information, wherein the request traffic is served by the target resource.
9. A processor, configured to execute a program, wherein the program executes the method for migrating the resource according to any one of claims 1 to 7.
10. An electronic device comprising one or more processors and memory storing one or more programs, wherein the one or more programs, when executed by the one or more processors, cause the one or more processors to implement the method of migrating resources of any of claims 1-7.
CN202210591057.8A 2022-05-27 2022-05-27 Resource migration method and device, processor and electronic equipment Pending CN114816764A (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN202210591057.8A CN114816764A (en) 2022-05-27 2022-05-27 Resource migration method and device, processor and electronic equipment

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN202210591057.8A CN114816764A (en) 2022-05-27 2022-05-27 Resource migration method and device, processor and electronic equipment

Publications (1)

Publication Number Publication Date
CN114816764A true CN114816764A (en) 2022-07-29

Family

ID=82518678

Family Applications (1)

Application Number Title Priority Date Filing Date
CN202210591057.8A Pending CN114816764A (en) 2022-05-27 2022-05-27 Resource migration method and device, processor and electronic equipment

Country Status (1)

Country Link
CN (1) CN114816764A (en)

Similar Documents

Publication Publication Date Title
US20200344322A1 (en) Resource scheduling method, apparatus, device and system
CN111314479B (en) Data processing method and equipment
US9535754B1 (en) Dynamic provisioning of computing resources
US10169139B2 (en) Using predictive analytics of natural disaster to cost and proactively invoke high-availability preparedness functions in a computing environment
CN102611745A (en) On-line file moving method, device and system
CN111399764A (en) Data storage method, data reading device, data storage equipment and data storage medium
CN113010265A (en) Pod scheduling method, scheduler, memory plug-in and system
CN104517067B (en) Access the method, apparatus and system of data
CN113987401A (en) Recording method and device of network general log, storage medium and processor
WO2021013185A1 (en) Virtual machine migration processing and strategy generation method, apparatus and device, and storage medium
CN112631994A (en) Data migration method and system
US20220229689A1 (en) Virtualization platform control device, virtualization platform control method, and virtualization platform control program
CN115022198B (en) Resource information acquisition method, equipment and storage medium
CN114816764A (en) Resource migration method and device, processor and electronic equipment
CN111324368B (en) Data sharing method and server
CN111435320B (en) Data processing method and device
CN113448775A (en) Multi-source heterogeneous data backup method and device
CN112685130A (en) Virtual machine backup method and device in distributed storage environment and storage medium
CN114116681B (en) Data migration method and device
US20230281054A1 (en) Computer System Execution Environment Builder Tool
US20220137821A1 (en) Multi-Device Synchronization Systems and Methods
CN114860165A (en) Data migration method, system, device, storage medium and electronic equipment
CN116991546B (en) Cross-platform storage heat migration method and device
CN111399763B (en) Method, device, system, equipment and storage medium for data storage
US11121981B1 (en) Optimistically granting permission to host computing resources

Legal Events

Date Code Title Description
PB01 Publication
PB01 Publication
SE01 Entry into force of request for substantive examination
SE01 Entry into force of request for substantive examination