CN108572795B - Capacity expansion method, device, equipment and storage medium based on built storage virtualization - Google Patents

Capacity expansion method, device, equipment and storage medium based on built storage virtualization Download PDF

Info

Publication number
CN108572795B
CN108572795B CN201711394735.7A CN201711394735A CN108572795B CN 108572795 B CN108572795 B CN 108572795B CN 201711394735 A CN201711394735 A CN 201711394735A CN 108572795 B CN108572795 B CN 108572795B
Authority
CN
China
Prior art keywords
target
disk
computing node
target disk
list
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.)
Active
Application number
CN201711394735.7A
Other languages
Chinese (zh)
Other versions
CN108572795A (en
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.)
Beijing Kingsoft Cloud Network Technology Co Ltd
Beijing Kingsoft Cloud Technology Co Ltd
Original Assignee
Beijing Kingsoft Cloud Network Technology Co Ltd
Beijing Kingsoft Cloud Technology 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 Beijing Kingsoft Cloud Network Technology Co Ltd, Beijing Kingsoft Cloud Technology Co Ltd filed Critical Beijing Kingsoft Cloud Network Technology Co Ltd
Priority to CN201711394735.7A priority Critical patent/CN108572795B/en
Publication of CN108572795A publication Critical patent/CN108572795A/en
Application granted granted Critical
Publication of CN108572795B publication Critical patent/CN108572795B/en
Active legal-status Critical Current
Anticipated expiration legal-status Critical

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/0628Interfaces specially adapted for storage systems making use of a particular technique
    • G06F3/0662Virtualisation aspects
    • G06F3/0664Virtualisation aspects at device level, e.g. emulation of a storage device or system
    • 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/0644Management of space entities, e.g. partitions, extents, pools
    • 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/0671In-line storage system
    • G06F3/0683Plurality of storage devices

Abstract

The embodiment of the invention provides a capacity expansion method, a capacity expansion device, capacity expansion equipment and a storage medium based on built storage virtualization, wherein the method comprises the following steps: acquiring a target disk selected by a target user from the displayed preset disk list, adding the selected target disk into a second number of preset target disk empty clusters, and marking the target disk empty clusters after the target disk is added as target clusters; monitoring whether a target disk is created with a file system; and if the file system is created, aiming at the target disk mounted in the specified mounting directory, sending a target instruction to the computing node corresponding to the target disk mounted in the specified mounting directory. By applying the capacity expansion method based on the built storage virtualization provided by the embodiment of the invention, the complexity of the capacity expansion process of the storage virtualization is reduced on the basis of realizing the built storage virtualization.

Description

