Virtual machine recovery method and device, terminal equipment and storage medium

The invention discloses a virtual machine recovery method and device, terminal equipment and a storage medium. According to the invention, when the virtual machine has a fault, the IO logs are no longer converted into mirror image files, but the to-be-recovered target data is acquired firstly, the t...

Ausführliche Beschreibung

Gespeichert in:
Bibliographische Detailangaben
Hauptverfasser: XIE HONGZHAO, LI FAN, ZHANG QINGBO
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 discloses a virtual machine recovery method and device, terminal equipment and a storage medium. According to the invention, when the virtual machine has a fault, the IO logs are no longer converted into mirror image files, but the to-be-recovered target data is acquired firstly, the target data is mapped into target block equipment; then a target incremental mirror image file is created for BACKING _ FILE according to the target block device, and finally a virtual machine is started based on the target incremental mirror image file, so as to avoid being influenced by an IO log data volume and storage performance, realize immediate recovery, and greatly shorten the RTO time of CDP backup recovery. 本发明公开了一种虚拟机恢复方法、装置、终端设备及存储介质。本发明当虚拟机出现故障后,不再将IO日志转换为镜像文件,而是先获取待恢复的目标数据,再将所述目标数据映射为目标块设备,然后根据所述目标块设备为BACKING_FILE创建目标增量镜像文件,最后基于所述目标增量镜像文件启动虚拟机,避免受IO日志数据量和存储性能的影响,能够实现立即恢复,大幅缩短了CDP备份恢复的RTO时间。