Linked clone master management method and apparatus

A management method and technology for parent volumes, applied in the computer field, can solve problems such as affecting user experience and increasing the time of linked clone virtual machines, so as to improve user experience and reduce creation time.

Active Publication Date: 2017-03-01
HUAWEI TECH CO LTD
View PDF4 Cites 6 Cited by
  • Summary
  • Abstract
  • Description
  • Claims
  • Application Information

AI Technical Summary

Problems solved by technology

[0004] Embodiments of the present invention provide a method and device for managing a linked clone parent volume to solve the problem of creating a new linked clone subvolume when the number of linked clone subvolumes created based on the linked clone parent volume reaches a critical value during the creation of a linked clone virtual machine. Linked clone virtual machine time increases, affecting user experience

Method used

the structure of the environmentally friendly knitted fabric provided by the present invention; figure 2 Flow chart of the yarn wrapping machine for environmentally friendly knitted fabrics and storage devices; image 3 Is the parameter map of the yarn covering machine
View more

Image

Smart Image Click on the blue labels to locate them in the text.
Viewing Examples
Smart Image
  • Linked clone master management method and apparatus
  • Linked clone master management method and apparatus
  • Linked clone master management method and apparatus

Examples

Experimental program
Comparison scheme
Effect test

Embodiment 1

[0122] Embodiment 1 The method for managing a linked clone parent volume is described by taking the process of extending a linked clone parent volume in a cloud computing scenario as an example.

[0123] When the linked-clone virtual machine management system receives the command to create a linked-clone virtual machine and creates the first linked-clone virtual machine according to the linked-clone template, the linked-clone virtual machine management system schedules the computing management system to prepare related computing for the virtual machine. Resources (such as CPU, memory, etc.), the linked clone virtual machine management system schedules the storage management system to prepare related storage resources for the virtual machine, and generates linked clone sub-volumes. The storage management system schedules the linked clone parent volume. The management system subsystem copies the first linked clone parent volume from the linked clone template. Subsequent linked cl...

Embodiment 2

[0127] When the linked-clone virtual machine management system receives a command to create a linked-clone virtual machine with a high degree of concurrency, it is allowed to create a linked-clone sub-volume for the parent volume of the linked clone that exceeds the first-level threshold, but does not allow the creation of a link that exceeds the constraint of the second-level threshold. Clone the subvolume.

[0128] Such as Figure 13 As shown, when the storage management system receives a large number of commands to create linked-clone virtual machines, and the first two linked-clone master volumes M1 and M2 have created linked-clone sub-volumes reaching the second-level critical value, if it is necessary to continue creating clones Subvolume, you must wait for the third linked clone parent volume M3 to be copied from the linked clone template before continuing to create a linked clone subvolume from the third linked clone parent volume M3, so that the third linked clone par...

Embodiment 3

[0135] Embodiment 1 The method for managing linked clone parent volumes is described by taking the process of merging linked clone parent volumes in a cloud computing scenario as an example.

[0136] After a long period of use, when some linked clone virtual machines are deleted, the corresponding linked clone subvolumes will also be deleted, and the number of linked clone subvolumes on the linked clone parent volume is getting closer and closer to the level-1 threshold. At this point, you can migrate the linked-clone subvolumes on some linked-clone parent volumes to other linked-clone parent volumes, and delete those linked-clone parent volumes whose number of linked-clone sub-volumes is 0.

[0137] Such as Figure 14 As shown, for a specified linked clone template in the storage system, there are three linked clone parent volumes, namely M1, M2 and M3. The storage management system regularly scans the linked clone subvolumes, and it can be checked that the linked clone subvo...

the structure of the environmentally friendly knitted fabric provided by the present invention; figure 2 Flow chart of the yarn wrapping machine for environmentally friendly knitted fabrics and storage devices; image 3 Is the parameter map of the yarn covering machine
Login to view more

PUM

No PUM Login to view more

Abstract

The invention discloses a linked clone master management method and apparatus, and aims to solve the problem that the time for creating a new linked clone virtual machine is prolonged when the number of linked clone children created based on a linked clone master reaches a critical value. The method comprises the steps of copying the linked clone master based on a linked clone template; receiving a command of creating a linked clone virtual machine for a user; determining that the number of linked clone children created based on existing linked clone masters reaches a first-level critical value; creating linked clone children based on a first linked clone master, wherein the first linked clone master is any linked clone master in the existing linked clone masters; copying a new linked clone master as a second linked clone master by using the linked clone template; and migrating M linked clone children in the first linked clone master to the second linked clone master. Therefore, the time for creating the linked clone virtual machine can be shortened and the storage performance can be optimized.

Description

technical field [0001] The present invention relates to the field of computer technology, in particular to a method and device for managing linked clone parent volumes. Background technique [0002] Linked Clone (Linked Clone, LC) is an important functional feature used to create virtual machines in virtualization technology. It has the advantages of fast creation speed and small storage space, and is very suitable for scenarios with homogeneous users and highly standardized desktops. . The linked clone technology combines and maps the linked clone master volume (Master, M) and the linked clone child volume (Child, C) into a linked clone volume, and the linked clone volume is used as a complete linked clone virtual machine (Virtual Machine, VIM) The system disk is provided for linked clone virtual machines, for details, please refer to figure 1 shown. Among them, the linked clone master volume is a read-only volume, and multiple linked clone virtual machines share one vol...

Claims

the structure of the environmentally friendly knitted fabric provided by the present invention; figure 2 Flow chart of the yarn wrapping machine for environmentally friendly knitted fabrics and storage devices; image 3 Is the parameter map of the yarn covering machine
Login to view more

Application Information

Patent Timeline
no application Login to view more
Patent Type & Authority Applications(China)
IPC IPC(8): G06F9/455
CPCG06F9/45558G06F2009/45562
Inventor 李明君
Owner HUAWEI TECH CO LTD
Who we serve
  • R&D Engineer
  • R&D Manager
  • IP Professional
Why Eureka
  • Industry Leading Data Capabilities
  • Powerful AI technology
  • Patent DNA Extraction
Social media
Try Eureka
PatSnap group products