Capacity expansion method, device, equipment and storage medium based on built storage virtualization
Technical Field
The invention relates to the technical field of data storage, in particular to a capacity expansion method, a capacity expansion device, capacity expansion equipment and a storage medium based on built storage virtualization.
Background
OpenStack is an open-source cloud computing management platform project, and is favored by more and more companies to deploy, and is mainly implemented by a plurality of components in an OpenStack cloud, such as a computing organization controller Nova, a network Neutron, a storage shader, and the like, to cooperate to complete cloud-level related operations, OpenStack is mainly divided into a computing node and a control node, where the computing node provides storage space, and the shader is used as an OpenStack storage component to provide storage space for OpenStack, where the storage space is from the computing node, and the shader can add a plurality of storage clusters backkend by modifying an underlying configuration file.
In the prior art, a target user is acquired to select a storage node from a displayed preset disk node list, a target disk in each storage node selected by the target user is acquired according to each selected storage node, and a mounting instruction sent by the user is acquired; according to the mount instruction, mounting the selected target disk, and emptying each mounted target disk according to an emptying instruction of each mounted target disk sent by a user, that is, each storage cluster needs the user to manually select a disk storage node and a storage disk device corresponding to the storage node. The mounting instruction is manually sent to each storage disk to achieve the mounting purpose, and the emptying instruction is also manually sent to achieve emptying of the mounted target disk.
Disclosure of Invention
The embodiment of the invention aims to provide a capacity expansion method, a capacity expansion device, capacity expansion equipment and a storage medium based on building storage virtualization, and the complexity of a capacity expansion process of storage virtualization is reduced on the basis of building storage virtualization.
The specific technical scheme is as follows:
acquiring a target disk selected by a target user from a displayed preset disk list, wherein the target disk is a disk of which the user selects at least a target number of different computing nodes in the preset disk list, and the target number is the number of disks in different computing nodes;
adding the selected target disk into a second number of preset target disk empty clusters, and recording the target disk empty clusters after the target disk is added as target clusters; the second number is the number of target disk empty clusters selected from a first number of preset target disk empty clusters, and the first number is the number of target disk empty clusters created;
monitoring whether the target disk is created with a file system;
and if the file system is created, aiming at the target disk mounted in the specified mounting directory, sending a target instruction to a computing node corresponding to the target disk mounted in the specified mounting directory, wherein the target instruction indicates the sent computing node to empty all data files of the target disk in the specified mounting directory.
Further, before the obtaining of the target disk selected by the target user from the displayed preset disk list, the method further includes:
obtaining a disk list corresponding to a preset computing node list according to a received disk scanning request, wherein the disk scanning request is a request to be scanned and the disk list of the computing node is obtained, the disk list comprises disk information corresponding to each computing node in the computing node list, the disk information comprises parameter information and a mounting catalog of a disk, and the parameter information comprises the size of the disk, a disk medium and the use space of the disk;
filtering the root partitions of the disks in the disk list corresponding to each computing node according to the sequence of the computing nodes in the computing node list to obtain and store the parameter information and the mounting catalog of the available disks in each computing node;
and displaying the obtained parameter information and mounting catalog of the available disks in each computing node.
Further, the filtering, according to the sequence of the computing nodes in the computing node list, the root partition of the disk in the disk list corresponding to each computing node to obtain and store the parameter information and the mount directory of the available disk in each computing node includes:
according to the sequence of the computing nodes in the computing node list, taking the sequence number corresponding to the first computing node in the computing node list as the current computing node sequence number;
judging whether the serial number of the current computing node is larger than the maximum serial number corresponding to the computing node in the computing node list;
if not, filtering the root partition of the disk corresponding to the current computing node according to the corresponding relation between the current computing node and the disk in the disk list to obtain the parameter information and the mounting catalog of the available disk in the current computing node;
displaying the obtained parameter information and the mounting catalog of the available disk in the current computing node, adding 1 to the serial number of the current computing node, taking the processed serial number of the current computing node as a new serial number of the current computing node, and returning to the step of judging whether the serial number of the current computing node is equal to the maximum serial number corresponding to the computing node in the computing node list;
and if so, displaying the obtained parameter information and the mounting catalog of the available disk in each computing node.
Further, the creating process of the first number of preset empty clusters of target disks is as follows:
creating a first number of target disk empty clusters according to a received creation request, wherein the creation request is a request for creating the first number of target disk empty clusters;
and after the first number of target disk empty clusters are created, showing the state of the target disk empty clusters as being created.
Further, before the obtaining of the target disk selected by the target user from the displayed preset disk list, the method further includes:
and showing selection instructions, wherein the selection instructions are used for instructing a user to select at least the disk corresponding to the target number of computing nodes.
Further, after the target disk selected by the target user from the displayed preset disk list is obtained, the method further includes:
judging whether the obtained target disks comprise target disks with at least target quantity blocks, and the target disks with at least target quantity blocks exist in different computing nodes of the disk list;
if so, adding the selected target disk into a second number of preset target disk empty clusters, and marking the target disk empty cluster after the target disk is added as a target cluster.
Further, the adding the selected target disk to a second number of preset target disk empty clusters includes:
and adding the selected target disk into a second number of preset target disk empty clusters according to a preset rule, wherein the preset rule is that at least a target number of target disks are required to be added into one target disk empty cluster, and the target number of target disks belong to different calculation nodes with the selected target number.
Further, after the monitoring whether the target disk is created with a file system, the method further includes:
and if the file system is created, deleting the target disk which is not mounted in the specified mounting directory from the selected target disk aiming at the target disk which is not mounted in the specified mounting directory.
Further, the above target number is 3.
Further, after the sending the target command to the computing node corresponding to the target disk mounted in the designated mount directory, the method further includes:
updating a preset target disk database, wherein the target disk database comprises: the method comprises the steps that target disk parameter information, a use state and a universal unique identifier UUID of a target disk empty cluster corresponding to each target disk are obtained;
sending a command for starting a storage process of a computing node to the computing node corresponding to the target disk under the mounting directory according to the name corresponding to the target disk under the mounting directory and the IP of the computing node corresponding to the target disk;
the trigger control node starts each target cluster as a storage service, namely a folder-volume service.
Further, the updating the preset target disk database includes:
changing the preset use state of the target disk into a used state;
adding the incidence relation between each target disk and a target cluster corresponding to the target disk;
and identifying a Universal Unique Identifier (UUID) of each target disk located in the corresponding target cluster.
Further, before the triggering control node starts each target cluster as a storage service, namely, a folder-volume service, the method further includes:
judging whether the state of the target cluster is in establishment and whether the expanded disk has at least target number blocks in different computing nodes;
if yes, all physical nodes are instructed to start the target cluster gateway, the stored configuration file is modified, and a command for starting the storage service is sent to execute the step of triggering the control node to start the target cluster serving as the storage service circular-volume service.
Further, after the triggering control node starts each target cluster as a storage service, namely, a folder-volume service, the method further includes:
acquiring a capacity reduction request, wherein the capacity reduction request is a request for carrying out capacity reduction on a target cluster after capacity expansion;
and deleting the target disk of the target cluster according to the acquired capacity reduction request.
Based on build the extension device of storage virtualization, the device includes:
the target disk acquisition module is used for acquiring a target disk selected by a target user from a displayed preset disk list, wherein the target disk is a disk of which the user selects at least a target number of different computing nodes in the preset disk list;
the first adding module is used for adding the selected target disk into a second number of preset target disk empty clusters, and marking the target disk empty clusters after the target disk is added as target clusters; the second number is the number of target disk empty clusters selected from the first number of preset target disk empty clusters;
the monitoring module is used for monitoring whether the target disk is created with a file system or not, and triggering the target instruction sending module if the target disk is created with the file system;
the target instruction sending module is configured to send a target instruction to a computing node corresponding to a target disk mounted in a specified mounting directory, where the target instruction indicates that the sending computing node clears all data files of the target disk in the specified mounting directory.
Further, the above apparatus further comprises:
the disk list obtaining module is used for obtaining a disk list corresponding to a preset computing node list according to a received disk scanning request, wherein the disk scanning request is a request to be scanned and obtain the disk list of the computing node, the disk list comprises disk information corresponding to each computing node in the computing node list, the disk information comprises parameter information and a mounting catalog of a disk, and the parameter information comprises the size of the disk, disk media and the use space of the disk;
the first filtering module is used for filtering the root partitions of the disks in the disk list corresponding to each computing node according to the sequence of the computing nodes in the computing node list to obtain and store the parameter information and the mounting catalog of the available disks in each computing node;
and the first display module is used for displaying the obtained parameter information and the mounting catalog of the available disk in each computing node.
Further, the first filter module includes:
a current computing node sequence number setting submodule, configured to use, according to the sequence of computing nodes in the computing node list, a sequence number corresponding to a first computing node in the computing node list as a current computing node sequence number;
the first judgment submodule is used for judging whether the serial number of the current computing node is greater than the maximum serial number corresponding to the computing node in the computing node list or not; if not, triggering a second filtering submodule; if so, triggering a third display submodule;
the second filtering submodule is configured to filter a root partition of the disk corresponding to the current computing node according to a corresponding relationship between the current computing node and the disk in the disk list, so as to obtain parameter information and a mount directory of an available disk in the current computing node;
the second display submodule is used for displaying the obtained parameter information and the mounting catalog of the available disk in the current computing node, adding 1 to the serial number of the current computing node, taking the processed serial number of the current computing node as a new serial number of the current computing node, and triggering the first judgment submodule;
and the third display submodule is used for displaying the obtained parameter information and the mounting catalog of the available disk in each computing node.
Further, the creating process of the first number of preset empty clusters of target disks is as follows:
creating a first number of target disk empty clusters according to a received creation request, wherein the creation request is a request for creating the first number of target disk empty clusters;
and after the first number of target disk empty clusters are created, showing the state of the target disk empty clusters as being created.
Further, the above apparatus further comprises:
and the fourth display module is used for displaying selection descriptions, wherein the selection descriptions are used for indicating a user to select at least the descriptions of the disks corresponding to the target number of computing nodes.
Further, the above apparatus further comprises:
the second judgment module is used for judging whether the obtained target disks comprise target disks with at least target quantity blocks, and the target disks with at least target quantity blocks exist in different computing nodes of the disk list; if yes, triggering the first adding module.
Further, the first adding module includes:
and the second adding submodule is used for adding the selected target disk into a second number of preset target disk empty clusters according to a preset rule, wherein the preset rule is that at least a target number of target disks are required to be added to one target disk empty cluster, and the target number of target disks belong to different calculation nodes with the selected target number.
Further, the above apparatus further comprises:
and the first deleting module is used for deleting the target disk which is not mounted in the specified mounting directory from the selected target disk aiming at the target disk which is not mounted in the specified mounting directory if the file system is created.
Further, the above target number is 3.
Further, the above apparatus further comprises:
an update module, configured to update a preset target disk database, where the target disk database includes: the method comprises the steps that target disk parameter information, a use state and a universal unique identifier UUID of a target disk empty cluster corresponding to each target disk are obtained;
a sending module, configured to send, to a computing node corresponding to a target disk under the mount directory, a command for the computing node to start a storage process according to a name corresponding to the target disk under the mount directory and an IP of the computing node corresponding to the target disk;
and the triggering module is used for triggering the control node to start each target cluster as a storage service circular-volume service.
Further, the update module includes:
the change submodule is used for changing the preset use state of the target disk into the used state;
a third adding submodule, configured to add an association relationship between each target disk and a target cluster corresponding to the target disk;
and the identification submodule is used for identifying the universal unique identifier UUID of each target disk located in the corresponding target cluster.
Further, the above apparatus further comprises:
the third judgment module is used for judging whether the state of the target cluster is in establishment and whether the expanded disk has at least target number blocks positioned in different computing nodes; if yes, triggering an indication module;
the indication module is configured to indicate all the physical nodes to start the target cluster gateway, modify the stored configuration file, and send a command for starting the storage service to execute the step of triggering the control node to start the target cluster as the storage service binder-volume service.
Further, the above apparatus further comprises:
the acquisition module is used for acquiring a capacity reduction request, wherein the capacity reduction request is a request for carrying out capacity reduction on a target cluster after capacity expansion;
and the second deleting module is used for deleting the target disk of the target cluster according to the acquired capacity reduction request.
In another aspect of the present invention, an embodiment of the present invention further provides an electronic device, which includes a processor, a communication interface, a memory, and a communication bus, where the processor, the communication interface, and the memory complete communication with each other through the communication bus;
a memory for storing a computer program;
and the processor is used for enabling the computer to execute any one of the capacity expansion methods based on the set-up storage virtualization when the program stored in the memory is executed.
In another aspect of the present invention, there is also provided a computer-readable storage medium, where instructions are stored in the computer-readable storage medium, and when the instructions are executed on a computer, the computer is caused to execute any one of the above mentioned capacity expansion methods based on building storage virtualization.
In another aspect of the present invention, there is also provided a computer program product containing instructions, which when executed on a computer, causes the computer to implement any one of the above-mentioned capacity expansion methods based on building storage virtualization.
In another aspect of the present invention, there is also provided a computer program which, when run on a computer, causes the computer to execute any one of the above mentioned capacity expansion methods based on building storage virtualization.
The capacity expansion method, the capacity expansion device, the capacity expansion equipment and the storage medium based on the built storage virtualization are provided by the embodiment of the invention, the method obtains a target disk selected by a target user from a displayed preset disk list, adds the selected target disk to a second number of preset target disk empty clusters, and marks the target disk empty cluster added with the target disk as a target cluster; monitoring whether a target disk is created with a file system; and if the file system is created, aiming at the target disk mounted in the specified mounting directory, sending a target instruction to the computing node corresponding to the target disk mounted in the specified mounting directory. According to the method, the target disk selected by a user is added into the selected target disk empty cluster, the construction of storage virtualization is completed, if the mounting of the target disk provided with the file system is monitored to be in the designated mounting directory, the calculation node corresponding to the target disk is instructed to empty the target disk, and the expansion of the target cluster is realized, so that the complexity of the expansion process of the storage virtualization is reduced on the basis of the construction of the storage virtualization, and the user experience effect is improved. Of course, it is not necessary for any product or method of practicing the invention to achieve all of the above-described advantages at the same time.
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.
Fig. 1 is a first flowchart schematic diagram of an expansion method based on building storage virtualization according to an embodiment of the present invention;
fig. 2 is a schematic flow chart of a second method for building a storage virtualization-based capacity expansion according to an embodiment of the present invention;
fig. 3 is a schematic flow chart of a third method for building storage virtualization-based capacity expansion according to an embodiment of the present invention;
fig. 4 is a schematic structural diagram of an expansion device based on built storage virtualization according to an embodiment of the present invention;
fig. 5 is a schematic diagram of an electronic device according to an embodiment of the present invention.
Detailed Description
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 only a part of the embodiments of the present invention, and not all of the embodiments. 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.
For the sake of better understanding of the present document, the concepts involved in the present invention will be described first:
storage Virtualization (Storage Virtualization) can be understood as the abstract representation of Storage hardware resources. That is, by integrating one or more Target (Target) services or functions with other additional functions, useful full-function services are provided uniformly.
Fig. 1 is a first flowchart of an expansion method based on building storage virtualization according to an embodiment of the present invention, where the method includes:
s101, acquiring a target disk selected by a target user from a displayed preset disk list, wherein the target disk is a disk of which the user selects at least a target number of different computing nodes in the preset disk list, and the target number is the number of disks in different computing nodes;
the preset disk list is a preset list comprising disks of all computing nodes in the cloud platform.
The target number may be 3;
it should be noted that, when the target number is 3, it can be ensured that if one node is down, two nodes can be active and standby, so that the security of the stored data can be ensured.
It should be noted that only when more than a target number of disks are selected from the preset disk list and the selected target number of disks must be located in different computing nodes, the disks are activated, that is, the disks can be utilized.
The creating process of the first number of preset target disk empty clusters comprises the following steps:
according to the received creation request, creating a first number of target disk empty clusters, wherein the creation request is a request for creating the first number of target disk empty clusters;
and after the first number of target disk empty clusters are created, showing the state of the target disk empty clusters as being created.
According to the method for creating the target disk empty cluster, the target disk empty cluster is created according to the request of the target user, and the created target disk empty cluster is displayed, so that the target user can select which target disk empty clusters are used, and the experience effect of the user is improved.
Before S101, the method further includes:
and showing a selection specification, wherein the selection specification is used for instructing a user to select at least a specification of the disks corresponding to the target number of computing nodes.
The selection description in this step may be a preset selection description document that pops up, or may be a frame in which the selection description content is presented on the original interface.
The display of the selection description is helpful for the target user to correctly select the target disk, and the accuracy of the target user in selecting the target disk is improved.
Before showing the selection instruction, the method further comprises the following steps:
obtaining a disk list corresponding to a preset computing node list according to a received disk scanning request, wherein the disk scanning request is a request to be scanned and the disk list of the computing node is obtained, the disk list comprises disk information corresponding to each computing node in the computing node list, the disk information comprises parameter information and a mounting directory of a disk, and the parameter information comprises the size of the disk, a disk medium and the use space of the disk;
filtering the root partitions of the disks in the disk list corresponding to each computing node according to the sequence of the computing nodes in the computing node list to obtain and store parameter information and a mounting directory of the available disks in each computing node;
and displaying the obtained parameter information and mounting catalog of the available disks in each computing node.
Therefore, in the embodiment, the root partitions of the disks in the disk list corresponding to each computing node are filtered to obtain the available target disks, and then all the available target disks are displayed to make the bottom storage transparent to the user.
The method comprises the following steps of filtering a root partition of a disk in a disk list corresponding to each computing node according to the sequence of the computing nodes in the computing node list to obtain and store parameter information and a mounting directory of an available disk in each computing node, wherein the method specifically comprises the following steps:
according to the sequence of the computing nodes in the computing node list, taking the sequence number corresponding to the first computing node in the computing node list as the current computing node sequence number;
it can be seen that the order of the computing nodes in the computing node list in this step refers to the arrangement order of the computing nodes in the predefined computing node list, that is, the order of the computing nodes is already defined in advance.
Judging whether the serial number of the current computing node is larger than the maximum serial number corresponding to the computing node in the computing node list or not;
if not, filtering the root partition of the disk corresponding to the current computing node according to the corresponding relation between the current computing node and the disk in the disk list to obtain the parameter information and the mounting catalog of the available disk in the current computing node;
displaying the obtained parameter information and the mounting catalog of the available disk in the current computing node, adding 1 to the serial number of the current computing node, taking the processed serial number of the current computing node as a new serial number of the current computing node, and returning to the step of judging whether the serial number of the current computing node is equal to the maximum serial number corresponding to the computing node in the computing node list;
and if so, displaying the obtained parameter information and the mounting catalog of the available disk in each computing node.
Therefore, in the embodiment, the sequencing serial numbers of the computing nodes in the computing node list are used for filtering the root partitions of the disks in the disk list corresponding to each computing node in the computing node list to obtain the available target disks, and then all the available target disks are displayed to make the bottom storage transparent to the user so as to realize the construction of the storage virtualization in the following process.
After S101, the method further includes:
judging whether the obtained target disks comprise target disks with at least target quantity blocks, and the target disks with at least target quantity blocks exist in different computing nodes of disk lists;
if so, the step of S102 is executed.
Therefore, the method and the device improve the accuracy of the target disk selection by setting the verification of the accuracy of the target disk selected by the target user.
S102, adding the selected target disk into a second number of preset target disk empty clusters, and recording the target disk empty clusters after the target disk is added as target clusters; the second number is the number of target disk empty clusters selected from the first number of preset target disk empty clusters, and the first number is the number of target disk empty clusters created;
the first number of preset target disk empty clusters are created in advance, and the first number of preset target disk empty clusters are used for storing the target disks.
It should be noted that, the selected target disk is added to a second number of preset empty target disk clusters, and storage virtualization is established, but the target cluster has not yet reached the purpose of capacity expansion, because the target disk may still have data, and capacity expansion must be performed if the target disk does not store any data, the purpose of capacity expansion is not reached, and data stored in the target disk needs to be emptied.
Adding the selected target disk into a second number of preset target disk empty clusters, specifically:
and adding the selected target disk into a second number of preset target disk empty clusters according to a preset rule, wherein the preset rule is that at least a target number of target disks are required to be added into one target disk empty cluster, and the target number of target disks belong to different calculation nodes with the selected target number.
Therefore, the storage virtualization is built by adding the preset rules, and the building efficiency is further improved.
S103, monitoring whether a target disk is created with a file system; if the file system is created, executing S104;
the file system is a method and a data structure used by an operating system for defining files on a storage device, usually a disk or a disk partition; i.e. the method of organizing files on a storage device, it can also be understood that the software mechanism in the operating system that is responsible for managing and storing file information is called a file management system, referred to as file system for short.
It should be noted that the file system may be created by the computing node where the target disk is located, or may be created by the cloud platform.
Step S103 shows that the purpose of capacity expansion has not been achieved yet, and therefore, in this step, it is necessary to monitor whether the target disk creates a file system, so as to perform flushing of data of the target disk.
After S103, further comprising:
and if the file system is created, deleting the target disk which is not mounted in the specified mounting directory from the selected target disk aiming at the target disk which is not mounted in the specified mounting directory.
Therefore, the target disks which are not mounted in the designated mounting catalog are screened, the capacity expansion accuracy and efficiency are improved, and the experience effect of the target user is further enhanced.
And S104, aiming at the target disk mounted in the specified mounting directory, sending a target instruction to the computing node corresponding to the target disk mounted in the specified mounting directory, wherein the target instruction indicates the sent computing node to empty all data files of the target disk in the specified mounting directory.
It should be noted that the present step can be understood as follows: and judging whether the target disk is mounted in the specified mounting directory, and sending a target instruction to a computing node corresponding to the target disk mounted in the specified mounting directory aiming at the target disk mounted in the specified mounting directory.
In the step, under the condition that the target disk is monitored to create the file system, if the target disk of the created file system is mounted in the designated mounting directory, the target disk is emptied by the corresponding computing node, so that the purpose of capacity expansion is achieved.
After S104, further comprising:
updating a preset target disk database, wherein the target disk database comprises: the method comprises the steps that target disk parameter information, a use state and a universal unique identifier UUID of a target disk empty cluster corresponding to each target disk are obtained;
sending a command for starting a storage process of a computing node to the computing node corresponding to the target disk under the mounting directory according to the name corresponding to the target disk under the mounting directory and the IP of the computing node corresponding to the target disk;
the trigger control node starts each target cluster as a storage service, namely a folder-volume service.
As can be seen, in the embodiment, the preset target disk database is updated so as to clarify that the target disk of the target cluster has been used, the association relationship between each target disk and the target cluster corresponding to the target disk, and the UUID of the target disk empty cluster corresponding to each target disk, and each target cluster is started as a binder-volume service by triggering the control node, so that it is ensured that all sub-services at the storage back end can be automatically started after the binder-volume is restarted.
Wherein, updating the preset target disk database comprises:
changing the preset use state of the target disk into a used state;
adding the incidence relation between each target disk and a target cluster corresponding to the target disk;
and identifying a Universal Unique Identifier (UUID) of each target disk located in the corresponding target cluster.
As can be seen, in the embodiment, the database reaches the latest state by updating the use state of the target disk, adding the association relationship between each target disk and the target cluster corresponding to the target disk, and identifying the UUID of each target disk located in the corresponding target cluster, so that the target user and the platform can clearly determine the use state of the target disk, and the database can be used when the platform subsequently calls the parameters of the target disk.
Before the triggering control node starts each target cluster as a storage service, namely a client-volume service, the method further comprises the following steps:
judging whether the state of the target cluster is in establishment and whether the expanded disk has at least target number blocks in different computing nodes;
if yes, all physical nodes are instructed to start the target cluster gateway, the stored configuration file is modified, a command for starting the storage service is sent to execute a step of triggering the control node to start the target cluster serving as the storage service circular-volume service.
Therefore, in the embodiment, whether the target cluster needs to be activated or not is determined by further judging that at least the target number blocks of the expanded disk are located in different computing nodes, so that the error rate of the target cluster being created is reduced, and the activation efficiency is improved.
After the triggering control node starts each target cluster as a storage service, namely a client-volume service, the method further comprises the following steps:
acquiring a capacity reduction request, wherein the capacity reduction request is a request for carrying out capacity reduction on the target cluster after capacity expansion;
the capacity reduction is to delete a third preset number of target disks to be deleted in the target cluster, so as to achieve the purpose of reducing the storage space of the target cluster.
It should be noted that, if the user wants to perform the capacity reduction, only the capacity reduction request needs to be sent.
And deleting the target disk of the target cluster according to the acquired capacity reduction request.
According to the capacity reduction request sent by the user, the target disk of the target cluster can be automatically deleted, and the purpose of capacity reduction is achieved.
The capacity reduction mode further improves the automation process and improves the experience effect of the user.
Therefore, according to the method for establishing the storage virtualization environment provided by the embodiment of the invention, the target disk selected by the user is added into the selected target disk empty cluster, so that the establishment of the storage virtualization is completed, and if the target disk of the established file system is monitored to be mounted in the designated mount directory, the computing node corresponding to the target disk is instructed to empty the target disk, so that the capacity expansion of the target cluster is realized, and therefore, on the basis of the establishment of the storage virtualization, the complexity of the capacity expansion process of the storage virtualization is reduced, and the user experience effect is further improved.
Fig. 2 is a second flowchart of an expansion method based on building storage virtualization according to an embodiment of the present invention, where the method includes:
s201, obtaining a disk list corresponding to a preset computing node list according to a received disk scanning request, wherein the disk scanning request is a request to be scanned and the disk list of the computing node is obtained, the disk list comprises disk information corresponding to each computing node in the computing node list, the disk information comprises parameter information and a mounting catalog of a disk, and the parameter information comprises the size of the disk, a disk medium and the use space of the disk;
in a windows operating system, mounting generally refers to allocating a drive letter to a disk partition, where the disk partition includes a disk partition that is virtualized, such as a C disk, a D disk, or an E disk. In addition, the existing third-party software, such as the disk partition management software, the virtual disk software, etc., is usually attached with a mount function.
In the Linux operating system, mounting means mounting a device, i.e. usually a storage device, to an existing directory.
Linux is a free-running and free-propagation class of Unix operating systems.
It is worth mentioning that to access a file in a storage device, the partition where the file is located must be mounted to an existing directory, i.e. a designated directory, and then the storage device must be accessed by accessing the designated directory.
In addition, if the target user reduces the disks in the disk list, the reduced disk list can be obtained by receiving the disk scanning request, and the reduced disk list is processed as follows, so that capacity reduction management is achieved.
S202, filtering root partitions of disks in a disk list corresponding to each computing node according to the sequence of the computing nodes in the computing node list to obtain and store parameter information and a mounting directory of available disks in each computing node;
the root partition is a partition where the system root directory is located.
It is worth mentioning that, because the root partition includes the kernel of the operating system and the file to be used in the process of starting the system, the step filters the disks corresponding to the root partition of the disks in the disk list corresponding to each computing node, that is, the disks except the root partition in the disks in the disk list corresponding to each computing node are all available disks, and then the parameter information of the available disks is obtained and is convenient for being used by the storage back end.
S203, displaying the obtained parameter information and mounting catalog of the available disk in each computing node;
the method comprises the step of displaying the obtained and stored parameter information of the available disks in each computing node and the mounting catalog so that a target user can select the available disks under the mounting catalog according to the parameter information of the available disks.
S204, showing a selection description, wherein the selection description is used for indicating a user to select at least a description of a disk corresponding to 3 computing nodes;
it should be noted that the selection instruction is used to prompt the user how to select the disk, so as to prevent user operation errors, improve the accuracy of user operation, and further improve the speed of establishing the storage virtualization.
In addition, the user selects at least disks corresponding to 3 computing nodes, so that the 3 disks selected by the user are added to the target empty cluster to activate the target cluster.
S205, acquiring a target disk selected by a target user from a displayed preset disk list, wherein the target disk is a disk selected by the user and located in at least 3 different computing nodes in the preset disk list, and the target number is the number of disks located in different computing nodes;
the target user can explicitly select the number of the target disks and the corresponding computing nodes from a preset disk list according to the displayed selection description, the parameter information of the available disks in each computing node and the mounting catalog.
S206, judging whether the obtained target disk comprises at least 3 target disks, wherein the at least 3 target disks exist in different computing nodes of disk lists; if so, go to S207;
in order to improve the accuracy of the target disk selected by the target user, the step sets verification on the accuracy of the target disk selected by the target user, wherein the accuracy can be understood as whether the target disk selected by the target user comprises at least 3 target disks, the 3 target disks exist in different computing nodes of the disk list, namely the content of the selection description, if the target disks are in accordance, the target disks are calibrated to be correct, and if the target disks are not in accordance, the target disks are calibrated to be incorrect.
S207, adding the selected target disks into a second number of preset target disk empty clusters according to a preset rule, and recording the target disk empty clusters after the target disks are added as target clusters, wherein the preset rule is that at least 3 target disks need to be added into one target disk empty cluster, the 3 target disks belong to 3 different selected computing nodes, and the second number is the number of target disk empty clusters selected from the first number of preset target disk empty clusters;
it should be noted that, for a second number of preset target disk empty clusters, each target disk empty cluster needs to add at least 3 target disks, and the 3 target disks belong to 3 different selected computing nodes, and only if the target disk is added to each target disk, the target disk can be activated, that is, the target cluster can be used.
S208, monitoring whether the target disk is established with a file system; if the file system is created, executing S209;
wherein S208 is the same as the method executed by S103 in the embodiment of fig. 1. Therefore, all the embodiments in fig. 1 are applicable to fig. 2, and can achieve the same or similar beneficial effects, and are not described herein again.
S209, aiming at a target disk mounted in a specified mounting directory, sending a target instruction to a computing node corresponding to the target disk mounted in the specified mounting directory, and aiming at a target disk not mounted in the specified mounting directory, deleting the target disk not mounted in the specified mounting directory from a selected target disk, wherein the target instruction indicates the sent computing node to empty all data files of the target disk in the specified mounting directory;
in this step, under the condition that it is monitored that the file system is created for the target disk, for the target disk which is not mounted in the designated mount directory, since the target disk which is not mounted in the designated mount directory is not available, the target disk which is not mounted in the designated mount directory needs to be deleted from the selected target disk.
If the file system is established noninvasively, the target disk is an unavailable disk, and the user is required to establish the file system and then utilize the file system.
Similarly, since the target disk not mounted in the designated mount directory is not available, the target disk not mounted in the designated mount directory needs to be deleted from the selected target disk.
Therefore, according to the second method for establishing the storage virtualization environment provided by the embodiment of the invention, the target disk selected by the user is added into the selected empty target disk cluster, so that the establishment of the storage virtualization is completed, if it is monitored that the target disk of the created file system is mounted in the designated mount directory, the computing node corresponding to the target disk is instructed to empty the target disk, the capacity expansion of the target cluster is realized, the setting of the description is selected, the correct rate of the target disk selected by the target user is improved, all available target disks are displayed, the bottom storage is made transparent to the user, and the scanning request is received, so that the complexity of the capacity expansion process of the storage virtualization is reduced on the basis of realizing the establishment of the storage virtualization, and the user experience effect is improved.
Fig. 3 is a third flowchart of an expansion method based on building storage virtualization according to an embodiment of the present invention, where the method includes:
s301, according to a received disk scanning request, obtaining a disk list corresponding to a preset computing node list, wherein the disk scanning request is a request to be scanned and obtain the disk list of the computing node, the disk list comprises disk information corresponding to each computing node in the computing node list, the disk information comprises parameter information and a mounting catalog of a disk, and the parameter information comprises the size of the disk, a disk medium and the use space of the disk;
s301 to S310 are the same as the methods performed by S201 to S210 in the embodiment of fig. 2, respectively. Therefore, all the embodiments in fig. 2 are applicable to fig. 3, and can achieve the same or similar beneficial effects, and are not described herein again.
S302, filtering root partitions of disks in the disk list corresponding to each computing node according to the sequence of the computing nodes in the computing node list to obtain and store parameter information and a mounting directory of available disks in each computing node;
s303, displaying the obtained parameter information and mounting catalog of the available disk in each computing node;
s304, showing a selection description, wherein the selection description is used for indicating a user to select at least a description of a disk corresponding to 3 computing nodes;
s305, acquiring a target disk selected by a target user from the displayed preset disk list, wherein the target disk is a disk of at least 3 different computing nodes in the preset disk list selected by the user;
s306, judging whether the obtained target disk comprises at least 3 target disks, wherein the at least 3 target disks exist in different computing nodes of disk lists; if so, go to S307;
s307, adding the selected target disk into a second number of preset target disk empty clusters according to a preset rule, and marking the target disk empty clusters after the target disk is added as target clusters, wherein the preset rule is that at least 3 target disks need to be added into one target disk empty cluster, the 3 target disks belong to 3 different selected computing nodes, and the second number is the number of the target disk empty clusters selected from the first number of preset target disk empty clusters;
s308, monitoring whether a target disk is established with a file system; if the file system is created, executing S309;
s309, aiming at a target disk mounted in a specified mounting catalog, sending a target instruction to a computing node corresponding to the target disk mounted in the specified mounting catalog, and aiming at a target disk not mounted in the specified mounting catalog, deleting the target disk not mounted in the specified mounting catalog from a selected target disk, wherein the target instruction indicates the sent computing node to empty all data files of the target disk in the specified mounting catalog;
s310, changing the preset use state of the target disk into a used state;
this step is to inform the target user that the target disk has been utilized.
S311, adding the association relationship between each target disk and the target cluster corresponding to the target disk;
in this step, each target disk is associated with the target cluster to which the target disk is added, that is, as long as one target disk is given, it can be known in which target cluster the target disk is placed.
S312, identifying a universal unique identifier UUID of each target disk located in the corresponding target cluster;
the uuid (universal Unique identifier) is a standard for software construction, and is also part of the field of the open software foundation organization in the distributed computing environment. The aim is to enable all elements in the distributed system to have unique identification information without specifying the identification information through a central control end.
S313, according to the name corresponding to the target disk under the mounting directory and the IP of the computing node corresponding to the target disk, sending a command for starting a storage process by the computing node to the computing node corresponding to the target disk under the mounting directory;
the command for starting the storage process by the computing node may be a Linux command.
S314, judging whether the state of the target cluster is in the process of creation and whether at least 3 expanded disks are positioned in different computing nodes; if yes, executing S315;
this step needs to determine again that there are at least 3 target disks in each target cluster, and the 3 target disks are located in different computing nodes, so as to determine whether to activate the target cluster.
S315, indicating all physical nodes to open the target cluster gateway, modifying the stored configuration file, sending a command for starting the storage service and executing the step S316;
the configuration file stored (finder) is a configuration file automatically generated in advance by the cloud platform;
the command for starting the storage service may be service openstack-binder-volume.
S316, triggering the control node to start each target cluster as a storage service, namely a folder-volume service.
The step ensures that all sub-services of the storage back end can be automatically started after the storage service circular-volume is restarted.
Therefore, the third method for establishing a storage virtualization environment provided by the embodiment of the present invention completes establishment of storage virtualization by adding a target disk selected by a user to a selected target disk empty cluster, and if it is monitored that a target disk of a created file system is mounted in an assigned mounting directory, instructs a computing node corresponding to the target disk to empty the target disk, so as to implement capacity expansion of the target cluster, select setting of a description, improve the accuracy of the target disk selected by the target user, display all available target disks, and make underlying storage transparent to the user, thereby reducing complexity of a capacity expansion flow of storage virtualization on the basis of implementing establishment of storage virtualization, ensuring that all sub-services at a storage back end can be automatically started after restarting a storage service circular-volume, and without human intervention for modifying underlying configuration files or restarting a server, the user experience effect is further improved.
Corresponding to the capacity expansion based on the built storage virtualization, the embodiment of the invention also provides a capacity expansion device based on the built storage virtualization.
Fig. 4 is a capacity expansion apparatus based on building storage virtualization according to an embodiment of the present invention, where the apparatus includes:
a target disk obtaining module 401, configured to obtain a target disk selected by a target user from a displayed preset disk list, where the target disk is a disk in which the user selects at least a target number of different computing nodes in the preset disk list, and the target number is a number of disks in different computing nodes;
a first adding module 402, configured to add the selected target disk to a second number of preset target disk empty clusters, and mark the target disk empty cluster to which the target disk is added as a target cluster; the second number is the number of target disk empty clusters selected from the first number of preset target disk empty clusters, and the first number is the number of target disk empty clusters created;
a monitoring module 403, configured to monitor whether a target disk is created with a file system, and if the target disk is created with the file system, trigger the target instruction sending module 404;
a target instruction sending module 404, configured to send a target instruction to a computing node corresponding to a target disk mounted in a specified mounting directory, where the target instruction indicates that the sending computing node clears all data files of the target disk in the specified mounting directory.
Wherein, the device can also include:
the disk list obtaining module is used for obtaining a disk list corresponding to a preset computing node list according to a received disk scanning request, wherein the disk scanning request is a request to be scanned and obtain the disk list of the computing node, the disk list comprises disk information corresponding to each computing node in the computing node list, the disk information comprises parameter information and a mounting catalog of a disk, and the parameter information comprises the size of the disk, a disk medium and the use space of the disk;
the first filtering module is used for filtering the root partitions of the disks in the disk list corresponding to each computing node according to the sequence of the computing nodes in the computing node list to obtain and store the parameter information and the mounting catalog of the available disks in each computing node;
and the first display module is used for displaying the obtained parameter information and the mounting catalog of the available disk in each computing node.
The first filter module includes:
the current computing node sequence number setting submodule is used for taking a sequence number corresponding to a first computing node in the computing node list as a current computing node sequence number according to the sequence of the computing nodes in the computing node list;
the first judgment submodule is used for judging whether the serial number of the current computing node is greater than the maximum serial number corresponding to the computing node in the computing node list or not; if not, triggering a second filtering submodule; if so, triggering a third display submodule;
the second filtering submodule is used for filtering the root partition of the disk corresponding to the current computing node according to the corresponding relation between the current computing node and the disk in the disk list to obtain the parameter information and the mounting catalog of the available disk in the current computing node;
the second display submodule is used for displaying the obtained parameter information and the mounting catalog of the available disk in the current computing node, adding 1 to the serial number of the current computing node, taking the processed serial number of the current computing node as a new serial number of the current computing node, and triggering the first judgment submodule;
and the third display submodule is used for displaying the obtained parameter information and the mounting catalog of the available disk in each computing node.
The creating process of the first number of preset target disk empty clusters comprises the following steps:
according to the received creation request, creating a first number of target disk empty clusters, wherein the creation request is a request for creating the first number of target disk empty clusters;
and after the first number of target disk empty clusters are created, showing the state of the target disk empty clusters as being created.
The apparatus may further include:
and the fourth display module is used for displaying the selection description, wherein the selection description is used for indicating the user to at least select the description of the disks corresponding to the target number of computing nodes.
The apparatus may further include:
the second judgment module is used for judging whether the obtained target disks comprise target disks with at least target quantity blocks, and the target disks with at least target quantity blocks exist in different computing nodes of the disk list; if yes, triggering the first adding module.
A first add module comprising:
and the second adding submodule is used for adding the selected target disk into a second number of preset target disk empty clusters according to a preset rule, wherein the preset rule is that at least a target number of target disks are required to be added to one target disk empty cluster, and the target number of target disks belong to different selected target number of computing nodes.
The apparatus may further include:
the first deleting module is used for deleting the target disk which is not mounted under the specified mounting catalog from the selected target disk aiming at the target disk which is not mounted under the specified mounting catalog if the file system is created;
the apparatus may further include:
an update module, configured to update a preset target disk database, where the target disk database includes: the method comprises the steps that target disk parameter information, a use state and a universal unique identifier UUID of a target disk empty cluster corresponding to each target disk are obtained;
the sending module is used for sending a command for starting a storage process of the computing node to the computing node corresponding to the target disk under the mounting directory according to the name corresponding to the target disk under the mounting directory and the IP of the computing node corresponding to the target disk;
and the triggering module is used for triggering the control node to start each target cluster as a storage service circular-volume service.
The update module includes:
the change submodule is used for changing the preset use state of the target disk into the used state;
a third adding submodule, configured to add an association relationship between each target disk and a target cluster corresponding to the target disk;
and the identification submodule is used for identifying the universal unique identifier UUID of each target disk located in the corresponding target cluster.
The apparatus may further include:
the third judgment module is used for judging whether the state of the target cluster is in establishment and whether the expanded disk has at least target number blocks positioned in different computing nodes; if yes, triggering an indication module;
and the indicating module is used for indicating all the physical nodes to open the target cluster gateway, modifying the stored configuration file, sending a command for starting the storage service, executing the step of triggering the control node to start the target cluster as the storage service circular-volume service.
The apparatus may further include:
the acquisition module is used for acquiring a capacity reduction request, wherein the capacity reduction request is a request for carrying out capacity reduction on the target cluster after capacity expansion;
and the second deleting module is used for deleting the target disk of the target cluster according to the acquired capacity reduction request.
Therefore, the device for building the storage virtualization environment provided by the embodiment of the invention completes building of storage virtualization by adding the target disk selected by the user to the selected target disk empty cluster, and if it is monitored that the target disk of the created file system is mounted in the designated mount directory, the computing node corresponding to the target disk is instructed to empty the target disk, so that the capacity expansion of the target cluster is realized, and therefore, on the basis of building of the storage virtualization, the complexity of the capacity expansion process of the storage virtualization is reduced, and the user experience effect is improved.
Embodiments of the present invention also provide an electronic device, including a processor and a machine-readable storage medium storing machine-executable instructions executable by the processor, the processor being caused by the machine-executable instructions to: the capacity expansion method based on the built storage virtualization provided by the embodiment of the invention is realized.
Specifically, the capacity expansion method based on the built storage virtualization includes:
acquiring a target disk selected by a target user from a displayed preset disk list, wherein the target disk is a disk of which the user selects at least a target number of different computing nodes in the preset disk list;
adding the selected target disk into a second number of preset target disk empty clusters, and recording the target disk empty clusters after the target disk is added as target clusters; the second number is the number of target disk empty clusters selected from the first number of preset target disk empty clusters;
monitoring whether a target disk is created with a file system;
and if the file system is created, aiming at the target disk mounted in the specified mounting directory, sending a target instruction to a computing node corresponding to the target disk mounted in the specified mounting directory, wherein the target instruction indicates the sent computing node to empty all data files of the target disk in the specified mounting directory.
The Processor may be a general-purpose Processor, including a Central Processing Unit (CPU), a Network Processor (NP), and the like; but also Digital Signal Processors (DSPs), Application Specific Integrated Circuits (ASICs), Field Programmable Gate Arrays (FPGAs) or other Programmable logic devices, discrete Gate or transistor logic devices, discrete hardware components.
Therefore, by executing the electronic device provided by the embodiment, the establishment of storage virtualization is completed by adding the target disk selected by the user to the selected target disk empty cluster, and if it is monitored that the target disk of the created file system is mounted in the designated mount directory, the computing node corresponding to the target disk is instructed to empty the target disk, so that the expansion of the target cluster is realized, and on the basis of realizing the establishment of storage virtualization, the complexity of the expansion flow of storage virtualization is reduced, and further the user experience effect is improved.
The embodiment of the capacity expansion method based on building storage virtualization of the related content is the same as the capacity expansion method based on building storage virtualization provided in the foregoing method embodiment, and is not described here again.
An embodiment of the present invention further provides an electronic device, as shown in fig. 5, which includes a processor 501, a communication interface 502, a memory 503 and a communication bus 504, where the processor 501, the communication interface 502 and the memory 503 complete mutual communication through the communication bus 504,
a memory 503 for storing a computer program;
the processor 501 is configured to implement the capacity expansion method based on building storage virtualization provided by the embodiment of the present invention when executing the program stored in the memory 503.
Specifically, the capacity expansion method based on building storage virtualization includes:
acquiring a target disk selected by a target user from a displayed preset disk list, wherein the target disk is a disk of which the user selects at least a target number of different computing nodes in the preset disk list;
adding the selected target disk into a second number of preset target disk empty clusters, and recording the target disk empty clusters after the target disk is added as target clusters; the second number is the number of target disk empty clusters selected from the first number of preset target disk empty clusters;
monitoring whether a target disk is created with a file system;
and if the file system is created, aiming at the target disk mounted in the specified mounting directory, sending a target instruction to a computing node corresponding to the target disk mounted in the specified mounting directory, wherein the target instruction indicates the sent computing node to empty all data files of the target disk in the specified mounting directory.
The communication bus mentioned in the electronic device may be a Peripheral Component Interconnect (PCI) bus, an Extended Industry Standard Architecture (EISA) bus, or the like. The communication bus may be divided into an address bus, a data bus, a control bus, etc. For ease of illustration, only one thick line is shown, but this does not mean that there is only one bus or one type of bus.
The communication interface is used for communication between the electronic equipment and other equipment.
The Memory may include a Random Access Memory (RAM) or a Non-Volatile Memory (NVM), such as at least one disk Memory. Optionally, the memory may also be at least one memory device located remotely from the processor.
Therefore, by executing the electronic device provided by the embodiment, the establishment of storage virtualization is completed by adding the target disk selected by the user to the selected target disk empty cluster, and if it is monitored that the target disk of the created file system is mounted in the designated mount directory, the computing node corresponding to the target disk is instructed to empty the target disk, so that the expansion of the target cluster is realized, and on the basis of realizing the establishment of storage virtualization, the complexity of the expansion flow of storage virtualization is reduced, and further the user experience effect is improved.
The embodiment of the capacity expansion method based on building storage virtualization of the related content is the same as the capacity expansion method based on building storage virtualization provided in the foregoing method embodiment, and is not described here again.
In another embodiment provided by the present invention, a computer-readable storage medium is further provided, where instructions are stored in the computer-readable storage medium, and when the instructions are run on a computer, the computer is caused to execute any one of the above-mentioned embodiments of the building storage virtualization-based expansion method.
Specifically, the capacity expansion method based on building storage virtualization includes:
acquiring a target disk selected by a target user from a displayed preset disk list, wherein the target disk is a disk of which the user selects at least a target number of different computing nodes in the preset disk list;
adding the selected target disk into a second number of preset target disk empty clusters, and recording the target disk empty clusters after the target disk is added as target clusters; the second number is the number of target disk empty clusters selected from the first number of preset target disk empty clusters;
monitoring whether a target disk is created with a file system;
and if the file system is created, aiming at the target disk mounted in the specified mounting directory, sending a target instruction to a computing node corresponding to the target disk mounted in the specified mounting directory, wherein the target instruction indicates the sent computing node to empty all data files of the target disk in the specified mounting directory.
Therefore, when the application program stored in the computer-readable storage medium provided by this embodiment is executed, the establishment of storage virtualization is completed by adding the target disk selected by the user to the selected empty target disk cluster, and if it is monitored that the target disk of the created file system is mounted in the designated mount directory, the computing node corresponding to the target disk is instructed to empty the target disk, so that the capacity expansion of the target cluster is realized, and on the basis of the establishment of storage virtualization, the complexity of the capacity expansion process of storage virtualization is reduced, and further, the user experience effect is improved.
The embodiment of the capacity expansion method based on building storage virtualization of the related content is the same as the capacity expansion method based on building storage virtualization provided in the foregoing method embodiment, and is not described here again.
In another embodiment provided by the present invention, a computer program product containing instructions is further provided, which when run on a computer, causes the computer to execute any of the above-mentioned embodiments of the building storage virtualization-based expansion method.
Specifically, the capacity expansion method based on building storage virtualization includes:
acquiring a target disk selected by a target user from a displayed preset disk list, wherein the target disk is a disk of which the user selects at least a target number of different computing nodes in the preset disk list;
adding the selected target disk into a second number of preset target disk empty clusters, and recording the target disk empty clusters after the target disk is added as target clusters; the second number is the number of target disk empty clusters selected from the first number of preset target disk empty clusters;
monitoring whether a target disk is created with a file system;
and if the file system is created, aiming at the target disk mounted in the specified mounting directory, sending a target instruction to a computing node corresponding to the target disk mounted in the specified mounting directory, wherein the target instruction indicates the sent computing node to empty all data files of the target disk in the specified mounting directory.
Therefore, when the application program stored in the computer program product provided by this embodiment is executed, the establishment of storage virtualization is completed by adding the target disk selected by the user to the selected target disk empty cluster, and if it is monitored that the target disk of the created file system is mounted in the designated mount directory, the computing node corresponding to the target disk is instructed to empty the target disk, so that the capacity expansion of the target cluster is realized, and thus on the basis of the establishment of storage virtualization, the complexity of the capacity expansion process of storage virtualization is reduced, and further the user experience effect is improved.
The embodiment of the capacity expansion method based on building storage virtualization of the related content is the same as the capacity expansion method based on building storage virtualization provided in the foregoing method embodiment, and is not described here again.
In another aspect of the present invention, there is also provided a computer program which, when run on a computer, causes the computer to execute any one of the above mentioned capacity expansion methods based on building storage virtualization.
Specifically, the capacity expansion method based on building storage virtualization includes:
acquiring a target disk selected by a target user from a displayed preset disk list, wherein the target disk is a disk of which the user selects at least a target number of different computing nodes in the preset disk list;
adding the selected target disk into a second number of preset target disk empty clusters, and recording the target disk empty clusters after the target disk is added as target clusters; the second number is the number of target disk empty clusters selected from the first number of preset target disk empty clusters;
monitoring whether a target disk is created with a file system;
and if the file system is created, aiming at the target disk mounted in the specified mounting directory, sending a target instruction to a computing node corresponding to the target disk mounted in the specified mounting directory, wherein the target instruction indicates the sent computing node to empty all data files of the target disk in the specified mounting directory.
Therefore, when the computer program provided by the embodiment is executed, the establishment of storage virtualization is completed by adding the target disk selected by the user to the selected target disk empty cluster, and if it is monitored that the target disk of the created file system is mounted in the designated mount directory, the computing node corresponding to the target disk is instructed to empty the target disk, so that the expansion of the target cluster is realized, the complexity of the expansion process of the storage virtualization is reduced on the basis of the establishment of the storage virtualization, and the user experience effect is further improved.
The embodiment of the capacity expansion method based on building storage virtualization of the related content is the same as the capacity expansion method based on building storage virtualization provided in the foregoing method embodiment, and is not described here again.
The embodiment of the capacity expansion method based on building storage virtualization of the related content is the same as the capacity expansion method based on building storage virtualization provided in the foregoing method embodiment, and is not described here again.
It is noted that, herein, relational terms such as first and second, and the like may be used solely to distinguish one entity or action from another entity or action without necessarily requiring or implying any actual such relationship or order between such entities or actions. Also, the terms "comprises," "comprising," or any other variation thereof, are intended to cover a non-exclusive inclusion, such that a process, method, article, or apparatus that comprises a list of elements does not include only those elements but may include other elements not expressly listed or inherent to such process, method, article, or apparatus. Without further limitation, an element defined by the phrase "comprising an … …" does not exclude the presence of other identical elements in a process, method, article, or apparatus that comprises the element.
All the embodiments in the present specification are described in a related manner, and the same and similar parts among the embodiments may be referred to each other, and each embodiment focuses on the differences from the other embodiments. In particular, as for the method, apparatus, storage medium, device and computer program product embodiments, the description is relatively simple as it is substantially similar to the method embodiments, and reference may be made to some descriptions of the method embodiments for relevant points.
The above description is only for the preferred embodiment of the present invention, and is not intended to limit the scope of the present invention. Any modification, equivalent replacement, or improvement made within the spirit and principle of the present invention shall fall within the protection scope of the present invention.

