CN112162702A - Distributed storage system, virtual machine creation method and data volume expansion method - Google Patents

Distributed storage system, virtual machine creation method and data volume expansion method Download PDF

Info

Publication number
CN112162702A
CN112162702A CN202011026725.XA CN202011026725A CN112162702A CN 112162702 A CN112162702 A CN 112162702A CN 202011026725 A CN202011026725 A CN 202011026725A CN 112162702 A CN112162702 A CN 112162702A
Authority
CN
China
Prior art keywords
cluster
virtual machine
mirror image
data volume
available
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
CN202011026725.XA
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.)
iFlytek Co Ltd
Original Assignee
iFlytek Co Ltd
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 iFlytek Co Ltd filed Critical iFlytek Co Ltd
Priority to CN202011026725.XA priority Critical patent/CN112162702A/en
Publication of CN112162702A publication Critical patent/CN112162702A/en
Pending legal-status Critical Current

Links

Images

Classifications

    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06FELECTRIC DIGITAL DATA PROCESSING
    • G06F3/00Input arrangements for transferring data to be processed into a form capable of being handled by the computer; Output arrangements for transferring data from processing unit to output unit, e.g. interface arrangements
    • G06F3/06Digital input from, or digital output to, record carriers, e.g. RAID, emulated record carriers or networked record carriers
    • G06F3/0601Interfaces specially adapted for storage systems
    • G06F3/0668Interfaces specially adapted for storage systems adopting a particular infrastructure
    • G06F3/067Distributed or networked storage systems, e.g. storage area networks [SAN], network attached storage [NAS]
    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06FELECTRIC DIGITAL DATA PROCESSING
    • G06F3/00Input arrangements for transferring data to be processed into a form capable of being handled by the computer; Output arrangements for transferring data from processing unit to output unit, e.g. interface arrangements
    • G06F3/06Digital input from, or digital output to, record carriers, e.g. RAID, emulated record carriers or networked record carriers
    • G06F3/0601Interfaces specially adapted for storage systems
    • G06F3/0602Interfaces specially adapted for storage systems specifically adapted to achieve a particular effect
    • G06F3/061Improving I/O performance
    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06FELECTRIC DIGITAL DATA PROCESSING
    • G06F3/00Input arrangements for transferring data to be processed into a form capable of being handled by the computer; Output arrangements for transferring data from processing unit to output unit, e.g. interface arrangements
    • G06F3/06Digital input from, or digital output to, record carriers, e.g. RAID, emulated record carriers or networked record carriers
    • G06F3/0601Interfaces specially adapted for storage systems
    • G06F3/0628Interfaces specially adapted for storage systems making use of a particular technique
    • G06F3/0629Configuration or reconfiguration of storage systems
    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06FELECTRIC DIGITAL DATA PROCESSING
    • G06F3/00Input arrangements for transferring data to be processed into a form capable of being handled by the computer; Output arrangements for transferring data from processing unit to output unit, e.g. interface arrangements
    • G06F3/06Digital input from, or digital output to, record carriers, e.g. RAID, emulated record carriers or networked record carriers
    • G06F3/0601Interfaces specially adapted for storage systems
    • G06F3/0628Interfaces specially adapted for storage systems making use of a particular technique
    • G06F3/0638Organizing or formatting or addressing of data
    • G06F3/064Management of blocks
    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06FELECTRIC DIGITAL DATA PROCESSING
    • G06F3/00Input arrangements for transferring data to be processed into a form capable of being handled by the computer; Output arrangements for transferring data from processing unit to output unit, e.g. interface arrangements
    • G06F3/06Digital input from, or digital output to, record carriers, e.g. RAID, emulated record carriers or networked record carriers
    • G06F3/0601Interfaces specially adapted for storage systems
    • G06F3/0628Interfaces specially adapted for storage systems making use of a particular technique
    • G06F3/0662Virtualisation aspects
    • 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/44Arrangements for executing specific programs
    • G06F9/455Emulation; Interpretation; Software simulation, e.g. virtualisation or emulation of application or operating system execution engines
    • G06F9/45533Hypervisors; Virtual machine monitors
    • G06F9/45558Hypervisor-specific management and integration aspects
    • 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/44Arrangements for executing specific programs
    • G06F9/455Emulation; Interpretation; Software simulation, e.g. virtualisation or emulation of application or operating system execution engines
    • G06F9/45533Hypervisors; Virtual machine monitors
    • G06F9/45558Hypervisor-specific management and integration aspects
    • G06F2009/45562Creating, deleting, cloning virtual machine instances
    • 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/44Arrangements for executing specific programs
    • G06F9/455Emulation; Interpretation; Software simulation, e.g. virtualisation or emulation of application or operating system execution engines
    • G06F9/45533Hypervisors; Virtual machine monitors
    • G06F9/45558Hypervisor-specific management and integration aspects
    • G06F2009/45595Network integration; Enabling network access in virtual machine instances

Abstract

The embodiment of the invention provides a distributed storage system and a virtual machine creation and data volume expansion method, wherein the distributed storage system comprises: the mirror image service component is used for newly adding an available storage cluster; and the block storage component is used for performing capacity expansion based on the newly added available storage cluster. According to the distributed storage system and the virtual machine creation and data volume expansion method provided by the embodiment of the invention, the distributed storage system can be expanded on the level of the available storage cluster, compared with an expansion mode of increasing pool, the expansion operation is simpler and more convenient, the intrusion operation on any available storage cluster which is providing service is not involved, the maintenance difficulty is low, and the distributed storage system is beneficial to dealing with richer and more complex IO performance scenes.

Description

