A method of recovering a kvm virtual machine from a failed distributed storage

The invention relates to the technical field of cloud computing, in particular to a method for recovering a kvm virtual machine from faulted distributed storage. The method comprises the following steps: 1, checking the type of block equipment; 2, mounting the mirror image block equipment on nbd equ...

Ausführliche Beschreibung

Gespeichert in:
Bibliographische Detailangaben
Hauptverfasser: JI TONGKAI, HONG YINGBIAO
Format: Patent
Sprache:chi ; eng
Schlagworte:
Online-Zugang:Volltext bestellen
Tags: Tag hinzufügen
Keine Tags, Fügen Sie den ersten Tag hinzu!
Beschreibung
Zusammenfassung:The invention relates to the technical field of cloud computing, in particular to a method for recovering a kvm virtual machine from faulted distributed storage. The method comprises the following steps: 1, checking the type of block equipment; 2, mounting the mirror image block equipment on nbd equipment of a physical machine, and checking the UUID and the TYPE; 3, mounting the system disk blockequipment on nbd equipment of a physical machine, and checking the UUID and the TYPE; and 4, merging the mirror image block equipment and the system disk block equipment which are the same as the UUIDand the TYPE. According to the method, the problems of tedious steps and time consumption of kvm virtual machine recovery after distributed storage failure are solved; the method can be used for recovering the kvm virtual machine from the faulty distributed storage. 本发明涉及云计算技术领域,尤其是一种从故障的分布式存储里恢复kvm虚拟机的方法。本发明的方法包括如下步骤:1、检查块设备的类型;2、将镜像块设备挂载到物理机的nbd设备上,并查看UUID和TYPE;3、将系统盘块设备挂载到物理机的nbd设备上,并查看UUID和TYPE;4、将UUID和TYPE相同的镜像块设备和系统