A shared storage migration system, method, electronic device and storage medium
Through the cloud management platform, shadow cloud hosts are created in the shared storage migration system and the migration process is monitored, which solves the data loss and automation problems of cross-cluster hot migration of shared storage and achieves an efficient migration process.
Patent Information
- Application Number
- CN202111011830.0
- Authority / Receiving Office
- CN · China
- Patent Type
- Patents(China)
- Current Assignee / Owner
- Filing Date
- 2021-08-31
- Publication Date
- 2024-10-29
- Estimated Expiration
- 2041-08-31
AI Technical Summary
Existing technology is difficult to implement live migration of shared storage across clusters, and the mirror-based migration method has problems with data loss and incomplete automation processes.
Send migration commands to the target cluster through the cloud management platform, create a shadow cloud host and mount the cloud hard disk of the source host, monitor the migration process, and ensure that the migration conditions are met before performing live migration to reduce the risk of data loss.
Realizes cross-cluster live migration, avoids data loss, greatly reduces migration time and risks, and realizes automation of the migration process.
Smart Images

Figure CN113821168B_ABST
Abstract
Description
Technical Field
[0001] The present application relates to the field of storage technology, and more specifically, to a shared storage migration system and method, an electronic device, and a computer-readable storage medium. Background Art
[0002] With the large-scale application of Openstack cloud platform, the scope of actual on-site usage scenarios of customers is becoming more and more extensive. Load balancing between clusters has become an important factor affecting the efficient application of physical resources and an imminent new problem.
[0003] Hot migration based on local images; the method of implementing cross-cluster resource migration based on Openstack also requires the creation of image files like the above patent, and its application scope is relatively limited; at the same time, the entire migration process requires manual participation, and cannot achieve true hot migration process automation; at the same time, the patent directly uses images to create system disks and data disks for distributed block storage, and replaces them, which may cause data loss during the migration process.
[0004] Therefore, how to implement hot migration of shared storage across clusters is a technical problem that those skilled in the art need to solve. Summary of the invention
[0005] The purpose of the present application is to provide a shared storage migration system, method, electronic device and computer-readable storage medium, which realize hot migration of shared storage across clusters.
[0006] To achieve the above objectives, the present application provides a shared storage migration system, including a cloud management platform, a source cluster and a target cluster;
[0007] The cloud management platform is used to send a first migration command to the target cluster; wherein the first migration command includes parameter information of a source host in the source cluster;
[0008] The target cluster is used to create a shadow cloud host based on the parameter information in the first migration command, and mount the cloud hard disk of the source host to the shadow cloud host;
[0009] The cloud management platform is further configured to send a second migration command to the source cluster after detecting that the shadow cloud host is successfully created;
[0010] The source cluster is configured to perform hot migration to a physical host in the target cluster after receiving the second migration command.
[0011] The cloud management platform is further used to verify whether the source cluster and the target cluster meet the cross-cluster hot migration conditions, and if so, execute the step of sending a first migration command to the target cluster.
[0012] The cross-cluster hot migration conditions include that the physical hosts of the source cluster and the target cluster are both in a password-free login state, and the basic resources of the source cluster and the target cluster meet preset conditions.
[0013] The target cluster is further used to verify whether its basic resources meet the parameter information in the first migration command. If so, the step of creating a shadow cloud host based on the parameter information in the first migration command is executed.
[0014] The cloud management platform is also used to monitor the creation process of the shadow cloud host. If it is detected that the creation of the shadow cloud host fails, the shadow cloud host is deleted.
[0015] The cloud management platform is further configured to send a migration completion instruction to the target cluster after monitoring that the hot migration of the source cluster is completed;
[0016] The target cluster is further configured to, after receiving the migration completion instruction, notify the shadow cloud host to check whether the migration is completed, and if so, use the shadow cloud host as the actual running cloud host.
[0017] The cloud management platform is further configured to send a deletion instruction to the source cluster after detecting that the shadow cloud host is actually running as the cloud host;
[0018] The source cluster is further configured to delete the source cloud host after receiving the deletion instruction, release the physical resources of the source cloud host, and release the cloud hard disk managed by the source cloud host.
[0019] To achieve the above objectives, the present application provides a shared storage migration method, comprising:
[0020] The cloud management platform sends a first migration command to the target cluster; wherein the first migration command includes parameter information of a source host in the source cluster;
[0021] The target cluster creates a shadow cloud host based on the parameter information in the first migration command, and mounts the cloud hard disk of the source host to the shadow cloud host;
[0022] After the cloud management platform detects that the shadow cloud host is successfully created, the cloud management platform sends a second migration command to the source cluster;
[0023] After receiving the second migration command, the source cluster performs hot migration to a physical host in the target cluster.
[0024] To achieve the above objectives, the present application provides an electronic device, including:
[0025] Memory for storing computer programs;
[0026] The processor is used to implement the steps performed by the cloud management platform or the source cluster or the target cluster in the above-mentioned shared storage migration system when executing the computer program.
[0027] To achieve the above objectives, the present application provides a computer-readable storage medium, on which a computer program is stored. When the computer program is executed by a processor, it implements the steps performed by the cloud management platform or source cluster or target cluster in the above-mentioned shared storage migration system.
[0028] It can be seen from the above scheme that a shared storage migration system provided by the present application includes a cloud management platform, a source cluster and a target cluster; the cloud management platform is used to send a first migration command to the target cluster; wherein the first migration command includes parameter information of the source host in the source cluster; the target cluster is used to create a shadow cloud host based on the parameter information in the first migration command, and mount the cloud hard disk of the source host to the shadow cloud host; the cloud management platform is also used to send a second migration command to the source cluster after monitoring that the shadow cloud host is successfully created; the source cluster is used to perform hot migration to the physical host in the target cluster after receiving the second migration command.
[0029] The shared storage migration system provided by the present application is that the cloud management platform sends a first migration instruction to the target cluster, and the target cluster creates a shadow cloud host, and manages the cloud hard disk on the source cloud host. The shadow cloud host has the same parameters as the source cloud host. After the shadow cloud host is successfully created, the cloud management platform sends a second migration instruction to the source cluster to complete the cross-cluster hot migration of the cloud host. At the same time, through the shared storage method, it can be ensured that the data of the cloud hard disk will not be migrated during the hot migration process, and the reading and writing of the cloud hard disk will not be interrupted, which greatly reduces the migration time and the risk of data loss. The present application also discloses a shared storage migration method, an electronic device, and a computer-readable storage medium, which can also achieve the above-mentioned technical effects.
[0030] It should be understood that the foregoing general description and the following detailed description are exemplary only and are not restrictive of the present application. BRIEF DESCRIPTION OF THE DRAWINGS
[0031] In order to more clearly illustrate the embodiments of the present application or the technical solutions in the prior art, the following is a brief introduction to the drawings required for use in the embodiments or the prior art descriptions. Obviously, the drawings described below are only some embodiments of the present application. For ordinary technicians in this field, other drawings can be obtained based on these drawings without creative work. The drawings are used to provide a further understanding of the present disclosure and constitute a part of the specification. Together with the following specific implementation methods, they are used to explain the present disclosure, but do not constitute a limitation to the present disclosure. In the drawings:
[0032] Figure 1 is a structural diagram of a shared storage migration system according to an exemplary embodiment;
[0033] Figure 2 is a flow chart of a shared storage migration method according to an exemplary embodiment;
[0034] Figure 3 The figure is a structural diagram of an electronic device according to an exemplary embodiment. DETAILED DESCRIPTION
[0035] The technical solutions in the embodiments of the present application will be clearly and completely described below in conjunction with the accompanying drawings in the embodiments of the present application. Obviously, the described embodiments are only a part of the embodiments of the present application, rather than all of the embodiments. Based on the embodiments in the present application, all other embodiments obtained by ordinary technicians in the field without making creative work are within the scope of protection of the present application. In addition, in the embodiments of the present application, "first", "second", etc. are used to distinguish similar objects, and are not necessarily used to describe a specific order or sequence.
[0036] The embodiment of the present application discloses a shared storage migration system, which realizes hot migration of shared storage across clusters.
[0037] See also Figure 1 , according to an exemplary embodiment, a structural diagram of a shared storage migration system is shown, such as Figure 1 As shown, it includes a cloud management platform 10, a source cluster 20 and a target cluster 30;
[0038] In this embodiment, the cloud management platform is used as a client to manage multiple clusters at the same time and monitor the migration task status between clusters. At the same time, the cloud management platform also serves as a communication module between clusters. During the migration process, the migration process information in one cluster can be sent to another cluster via a URL, thereby realizing communication between clusters.
[0039] In a specific implementation, the user selects a source cloud host 201 to be migrated in the source cluster 20 through the cloud management platform (Incloud manager) 10 for cross-cluster hot migration. After receiving the user's instruction, the cloud management platform will verify whether the source cluster 20 and the target cluster 30 meet the cross-cluster hot migration conditions, that is, the cloud management platform is also used to verify whether the source cluster and the target cluster meet the cross-cluster hot migration conditions. If so, the step of sending the first migration command to the target cluster is executed. Among them, the cross-cluster hot migration conditions include that the physical hosts of the source cluster and the target cluster are both in the password-free login state, and the basic resources of the source cluster and the target cluster meet the preset conditions.
[0040] The cloud management platform 10 is used to send a first migration command to the target cluster 30; wherein the first migration command includes parameter information of the source host 201 in the source cluster 20;
[0041] The target cluster 30 is used to create a shadow cloud host 301 based on the parameter information in the first migration command, and mount the 201 cloud hard disk of the source host to the shadow cloud host 301;
[0042] In a specific implementation, after the target cluster 30 receives the first migration command sent by the cloud management platform, it verifies the parameter information passed therein. If its own basic resources do not meet the parameter information, an exception message is returned, and the cloud management platform will set this migration task to a failed state. If its own basic resources meet the parameter information, a shadow cloud host 301 is created. That is, the target cluster 30 is also used to verify whether its own basic resources meet the parameter information in the first migration command. If so, the step of creating a shadow cloud host based on the parameter information in the first migration command is executed. Since the first migration command includes the parameter information of the source host 201 in the source cluster 20, the various parameters of the shadow cloud host are consistent with the source cloud host, which may include the name and uuid.
[0043] Nova of the target cluster 30 will notify neutron to establish the corresponding network port, notify cinder to manage the cloud hard disk of the source cloud host to this cluster, and the managed cloud hard disk will be in the state of managing. At the same time, the managed cloud hard disk will be mounted to the shadow cloud host. At this point, the shadow cloud host is successfully created, the state is ACTIVE, and the task state is pre_migrating. If the creation fails, the shadow cloud host task is set to Error.
[0044] The cloud management platform will monitor the entire hot migration process in real time, and query the status of the shadow cloud host. If the shadow cloud host status is found to be Error, the shadow cloud host will be deleted and the migration task status will be set to failure. That is, the cloud management platform 10 is also used to monitor the creation process of the shadow cloud host. If it is detected that the shadow cloud host creation fails, the shadow cloud host will be deleted. If the task status is pre_migarting, the second migration command will continue to be sent to the source cluster 10 to perform the hot migration operation.
[0045] The cloud management platform 10 is further configured to send a second migration command to the source cluster 20 after detecting that the shadow cloud host 301 is successfully created;
[0046] The source cluster 10 is configured to perform hot migration to a physical host in the target cluster 30 after receiving the second migration command.
[0047] In the specific implementation, when the source cluster 10 receives the second migration command sent by the cloud management platform, it will perform hot migration to the physical host in the target cluster 20, and at the same time, the task status of the source cloud host will be set to migrating. The prerequisite for migration must be to ensure that all physical hosts in the two clusters are in a password-free login state. After the hot migration is completed, the task status of the source cloud host is set to migrated. At the same time, cinder is notified to set the status of the cloud hard disk mounted in the source cloud host to managed, that is, the management is completed.
[0048] As a preferred implementation, the cloud management platform 10 is also used to monitor that after the hot migration of the source cluster 20 is completed, send a migration completion instruction to the target cluster 30; the target cluster 30 is also used to notify the shadow cloud host 301 to check whether the migration is completed after receiving the migration completion instruction. If so, the shadow cloud host 301 is used as the actual running cloud host.
[0049] In the specific implementation, the cloud management platform 10 detects that the source cloud host 201 in the source cluster 20 is in the migrated state, which means that the source cloud host has been successfully migrated. The cloud management platform 10 will send a migration completion instruction to the target cluster 30, notifying the shadow cloud host 301 to check whether the migration has been completed. If the migration has been completed, the task of the shadow cloud host 301 will be set to None, and the shadow cloud host 301 will become the actual running cloud host.
[0050] As a preferred implementation, the cloud management platform 10 is also used to send a deletion instruction to the source cluster 20 after monitoring that the shadow cloud host 301 is the actual running cloud host; the source cluster 20 is also used to delete the source cloud host 201 after receiving the deletion instruction, release the physical resources of the source cloud host 201, and release the cloud hard disk managed by the source cloud host 201.
[0051] In the specific implementation, when the cloud management platform 10 detects that the task status of the target cloud host, namely the shadow cloud host 301 in the target cluster 30 has become None, it will send a deletion instruction to the source cluster 20 to delete the source cloud host 201 and release physical resources. At the same time, it will notify cinder to release the managed cloud hard disk. At this time, the uniqueness of the cloud hard disk can be guaranteed in the two clusters to prevent it from being misoperated in another cluster.
[0052] In the shared storage migration system provided in the embodiment of the present application, the cloud management platform sends a first migration instruction to the target cluster, and the target cluster creates a shadow cloud host to manage the cloud hard disk on the source cloud host. The shadow cloud host has the same parameters as the source cloud host. After the shadow cloud host is successfully created, the cloud management platform sends a second migration instruction to the source cluster to complete the cross-cluster hot migration of the cloud host. At the same time, through the shared storage method, it can be ensured that the data of the cloud hard disk will not be migrated during the hot migration process, and the reading and writing of the cloud hard disk will not be interrupted, which greatly reduces the migration time and the risk of data loss.
[0053] A shared storage migration method provided in an embodiment of the present application is introduced below. The shared storage migration method described below and the shared storage migration system described above can be referenced to each other.
[0054] See also Figure 2 , according to an exemplary embodiment, a flowchart of a shared storage migration method is shown, such as Figure 2 As shown, including:
[0055] S101: The cloud management platform sends a first migration command to the target cluster; wherein the first migration command includes parameter information of a source host in the source cluster;
[0056] S102: The target cluster creates a shadow cloud host based on the parameter information in the first migration command, and mounts the cloud hard disk of the source host to the shadow cloud host;
[0057] S103: After the cloud management platform detects that the shadow cloud host is successfully created, the cloud management platform sends a second migration command to the source cluster;
[0058] S104: After receiving the second migration command, the source cluster performs hot migration to a physical host in the target cluster.
[0059] In the shared storage migration method provided in the embodiment of the present application, the cloud management platform sends a first migration instruction to the target cluster, and the target cluster creates a shadow cloud host to manage the cloud hard disk on the source cloud host. The shadow cloud host has the same parameters as the source cloud host. After the shadow cloud host is successfully created, the cloud management platform sends a second migration instruction to the source cluster to complete the cross-cluster hot migration of the cloud host. At the same time, through the shared storage method, it can be ensured that the data of the cloud hard disk will not be migrated during the hot migration process, and the reading and writing of the cloud hard disk will not be interrupted, which greatly reduces the migration time and the risk of data loss.
[0060] Based on the above embodiment, as a preferred implementation, it also includes:
[0061] The cloud management platform verifies whether the source cluster and the target cluster meet the cross-cluster hot migration condition, and if so, executes the step of sending a first migration command to the target cluster.
[0062] Based on the above embodiment, as a preferred implementation, the cross-cluster hot migration conditions include that the physical hosts of the source cluster and the target cluster are both in a password-free login state, and the basic resources of the source cluster and the target cluster meet preset conditions.
[0063] Based on the above embodiment, as a preferred implementation, it also includes:
[0064] The target cluster verifies whether its basic resources meet the parameter information in the first migration command. If so, the step of creating a shadow cloud host based on the parameter information in the first migration command is executed.
[0065] Based on the above embodiment, as a preferred implementation, it also includes:
[0066] The cloud management platform monitors the creation process of the shadow cloud host, and if it is detected that the creation of the shadow cloud host fails, the shadow cloud host is deleted.
[0067] Based on the above embodiment, as a preferred implementation, it also includes:
[0068] After the cloud management platform detects that the hot migration of the source cluster is completed, it sends a migration completion instruction to the target cluster;
[0069] After receiving the migration completion instruction, the target cluster notifies the shadow cloud host to check whether the migration is completed. If so, the shadow cloud host is used as the actual running cloud host.
[0070] Based on the above embodiment, as a preferred implementation, it also includes:
[0071] After the cloud management platform detects that the shadow cloud host is the actual running cloud host, it sends a deletion instruction to the source cluster;
[0072] After receiving the deletion instruction, the source cluster deletes the source cloud host, releases the physical resources of the source cloud host, and releases the cloud hard disk managed by the source cloud host.
[0073] Based on the hardware implementation of the above program module, and in order to implement the method of the embodiment of the present application, the embodiment of the present application also provides an electronic device, Figure 3 FIG. 1 is a structural diagram of an electronic device according to an exemplary embodiment. Figure 3 As shown, the electronic equipment includes:
[0074] Communication interface 1, capable of exchanging information with other devices such as network devices;
[0075] The processor 2 is connected to the communication interface 1 to realize information exchange with other devices, and is used to execute the cloud management platform or source cluster or target cluster in the shared storage migration system provided by one or more technical solutions above when running the computer program. The computer program is stored in the memory 3.
[0076] Of course, in actual application, the various components in the electronic device are coupled together through the bus system 4. It can be understood that the bus system 4 is used to realize the connection and communication between these components. In addition to the data bus, the bus system 4 also includes a power bus, a control bus and a status signal bus. However, for the sake of clarity, Figure 3 Various buses are labeled as bus system 4.
[0077] The memory 3 in the embodiment of the present application is used to store various types of data to support the operation of the electronic device. Examples of such data include: any computer program used to operate on the electronic device.
[0078] It can be understood that the memory 3 can be a volatile memory or a non-volatile memory, and can also include both volatile and non-volatile memories. Among them, the non-volatile memory can be a read-only memory (ROM), a programmable read-only memory (PROM), an erasable programmable read-only memory (EPROM), an electrically erasable programmable read-only memory (EEPROM), a magnetic random access memory (FRAM), a flash memory, a magnetic surface memory, an optical disc, or a compact disc read-only memory (CD-ROM); the magnetic surface memory can be a disk memory or a tape memory. The volatile memory can be a random access memory (RAM), which is used as an external cache. By way of example and not limitation, many forms of RAM are available, such as static random access memory (SRAM), synchronous static random access memory (SSRAM), dynamic random access memory (DRAM), synchronous dynamic random access memory (SDRAM), double data rate synchronous dynamic random access memory (DDRSDRAM), enhanced synchronous dynamic random access memory (ESDRAM), synchronous link dynamic random access memory (SLDRAM, SyncLink Dynamic Random Access Memory), and direct RAM bus random access memory (DRRAM, Direct Rambus Random Access Memory).The memory 2 described in the embodiments of the present application is intended to include but is not limited to these and any other suitable types of memory.
[0079] The method disclosed in the above embodiment of the present application can be applied to the processor 2, or implemented by the processor 2. The processor 2 may be an integrated circuit chip with signal processing capabilities. In the implementation process, each step of the above method can be completed by the hardware integrated logic circuit in the processor 2 or the instruction in the form of software. The above processor 2 may be a general-purpose processor, a DSP, or other programmable logic devices, discrete gates or transistor logic devices, discrete hardware components, etc. The processor 2 can implement or execute the methods, steps and logic block diagrams disclosed in the embodiments of the present application. The general-purpose processor may be a microprocessor or any conventional processor, etc. In combination with the steps of the method disclosed in the embodiment of the present application, it can be directly embodied as a hardware decoding processor to execute, or it can be executed by a combination of hardware and software modules in the decoding processor. The software module may be located in a storage medium, which is located in the memory 3, and the processor 2 reads the program in the memory 3 and completes the steps of the above method in combination with its hardware.
[0080] When the processor 2 executes the program, the corresponding processes in the various methods of the embodiments of the present application are implemented, which will not be repeated here for the sake of brevity.
[0081] In an exemplary embodiment, the present application also provides a storage medium, namely a computer storage medium, specifically a computer-readable storage medium, for example, a memory 3 storing a computer program, and the computer program can be executed by a processor 2 to complete the steps of the aforementioned method. The computer-readable storage medium can be a memory such as FRAM, ROM, PROM, EPROM, EEPROM, Flash Memory, magnetic surface storage, optical disk, or CD-ROM.
[0082] A person of ordinary skill in the art can understand that: all or part of the steps of implementing the above-mentioned method embodiment can be completed by hardware related to program instructions, and the aforementioned program can be stored in a computer-readable storage medium, which, when executed, executes the steps of the above-mentioned method embodiment; and the aforementioned storage medium includes: various media that can store program codes, such as mobile storage devices, ROM, RAM, disks or optical disks.
[0083] Alternatively, if the above-mentioned integrated unit of the present application is implemented in the form of a software function module and sold or used as an independent product, it can also be stored in a computer-readable storage medium. Based on this understanding, the technical solution of the embodiment of the present application can be essentially or partly reflected in the form of a software product that contributes to the prior art. The computer software product is stored in a storage medium, including several instructions to enable an electronic device (which can be a personal computer, a server, or a network device, etc.) to execute all or part of the methods described in each embodiment of the present application. The aforementioned storage medium includes: various media that can store program codes, such as mobile storage devices, ROM, RAM, magnetic disks or optical disks.
[0084] The above is only a specific implementation of the present application, but the protection scope of the present application is not limited thereto. Any person skilled in the art who is familiar with the present technical field can easily think of changes or substitutions within the technical scope disclosed in the present application, which should be included in the protection scope of the present application. Therefore, the protection scope of the present application should be based on the protection scope of the claims.
Claims
1. A shared storage migration system, characterized in that: Includes cloud management platform, source cluster and target cluster; The cloud management platform is used to verify whether the source cluster and the target cluster meet the cross-cluster hot migration conditions, and if so, send a first migration command to the target cluster; wherein the first migration command includes parameter information of the source host in the source cluster, and the cross-cluster hot migration conditions include that the physical hosts of the source cluster and the target cluster are both in a password-free login state, and the basic resources of the source cluster and the target cluster meet preset conditions; The target cluster is used to verify whether its basic resources meet the parameter information in the first migration command. If so, a shadow cloud host is created based on the parameter information in the first migration command, and neutron is notified through nova to establish a corresponding network port, and cinder is notified to manage the cloud hard disk of the source cloud host to the target cluster, and the cloud hard disk of the source host is mounted to the shadow cloud host; wherein the parameters of the shadow cloud host are consistent with the parameters of the source host; The cloud management platform is further configured to send a second migration command to the source cluster after detecting that the shadow cloud host is successfully created; The source cluster is configured to perform hot migration to a physical host in the target cluster after receiving the second migration command; The cloud management platform is further used to monitor the creation process of the shadow cloud host, and if it is detected that the creation of the shadow cloud host fails, the shadow cloud host is deleted; The cloud management platform is further configured to send a migration completion instruction to the target cluster after monitoring that the hot migration of the source cluster is completed; The target cluster is further configured to, after receiving the migration completion instruction, notify the shadow cloud host to check whether the migration is completed, and if so, use the shadow cloud host as the actual running cloud host; The cloud management platform is further configured to send a deletion instruction to the source cluster after detecting that the shadow cloud host is the actual running cloud host; The source cluster is further configured to delete the source cloud host after receiving the deletion instruction, release the physical resources of the source cloud host, and release the cloud hard disk managed by the source cloud host.
2. A shared storage migration method, characterized in that: include: The cloud management platform verifies whether the source cluster and the target cluster meet the cross-cluster hot migration conditions. If so, a first migration command is sent to the target cluster; wherein the first migration command includes parameter information of the source host in the source cluster, and the cross-cluster hot migration conditions include that the physical hosts of the source cluster and the target cluster are both in a password-free login state, and the basic resources of the source cluster and the target cluster meet preset conditions; The target cluster verifies whether its basic resources meet the parameter information in the first migration command. If so, a shadow cloud host is created based on the parameter information in the first migration command, and nova is used to notify neutron to establish a corresponding network port, and cinder is notified to manage the cloud hard disk of the source cloud host to the target cluster, and the cloud hard disk of the source host is mounted to the shadow cloud host; wherein the parameters of the shadow cloud host are consistent with those of the source host; After the cloud management platform detects that the shadow cloud host is successfully created, the cloud management platform sends a second migration command to the source cluster; After receiving the second migration command, the source cluster performs hot migration to a physical host in the target cluster; The cloud management platform monitors the creation process of the shadow cloud host, and if it is detected that the creation of the shadow cloud host fails, the shadow cloud host is deleted; After the cloud management platform detects that the hot migration of the source cluster is completed, it sends a migration completion instruction to the target cluster; After receiving the migration completion instruction, the target cluster notifies the shadow cloud host to check whether the migration is completed. If so, the shadow cloud host is used as the actual running cloud host; After the cloud management platform detects that the shadow cloud host is the actual running cloud host, it sends a deletion instruction to the source cluster; After receiving the deletion instruction, the source cluster deletes the source cloud host, releases the physical resources of the source cloud host, and releases the cloud hard disk managed by the source cloud host.
3. An electronic device, characterized in that: include: Memory for storing computer programs; A processor is used to implement the steps performed by the cloud management platform or the source cluster or the target cluster in the shared storage migration system as claimed in claim 1 when executing the computer program.
4. A computer-readable storage medium, characterized in that: The computer-readable storage medium stores a computer program, which, when executed by a processor, implements the steps performed by the cloud management platform or the source cluster or the target cluster in the shared storage migration system as claimed in claim 1.
Citation Information
Patent Citations
Cross-platform virtual machine live migration method and device, equipment and medium
CN113127133A
System and method for migration of active resources
US20150372935A1