Distributed storage system, virtual machine creation method and data volume expansion method
Technical Field
The invention relates to the technical field of cloud, in particular to a distributed storage system, a virtual machine creation method and a data volume expansion method.
Background
With the wide application of the distributed storage system and the rapid increase of data volume, friendly expansion becomes a problem to be solved urgently in the cloud technical field.
At present, two expansion modes of a distributed storage system mainly include physical expansion, in which one mode is physical expansion, that is, physical devices are directly added to a pool of a storage cluster, and the other mode is to increase the pool of the storage cluster.
The physical capacity expansion can bring about a large amount of data migration, the IO performance of the client is inevitably affected in the capacity expansion process, and the read-write service life of the physical equipment is affected by a large amount of read-write operations; the way of adding the pool can bring too much intrusion to the storage cluster providing the service, the operation risk is huge, and with the increasing of the pool, the storage cluster becomes a challenge to both metadata management and pool management.
Disclosure of Invention
The embodiment of the invention provides a distributed storage system, virtual machine creation and data volume expansion method, which are used for solving the defect that the expansion of the distributed storage system is difficult in the prior art.
In a first aspect, an embodiment of the present invention provides a distributed storage system, including:
the mirror image service component is used for newly adding an available storage cluster;
and the block storage component is used for performing capacity expansion based on the newly added available storage cluster.
According to the distributed storage system of one embodiment of the invention, the mirror service component newly adds an available storage cluster based on mirror service configuration information;
the block storage component expands the newly added available storage cluster based on the block storage configuration information;
the block storage configuration information and the mirror image service configuration information both include information of a preset number of available storage clusters, and the preset number of available storage clusters includes newly added available storage clusters.
According to the distributed storage system of an embodiment of the present invention, the block storage configuration information and the mirror image service configuration information each include available backend information and available backend configuration information;
the available backend information includes cluster identifiers of the preset number of available storage clusters, and the available backend configuration information includes configuration information of the preset number of available storage clusters.
According to an embodiment of the present invention, the block storage configuration information and the mirror service configuration information further include a cluster identifier of a default storage cluster, where the default storage cluster is one of the preset number of available storage clusters.
According to the distributed storage system of an embodiment of the present invention, the newly added available storage cluster is configured based on the user key information derived from the original available storage cluster.
In a second aspect, an embodiment of the present invention provides a virtual machine creation method, which is applied to the block storage component of the distributed storage system provided in the first aspect, and includes:
receiving a virtual machine creating request, wherein the virtual machine creating request comprises an image identifier of a target image required by the virtual machine creation;
based on the mirror image identification, acquiring the position information of the target mirror image from a mirror image service component of the distributed storage system, wherein the position information comprises a cluster identification of an available storage cluster for storing the target mirror image;
and extracting the target image from an available storage cluster storing the target image in the distributed storage system based on the position information of the target image, and creating a virtual machine based on the target image.
The virtual machine creation method according to an embodiment of the present invention further includes:
receiving a mirror image uploading request sent by the mirror image service component, wherein the mirror image uploading request comprises a mirror image to be uploaded and position information to be stored of the mirror image, and the position information to be stored comprises a cluster identifier to be stored;
and storing the mirror image to be uploaded in an available storage cluster corresponding to the cluster identifier to be stored.
According to the virtual machine creation method of one embodiment of the present invention, the image identifier includes a cluster identifier of an available storage cluster where the corresponding image is located.
In a third aspect, an embodiment of the present invention provides a virtual machine data volume expansion method, which is applied to a block storage component of a distributed storage system provided in the first aspect, and includes:
receiving a data volume expansion request, wherein the data volume expansion request comprises a cluster identifier to be created of an available storage cluster for creating a newly added data volume;
and creating a newly added data volume on the available storage cluster corresponding to the cluster identifier to be created, and mounting the newly added data volume on the virtual machine indicated by the data volume expansion request.
In a fourth aspect, an embodiment of the present invention provides a virtual machine creating apparatus, which is applied to the block storage component of the distributed storage system provided in the first aspect, and includes:
a request receiving unit, configured to receive a virtual machine creation request, where the virtual machine creation request includes an image identifier of a target image required for creating a virtual machine;
the mirror image positioning unit is used for acquiring the position information of the target mirror image from a mirror image service component of the distributed storage system based on the mirror image identification, wherein the position information comprises a cluster identification of an available storage cluster for storing the target mirror image;
and the creating unit is used for extracting the target mirror image from an available storage cluster which stores the target mirror image in the distributed storage system based on the position information of the target mirror image and creating a virtual machine based on the target mirror image.
In a fifth aspect, an embodiment of the present invention provides a virtual machine data volume capacity expansion device, which is applied to the block storage component of the distributed storage system provided in the first aspect, and includes:
a capacity expansion request receiving unit, configured to receive a data volume capacity expansion request, where the data volume capacity expansion request includes a cluster identifier to be created, where the cluster identifier is used to create an available storage cluster of a newly added data volume;
and the data volume expansion unit is used for creating a newly added data volume on the available storage cluster corresponding to the cluster identifier to be created and mounting the newly added data volume on the virtual machine indicated by the data volume expansion request.
In a sixth aspect, an embodiment of the present invention provides an electronic device, including a memory, a processor, and a computer program stored in the memory and executable on the processor, where the processor implements, when executing the program, the steps of the virtual machine creation method provided in the second aspect or the virtual machine data volume expansion method provided in the third aspect.
In a seventh aspect, an embodiment of the present invention provides a non-transitory computer-readable storage medium, on which a computer program is stored, where the computer program, when executed by a processor, implements the steps of the virtual machine creation method provided in the second aspect or the virtual machine data volume expansion method provided in the third aspect.
The distributed storage system comprises a mirror image service component used for newly adding an available storage cluster and a block storage component used for carrying out capacity expansion based on the newly added available storage cluster, and the distributed storage system constructed by the method can carry out capacity expansion on the level of the available storage cluster.
Drawings
In order to more clearly illustrate the embodiments of the present invention or the technical solutions in the prior art, the drawings used in the description of the embodiments or the prior art will be briefly described below, and it is obvious that the drawings in the following description are some embodiments of the present invention, and those skilled in the art can also obtain other drawings according to the drawings without creative efforts.
Fig. 1 is a schematic structural diagram of a distributed storage system according to an embodiment of the present invention;
fig. 2 is a schematic flowchart of a virtual machine creation method according to an embodiment of the present invention;
fig. 3 is a schematic flowchart of a virtual machine creation method according to an embodiment of the present invention;
fig. 4 is a schematic flowchart of a mirror image uploading method according to an embodiment of the present invention;
fig. 5 is a flowchart illustrating a method for expanding a volume of a virtual machine data volume according to an embodiment of the present invention;
fig. 6 is a schematic structural diagram of a virtual machine creation apparatus according to an embodiment of the present invention;
fig. 7 is a schematic structural diagram of a virtual machine data volume capacity expansion device according to an embodiment of the present invention;
fig. 8 is a schematic structural diagram of an electronic device according to an embodiment of the present invention;
description of reference numerals:
100-a distributed storage system; 110-a block storage component; 120-mirror service components;
130-storage cluster.
Detailed Description
In order to make the objects, technical solutions and advantages of the embodiments of the present invention clearer, the technical solutions in the embodiments of the present invention will be clearly and completely described below with reference to the drawings in the embodiments of the present invention, and it is obvious that the described embodiments are some, but not all, embodiments of the present invention. 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 invention.
Currently, in Openstack-based distributed storage systems, substantially all data is stored in a single storage cluster. As the running time of the distributed storage system increases, the amount of data stored in the distributed storage system increases, and thus capacity expansion of the distributed storage system is required. In the conventional capacity expansion mode at present, physical capacity expansion can bring a large amount of data migration, inevitably causes the influence to the IO performance of client, and a large amount of read-write operations can influence the read-write life of physical equipment, and the pool in the increase storage cluster can bring too much invasion to the storage cluster providing service, and the operation risk is huge, and along with the continuous increase of the pool, the storage cluster will become the challenge to metadata management and pool management.
Therefore, the embodiment of the invention provides a distributed storage system capable of realizing flexible capacity expansion. Fig. 1 is a schematic structural diagram of a distributed storage system according to an embodiment of the present invention, and as shown in fig. 1, a distributed storage system 100 includes:
a mirror service component 120 for adding an available storage cluster 130;
a block storage component 110 for performing an expansion based on the newly added available storage cluster 130.
The OpenStack is an open-source cloud computing management platform project and is a combination of a series of software open-source projects. The distributed storage system 100 in the embodiment of the present invention may be constructed based on OpenStack.
Generally, the OpenStack-based distributed storage system 100 backend interfaces only a single available storage cluster 130, and a corresponding capacity expansion manner is to add pool to the single available storage cluster 130. In the embodiment of the present invention, the distributed storage system 100 may add an available storage cluster 120 through an internal component and implement system capacity expansion based on the added available storage cluster 120, that is, a capacity expansion idea of the distributed storage system 100 based on OpenStack is converted from pool expansion to cluster expansion, and after a capacity requirement is increased, the available storage cluster 130 corresponding to a back end of the distributed storage system 100 may be expanded. In contrast to the extended pool scheme, the extended available storage cluster 130 does not involve an intrusive operation to any available storage cluster 130 that is providing a service, nor is there a risk due to the intrusive operation.
In the distributed storage system 100, the mirror image service component 120 (company) may transfer the virtual machine mirror image to a newly added available storage cluster through a mirror image service function of the mirror image service component when there is a capacity expansion demand, so as to implement the new addition of the available storage cluster. For example, the mirror service component 120 may cover functions of creating an upload mirror, deleting a mirror, editing mirror basic information, and the like, and the mirror service component may transfer a newly uploaded virtual machine image to a newly added storage cluster.
The chunk store component 110 (shader) assumes the functionality of providing chunk store management for the distributed storage system 100. After the addition of the available storage cluster is realized based on the mirroring service component 120, the block storage component 110 may create a logical volume on the added available storage cluster for storing the mirror image or creating a virtual machine through a block storage management function of its own, thereby realizing the expansion based on the added available storage cluster.
The distributed storage system provided by the embodiment of the invention comprises a mirror image service component for newly adding the available storage cluster and a block storage component for expanding the capacity based on the newly added available storage cluster, and compared with a capacity expansion mode for increasing pool, the distributed storage system constructed by the method can expand the capacity on the level of the available storage cluster.
In addition, the capacity expansion is carried out on the level of the available storage clusters, and the available storage clusters with various performances based on various types of storage media can be added to the back end more conveniently in the capacity expansion process, so that the requirements of users on different performances are met.
Considering that in the OpenStack-based distributed storage system 100 at present, some components, such as the block storage component 110 (shader) and the mirroring service component 120 (company), only support the docking of a single available storage cluster 130, based on the above embodiment, in order to implement the simultaneous docking of multiple available storage clusters 130, the embodiment of the present invention performs targeted optimization on the block storage component 110 and the mirroring service component 120 respectively:
the mirror service component 120 is configured based on the mirror service configuration information, and the block storage component 110 is configured based on the block storage configuration information;
the block storage configuration information and the mirroring service configuration information each include information of a preset number of available storage clusters 130, including the newly added available storage cluster.
Considering that in the OpenStack-based distributed storage system 100 at present, some components, such as the block storage component 110 (shader) and the mirroring service component 120 (company), only support the docking of a single available storage cluster 130, in the embodiment of the present invention, in order to implement the simultaneous docking of multiple available storage clusters 130, the block storage component 110 and the mirroring service component 120 are optimized specifically.
Wherein, for the block storage component 110, the optimized configuration of the block storage component 110 is realized by setting the block storage configuration information. In order to adapt to the simultaneous docking of a plurality of available storage clusters 130, the block storage configuration information includes information of each available storage cluster 130 to be docked, and accordingly, for the mirroring service component 120, the optimized configuration of the mirroring service component 120 is realized by setting the mirroring service configuration information. In order to accommodate the simultaneous docking of multiple available storage clusters 130, the mirror service configuration information also includes information of each available storage cluster 130 to be docked. Here, in the capacity expansion process, each available storage cluster 130 to be docked inevitably includes a newly added available storage cluster 130, and the information of the available storage cluster 130 may include an identifier of the available storage cluster 130, and may further include a configuration file address of the available storage cluster 130, and the like.
Therefore, the block storage component 110 and the mirror service component 120 can be configured optimally based on the corresponding configuration information to interface with each available storage cluster 130, so that in the running process of the distributed storage system 100, the block storage component 110 can provide a block storage service based on each available storage cluster 130, and the mirror service component 120 can implement functions of uploading, deleting, editing, searching and the like of a virtual machine mirror image based on each available storage cluster 130. When capacity expansion is needed, only the information of the available storage cluster 130 included in the block storage configuration information and the mirror image service configuration information needs to be modified, and the information of the newly added available storage cluster 130 is added, so that it can be ensured that the block storage component 110 and the mirror image service component 120 support the newly added available storage cluster 130.
According to the distributed storage system provided by the embodiment of the invention, the block storage component and the mirror image service component of the distributed storage system are configured through the configuration information, so that when the distributed storage system is subjected to capacity expansion on the level of the available storage cluster, only the information of the available storage cluster contained in the configuration information needs to be modified, and the capacity expansion operation is simpler and more convenient.
Based on the above embodiment, in the distributed storage system, both the block storage configuration information and the mirror image service configuration information include available backend information and available backend configuration information;
the available back-end information includes cluster identifiers of a preset number of available storage clusters, and the available back-end configuration information includes configuration information of the preset number of available storage clusters.
Here, the information of each available storage cluster to be docked, which is contained in the block storage configuration information circular-api.conf and the mirroring service configuration information global-api.conf, may be represented as available backend information and available backend configuration information. It should be noted that the interface circumferentially-api of the block storage component can be compatible with the update configuration of the block storage configuration information circumferentially-api.
The available backend information stores a cluster identifier of each available storage cluster to be docked in the distributed storage system, where the cluster identifier is an identity of the available storage cluster, and may be, for example, a cluster name of the available storage cluster.
The configuration information of each available storage cluster needing to be docked in the distributed storage system in the available back-end configuration information can be embodied in the form of a configuration file address, the configuration file address is a storage address corresponding to the configuration file of the available storage cluster, and the configuration file corresponding to the available storage cluster can be located through the configuration file address so as to obtain the relevant configuration information of the corresponding available storage cluster.
Assume that two available storage clusters are included in the distributed storage system, with cluster names ceph01 and ceph02, respectively. Corresponding to the mirror image service configuration information gland-api.conf, the available backend information may be represented as enabled _ backings, and the available backend information may be embodied in the following form:
enabled_backends=glance_store_ceph01,glance_store_ceph02
where ceph01 and ceph02 are cluster identifications of two available storage clusters, respectively, the field of glance _ store _ ceph01 indicates pointing to ceph01, and the field of glance _ store _ ceph02 indicates pointing to ceph 02.
The available backend configuration information may be embodied in the form of:
[glance_store_ceph01]
rbd_store_ceph_conf=/etc/ceph/ceph01/ceph.conf
[glance_store_ceph02]
rbd_store_ceph_conf=/etc/ceph/ceph02/ceph.conf
wherein, the segment [ gland _ store _ ceph01] and the segment [ gland _ store _ ceph02] respectively represent the relative configuration of the backend ceph01 and ceph02 in the enabled _ backups, the rbd _ store _ ceph _ conf specifies the backend configuration file, and the/etc/ceph/ceph 01/ceph. conf and/etc/ceph/ceph 02/ceph. conf are the configuration file addresses of the available storage clusters ceph01 and ceph 02. Furthermore, each interfaced available storage cluster in the distributed storage system needs to create an rbd store pool.
Corresponding to the block storage configuration information circular-api.conf, the available backend information may be represented as enabled _ backings, and the available backend information may be embodied in the following form:
enabled_backends=ceph-cluster-A,ceph-cluster-B
the cluster-A and the cluster-B are cluster identifications of two available storage clusters respectively, a field of the ceph-cluster-A indicates that the cluster-A points to the cluster-A, a field of the ceph-cluster-B indicates that the cluster-B points to the cluster-B, and the cluster-A and the cluster-B correspond to the cluster identifications ceph01 and ceph02 in the available back-end information of the block storage configuration information one by one.
The available backend configuration information may be embodied in the form of:
[ceph-cluster-A]
rbd_ceph_conf=/etc/ceph/ceph01/ceph.conf
[ceph-cluster-B]
rbd_ceph_conf=/etc/ceph/ceph02/ceph.conf
wherein, the segments [ ceph-cluster-A ] and [ ceph-cluster-B ] respectively represent the relative configuration of the backend backsides in the enabled _ backsides. Furthermore, the rbd _ user of the available storage clusters in each enabled _ backups must be the same.
Based on any of the above embodiments, in the distributed storage system, the block storage configuration information and the mirror service configuration information further include a cluster identifier of a default storage cluster, where the default storage cluster is one of a preset number of available storage clusters.
Here, considering that only one available storage cluster is interfaced in a conventional distributed storage system, the available storage cluster is not usually directly specified in read-write instructions or computation instructions for the distributed storage system. In the embodiment of the present invention, the distributed storage system is docked with the preset number of available storage clusters, and if there is no specified available storage cluster in the received instruction, it is not possible to determine which available storage cluster in the preset number of available storage clusters the instruction needs to be docked with.
In order to support the situation that an available storage cluster is not specified in an instruction, in the embodiment of the present invention, a cluster identifier of a default storage cluster is respectively added to block storage configuration information and mirror image service configuration information, so that when a distributed storage system is simultaneously docked with a plurality of available storage clusters and an available storage cluster is not specified in an instruction, the default storage cluster is used as a back-end available storage cluster to which the instruction needs to be docked for executing the instruction, so as to implement execution of the instruction. Here, the default storage cluster may be any one of a preset number of available storage clusters to which the distributed storage system interfaces.
In the mirror service configuration information, the setting of the default storage cluster may be embodied as follows:
default_glance_type=glance_store_ceph01
where default _ angle _ type is the default storage cluster, and the angle _ store _ ceph01 field indicates that the default storage cluster points to ceph01, where the default storage cluster is ceph01 in ceph01 and ceph 02.
In the block storage configuration information, the setting of the default storage cluster may be embodied as follows:
default_volume_type=ceph-cluster-A
wherein default _ volume _ type is the default storage cluster, and the ceph-cluster-A field indicates that the default storage cluster points to cluster-A.
According to the distributed storage system provided by the embodiment of the invention, the default storage cluster is set in the configuration information, so that the distributed storage system which is in butt joint with the preset number of available storage clusters can adapt to the instruction of the unspecified available storage cluster.
When a circle volume component in a block storage component circle configures an rbd back end to create a volume, the operation is generally performed by a circle user; and the openstack folder volume component cannot self-define the operation of the user keyring, so that the configuration needs to be carried out for the user keyring.
To address this problem, in the distributed storage system, based on any of the above embodiments, the newly added available storage cluster is configured based on the user key information derived from the original available storage cluster.
The preset number of available storage clusters in the butt joint of the distributed storage system can be simultaneously butt joint to the distributed storage system or sequentially butt joint to the distributed storage system, namely, the capacity is expanded by modifying the number of the butt joint available storage clusters, the block storage configuration information and the mirror image storage configuration information in the running process of the distributed storage system, and a newly added available storage cluster is butt joint on the basis of the originally butt joint available storage cluster.
When the newly-added available storage cluster is configured, user key information can be directly derived from the original available storage cluster, and the user key information is led into the newly-added available storage cluster, so that the user key information of all the available storage clusters butted by the distributed storage system is consistent, and users have the same authority for all the available storage clusters butted by the distributed storage system. Here, the user key information may be user keying, and each available storage cluster is configured with an rbd _ store _ user of the same keying, so that each available storage cluster has the same authentication code.
In addition, aiming at the problem that the openstack folder volume component cannot self-define the operation of the user keying, the permission authentication of the ceph cluster client end of the available storage cluster can be closed to solve.
Based on any of the above embodiments, fig. 2 is a schematic flow diagram of a virtual machine creation method provided by an embodiment of the present invention, and as shown in fig. 2, the virtual machine creation method is applied to a block storage component in a distributed storage system provided by any of the above embodiments, and the method includes:
step 210, receiving a virtual machine creation request, where the virtual machine creation request includes an image identifier of a target image required for creating a virtual machine.
Step 220, based on the image identifier, obtaining the location information of the target image from the image service component of the distributed storage system, where the location information includes the cluster identifier of the available storage cluster storing the target image.
Here, the virtual machine creation request is initiated by a user, and may be that the management component Nova in the distributed storage system forwards the virtual machine creation request to the block storage component finder after receiving the virtual machine creation request initiated by the user. The virtual machine creation request generally includes an image identifier of a target image required for creating the virtual machine, and the virtual machine creation request may further include attribute information of the virtual machine, such as an identifier of a volume type and a system disk size required for creating the virtual machine. Here, the target image may be operating system information required for creating the virtual machine, and the image identifier of the target image, i.e. identity information of the target image, may be an ID of the target image, description information of the target image, or other parameters that can identify the target image.
After receiving the virtual machine creation request, the block storage component may obtain, according to the image identifier included in the virtual machine creation request, location information of the target image corresponding to the image identifier from an image service component company of the distributed storage system. The block storage component may send the virtual machine creation request, or the image identifier included in the virtual machine creation request, to the image service component, and the image service component determines the location information of the target image according to the image identifier included in the virtual machine creation request, and returns the location information of the target image to the block storage component.
Here, in view of that the distributed storage system is simultaneously interfaced with a preset number of available storage clusters, compared with the conventional mirror location information that only includes the storage location of the target mirror in only one available storage cluster, the location information in the embodiment of the present invention includes the cluster identifier of the available storage cluster in which the target mirror is stored, and the storage location of the target mirror in the available storage cluster, so as to directly locate the target mirror. It should be noted that, there may be one or more available storage clusters storing the target image, and one or more cluster identifiers carried in the corresponding location information may also be used, which is not specifically limited in this embodiment of the present invention.
And step 230, extracting the target image from an available storage cluster storing the target image in the distributed storage system based on the position information of the target image, and creating a virtual machine based on the target image.
After obtaining the location information of the target image, the block storage component may extract the target image from the available storage cluster indicated by the location information, create a logical volume of the virtual machine based on the target image, create a virtual machine in the logical volume of the virtual machine, and return the logical volume of the virtual machine to the management component.
When the target mirror image is extracted based on the position information of the target mirror image, if the position information includes cluster identifiers of a plurality of available storage clusters in which the target mirror image is stored, any one of the extracted target mirror images may be selected, and an available storage cluster with a relatively faster reading speed may also be selected to extract the target mirror image.
According to the method provided by the embodiment of the invention, the cluster identification of the available storage cluster storing the target image is carried in the position information of the target image, so that the target image is quickly and accurately positioned in the preset number of available storage clusters butted by the distributed storage system, and the quick creation of the virtual machine is further realized.
Based on any of the above embodiments, fig. 3 is a schematic flow diagram of the virtual machine creation method provided by the embodiments of the present invention, and as shown in fig. 3, the mirror service component Glance, the block storage component Cinder, and the management component Nova in the distributed storage system may all be docked with two available storage clusters Cluster-a and Cluster-a in the distributed storage system, which is shown in fig. 3, where a connecting line docked with Cluster-a is a dash-dotted line with a double arrow, and a connecting line docked with Cluster-B is a dashed line with a double arrow.
In fig. 3, the virtual machine creating method includes the following steps:
firstly, a user sends a virtual machine starting request to a management component Nova in the distributed storage system through a Client.
The management component Nova sends a volume creation request for creating the virtual machine to the block storage component shader based on the received virtual machine startup request. The volume creation request here includes an image identifier of a target image required for creating the virtual machine.
And the block storage component Cinder sends the mirror image identification of the target mirror image required by the virtual machine creation contained in the volume creation request to the mirror image service component Glance to acquire mirror image information, wherein the mirror image information contains the position information of the target mirror image.
And fourthly, the mirror image service component Glance returns the mirror image information corresponding to the mirror image identification of the target mirror image to the block storage component sender. Here, the image information includes location information of the target image, and the location information of the target image includes a cluster identifier of an available storage cluster in which the target image is stored.
And fifthly, the storage component Cinder extracts the target mirror image from the corresponding available storage cluster based on the position information of the target mirror image in the mirror image information, creates a logical volume of the virtual machine based on the target mirror image, creates the virtual machine in the logical volume of the virtual machine, generates new volume information based on the logical volume of the virtual machine and returns the new volume information to the management component Nova.
Sixthly, the management component Nova requests other equipment information.
The management component Nova receives returned information of other devices.
And allowing the Nova management component to return a virtual machine state to the client by combining with the information of other equipment and the information of the new volume.
Based on any of the above embodiments, fig. 4 is a schematic flow diagram of an image uploading method provided by an embodiment of the present invention, and as shown in fig. 4, the virtual machine creating method further includes:
step 410, receiving a mirror image uploading request sent by a mirror image service component, wherein the mirror image uploading request comprises a mirror image to be uploaded and a cluster identifier to be stored;
and step 420, storing the mirror image to be uploaded in an available storage cluster corresponding to the cluster identifier to be stored.
In the configuration stage of the distributed storage system, the administrator Admin may send the mirror image to be uploaded to the mirror image service component, and then the mirror image service component packages the mirror image to be uploaded and its related information into a mirror image upload request and sends the mirror image upload request to the block storage component.
Considering that the distributed storage system can be simultaneously docked with a preset number of available storage clusters, the embodiment of the present invention carries the preset cluster identifier of the available storage cluster to be uploaded and stored of the mirror image to be uploaded, that is, the cluster identifier to be stored, in the mirror image uploading request, so as to directly locate the available storage cluster to be uploaded from the preset number of available storage clusters of the distributed storage system. It should be noted that there may be one or more cluster identifiers to be stored, and this is not specifically limited in this embodiment of the present invention. In addition, the to-be-stored cluster identifier may also be empty, and in the case that the to-be-stored cluster identifier is empty, the default storage cluster of the distributed storage system may be used as an available storage cluster that needs to be uploaded.
Here, the Cluster to be stored identifier may be added to the image upload request in a form of a specified parameter, for example, a parameter property Cluster is set in the image upload request, and the Cluster to be stored is set as Cluster-B by writing "property Cluster-B". If the parameter property cluster does not exist in the mirror image uploading request, the default _ volume _ type in the mirror image service configuration information volume-api can be automatically added as the cluster to be stored.
After receiving the mirror image uploading request, the block storage component determines a preset storage position of the mirror image to be uploaded based on the information of the position to be stored contained in the mirror image uploading request, and stores the mirror image to be uploaded to the corresponding storage position. The block storage component can locate an available storage cluster for storing the mirror image to be uploaded according to the cluster identifier to be stored in the position information to be stored, and then store the mirror image to be uploaded in the available storage cluster.
According to the method provided by the embodiment of the invention, the cluster identification to be stored is carried in the position information to be stored, so that the available storage cluster in which the mirror image to be uploaded needs to be stored is quickly and accurately positioned in the preset number of available storage clusters butted by the distributed storage system, and the mirror image uploading is further realized.
Based on any of the above embodiments, the mirror upload function, namely, image-create, may be embodied as follows:
Figure BDA0002702332040000161
Figure BDA0002702332040000171
each item contains a property "properties" of the mirror image, and each property "properties" of the mirror image contains a "cluster" for representing the cluster to be stored of the mirror image, for example, the fields "cluster": ceph02, and "name": demo "represent that the cluster to be stored of the mirror image with the name demo is ceph 02. Compared with the common mirror uploading function, the representation shown above adds a "cluster" attribute in each item to identify the mirrored cluster to be stored. The attribute value of "cluster" can be applied to the type specified in the circle volume-create.
Based on any of the above embodiments, the image identifier includes a cluster identifier of an available storage cluster where the corresponding image is located.
For the condition that the distributed storage system simultaneously interfaces a preset number of available storage clusters, in order to facilitate subsequent mirror image positioning and mirror image selection, when setting a mirror image identifier of a mirror image, the cluster identifier of the available storage cluster where the mirror image is located may be included in the mirror image identifier, for example, the cluster identifier may be used as a prefix of the mirror image identifier.
Based on any of the foregoing embodiments, fig. 5 is a flowchart illustrating a method for capacity expansion of a virtual machine data volume according to an embodiment of the present invention, and as shown in fig. 5, the method for capacity expansion of a virtual machine data volume is applied to a block storage component in a distributed storage system according to any of the foregoing embodiments, and the method includes:
step 510, receiving a data volume capacity expansion request, where the data volume capacity expansion request includes a cluster identifier to be created for creating an available storage cluster of the newly added data volume.
And step 520, creating a newly added data volume on the available storage cluster corresponding to the cluster identifier to be created, and mounting the newly added data volume on the virtual machine indicated by the data volume expansion request.
Here, the data volume expansion request is initiated by a user, and may be that after receiving the data volume expansion request initiated by the user, the management component Nova in the distributed storage system forwards the data volume expansion request to the block storage component shader. The data volume expansion request generally includes location information of a storage backend required to create the data volume for expansion.
In view of that the distributed storage system may interface with a plurality of available storage clusters at the same time, compared with a conventional data volume expansion request that only includes a storage back end position of a data volume for expansion that is needed by only one available storage cluster, the position information in the embodiment of the present invention includes a cluster identifier of an available storage cluster where the storage back end of the data volume for expansion is located, that is, a cluster identifier may be created, so that the block storage component Cinder can directly locate an available storage cluster for expansion of a virtual machine data volume from among a plurality of storage clusters interfaced with the distributed storage system based on the data volume expansion request. It should be noted that, there may be one or more available storage clusters used for creating the new data volume, and one or more to-be-created cluster identifiers included in the data volume capacity expansion request may also be included, which is not specifically limited in this embodiment of the present invention.
After the cluster identifier to be created included in the data volume capacity expansion request is determined, a new data volume can be created on the available storage cluster corresponding to the cluster identifier to be created. Here, the newly added data volume is a data volume created to achieve capacity expansion of the data volume of the virtual machine. After the creation of the new data volume is completed, the new data volume may be mounted on the virtual machine that needs to perform data volume expansion and is indicated in the data volume expansion request, so as to implement data volume expansion of the virtual machine.
After the creation of the newly added data volume is finished, the block storage component Cinder may send information of the newly added data volume to the management component Nova, and the management component Nova mounts the newly added data volume to the virtual machine indicated by the data volume expansion request, so as to implement the data volume expansion of the virtual machine.
According to the method provided by the embodiment of the invention, the cluster identifier to be created of the available storage cluster used for creating the newly added data volume is carried in the data volume expansion request, so that the available storage cluster used for creating the newly added data volume is quickly and accurately positioned in the preset number of available storage clusters butted by the distributed storage system, the quick creation and mounting of the newly added data volume are further realized, and the data volume expansion of the virtual machine is completed.
In the process, a circular-volume component in a block storage component circular is responsible for encapsulating drivers, different drivers are responsible for controlling different available storage clusters and providing volume-related operations, and then the volume is mounted into an instance through a Nova-computer component in a management component Nova, during which the Nova-computer component acquires the volume information created by the circular-volume component, and the volume information is effectively linkable by the instance. In the virtual operating system simulator qemu, the mounting of multiple network volumes is independent, so that the feasibility of volume schemes with different attributes under a single instance is ensured.
Based on any of the above embodiments, fig. 6 is a schematic structural diagram of a virtual machine creation apparatus provided in an embodiment of the present invention, as shown in fig. 6, the virtual machine creation apparatus is applied to a block storage component of a distributed storage system provided in any of the above embodiments, and includes a request receiving unit 610, a mirror image positioning unit 620, and a creation unit 630;
the request receiving unit 610 is configured to receive a virtual machine creation request, where the virtual machine creation request includes an image identifier of a target image required to create a virtual machine;
the mirror positioning unit 620 is configured to obtain location information of the target mirror from a mirror service component of the distributed storage system based on the mirror identifier, where the location information includes a cluster identifier of an available storage cluster in which the target mirror is stored;
the creating unit 630 is configured to extract the target image from an available storage cluster in the distributed storage system, where the target image is stored, based on the location information of the target image, and create a virtual machine based on the target image.
According to the device provided by the embodiment of the invention, the cluster identification of the available storage cluster storing the target image is carried in the position information of the target image, so that the target image is quickly and accurately positioned in the preset number of available storage clusters butted by the distributed storage system, and the quick creation of the virtual machine is further realized.
Based on any one of the above embodiments, the apparatus further includes a mirror image uploading unit, where the mirror image uploading unit is configured to:
receiving a mirror image uploading request sent by the mirror image service component, wherein the mirror image uploading request comprises a mirror image to be uploaded and position information to be stored of the mirror image, and the position information to be stored comprises a cluster identifier to be stored;
and storing the mirror image to be uploaded in an available storage cluster corresponding to the cluster identifier to be stored.
Based on any of the above embodiments, in the apparatus, the image identifier includes a cluster identifier of an available storage cluster where the corresponding image is located.
Based on any of the foregoing embodiments, fig. 7 is a schematic structural diagram of a virtual machine data volume expansion device according to an embodiment of the present invention, and as shown in fig. 7, the virtual machine data volume expansion device is applied to a block storage component of a distributed storage system according to any of the foregoing embodiments, and includes a capacity expansion request receiving unit 710 and a data volume expansion unit 720;
the capacity expansion request receiving unit 710 is configured to receive a data volume capacity expansion request, where the data volume capacity expansion request includes a cluster identifier to be created, where the cluster identifier is used to create an available storage cluster of a newly added data volume;
the data volume expansion unit 720 is configured to create a new data volume on the available storage cluster corresponding to the to-be-created cluster identifier, and mount the new data volume on the virtual machine indicated by the data volume expansion request.
According to the device provided by the embodiment of the invention, the cluster identifier to be created of the available storage cluster used for creating the newly added data volume is carried in the data volume expansion request, so that the available storage cluster used for creating the newly added data volume is quickly and accurately positioned in the preset number of available storage clusters butted by the distributed storage system, the quick creation and mounting of the newly added data volume are further realized, and the data volume expansion of the virtual machine is completed.
Fig. 8 is a schematic structural diagram of an electronic device according to an embodiment of the present invention, and as shown in fig. 8, the electronic device may include: a processor (processor)810, a communication Interface 820, a memory 830 and a communication bus 840, wherein the processor 810, the communication Interface 820 and the memory 830 communicate with each other via the communication bus 840. The processor 810 may call logical commands in the memory 830 to perform the following method:
receiving a virtual machine creating request, wherein the virtual machine creating request comprises an image identifier of a target image required by the virtual machine creation;
based on the mirror image identification, acquiring the position information of the target mirror image from a mirror image service component of the distributed storage system, wherein the position information comprises a cluster identification of an available storage cluster for storing the target mirror image;
and extracting the target image from an available storage cluster storing the target image in the distributed storage system based on the position information of the target image, and creating a virtual machine based on the target image.
The processor 810 may also call logical commands in the memory 830 to perform the following method:
receiving a data volume expansion request, wherein the data volume expansion request comprises a cluster identifier to be created of an available storage cluster for creating a newly added data volume;
and creating a newly added data volume on the available storage cluster corresponding to the cluster identifier to be created, and mounting the newly added data volume on the virtual machine indicated by the data volume expansion request.
In addition, the logic commands in the memory 830 can be implemented in the form of software functional units and stored in a computer readable storage medium when the logic commands are sold or used as independent products. Based on such understanding, the technical solution of the present invention may be embodied in the form of a software product, which is stored in a storage medium and includes a plurality of commands for enabling a computer device (which may be a personal computer, a server, or a network device) to execute all or part of the steps of the method according to the embodiments of the present invention. And the aforementioned storage medium includes: a U-disk, a removable hard disk, a Read-Only Memory (ROM), a Random Access Memory (RAM), a magnetic disk or an optical disk, and other various media capable of storing program codes.
Embodiments of the present invention further provide a non-transitory computer-readable storage medium, on which a computer program is stored, where the computer program is implemented to perform the method provided in the foregoing embodiments when executed by a processor, and the method includes:
receiving a virtual machine creating request, wherein the virtual machine creating request comprises an image identifier of a target image required by the virtual machine creation;
based on the mirror image identification, acquiring the position information of the target mirror image from a mirror image service component of the distributed storage system, wherein the position information comprises a cluster identification of an available storage cluster for storing the target mirror image;
and extracting the target image from an available storage cluster storing the target image in the distributed storage system based on the position information of the target image, and creating a virtual machine based on the target image.
Embodiments of the present invention further provide a non-transitory computer-readable storage medium, on which a computer program is stored, where the computer program is implemented to perform the method provided in the foregoing embodiments when executed by a processor, and the method includes:
receiving a data volume expansion request, wherein the data volume expansion request comprises a cluster identifier to be created of an available storage cluster for creating a newly added data volume;
and creating a newly added data volume on the available storage cluster corresponding to the cluster identifier to be created, and mounting the newly added data volume on the virtual machine indicated by the data volume expansion request.
The above-described embodiments of the apparatus are merely illustrative, and the units described as separate parts may or may not be physically separate, and parts displayed as units may or may not be physical units, may be located in one place, or may be distributed on a plurality of network units. Some or all of the modules may be selected according to actual needs to achieve the purpose of the solution of the present embodiment. One of ordinary skill in the art can understand and implement it without inventive effort.
Through the above description of the embodiments, those skilled in the art will clearly understand that each embodiment can be implemented by software plus a necessary general hardware platform, and certainly can also be implemented by hardware. With this understanding in mind, the above technical solutions may be embodied in the form of a software product, which can be stored in a computer-readable storage medium, such as ROM/RAM, magnetic disk, optical disk, etc., and includes commands for causing a computer device (which may be a personal computer, a server, or a network device, etc.) to execute the method according to the embodiments or some parts of the embodiments.
Finally, it should be noted that: the above examples are only intended to illustrate the technical solution of the present invention, but not to limit it; although the present invention has been described in detail with reference to the foregoing embodiments, it will be understood by those of ordinary skill in the art that: the technical solutions described in the foregoing embodiments may still be modified, or some technical features may be equivalently replaced; and such modifications or substitutions do not depart from the spirit and scope of the corresponding technical solutions of the embodiments of the present invention.