Claims (28)

1. The capacity expansion method based on building storage virtualization is characterized by comprising the following steps:
acquiring a target disk selected by a target user from a displayed preset disk list, wherein the target disk is a disk of which the user selects at least a target number of different computing nodes in the preset disk list, and the target number is the number of disks in different computing nodes;
adding the selected target disk into a second number of preset target disk empty clusters, and recording the target disk empty clusters after the target disk is added as target clusters; selecting a first number of preset target disk empty clusters as a second number of preset target disk empty clusters, wherein the second number is the number of target disk empty clusters selected from the first number of preset target disk empty clusters, and the first number is the number of target disk empty clusters created;
monitoring whether the target disk is created with a file system;
and if the file system is created, aiming at the target disk mounted in the specified mounting directory, sending a target instruction to a computing node corresponding to the target disk mounted in the specified mounting directory, wherein the target instruction indicates the sent computing node to empty all data files of the target disk in the specified mounting directory.
2. The method of claim 1, wherein before the obtaining the target disk selected by the target user from the presented preset disk list, the method further comprises:
obtaining a disk list corresponding to a preset computing node list according to a received disk scanning request, wherein the disk scanning request is a request to be scanned and the disk list of the computing node is obtained, the disk list comprises disk information corresponding to each computing node in the computing node list, the disk information comprises parameter information and a mounting catalog of a disk, and the parameter information comprises the size of the disk, a disk medium and the use space of the disk;
filtering the root partitions of the disks in the disk list corresponding to each computing node according to the sequence of the computing nodes in the computing node list to obtain and store the parameter information and the mounting catalog of the available disks in each computing node;
and displaying the obtained parameter information and mounting catalog of the available disks in each computing node.
3. The method according to claim 2, wherein the filtering, according to the sequence of the computing nodes in the computing node list, the root partition of the disk in the disk list corresponding to each computing node to obtain and store the parameter information and the mount directory of the available disk in each computing node comprises:
according to the sequence of the computing nodes in the computing node list, taking the sequence number corresponding to the first computing node in the computing node list as the current computing node sequence number;
judging whether the serial number of the current computing node is larger than the maximum serial number corresponding to the computing node in the computing node list or not;
if not, filtering the root partition of the disk corresponding to the current computing node according to the corresponding relation between the current computing node and the disk in the disk list to obtain the parameter information and the mounting catalog of the available disk in the current computing node;
displaying the obtained parameter information and the mounting catalog of the available disk in the current computing node, adding 1 to the serial number of the current computing node, taking the processed serial number of the current computing node as a new serial number of the current computing node, and returning to the step of judging whether the serial number of the current computing node is equal to the maximum serial number corresponding to the computing node in the computing node list;
and if so, displaying the obtained parameter information and the mounting catalog of the available disk in each computing node.
4. The method of claim 1, wherein the first number of preset empty clusters of target disks is created by:
according to a received creating request, creating a first number of target disk empty clusters, wherein the creating request is a request for creating the first number of target disk empty clusters;
and after the first number of target disk empty clusters are created, showing the state of the target disk empty clusters as being created.
5. The method of claim 4, wherein before the obtaining the target disk selected by the target user from the presented preset disk list, the method further comprises:
and showing a selection specification, wherein the selection specification is used for instructing a user to select at least a specification of the disks corresponding to the target number of computing nodes.
6. The method of claim 5, wherein after the obtaining of the target disk selected by the target user from the presented preset disk list, the method further comprises:
judging whether the obtained target disks comprise target disks with at least target quantity blocks, and the target disks with at least target quantity blocks exist in different computing nodes of the disk list;
if so, adding the selected target disk into a second number of preset target disk empty clusters, and marking the target disk empty cluster after the target disk is added as a target cluster.
7. The method of claim 6, wherein adding the selected target disk to a second number of preset target disk empty clusters comprises:
and adding the selected target disk into a second number of preset target disk empty clusters according to a preset rule, wherein the preset rule is that at least a target number of target disks are required to be added into one target disk empty cluster, and the target number of target disks belong to different calculation nodes with the selected target number.
8. The method of claim 7, wherein after the monitoring whether the target disk is created to a file system, the method further comprises:
and if the file system is created, deleting the target disk which is not mounted in the specified mounting directory from the selected target disk aiming at the target disk which is not mounted in the specified mounting directory.
9. The method of any one of claims 1-8, wherein the target number is 3.
10. The method of claim 9, wherein after sending the target instruction to the computing node corresponding to the target disk mounted in the designated mount directory for the target disk mounted in the designated mount directory, the method further comprises:
updating a preset target disk database, wherein the target disk database comprises: the method comprises the steps that target disk parameter information, a use state and a universal unique identifier UUID of a target disk empty cluster corresponding to each target disk are obtained;
sending a command for starting a storage process of a computing node to the computing node corresponding to the target disk under the mounting directory according to the name corresponding to the target disk under the mounting directory and the IP of the computing node corresponding to the target disk;
the trigger control node starts each target cluster as a storage service, namely a folder-volume service.
11. The method of claim 10, wherein updating the preset target disk database comprises:
changing the preset use state of the target disk into a used state;
adding the incidence relation between each target disk and a target cluster corresponding to the target disk;
and identifying a Universal Unique Identifier (UUID) of each target disk located in the corresponding target cluster.
12. The method of claim 11, wherein before the triggering control node launches each target cluster as a storage service, a binder-volume service, the method further comprises:
judging whether the state of the target cluster is in establishment and whether the expanded disk has at least target number blocks in different computing nodes;
if yes, all physical nodes are instructed to start the target cluster gateway, the stored configuration file is modified, and a command for starting the storage service is sent to execute the step that the trigger control node starts the target cluster as the storage service circular-volume service.
13. The method of claim 12, wherein after the triggering control node launches each target cluster as a storage service, a binder-volume service, the method further comprising:
acquiring a capacity reduction request, wherein the capacity reduction request is a request for carrying out capacity reduction on a target cluster after capacity expansion;
and deleting the target disk of the target cluster according to the acquired capacity reduction request.
14. An expansion device based on building storage virtualization, characterized in that the device comprises:
the target disk acquisition module is used for acquiring a target disk selected by a target user from a displayed preset disk list, wherein the target disk is a disk of which the user selects at least a target number of different computing nodes in the preset disk list, and the target number is the number of disks in different computing nodes;
the first adding module is used for adding the selected target disk into a second number of preset target disk empty clusters, and marking the target disk empty clusters after the target disk is added as target clusters; selecting a first number of preset target disk empty clusters as a second number of preset target disk empty clusters, wherein the second number is the number of target disk empty clusters selected from the first number of preset target disk empty clusters, and the first number is the number of target disk empty clusters created;
the monitoring module is used for monitoring whether the target disk is created with a file system or not, and if the target disk is created with the file system, the target instruction sending module is triggered;
the target instruction sending module is used for sending a target instruction to a computing node corresponding to a target disk mounted in a specified mounting directory aiming at the target disk mounted in the specified mounting directory, wherein the target instruction indicates the sent computing node to empty all data files of the target disk in the specified mounting directory.
15. The apparatus of claim 14, wherein the apparatus further comprises:
the disk list obtaining module is used for obtaining a disk list corresponding to a preset computing node list according to a received disk scanning request, wherein the disk scanning request is a request to be scanned and obtain the disk list of the computing node, the disk list comprises disk information corresponding to each computing node in the computing node list, the disk information comprises parameter information and a mounting catalog of a disk, and the parameter information comprises the size of the disk, disk media and the use space of the disk;
the first filtering module is used for filtering root partitions of the disks in the disk list corresponding to each computing node according to the sequence of the computing nodes in the computing node list to obtain and store parameter information and a mounting directory of the available disks in each computing node;
and the first display module is used for displaying the obtained parameter information and the mounting catalog of the available disk in each computing node.
16. The apparatus of claim 15, wherein the first filtering module comprises:
the current computing node sequence number setting submodule is used for taking a sequence number corresponding to a first computing node in the computing node list as a current computing node sequence number according to the sequence of the computing nodes in the computing node list;
the first judgment submodule is used for judging whether the serial number of the current computing node is greater than the maximum serial number corresponding to the computing node in the computing node list or not; if not, triggering a second filtering submodule; if so, triggering a third display submodule;
the second filtering submodule is used for filtering the root partition of the disk corresponding to the current computing node according to the corresponding relation between the current computing node and the disk in the disk list to obtain the parameter information and the mounting catalog of the available disk in the current computing node;
the second display submodule is used for displaying the obtained parameter information and the mounting catalog of the available disk in the current computing node, adding 1 to the serial number of the current computing node, taking the processed serial number of the current computing node as a new serial number of the current computing node, and triggering the first judgment submodule;
and the third display submodule is used for displaying the obtained parameter information and mounting catalogue of the available disk in each computing node.
17. The apparatus of claim 14, wherein the first number of preset empty clusters of target disks is created by:
according to a received creating request, creating a first number of target disk empty clusters, wherein the creating request is a request for creating the first number of target disk empty clusters;
and after the first number of target disk empty clusters are created, showing the state of the target disk empty clusters as being created.
18. The apparatus of claim 17, wherein the apparatus further comprises:
and the fourth display module is used for displaying selection descriptions, wherein the selection descriptions are used for indicating a user to select at least the description of the disks corresponding to the target number of computing nodes.
19. The apparatus of claim 18, wherein the apparatus further comprises:
the second judgment module is used for judging whether the obtained target disks comprise target disks with at least target quantity blocks, and the target disks with at least target quantity blocks exist in different computing nodes of the disk list; if yes, triggering the first adding module.
20. The apparatus of claim 19, wherein the first adding module comprises:
and the second adding submodule is used for adding the selected target disk into a second number of preset target disk empty clusters according to a preset rule, wherein the preset rule is that at least a target number of target disks are required to be added to one target disk empty cluster, and the target number of target disks belong to different computing nodes with the selected target number.
21. The apparatus of claim 20, wherein the apparatus further comprises:
and the first deleting module is used for deleting the target disk which is not mounted in the specified mounting directory from the selected target disk aiming at the target disk which is not mounted in the specified mounting directory if the file system is created.
22. The apparatus of any one of claims 14-21, wherein the target number is 3.
23. The apparatus of claim 22, wherein the apparatus further comprises:
an update module, configured to update a preset target disk database, where the target disk database includes: the method comprises the steps that target disk parameter information, a use state and a universal unique identifier UUID of a target disk empty cluster corresponding to each target disk are obtained;
the sending module is used for sending a command for starting a storage process by a computing node to the computing node corresponding to the target disk under the mounting directory according to the name corresponding to the target disk under the mounting directory and the IP of the computing node corresponding to the target disk;
and the triggering module is used for triggering the control node to start each target cluster as a storage service circular-volume service.
24. The apparatus of claim 23, wherein the update module comprises:
the change submodule is used for changing the preset use state of the target disk into the used state;
a third adding submodule, configured to add an association relationship between each target disk and a target cluster corresponding to the target disk;
and the identification submodule is used for identifying the universal unique identifier UUID of each target disk located in the corresponding target cluster.
25. The apparatus of claim 24, wherein the apparatus further comprises:
the third judgment module is used for judging whether the state of the target cluster is in establishment and whether the expanded disk has at least target number blocks positioned in different computing nodes; if yes, triggering an indication module;
the indication module is used for indicating all the physical nodes to start the target cluster gateway, modifying the stored configuration file, and sending a command for starting the storage service to execute the step of starting the target cluster serving as the storage service binder-volume service by the trigger control node.
26. The apparatus of claim 25, wherein the apparatus further comprises:
the acquisition module is used for acquiring a capacity reduction request, wherein the capacity reduction request is a request for carrying out capacity reduction on a target cluster after capacity expansion;
and the second deleting module is used for deleting the target disk of the target cluster according to the acquired capacity reduction request.
27. An electronic device comprising a processor and a machine-readable storage medium storing machine-executable instructions executable by the processor, the processor being caused by the machine-executable instructions to: carrying out the method of any one of claims 1 to 13.
28. A computer-readable storage medium having stored therein instructions which, when executed on a computer, cause the computer to perform the method of any one of claims 1-13.
CN201711394735.7A 2017-12-21 2017-12-21 Capacity expansion method, device, equipment and storage medium based on built storage virtualization Active CN108572795B (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN201711394735.7A CN108572795B (en) 2017-12-21 2017-12-21 Capacity expansion method, device, equipment and storage medium based on built storage virtualization

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN201711394735.7A CN108572795B (en) 2017-12-21 2017-12-21 Capacity expansion method, device, equipment and storage medium based on built storage virtualization

Publications (2)

Publication Number Publication Date
CN108572795A CN108572795A (en) 2018-09-25
CN108572795B true CN108572795B (en) 2021-05-25

Family

ID=63576417

Family Applications (1)

Application Number Title Priority Date Filing Date
CN201711394735.7A Active CN108572795B (en) 2017-12-21 2017-12-21 Capacity expansion method, device, equipment and storage medium based on built storage virtualization

Country Status (1)

Country Link
CN (1) CN108572795B (en)

Families Citing this family (10)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN109358813B (en) * 2018-10-10 2022-03-04 郑州云海信息技术有限公司 Capacity expansion method and device for distributed storage system
CN109753242A (en) * 2018-12-10 2019-05-14 航天信息股份有限公司 Based on the method and apparatus that SaltStack realizes HDFS dilatation, storage medium and electronic equipment
CN109857345B (en) * 2019-01-31 2023-01-24 电科云(北京)科技有限公司 System and method for realizing disk mounting interface scheduling management based on concurrency
CN111666034A (en) * 2019-03-05 2020-09-15 北京京东尚科信息技术有限公司 Container cluster disk management method and device
CN112019577B (en) * 2019-05-29 2023-04-07 中国移动通信集团重庆有限公司 Exclusive cloud storage implementation method and device, computing equipment and computer storage medium
CN112052128A (en) * 2019-06-06 2020-12-08 北京字节跳动网络技术有限公司 Disaster recovery method and device and electronic equipment
CN110333953A (en) * 2019-07-11 2019-10-15 中国工商银行股份有限公司 Data storage resource dispatching method and device
CN112306373A (en) * 2019-07-31 2021-02-02 深信服科技股份有限公司 Cluster capacity expansion method and system, electronic equipment and storage medium
CN112765211A (en) * 2020-12-31 2021-05-07 中铁二院工程集团有限责任公司 Method and system for expanding distributed database cluster for railway geological disaster monitoring
CN113515237A (en) * 2021-07-22 2021-10-19 中移(杭州)信息技术有限公司 Edge node capacity expansion method and device, edge node and program product

Citations (4)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN106528005A (en) * 2017-01-12 2017-03-22 郑州云海信息技术有限公司 Disk adding method and device for distributed type storage system
CN106708968A (en) * 2016-12-01 2017-05-24 成都华为技术有限公司 Distributed database system and data processing method in distributed database system
CN107077301A (en) * 2014-11-05 2017-08-18 亚马逊科技公司 For the dynamic scaling for the storage volume for storing client file systems
CN107241384A (en) * 2017-05-03 2017-10-10 复旦大学 A kind of content distribution service priority scheduling of resource method based on many cloud frameworks

Family Cites Families (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US9921913B2 (en) * 2016-05-12 2018-03-20 Dell Products L.P. Flushing host cache data before rebuilding degraded redundant virtual disk

Patent Citations (4)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN107077301A (en) * 2014-11-05 2017-08-18 亚马逊科技公司 For the dynamic scaling for the storage volume for storing client file systems
CN106708968A (en) * 2016-12-01 2017-05-24 成都华为技术有限公司 Distributed database system and data processing method in distributed database system
CN106528005A (en) * 2017-01-12 2017-03-22 郑州云海信息技术有限公司 Disk adding method and device for distributed type storage system
CN107241384A (en) * 2017-05-03 2017-10-10 复旦大学 A kind of content distribution service priority scheduling of resource method based on many cloud frameworks

Also Published As

Publication number Publication date
CN108572795A (en) 2018-09-25

Similar Documents

Publication Publication Date Title
CN108572795B (en) Capacity expansion method, device, equipment and storage medium based on built storage virtualization
CN109445869B (en) Cross-cloud-adaptive micro-service management method and device and storage medium
CN106708557B (en) Update processing method and device for terminal application
CN110311831B (en) Container cloud-based system resource monitoring method and related equipment
CN110289982B (en) Container application capacity expansion method and device, computer equipment and storage medium
JP6011479B2 (en) Application management apparatus, application management system, and program
CN113037794B (en) Method, device and system for computing resource allocation scheduling
CN110262872B (en) Load balancing application management method and device, computer equipment and storage medium
CN111061432B (en) Service migration method, device, equipment and readable storage medium
CN110297808B (en) File modification method and device for container application, computer equipment and storage medium
CN109117153B (en) Application processing method, device, terminal and storage medium
CN113626286A (en) Multi-cluster instance processing method and device, electronic equipment and storage medium
CN107885859B (en) Method and device for file number quota and computer readable storage medium
CN111683114A (en) Method and device for upgrading equipment program, terminal equipment and storage medium
CN109634524B (en) Data partition configuration method, device and equipment of data processing daemon
US20150127916A1 (en) Dynamic memory allocation
CN112559127B (en) Virtual machine creation method, device, host and storage medium
CN110275717B (en) Private image cloning method, private image cloning device, computer equipment and storage medium
CN111522626B (en) Virtual machine list generation method and device and electronic equipment
CN108446144B (en) Application program starting method and device, terminal and storage medium
CN115129789A (en) Bucket index storage method, device and medium of distributed object storage system
CN114662102A (en) File processing method and device and storage medium
WO2018028321A1 (en) Method and apparatus for managing virtual external storage device, and terminal
CN115220861A (en) Virtual client management method, apparatus, medium, and device
CN108845845B (en) Shortcut key creation method and device, electronic equipment and storage 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
GR01 Patent grant
GR01 Patent grant