Claims (13)

1. A distributed storage system, comprising:
the mirror image service component is used for newly adding an available storage cluster;
and the block storage component is used for performing capacity expansion based on the newly added available storage cluster.
2. The distributed storage system of claim 1,
the mirror image service component newly adds an available storage cluster based on mirror image service configuration information;
the block storage component expands the newly added available storage cluster based on the block storage configuration information;
the block storage configuration information and the mirror image service configuration information both include information of a preset number of available storage clusters, and the preset number of available storage clusters includes newly added available storage clusters.
3. The distributed storage system according to claim 2, wherein the block storage configuration information and the mirroring service configuration information each further comprise available backend information and available backend configuration information;
the available backend information includes cluster identifiers of the preset number of available storage clusters, and the available backend configuration information includes configuration information of the preset number of available storage clusters.
4. The distributed storage system according to claim 3, wherein the block storage configuration information and the mirroring service configuration information further include a cluster identification of a default storage cluster, the default storage cluster being one of the preset number of available storage clusters.
5. The distributed storage system according to any of claims 1 to 4, wherein the newly added available storage cluster is configured based on user key information derived from the original available storage cluster.
6. A virtual machine creation method applied to a block storage component of the distributed storage system according to any one of claims 1 to 5, comprising:
receiving a virtual machine creating request, wherein the virtual machine creating request comprises an image identifier of a target image required by the virtual machine creation;
based on the mirror image identification, acquiring the position information of the target mirror image from a mirror image service component of the distributed storage system, wherein the position information comprises a cluster identification of an available storage cluster for storing the target mirror image;
and extracting the target image from an available storage cluster storing the target image in the distributed storage system based on the position information of the target image, and creating a virtual machine based on the target image.
7. The virtual machine creation method according to claim 6, further comprising:
receiving a mirror image uploading request sent by the mirror image service component, wherein the mirror image uploading request comprises a mirror image to be uploaded and a cluster identifier to be stored;
and storing the mirror image to be uploaded in an available storage cluster corresponding to the cluster identifier to be stored.
8. The virtual machine creation method according to claim 6 or 7, wherein the image identifier includes a cluster identifier of an available storage cluster where the corresponding image is located.
9. A method for expanding a data volume of a virtual machine, applied to a block storage component of the distributed storage system according to any one of claims 1 to 5, comprising:
receiving a data volume expansion request, wherein the data volume expansion request comprises a cluster identifier to be created of an available storage cluster for creating a newly added data volume;
and creating a newly added data volume on the available storage cluster corresponding to the cluster identifier to be created, and mounting the newly added data volume on the virtual machine indicated by the data volume expansion request.
10. A virtual machine creation apparatus applied to a block storage component of the distributed storage system according to any one of claims 1 to 5, comprising:
a creation request receiving unit, configured to receive a virtual machine creation request, where the virtual machine creation request includes an image identifier of a target image required for creating a virtual machine;
the mirror image positioning unit is used for acquiring the position information of the target mirror image from a mirror image service component of the distributed storage system based on the mirror image identification, wherein the position information comprises a cluster identification of an available storage cluster for storing the target mirror image;
and the creating unit is used for extracting the target mirror image from an available storage cluster which stores the target mirror image in the distributed storage system based on the position information of the target mirror image and creating a virtual machine based on the target mirror image.
11. A virtual machine data volume capacity expansion apparatus applied to the block storage component of the distributed storage system according to any one of claims 1 to 5, comprising:
a capacity expansion request receiving unit, configured to receive a data volume capacity expansion request, where the data volume capacity expansion request includes a cluster identifier to be created, where the cluster identifier is used to create an available storage cluster of a newly added data volume;
and the data volume expansion unit is used for creating a newly added data volume on the available storage cluster corresponding to the cluster identifier to be created and mounting the newly added data volume on the virtual machine indicated by the data volume expansion request.
12. An electronic device comprising a memory, a processor and a computer program stored on the memory and executable on the processor, wherein the processor implements the steps of the virtual machine creation method according to any one of claims 6 to 8 or the virtual machine data volume expansion method according to claim 9 when executing the program.
13. A non-transitory computer readable storage medium, having stored thereon a computer program, which when executed by a processor, performs the steps of the virtual machine creation method according to any one of claims 6 to 8, or the virtual machine data volume expansion method according to claim 9.
CN202011026725.XA 2020-09-25 2020-09-25 Distributed storage system, virtual machine creation method and data volume expansion method Pending CN112162702A (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN202011026725.XA CN112162702A (en) 2020-09-25 2020-09-25 Distributed storage system, virtual machine creation method and data volume expansion method

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN202011026725.XA CN112162702A (en) 2020-09-25 2020-09-25 Distributed storage system, virtual machine creation method and data volume expansion method

Publications (1)

Publication Number Publication Date
CN112162702A true CN112162702A (en) 2021-01-01

Family

ID=73864384

Family Applications (1)

Application Number Title Priority Date Filing Date
CN202011026725.XA Pending CN112162702A (en) 2020-09-25 2020-09-25 Distributed storage system, virtual machine creation method and data volume expansion method

Country Status (1)

Country Link
CN (1) CN112162702A (en)

Cited By (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN113949712A (en) * 2021-10-15 2022-01-18 科大讯飞股份有限公司 Cloud host cluster high-availability processing method and system, electronic equipment and storage medium

Citations (10)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN104407807A (en) * 2014-10-24 2015-03-11 华中科技大学 Storage and expansion method aiming at RS coding storage cluster
WO2016127756A1 (en) * 2015-02-15 2016-08-18 北京京东尚科信息技术有限公司 Flexible deployment method for cluster and management system
CN106383671A (en) * 2016-09-29 2017-02-08 乐视控股(北京)有限公司 Block device storage cluster capability expansion system and method
CN107197022A (en) * 2017-06-02 2017-09-22 华南理工大学 OpenStack storage optimization methods and system
CN108804201A (en) * 2018-06-07 2018-11-13 郑州云海信息技术有限公司 A kind of expansion method and device of the virtual-machine data volume based on cloud platform
CN109634718A (en) * 2018-12-13 2019-04-16 无锡华云数据技术服务有限公司 The method and system of cloud platform creation mirror image
US10360057B1 (en) * 2016-09-22 2019-07-23 Amazon Technologies, Inc. Network-accessible volume creation and leasing
US10425473B1 (en) * 2017-07-03 2019-09-24 Pure Storage, Inc. Stateful connection reset in a storage cluster with a stateless load balancer
CN111209090A (en) * 2020-04-17 2020-05-29 腾讯科技(深圳)有限公司 Method and assembly for creating virtual machine in cloud platform and server
CN111290712A (en) * 2020-01-22 2020-06-16 腾讯科技(深圳)有限公司 Block device creating method and device, cloud computing management system and storage medium

Patent Citations (10)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN104407807A (en) * 2014-10-24 2015-03-11 华中科技大学 Storage and expansion method aiming at RS coding storage cluster
WO2016127756A1 (en) * 2015-02-15 2016-08-18 北京京东尚科信息技术有限公司 Flexible deployment method for cluster and management system
US10360057B1 (en) * 2016-09-22 2019-07-23 Amazon Technologies, Inc. Network-accessible volume creation and leasing
CN106383671A (en) * 2016-09-29 2017-02-08 乐视控股(北京)有限公司 Block device storage cluster capability expansion system and method
CN107197022A (en) * 2017-06-02 2017-09-22 华南理工大学 OpenStack storage optimization methods and system
US10425473B1 (en) * 2017-07-03 2019-09-24 Pure Storage, Inc. Stateful connection reset in a storage cluster with a stateless load balancer
CN108804201A (en) * 2018-06-07 2018-11-13 郑州云海信息技术有限公司 A kind of expansion method and device of the virtual-machine data volume based on cloud platform
CN109634718A (en) * 2018-12-13 2019-04-16 无锡华云数据技术服务有限公司 The method and system of cloud platform creation mirror image
CN111290712A (en) * 2020-01-22 2020-06-16 腾讯科技(深圳)有限公司 Block device creating method and device, cloud computing management system and storage medium
CN111209090A (en) * 2020-04-17 2020-05-29 腾讯科技(深圳)有限公司 Method and assembly for creating virtual machine in cloud platform and server

Non-Patent Citations (3)

* Cited by examiner, † Cited by third party
Title
TAKAHIRO HIROFUCHI: "Enabling Instantaneous Relocation of Virtual Machines with a Lightweight VMM Extension", IEEE, 31 December 2010 (2010-12-31) *
刘诗海;孙宇清;石维琪;高云伟;: "面向可扩展集群环境的快速虚拟机迁移方法", 东南大学学报(自然科学版), no. 03, 20 May 2011 (2011-05-20) *
周浩宇;李含辉;樊荣;肖威;: "基于国产化ARM平台的Ceph分布式存储集群设计", 舰船电子工程, no. 02, 20 February 2018 (2018-02-20) *

Cited By (2)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN113949712A (en) * 2021-10-15 2022-01-18 科大讯飞股份有限公司 Cloud host cluster high-availability processing method and system, electronic equipment and storage medium
CN113949712B (en) * 2021-10-15 2024-04-30 科大讯飞股份有限公司 Cloud host cluster high-availability processing method, system, electronic equipment and storage medium

Similar Documents

Publication Publication Date Title
US11397648B2 (en) Virtual machine recovery method and virtual machine management device
US8738883B2 (en) Snapshot creation from block lists
US11296940B2 (en) Centralized configuration data in a distributed file system
CN102799464B (en) Virtual machine creation method and system, virtual machine reloading method and system
CN108073423B (en) Accelerator loading method and system and accelerator loading device
WO2011036707A1 (en) Computer system for controlling backups using wide area network
CN113626286A (en) Multi-cluster instance processing method and device, electronic equipment and storage medium
CN109407975B (en) Data writing method, computing node and distributed storage system
CN105867962A (en) System upgrading method and device
CN112162702A (en) Distributed storage system, virtual machine creation method and data volume expansion method
CN108304144B (en) Data writing-in and reading method and system, and data reading-writing system
US11128622B2 (en) Method for processing data request and system therefor, access device, and storage device
WO2016107219A1 (en) Data recovery method and apparatus
CN109558082B (en) Distributed file system
KR101638689B1 (en) System and method for providing client terminal to user customized synchronization service
CN111142885A (en) eSIM device management method, device, equipment and storage medium
CN105119944A (en) Application starting method and related device
CN111399753B (en) Method and device for writing pictures
CN115129789A (en) Bucket index storage method, device and medium of distributed object storage system
CN114490189A (en) Cloud platform database backup method and device, electronic equipment and storage medium
CN114020457A (en) OpenStack deployment method and device and electronic equipment
EP3754486A1 (en) Selectively installing applications based on manifest files
CN114553859A (en) BMC configuration management method and device, electronic equipment and storage medium
CN113949712B (en) Cloud host cluster high-availability processing method, system, electronic equipment and storage medium
CN111966388A (en) Space-saving mirror image version update management method, device, equipment and medium

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