CN108572795A - Based on expansion method, device, equipment and the storage medium for building Storage Virtualization - Google Patents
Based on expansion method, device, equipment and the storage medium for building Storage Virtualization Download PDFInfo
- Publication number
- CN108572795A CN108572795A CN201711394735.7A CN201711394735A CN108572795A CN 108572795 A CN108572795 A CN 108572795A CN 201711394735 A CN201711394735 A CN 201711394735A CN 108572795 A CN108572795 A CN 108572795A
- Authority
- CN
- China
- Prior art keywords
- disk
- target
- calculate 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.)
- Granted
Links
Classifications
-
- G—PHYSICS
- G06—COMPUTING; CALCULATING OR COUNTING
- G06F—ELECTRIC DIGITAL DATA PROCESSING
- G06F3/00—Input 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/06—Digital input from, or digital output to, record carriers, e.g. RAID, emulated record carriers or networked record carriers
- G06F3/0601—Interfaces specially adapted for storage systems
- G06F3/0628—Interfaces specially adapted for storage systems making use of a particular technique
- G06F3/0662—Virtualisation aspects
- G06F3/0664—Virtualisation aspects at device level, e.g. emulation of a storage device or system
-
- G—PHYSICS
- G06—COMPUTING; CALCULATING OR COUNTING
- G06F—ELECTRIC DIGITAL DATA PROCESSING
- G06F3/00—Input 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/06—Digital input from, or digital output to, record carriers, e.g. RAID, emulated record carriers or networked record carriers
- G06F3/0601—Interfaces specially adapted for storage systems
- G06F3/0628—Interfaces specially adapted for storage systems making use of a particular technique
- G06F3/0638—Organizing or formatting or addressing of data
- G06F3/0644—Management of space entities, e.g. partitions, extents, pools
-
- G—PHYSICS
- G06—COMPUTING; CALCULATING OR COUNTING
- G06F—ELECTRIC DIGITAL DATA PROCESSING
- G06F3/00—Input 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/06—Digital input from, or digital output to, record carriers, e.g. RAID, emulated record carriers or networked record carriers
- G06F3/0601—Interfaces specially adapted for storage systems
- G06F3/0668—Interfaces specially adapted for storage systems adopting a particular infrastructure
- G06F3/0671—In-line storage system
- G06F3/0683—Plurality of storage devices
Abstract
An embodiment of the present invention provides based on expansion method, device, equipment and the storage medium for building Storage Virtualization, this method includes:The target disk that target user selects from the default disk list of displaying is obtained, selected target disk is added in the preset target disk empty set group of the second quantity, the target disk empty set group after addition target disk is denoted as target cluster;Whether monitoring objective disk is created file system;If being created file system, for target disk of the carry under specified mount directory, send in target instruction target word to the corresponding calculate node of target disk of the carry under specified mount directory.Using provided in an embodiment of the present invention based on the expansion method for building Storage Virtualization, on the basis of Storage Virtualization is built in realization, the complexity of the dilatation flow of Storage Virtualization is reduced.
Description
Technical field
The present invention relates to technical field of data storage, more particularly to based on expansion method, the dress for building Storage Virtualization
It sets, equipment and storage medium.
Background technology
OpenStack is a cloud computing management platform project increased income, and is favored by more and more companies deployments, it is main
By computation organization controller Nova, the network N eutron in OpenStack clouds, multiple component cooperations such as storage cinder are completed
Cloud puts down a relevant operation, and OpenStack is broadly divided into calculate node and control node, wherein it is empty that calculate node provides storage
Between, Cinder provides memory space as OpenStack storage assemblies, for OpenStack, these memory spaces come from calculating
Node, Cinder it can pass through and change the configuration file of bottom and add multiple storage cluster Backend.
In the prior art, it obtains target user and selects memory node from the preset disk node listing of displaying, according to
Each memory node of selection obtains the target disk in the selected each memory node of target user, obtains user and sends
Mounting instructions;According to mounting instructions, selected target disk is subjected to carry, after each carry sent for user
The flush instructions of target disk empty the target disk after each carry, that is to say, that each storage cluster needs user
Manually select the corresponding storage disk equipment of disk storage node, memory node.Transmission extension is carried out to each storage disk manually
Instruction is carried, to achieve the purpose that carry, it is also necessary to send flush instructions manually, be carried out clearly to the target disk after carry to reach
The step of sky, entire Storage Virtualization is built and dilation process, and user participates in is more, increases Storage Virtualization and builds and dilatation
The complexity of flow so that user experience effect is poor.
Invention content
The embodiment of the present invention is designed to provide based on building the expansion method of Storage Virtualization, device, equipment and deposit
Storage media reduces the complexity of the dilatation flow of Storage Virtualization on the basis of Storage Virtualization is built in realization.
Specific technical solution is as follows:
Obtain the target disk that is selected from the default disk list of displaying of target user, wherein above-mentioned target disk is
User's selection is located in default disk list at least disk of the different calculate node of destination number, and above-mentioned destination number is position
In the number of disks of different calculate nodes;
Selected target disk is added in the preset target disk empty set group of the second quantity, target magnetic will be added
Target disk empty set group after disk is denoted as target cluster;Wherein, above-mentioned second quantity is from the preset target magnetic of the first quantity
It circles or whirl in the air the quantity of selection target disk empty set group in cluster, above-mentioned first quantity is the quantity that target disk empty set group is created;
Monitor whether above-mentioned target disk is created file system;
If being created file system, for target disk of the carry under specified mount directory, target instruction target word is sent extremely
In the corresponding calculate node of target disk of the carry under specified mount directory, wherein above-mentioned target instruction target word is that instruction is sent
Calculate node empty all data files of target disk under specified mount directory.
Further, in above-mentioned acquisition target user before the target disk selected in the default disk list of displaying,
The above method further includes:
It is asked according to the disk scanning of reception, obtains the corresponding disk list of preset calculate node list, wherein disk
Scan request is the request of disk list to be scanned and obtaining calculate node, and above-mentioned disk list includes above-mentioned calculate node row
The corresponding disc information of each calculate node in table, above-mentioned disc information includes the parameter information and mount directory of disk, above-mentioned
Parameter information includes the size of disk, the use space of magnetic disk media and disk;
According to the sequence of calculate node in above-mentioned calculate node list, each calculate node is corresponded in above-mentioned disk list
The root partition of disk is filtered, and obtains and store the parameter information and mount directory of available disk in each calculate node;
Show the parameter information and mount directory of available disk in obtained each calculate node.
Further, the above-mentioned sequence according to calculate node in above-mentioned calculate node list corresponds to each calculate node
The root partition of disk is filtered in above-mentioned disk list, obtains and store the parameter information of available disk in each calculate node
And mount directory, including:
According to the sequence of calculate node in above-mentioned calculate node list, by the first calculate node in above-mentioned calculate node list
Corresponding serial number is as current calculate node serial number;
Judge whether above-mentioned current calculate node serial number is more than the corresponding maximum of calculate node in above-mentioned calculate node list
Serial number;
If being not more than, the correspondence according to current calculate node in above-mentioned disk list with disk, to currently calculating
The root partition that node corresponds to disk is filtered, and obtains the parameter information and mount directory of available disk in current calculate node;
The parameter information and mount directory for showing available disk in obtained current calculate node, to current calculate node sequence
It number does plus 1 processing, and current calculate node serial number returns as new current calculate node serial number and executes judgement using treated
Whether above-mentioned current calculate node serial number is equal to the step of corresponding maximum serial number of calculate node in above-mentioned calculate node list;
If more than the parameter information and mount directory of available disk in each calculate node shown.
Further, the establishment process of the preset target disk empty set group of above-mentioned first quantity is:
According to the request to create of reception, the first quantity target disk empty set group is created, wherein above-mentioned request to create is wound
Build the request of the first quantity target disk empty set group;
After first quantity target disk empty set group to be created, the state of displaying target disk empty set group is in creating.
Further, in above-mentioned acquisition target user before the target disk selected in the default disk list of displaying,
The above method further includes:
Displaying selection explanation, wherein above-mentioned selection explanation is used to indicate user's at least selection target quantity calculate node
The explanation of corresponding disk.
Further, in above-mentioned acquisition target user after the target disk that the default disk list of displaying selects, on
The method of stating further includes:
Judge whether acquired target disk includes that at least there are different above-mentioned magnetic for number of targets gauge block target disk
In the calculate node of disk list;
Selected target disk is added in the preset target disk empty set group of the second quantity if it is, executing,
The step of target disk empty set group after addition target disk is denoted as target cluster.
Further, above-mentioned that selected target disk is added to the preset target disk empty set group of the second quantity
In, including:
Selected target disk is added to according to preset rules in the preset target disk empty set group of the second quantity,
Wherein, above-mentioned preset rules are that a target disk empty set group needs to add at least destination number target disk, and number of targets
Amount target disk belongs to the different calculate node of selected destination number.
Further, after whether the above-mentioned target disk of above-mentioned monitoring is created file system, the above method further includes:
If being created file system, for target disk of the non-carry under specified mount directory, from the target of selection
Target disk of the non-carry under specified mount directory is deleted in disk.
Further, above-mentioned destination number is 3.
Further, in above-mentioned transmission target instruction target word to the corresponding meter of target disk of the carry under specified mount directory
After in operator node, the above method further includes:
Update preset target disk database, wherein above-mentioned target disk database includes:Target disk parameter is believed
The Universally Unique Identifier UUID of breath, use state and the corresponding target disk empty set group of each target disk;
The IP for corresponding to calculate node with the target disk according to the corresponding name of target disk under above-mentioned mount directory, to upper
It states the corresponding calculate node of target disk under mount directory and sends the order for starting storage process for calculate node;
Control node is triggered using each target cluster as storage service cinder-volume services to start.
Further, the preset target disk database of above-mentioned update, including:
The default use state of target disk is changed to use;
Add the incidence relation of each target disk target cluster corresponding with the target disk;
Identify the Universally Unique Identifier UUID that each target disk is located at corresponding target cluster.
Further, it is taken each target cluster as storage service cinder-volume in above-mentioned triggering control node
Before business starts, the above method further includes:
Judge whether the state of target cluster is that and whether at least number of targets gauge block is located at the disk of dilatation in establishment
Different calculate nodes;
If being to be, indicates that all physical nodes open target cluster gateway, change the configuration file of storage, transmission is used for
The order for starting storage service executes above-mentioned triggering control node using target cluster as storage service cinder-volume services
The step of startup.
Further, it is taken each target cluster as storage service cinder-volume in above-mentioned triggering control node
After business starts, the above method further includes:
Capacity reducing request is obtained, above-mentioned capacity reducing request is the request to the target cluster progress capacity reducing after dilatation;
It is asked according to the capacity reducing of acquisition, the target disk of above-mentioned target cluster is deleted.
Based on the flash chamber for building Storage Virtualization, which includes:
Target disk acquisition module, the target magnetic selected from the default disk list of displaying for obtaining target user
Disk, wherein above-mentioned target disk is that user's selection is located in default disk list at least different calculate node of destination number
Disk;
First add module, for selected target disk to be added to the preset target disk empty set of the second quantity
In group, the target disk empty set group after addition target disk is denoted as target cluster;Wherein, above-mentioned second quantity is from the first number
The quantity of selection target disk empty set group in the preset target disk empty set group of amount;
Monitoring modular, for monitoring whether above-mentioned target disk is created file system, if being created file system, triggering
Target instruction target word sending module;
Above-mentioned target instruction target word sending module sends mesh for being directed to target disk of the carry under specified mount directory
Mark instruction is in the corresponding calculate node of target disk of the carry under specified mount directory, wherein above-mentioned target instruction target word is
Indicate that the calculate node sent empties all data files of target disk under specified mount directory.
Further, above-mentioned apparatus further includes:
Disk list obtains module, for being asked according to the disk scanning of reception, obtains preset calculate node list pair
The disk list answered, wherein disk scanning request is the request of disk list to be scanned and obtaining calculate node, above-mentioned disk
List includes each corresponding disc information of calculate node in above-mentioned calculate node list, and above-mentioned disc information includes the ginseng of disk
Number information and mount directory, above-mentioned parameter information include the size of disk, the use space of magnetic disk media and disk;
First filtering module, for the sequence according to calculate node in above-mentioned calculate node list, to each calculate node
The root partition of disk is filtered in corresponding above-mentioned disk list, obtains and store the parameter of available disk in each calculate node
Information and mount directory;
First display module, parameter information and carry mesh for showing available disk in obtained each calculate node
Record.
Further, above-mentioned first filtering module includes:
Current calculate node serial number sets submodule, is used for the sequence according to calculate node in above-mentioned calculate node list,
Using the corresponding serial number of the first calculate node in above-mentioned calculate node list as current calculate node serial number;
First judging submodule, for judging whether above-mentioned current calculate node serial number is more than in above-mentioned calculate node list
The corresponding maximum serial number of calculate node;If being not more than, the second filter submodule is triggered;If more than triggering third shows submodule;
Above-mentioned second filter submodule, for being closed according to current calculate node is corresponding with disk in above-mentioned disk list
System, the root partition that disk is corresponded to current calculate node are filtered, and obtain the parameter letter of available disk in current calculate node
Breath and mount directory;
Second displaying submodule, parameter information and carry mesh for showing available disk in obtained current calculate node
Record, does current calculate node serial number plus 1 is handled, and current calculate node serial number is saved as new current calculating using treated
Point serial number, triggers above-mentioned first judging submodule;
Above-mentioned third shows submodule, parameter information and extension for showing available disk in obtained each calculate node
Carry catalogue.
Further, the establishment process of the preset target disk empty set group of above-mentioned first quantity is:
According to the request to create of reception, the first quantity target disk empty set group is created, wherein above-mentioned request to create is wound
Build the request of the first quantity target disk empty set group;
After first quantity target disk empty set group to be created, the state of displaying target disk empty set group is in creating.
Further, above-mentioned apparatus further includes:
4th display module, for showing selection explanation, wherein above-mentioned selection explanation is used to indicate user and at least selects mesh
Mark the explanation of the corresponding disk of quantity calculate node.
Further, above-mentioned apparatus further includes:
Second judgment module, for judging acquired target disk whether including at least number of targets gauge block target disk
There are in the calculate node of different above-mentioned disk lists;If it is, the first add module of triggering.
Further, above-mentioned first add module includes:
Second addition submodule, it is default for selected target disk to be added to the second quantity according to preset rules
Target disk empty set group in, wherein above-mentioned preset rules are that target disk empty set group needs to add at least destination number
A target disk, and destination number target disk belongs to the different calculate node of selected destination number.
Further, above-mentioned apparatus further includes:
First removing module, if for being created file system, for target of the non-carry under specified mount directory
Disk, from deleting target disk of the non-carry under specified mount directory in the target disk of selection.
Further, above-mentioned destination number is 3.
Further, above-mentioned apparatus further includes:
Update module, for updating preset target disk database, wherein above-mentioned target disk database includes:Mesh
Mark disk parameter information, the Universally Unique Identifier of use state and the corresponding target disk empty set group of each target disk
UUID;
Sending module, for being calculated according to the corresponding name of target disk under above-mentioned mount directory is corresponding with the target disk
The IP of node sends the corresponding calculate node of target disk under above-mentioned mount directory and starts storage process for calculate node
Order;
Trigger module is serviced for triggering control node using each target cluster as storage service cinder-volume
Start.
Further, above-mentioned update module includes:
Submodule is changed, for the default use state of target disk to be changed to use;
Third adds submodule, and the association for adding each target disk target cluster corresponding with the target disk is closed
System;
Labeling submodule is located at the Universally Unique Identifier of corresponding target cluster for identifying each target disk
UUID。
Further, above-mentioned apparatus further includes:
Third judgment module, for judging whether the state of target cluster is that and whether extremely the disk of dilatation in establishment
Rare number of targets gauge block is located at different calculate nodes;If being to be, indicating module is triggered;
Above-mentioned indicating module is used to indicate all physical nodes and opens target cluster gateway, changes the configuration file of storage,
It sends the order for starting storage service and executes above-mentioned triggering control node using target cluster as storage service cinder-
The step of volume services start.
Further, above-mentioned apparatus further includes:
Acquisition module, for obtaining capacity reducing request, above-mentioned capacity reducing request is to the target cluster progress capacity reducing after dilatation
Request;
Second removing module deletes the target disk of above-mentioned target cluster for being asked according to the capacity reducing of acquisition.
At the another aspect implemented of the present invention, the embodiment of the present invention additionally provides a kind of electronic equipment, including processor, logical
Believe interface, memory and communication bus, wherein processor, communication interface, memory complete mutual lead to by communication bus
Letter;
Memory, for storing computer program;
Processor, when for executing the program stored on memory so that computer executes any of the above-described above-mentioned base
In the expansion method for building Storage Virtualization.
At the another aspect that the present invention is implemented, a kind of computer readable storage medium is additionally provided, above computer is readable
Instruction is stored in storage medium, when run on a computer so that computer executes any of the above-described above-mentioned based on taking
Build the expansion method of Storage Virtualization.
At the another aspect that the present invention is implemented, a kind of computer program product including instruction is additionally provided, when it is being counted
When being run on calculation machine so that computer is realized any of the above-described described based on the expansion method for building Storage Virtualization when executing.
At the another aspect that the present invention is implemented, a kind of computer program is additionally provided, when run on a computer, is made
Computer execute it is any of the above-described described based on the expansion method for building Storage Virtualization.
It is provided in an embodiment of the present invention based on expansion method, device, equipment and the storage medium of building Storage Virtualization, should
Method obtains the target disk that target user selects from the default disk list of displaying, and selected target disk is added to
In the preset target disk empty set group of second quantity, the target disk empty set group after addition target disk is denoted as object set
Group;Whether monitoring objective disk is created file system;If being created file system, for carry under specified mount directory
Target disk, send target instruction target word to the corresponding calculate node of target disk of the carry under specified mount directory in.It should
Method, which is added to by the target disk for selecting user in the target disk empty set group of selection, completes taking for Storage Virtualization
It builds, if monitoring the target disk carry equipped with file system under specified mount directory, the corresponding meter of instruction target disk
Operator node empties target disk, realizes the dilatation to target cluster, on the basis of Storage Virtualization is built in realization, drop
The low complexity of the dilatation flow of Storage Virtualization, and then improve user experience effect.Certainly, implement any of the present invention
Product or method must be not necessarily required to reach all the above advantage simultaneously.
Description of the drawings
In order to more clearly explain the embodiment of the invention or the technical proposal in the existing technology, to embodiment or will show below
There is attached drawing needed in technology description to be briefly described.
Fig. 1 is the first flow signal provided in an embodiment of the present invention based on the expansion method for building Storage Virtualization
Figure;
Fig. 2 is second of flow signal provided in an embodiment of the present invention based on the expansion method for building Storage Virtualization
Figure;
Fig. 3 is the third flow signal provided in an embodiment of the present invention based on the expansion method for building Storage Virtualization
Figure;
Fig. 4 is a kind of structural schematic diagram based on the flash chamber for building Storage Virtualization provided in an embodiment of the present invention;
Fig. 5 is the schematic diagram of a kind of electronic equipment provided in an embodiment of the present invention.
Specific implementation mode
Following will be combined with the drawings in the embodiments of the present invention, and technical solution in the embodiment of the present invention carries out clear, complete
Site preparation describes, it is clear that described embodiments are only a part of the embodiments of the present invention, instead of all the embodiments.It is based on
Embodiment in the present invention, those of ordinary skill in the art are obtained every other without creative efforts
Embodiment shall fall within the protection scope of the present invention.
In order to which to the clearer of document understanding of the present invention, the concept involved in the present invention is introduced first:
Storage Virtualization (Storage Virtualization) can be understood as abstracting storage hardware resource
Performance.That is, by the way that one or more targets (Target) services or functionalities and other additional functions are integrated, it is unified
Useful full functionality service is provided.
Fig. 1 is provided in an embodiment of the present invention based on building the expansion method of Storage Virtualization the first flow chart, the party
Method includes:
S101 obtains the target disk that target user selects from the default disk list of displaying, wherein above-mentioned target magnetic
Disk is that user's selection is located in default disk list at least disk of the different calculate node of destination number, above-mentioned destination number
For positioned at the number of disks of different calculate nodes;
Wherein, it is the row that the pre-set disk comprising all calculate nodes in cloud platform is constituted to preset disk list
Table.
Above-mentioned destination number can be 3;
It should be noted that when destination number is 3, it is ensured that if there are one node delay machine, there are two nodes
Can make it is active and standby, thereby may be ensured that storage data safety.
It should be noted that only from default disk list selection target quantity or more disk, and the selection
Destination number disk must be positioned in different calculate nodes, and disk is just activated, that is to say, that disk can be sharp
With.
The establishment process of first quantity preset target disk empty set group is:
According to the request to create of reception, the first quantity target disk empty set group is created, wherein request to create is establishment the
The request of one quantity target disk empty set group;
After first quantity target disk empty set group to be created, the state of displaying target disk empty set group is in creating.
The above-mentioned establishment mode to target disk empty set group creates target disk sky by the request according to target user
Cluster, and the target disk empty set group after establishment is shown, it is empty using which target disk convenient for target user's selection
Cluster improves the experience effect of user.
Before S101, further include:
Displaying selection explanation, wherein selection explanation is used to indicate user's at least selection target quantity calculate node and corresponds to
Disk explanation.
Selection explanation in this step can be that the next preset selection of pop-up illustrates document, can also be on original boundary
The frame of selection description is presented in face.
The displaying of selection explanation contributes to the how correct selection target disk of target user, improves target user and selects mesh
Mark the accuracy of disk.
Before displaying selection explanation, further include:
It is asked according to the disk scanning of reception, obtains the corresponding disk list of preset calculate node list, wherein disk
Scan request is the request of disk list to be scanned and obtaining calculate node, and disk list includes each in calculate node list
The corresponding disc information of calculate node, disc information include the parameter information and mount directory of disk, and parameter information includes disk
Size, the use space of magnetic disk media and disk;
According to the sequence of calculate node in calculate node list, the root of disk in disk list is corresponded to each calculate node
Subregion is filtered, and obtains and store the parameter information and mount directory of available disk in each calculate node;
Show the parameter information and mount directory of available disk in obtained each calculate node.
As it can be seen that present embodiment is filtered by corresponding to the root partition of disk in disk list to each calculate node,
Available target disk is obtained, and then by showing all available target disks, makes bottom storage to user's transparence.
Wherein, according to the sequence of calculate node in calculate node list, magnetic in disk list is corresponded to each calculate node
The root partition of disk is filtered, and obtains and store the parameter information and mount directory of available disk in each calculate node, specifically
For:
According to the sequence of calculate node in calculate node list, by the corresponding sequence of the first calculate node in calculate node list
Number current calculate node serial number of conduct;
As it can be seen that this step refers to calculate node in pre-defined meter according to the sequence of calculate node in calculate node list
Putting in order in operator node list, that is to say, that the sequence of calculate node is by predefined.
Judge whether current calculate node serial number is more than the corresponding maximum serial number of calculate node in calculate node list;
If being not more than, according to current calculate node in disk list with the correspondence of disk, to current calculate node
The root partition of corresponding disk is filtered, and obtains the parameter information and mount directory of available disk in current calculate node;
The parameter information and mount directory for showing available disk in obtained current calculate node, to current calculate node sequence
It number does plus 1 processing, and current calculate node serial number returns as new current calculate node serial number and executes judgement using treated
Whether current calculate node serial number is equal to the step of corresponding maximum serial number of calculate node in calculate node list;
If more than the parameter information and mount directory of available disk in each calculate node shown.
As it can be seen that sequence serial number of the present embodiment by using calculate node in calculate node list, to calculate node
The root partition that each calculate node corresponds to disk in disk list in list is filtered, and available target disk is obtained,
And then by showing all available target disks, makes bottom storage to user's transparence, storage is virtualized subsequently to realize
Build.
After S101, further include:
Judge whether acquired target disk includes that at least there are different drive bars for number of targets gauge block target disk
In the calculate node of table;
If it is, the step of executing S102.
As it can be seen that present embodiment is improved by the way that the verification to the correctness of the selected target disk of target user is arranged
Target disk selected accuracy.
Selected target disk is added in the preset target disk empty set group of the second quantity, will add by S102
Target disk empty set group after target disk is denoted as target cluster;Wherein, the second quantity is from the preset target of the first quantity
The quantity of selection target disk empty set group in disk empty set group, the first quantity are the quantity that target disk empty set group is created;
Wherein, the preset target disk empty set group of the first quantity is that the first quantity being created in advance is used to store mesh
Mark the empty set group of disk.
It should be noted that selected target disk is added to the preset target disk empty set group of the second quantity
In, Storage Virtualization is built, but the target cluster is also not up to the purpose of dilatation, because target disk is likely present number
According to, and dilatation must be target disk does not store any data, therefore the purpose of not up to dilatation, it is also necessary to target disk is deposited
The data of storage are emptied.
Selected target disk is added in the preset target disk empty set group of the second quantity, specially:
Selected target disk is added to according to preset rules in the preset target disk empty set group of the second quantity,
Wherein, preset rules are that a target disk empty set group needs to add at least destination number target disk, and destination number
Target disk belongs to the different calculate node of selected destination number.
As it can be seen that present embodiment, by the addition according to preset rules, realization is built Storage Virtualization, is further carried
It is high to build efficiency.
Whether S103, monitoring objective disk are created file system;If being created file system, S104 is executed;
Wherein, above-mentioned file system is that operating system is used for clear storage device, it can be common that on disk or disk partition
File method and data structure;That is the method for constituent act on a storage device, it is understood that be born in operating system
The software mechanism of duty management and storage file information is known as file management system, abbreviation file system.
It should be noted that this document system may be created as the calculate node where target disk, it is also possible to be put down by cloud
Platform creates.
By step S103 it is found that being also not up to the purpose of dilatation, therefore this step needs whether monitoring objective disk creates
File system, so that the data for implementing to target disk empty.
After S103, further include:
If being created file system, for target disk of the non-carry under specified mount directory, from the target of selection
Target disk of the non-carry under specified mount directory is deleted in disk.
As it can be seen that present embodiment is screened target disk of the non-carry under specified mount directory, improve
The accuracy and efficiency of dilatation, and then strengthen the experience effect of target user.
S104 sends target instruction target word to carry specified for target disk of the carry under specified mount directory
In the corresponding calculate node of target disk under mount directory, wherein target instruction target word is that the calculate node that instruction is sent empties finger
All data files of target disk under fixed mount directory.
It should be noted that this step can be understood as:Judging above-mentioned target disk, whether carry is in specified carry mesh
Under record, for target disk of the carry under specified mount directory, target instruction target word is sent to carry in specified mount directory
Under the corresponding calculate node of target disk in.
This step is under conditions of monitoring target disk establishment file system, if the target disk of establishment file system is hung
It is loaded under specified mount directory, target disk is just emptied by corresponding calculate node, achievees the purpose that dilatation.
After S104, further include:
Update preset target disk database, wherein target disk database includes:Target disk parameter information makes
With the Universally Unique Identifier UUID of state and the corresponding target disk empty set group of each target disk;
The IP for corresponding to calculate node with the target disk according to the corresponding name of target disk under mount directory, to carry mesh
The corresponding calculate node of the lower target disk of record sends the order for starting storage process for calculate node;
Control node is triggered using each target cluster as storage service cinder-volume services to start.
As it can be seen that present embodiment is by updating preset target disk database, so as to the target magnetic of hard objectives cluster
Disk is used, incidence relation, each target disk pair of each target disk target cluster corresponding with the target disk
The UUID of the target disk empty set group answered regard each target cluster as cinder-volume services by triggering control node
Start, ensure that the sub-services that can start all storage rear ends after restarting cinder-volume automatically.
Wherein, preset target disk database is updated, including:
The default use state of target disk is changed to use;
Add the incidence relation of each target disk target cluster corresponding with the target disk;
Identify the Universally Unique Identifier UUID that each target disk is located at corresponding target cluster.
As it can be seen that present embodiment is by updating the use state of target disk, adding each target disk and the target magnetic
Incidence relation, each target disk of mark of the corresponding target cluster of disk are located at the UUID of corresponding target cluster so that the number
Reach last state according to library, so as to the use state of target user and the platform hard objectives disk, standby platform subsequent calls mesh
It is used when the parameter for marking disk.
Wherein, in triggering control node startup is serviced using each target cluster as storage service cinder-volume
Before, further include:
Judge whether the state of target cluster is that and whether at least number of targets gauge block is located at the disk of dilatation in establishment
Different calculate nodes;
If being to be, indicates that all physical nodes open target cluster gateway, change the configuration file of storage, transmission is used for
The order for starting storage service executes triggering control node using target cluster as storage service cinder-volume service startups
The step of.
As it can be seen that present embodiment is by further judging that the disk at least number of targets gauge block of dilatation is located at different calculating
Node reduces the error rate that target cluster is created, improves activation efficiency to determine whether to activation target cluster.
After triggering control node starts each target cluster as storage service cinder-volume services, also
Including:
Capacity reducing request is obtained, capacity reducing request is the request to the target cluster progress capacity reducing after dilatation;
Wherein, capacity reducing is deleted the third preset quantity target disk for waiting for delete in target cluster, is reached
To the purpose for reducing target cluster memory space.
It should be noted that if user wants to carry out capacity reducing, it is only necessary to send capacity reducing request.
It is asked according to the capacity reducing of acquisition, the target disk of target cluster is deleted.
This step is asked according to the capacity reducing that user sends, and can be automatically deleted the target disk of target cluster, be reached capacity reducing
Purpose.
The capacity reducing mode further improves automatic flow, improves the experience effect of user.
It can be seen that it is provided in an embodiment of the present invention the first build the method for Storage Virtualization environment by selecting user
The target disk selected, which is added in the target disk empty set group of selection, completes building for Storage Virtualization, if monitoring to be created
For the target disk carry of file system under specified mount directory, the corresponding calculate node of instruction target disk empties target magnetic
Disk realizes the dilatation to target cluster, on the basis of Storage Virtualization is built in realization, reduce Storage Virtualization
The complexity of dilatation flow, and then improve user experience effect.
Fig. 2 is provided in an embodiment of the present invention based on second of the flow chart of expansion method for building Storage Virtualization, the party
Method includes:
S201 asks according to the disk scanning of reception, obtains the corresponding disk list of preset calculate node list,
In, disk scanning request is the request of disk list to be scanned and obtaining calculate node, and disk list includes calculate node row
The corresponding disc information of each calculate node in table, disc information include the parameter information and mount directory of disk, parameter information
The use space of size, magnetic disk media and disk including disk;
In windows operating systems, carry typically refers to distribute a drive for disk partition, wherein disk partition
Include being fictionalized the disk partition come, such as C disks, D disks or E disks.In addition, existing third party software, such as disk
Partitioning management software, virtual disk software etc., are usually also accompanied by carry function.
In (SuSE) Linux OS, carry refer to by an equipment i.e. be typically storage device be articulated to one it is existing
Catalogue on.
Its, Linux be it is a set of it is free using and Free propagation class You Nisi Unix operating systems.
It is noted that access the file in storage device, it is necessary to which the subregion where file has been mounted to one
Existing catalogue is then to access storage device by accessing the specified catalogue in specified catalogue.
In addition, if target user reduces the disk in disk list, can be asked by receiving disk scanning
It asks, the disk list after being reduced, and the disk list after reduction is handled as follows, to reach capacity reducing management.
S202 corresponds to magnetic in disk list according to the sequence of calculate node in calculate node list to each calculate node
The root partition of disk is filtered, and obtains and store the parameter information and mount directory of available disk in each calculate node;
Wherein, root partition is exactly the subregion where system root directory.
It is noted that contain the kernel of operating system by root partition and to be used during activation system
File, therefore each calculate node is corresponded to the corresponding disk of root partition of disk in disk list and is filtered by this step,
That is, it is available disk to correspond to the disk in disk list in disk in addition to root partition in each calculate node, into
And the parameter informations of these available disks mount directory is obtained, convenient for being used by storage rear end.
S203, the parameter information and mount directory of available disk in each calculate node shown;
This step is will to obtain and store the parameter information of available disk and mount directory in each calculate node to open up
Show, so that target user is according to the parameter information of available disk, selects the available disk under mount directory.
S204, displaying selection explanation, wherein selection explanation is used to indicate user and at least selects 3 calculate nodes corresponding
The explanation of disk;
It is noted that selection explanation is to be used to prompt the user on how selection disk, to prevent user's operation wrong
Accidentally, the accuracy of user's operation is improved, and then improves the speed that Storage Virtualization is built.
In addition, user at least selects the corresponding disk of 3 calculate nodes, so that the 3 disk additions selected exist
In target empty cluster and then activate target cluster.
S205 obtains the target disk that is selected from the default disk list of displaying of target user, wherein target disk is
User's selection is located at the disk of the different calculate node of at least three in default disk list, and above-mentioned destination number is positioned at difference
The number of disks of calculate node;
Target user is according to the parameter information and carry mesh of available disk in the selection explanation of displaying and each calculate node
Record, can clearly from default disk list selection target disk quantity and corresponding calculate node.
S206 judges whether acquired target disk includes that there are different disk lists at least 3 pieces of target disks
Calculate node in;If it is, executing S207;
In order to improve the accuracy of target user's selection target disk, this step is provided with to the selected mesh of target user
The verification of the correctness of disk is marked, whether the target disk which can be understood as target user's selection includes at least 3
Block target disk, and this 3 pieces of target disks there are in the calculate node of different disk lists i.e. selection explanation content, if
Meet, is then demarcated as correctly, if not meeting, being then demarcated as incorrect.
Selected target disk is added to the preset target disk empty set of the second quantity by S207 according to preset rules
In group, the target disk empty set group after addition target disk is denoted as target cluster, wherein preset rules are a target disk
Empty set group needs to add at least three target disk, and 3 target disks belong to selected 3 different calculate nodes, and second
Quantity is the quantity of the selection target disk empty set group from the first quantity preset target disk empty set group;
It should be noted that for the preset target disk empty set group of the second quantity, each target disk empty set group is equal
It needs to add at least three target disk, and 3 target disks belong to selected 3 different calculate nodes, are only each
Target disk adds target disk as above, which can just be activated, it is, the target cluster could be used.
Whether S208, monitoring objective disk are created file system;If being created file system, S209 is executed;
Wherein, S208 is identical as the method that the S103 in Fig. 1 embodiments is executed.Therefore, all embodiments in Fig. 1 are suitable
For Fig. 2, and it can reach same or analogous advantageous effect, details are not described herein.
S209 sends target instruction target word to carry specified for target disk of the carry under specified mount directory
In the corresponding calculate node of target disk under mount directory, for target disk of the non-carry under specified mount directory,
From deleting target disk of the non-carry under specified mount directory in the target disk of selection, wherein target instruction target word is instruction
The calculate node of transmission empties all data files of target disk under specified mount directory;
This step is under conditions of monitoring that target disk creates file system, for non-carry in specified carry mesh
Target disk under record, since target disk of the non-carry under specified mount directory is unavailable, it is therefore desirable to from selection
Target disk of the non-carry under specified mount directory is deleted in target disk.
If without file system is created, then it represents that the target disk is unavailable disk, after needing user's establishment file system
It is utilized again.
Similarly, since target disk of the non-carry under specified mount directory is unavailable, it is therefore desirable to from the mesh of selection
Target disk of the non-carry under specified mount directory is deleted in mark disk.
It can be seen that the second provided in an embodiment of the present invention method for building Storage Virtualization environment is by selecting user
The target disk selected, which is added in the target disk empty set group of selection, completes building for Storage Virtualization, if monitoring to be created
For the target disk carry of file system under specified mount directory, the corresponding calculate node of instruction target disk empties target magnetic
Disk realizes the dilatation to target cluster, selects the setting of explanation, improves the accuracy of target user's selection target disk,
It shows all available target disks, makes bottom storage to user's transparence, by receiving scan request, to be built in realization
On the basis of Storage Virtualization, the complexity of the dilatation flow of Storage Virtualization is reduced, and then improves user experience effect.
Fig. 3 is provided in an embodiment of the present invention based on building the expansion method of Storage Virtualization the third flow chart, the party
Method includes:
S301 asks according to the disk scanning of reception, obtains the corresponding disk list of preset calculate node list,
In, disk scanning request is the request of disk list to be scanned and obtaining calculate node, and disk list includes calculate node row
The corresponding disc information of each calculate node in table, disc information include the parameter information and mount directory of disk, parameter information
The use space of size, magnetic disk media and disk including disk;
Wherein, S301~S310 is identical as the method that S201~S210 in Fig. 2 embodiments is executed respectively.Therefore, in Fig. 2
All embodiments be suitable for Fig. 3, and can reach same or analogous advantageous effect, details are not described herein.
S302 corresponds to magnetic in disk list according to the sequence of calculate node in calculate node list to each calculate node
The root partition of disk is filtered, and obtains and store the parameter information and mount directory of available disk in each calculate node;
S303, the parameter information and mount directory of available disk in each calculate node shown;
S304, displaying selection explanation, wherein selection explanation is used to indicate user and at least selects 3 calculate nodes corresponding
The explanation of disk;
S305 obtains the target disk that is selected from the default disk list of displaying of target user, wherein target disk is
User's selection is located at the disk of the different calculate node of at least three in default disk list;
S306 judges whether acquired target disk includes that there are different disk lists at least 3 pieces of target disks
Calculate node in;If it is, executing S307;
Selected target disk is added to the preset target disk empty set of the second quantity by S307 according to preset rules
In group, the target disk empty set group after addition target disk is denoted as target cluster, wherein preset rules are a target disk
Empty set group needs to add at least three target disk, and 3 target disks belong to selected 3 different calculate nodes, and second
Quantity is the quantity of the selection target disk empty set group from the first quantity preset target disk empty set group;
Whether S308, monitoring objective disk are created file system;If being created file system, S309 is executed;
S309 sends target instruction target word to carry specified for target disk of the carry under specified mount directory
In the corresponding calculate node of target disk under mount directory, for target disk of the non-carry under specified mount directory,
From deleting target disk of the non-carry under specified mount directory in the target disk of selection, wherein target instruction target word is instruction
The calculate node of transmission empties all data files of target disk under specified mount directory;
The default use state of target disk is changed to use by S310;
This step is to inform that target user's target disk has been utilized.
S311 adds the incidence relation of each target disk target cluster corresponding with the target disk;
Each target disk is added to corresponding target cluster with the target disk and is associated with by this step, also
It is to say, as long as providing a target disk, can knows that the target disk is placed in which target cluster.
S312 identifies the Universally Unique Identifier UUID that each target disk is located at corresponding target cluster;
Wherein, UUID (Universally Unique Identifier) is a kind of standard of software construction, is also opening
Software foundation group is woven in the part in distributed computing environment field.Its purpose is all elements in allowing distributed system,
There can be unique identification information, without doing the specified of identification information by central control terminal.
S313 corresponds to the IP of calculate node according to the corresponding name of target disk under mount directory with the target disk, right
The corresponding calculate node of target disk sends the order for starting storage process for calculate node under mount directory;
Wherein, it is used to calculate node start the order of storage process be Linux command.
S314, judge target cluster state whether be in establishment, and the disk of dilatation whether at least 3 pieces be located at not
Same calculate node;If being to be, S315 is executed;
This step needs to determine at least 3 pieces of target disks in each target cluster again, and 3 pieces of target disks are located at
In different calculate nodes, to determine whether to activation target cluster.
S315 indicates that all physical nodes open target cluster gateway, changes the configuration file of storage, sends for starting
The order of storage service executes the step of S316;
Wherein, the configuration file of storage (cinder) is the configuration file that cloud platform automatically generates in advance;
Order for starting storage service can be service openstack-cinder-volume.
S316, triggering control node start each target cluster as storage service cinder-volume services.
This step ensure that restart storage service cinder-volume after can start automatically it is all storage rear ends son clothes
Business.
It can be seen that provided in an embodiment of the present invention the third builds the method for Storage Virtualization environment by selecting user
The target disk selected, which is added in the target disk empty set group of selection, completes building for Storage Virtualization, if monitoring to be created
For the target disk carry of file system under specified mount directory, the corresponding calculate node of instruction target disk empties target magnetic
Disk realizes the dilatation to target cluster, selects the setting of explanation, improves the accuracy of target user's selection target disk,
It shows all available target disks, makes bottom storage to user's transparence, to realize the basis for building Storage Virtualization
On, the complexity of the dilatation flow of Storage Virtualization is reduced, ensure that can be automatic after restarting storage service cinder-volume
The sub-services for starting all storage rear ends, intervene modification bottom configuration file without people or restart server, further improve
User experience effect.
With it is above-mentioned corresponding based on the dilatation for building Storage Virtualization, the embodiment of the present invention additionally provides a kind of based on building
The flash chamber of Storage Virtualization.
Fig. 4 is provided in an embodiment of the present invention a kind of based on the flash chamber for building Storage Virtualization, which includes:
Target disk acquisition module 401, the target selected from the default disk list of displaying for obtaining target user
Disk, wherein target disk is that user's selection is located in default disk list at least different calculate node of destination number
Disk, destination number are the number of disks positioned at different calculate nodes;
First add module 402, for selected target disk to be added to the preset target disk of the second quantity
In empty set group, the target disk empty set group after addition target disk is denoted as target cluster;Wherein, the second quantity is from the first number
The quantity of selection target disk empty set group in the preset target disk empty set group of amount, the first quantity are target disk empty set group's quilt
The quantity of establishment;
Whether monitoring modular 403 is created file system for monitoring objective disk, if being created file system, triggering
Target instruction target word sending module 404;
Target instruction target word sending module 404 sends target for being directed to target disk of the carry under specified mount directory
In instruction to the corresponding calculate node of target disk of the carry under specified mount directory, wherein target instruction target word is that instruction is sent out
The calculate node sent empties all data files of target disk under specified mount directory.
Wherein, which can also include:
Disk list obtains module, for being asked according to the disk scanning of reception, obtains preset calculate node list pair
The disk list answered, wherein disk scanning request is the request of disk list to be scanned and obtaining calculate node, disk list
Include the parameter information and carry of disk including each corresponding disc information of calculate node, disc information in calculate node list
Catalogue, parameter information include the size of disk, the use space of magnetic disk media and disk;
First filtering module corresponds to each calculate node for the sequence according to calculate node in calculate node list
The root partition of disk is filtered in disk list, obtains and store the parameter information and extension of available disk in each calculate node
Carry catalogue;
First display module, parameter information and carry mesh for showing available disk in obtained each calculate node
Record.
First filtering module includes:
Current calculate node serial number sets submodule, for the sequence according to calculate node in calculate node list, will count
Calculate node corresponding serial number in first place is as current calculate node serial number in operator node list;
First judging submodule, for judging whether current calculate node serial number is more than calculate node in calculate node list
Corresponding maximum serial number;If being not more than, the second filter submodule is triggered;If more than triggering third shows submodule;
Second filter submodule, for according to current calculate node in disk list with the correspondence of disk, to working as
The root partition that preceding calculate node corresponds to disk is filtered, and obtains the parameter information and carry of available disk in current calculate node
Catalogue;
Second displaying submodule, parameter information and carry mesh for showing available disk in obtained current calculate node
Record, does current calculate node serial number plus 1 is handled, and current calculate node serial number is saved as new current calculating using treated
Point serial number, triggers the first judging submodule;
Third shows submodule, parameter information and carry mesh for showing available disk in obtained each calculate node
Record.
The establishment process of first quantity preset target disk empty set group is:
According to the request to create of reception, the first quantity target disk empty set group is created, wherein request to create is establishment the
The request of one quantity target disk empty set group;
After first quantity target disk empty set group to be created, the state of displaying target disk empty set group is in creating.
The device can also include:
4th display module, for showing selection explanation, wherein selection explanation is used to indicate user's at least selection target number
The explanation of the corresponding disk of amount calculate node.
The device can also include:
Second judgment module, for judging acquired target disk whether including at least number of targets gauge block target disk
There are in the calculate node of different disk lists;If it is, the first add module of triggering.
First add module, including:
Second addition submodule, it is default for selected target disk to be added to the second quantity according to preset rules
Target disk empty set group in, wherein preset rules are that target disk empty set group needs to add at least destination number mesh
Disk is marked, and destination number target disk belongs to the different calculate node of selected destination number.
The device can also include:
First removing module, if for being created file system, for target of the non-carry under specified mount directory
Disk, from deleting target disk of the non-carry under specified mount directory in the target disk of selection;
The device can also include:
Update module, for updating preset target disk database, wherein the target disk database includes:Mesh
Mark disk parameter information, the Universally Unique Identifier of use state and the corresponding target disk empty set group of each target disk
UUID;
Sending module, for corresponding to calculate node with the target disk according to the corresponding name of target disk under mount directory
IP, to the corresponding calculate node of target disk under mount directory send for calculate node start storage process order;
Trigger module is serviced for triggering control node using each target cluster as storage service cinder-volume
Start.
The update module includes:
Submodule is changed, for the default use state of target disk to be changed to use;
Third adds submodule, and the association for adding each target disk target cluster corresponding with the target disk is closed
System;
Labeling submodule is located at the Universally Unique Identifier of corresponding target cluster for identifying each target disk
UUID。
The device can also include:
Third judgment module, for judging whether the state of target cluster is that and whether extremely the disk of dilatation in establishment
Rare number of targets gauge block is located at different calculate nodes;If being to be, indicating module is triggered;
Indicating module is used to indicate all physical nodes and opens target cluster gateway, change the configuration file of storage, sends
Order for starting storage service executes triggering control node and is serviced target cluster as storage service cinder-volume
The step of startup.
The device can also include:
Acquisition module, for obtaining capacity reducing request, capacity reducing request is the request to the target cluster progress capacity reducing after dilatation;
Second removing module deletes the target disk of target cluster for being asked according to the capacity reducing of acquisition.
It can be seen that a kind of device for building Storage Virtualization environment provided in an embodiment of the present invention is by selecting user
Target disk be added in the target disk empty set group of selection and complete building for Storage Virtualization, if monitoring to be created text
For the target disk carry of part system under specified mount directory, the corresponding calculate node of instruction target disk empties target magnetic
Disk realizes the dilatation to target cluster, on the basis of Storage Virtualization is built in realization, reduce Storage Virtualization
The complexity of dilatation flow, and then improve user experience effect.
The embodiment of the present invention additionally provides a kind of electronic equipment, including processor and machine readable storage medium, the machine
Device readable storage medium storing program for executing is stored with the machine-executable instruction that can be executed by the processor, and the processor is by the machine
Executable instruction promotes:It realizes provided in an embodiment of the present invention based on the expansion method for building Storage Virtualization.
Specifically, above-mentioned based on the expansion method for building Storage Virtualization:
Obtain the target disk that target user selects from the default disk list of displaying, wherein target disk is user
Selection is located in default disk list at least disk of the different calculate node of destination number;
Selected target disk is added in the preset target disk empty set group of the second quantity, target magnetic will be added
Target disk empty set group after disk is denoted as target cluster;Wherein, the second quantity is empty from the preset target disk of the first quantity
The quantity of selection target disk empty set group in cluster;
Whether monitoring objective disk is created file system;
If being created file system, for target disk of the carry under specified mount directory, target instruction target word is sent extremely
In the corresponding calculate node of target disk of the carry under specified mount directory, wherein target instruction target word is the meter that instruction is sent
Operator node empties all data files of target disk under specified mount directory.
Above-mentioned processor can be general processor, including central processing unit (Central ProcessingUnit,
CPU), network processing unit (Network Processor, NP) etc.;It can also be digital signal processor (Digital Signal
Processing, DSP), it is application-specific integrated circuit (Application SpecificIntegrated Circuit, ASIC), existing
It is field programmable gate array (Field-Programmable Gate Array, FPGA) or other programmable logic device, discrete
Door or transistor logic, discrete hardware components.
It can be seen that executing electronic equipment provided in this embodiment, choosing is added to by the target disk for selecting user
Building for Storage Virtualization is completed in the target disk empty set group selected, the target disk for being created file system is hung if monitoring
It is loaded under specified mount directory, the corresponding calculate node of instruction target disk empties target disk, realizes to target cluster
Dilatation reduce the complexity of the dilatation flow of Storage Virtualization on the basis of Storage Virtualization is built in realization, into
And improve user experience effect.
Embodiment of the above-mentioned related content based on the expansion method for building Storage Virtualization and preceding method embodiment
Part provides identical based on the dilatation way for building Storage Virtualization, and which is not described herein again.
The embodiment of the present invention additionally provides a kind of electronic equipment, as shown in figure 5, including processor 501, communication interface 502,
Memory 503 and communication bus 504, wherein processor 501, communication interface 502, memory 503 are complete by communication bus 504
At mutual communication,
Memory 503, for storing computer program;
Processor 501 when for executing the program stored on memory 503, realizes base provided in an embodiment of the present invention
In the expansion method for building Storage Virtualization.
Specifically, it is above-mentioned based on the expansion method for building Storage Virtualization, including:
Obtain the target disk that target user selects from the default disk list of displaying, wherein target disk is user
Selection is located in default disk list at least disk of the different calculate node of destination number;
Selected target disk is added in the preset target disk empty set group of the second quantity, target magnetic will be added
Target disk empty set group after disk is denoted as target cluster;Wherein, the second quantity is empty from the preset target disk of the first quantity
The quantity of selection target disk empty set group in cluster;
Whether monitoring objective disk is created file system;
If being created file system, for target disk of the carry under specified mount directory, target instruction target word is sent extremely
In the corresponding calculate node of target disk of the carry under specified mount directory, wherein target instruction target word is the meter that instruction is sent
Operator node empties all data files of target disk under specified mount directory.
The communication bus that above-mentioned electronic equipment is mentioned can be Peripheral Component Interconnect standard (PeripheralComponent
Interconnect, PCI) bus or expanding the industrial standard structure (Extended IndustryStandard
Architecture, EISA) bus etc..The communication bus can be divided into address bus, data/address bus, controlling bus etc..For just
It is only indicated with a thick line in expression, figure, it is not intended that an only bus or a type of bus.
Communication interface is for the communication between above-mentioned electronic equipment and other equipment.
Memory may include random access memory (Random Access Memory, RAM), can also include non-easy
The property lost memory (Non-Volatile Memory, NVM), for example, at least a magnetic disk storage.Optionally, memory may be used also
To be at least one storage device for being located remotely from aforementioned processor.
It can be seen that executing electronic equipment provided in this embodiment, choosing is added to by the target disk for selecting user
Building for Storage Virtualization is completed in the target disk empty set group selected, the target disk for being created file system is hung if monitoring
It is loaded under specified mount directory, the corresponding calculate node of instruction target disk empties target disk, realizes to target cluster
Dilatation reduce the complexity of the dilatation flow of Storage Virtualization on the basis of Storage Virtualization is built in realization, into
And improve user experience effect.
Embodiment of the above-mentioned related content based on the expansion method for building Storage Virtualization and preceding method embodiment
Part provides identical based on the dilatation way for building Storage Virtualization, and which is not described herein again.
In another embodiment provided by the invention, a kind of computer readable storage medium is additionally provided, which can
It reads to be stored with instruction in storage medium, when run on a computer so that computer executes any in above-described embodiment
Based on the expansion method for building Storage Virtualization.
Specifically, it is above-mentioned based on the expansion method for building Storage Virtualization, including:
Obtain the target disk that target user selects from the default disk list of displaying, wherein target disk is user
Selection is located in default disk list at least disk of the different calculate node of destination number;
Selected target disk is added in the preset target disk empty set group of the second quantity, target magnetic will be added
Target disk empty set group after disk is denoted as target cluster;Wherein, the second quantity is empty from the preset target disk of the first quantity
The quantity of selection target disk empty set group in cluster;
Whether monitoring objective disk is created file system;
If being created file system, for target disk of the carry under specified mount directory, target instruction target word is sent extremely
In the corresponding calculate node of target disk of the carry under specified mount directory, wherein target instruction target word is the meter that instruction is sent
Operator node empties all data files of target disk under specified mount directory.
It can be seen that when executing the application program stored in computer readable storage medium provided in this embodiment, pass through
The target disk that user selects is added in the target disk empty set group of selection and completes building for Storage Virtualization, if monitoring
To the target disk carry for being created file system under specified mount directory, indicate that the corresponding calculate node of target disk is clear
Null object disk realizes the dilatation to target cluster, on the basis of Storage Virtualization is built in realization, reduce storage
The complexity of the dilatation flow of virtualization, and then improve user experience effect.
Embodiment of the above-mentioned related content based on the expansion method for building Storage Virtualization and preceding method embodiment
Part provides identical based on the dilatation way for building Storage Virtualization, and which is not described herein again.
In another embodiment provided by the invention, a kind of computer program product including instruction is additionally provided, when it
When running on computers so that computer executes any based on the dilatation side for building Storage Virtualization in above-described embodiment
Method.
Specifically, it is above-mentioned based on the expansion method for building Storage Virtualization, including:
Obtain the target disk that target user selects from the default disk list of displaying, wherein target disk is user
Selection is located in default disk list at least disk of the different calculate node of destination number;
Selected target disk is added in the preset target disk empty set group of the second quantity, target magnetic will be added
Target disk empty set group after disk is denoted as target cluster;Wherein, the second quantity is empty from the preset target disk of the first quantity
The quantity of selection target disk empty set group in cluster;
Whether monitoring objective disk is created file system;
If being created file system, for target disk of the carry under specified mount directory, target instruction target word is sent extremely
In the corresponding calculate node of target disk of the carry under specified mount directory, wherein target instruction target word is the meter that instruction is sent
Operator node empties all data files of target disk under specified mount directory.
It can be seen that when executing the application program stored in computer program product provided in this embodiment, by that will use
The target disk of family selection is added in the target disk empty set group of selection and completes building for Storage Virtualization, if monitor by
For the target disk carry of establishment file system under specified mount directory, the corresponding calculate node of instruction target disk empties mesh
Disk is marked, the dilatation to target cluster is realized, it is virtual on the basis of Storage Virtualization is built in realization, reduce storage
The complexity of the dilatation flow of change, and then improve user experience effect.
Embodiment of the above-mentioned related content based on the expansion method for building Storage Virtualization and preceding method embodiment
Part provides identical based on the dilatation way for building Storage Virtualization, and which is not described herein again.
At the another aspect that the present invention is implemented, a kind of computer program is additionally provided, when run on a computer, is made
Computer execute it is any of the above-described described based on the expansion method for building Storage Virtualization.
Specifically, it is above-mentioned a kind of based on the expansion method for building Storage Virtualization, including:
Obtain the target disk that target user selects from the default disk list of displaying, wherein target disk is user
Selection is located in default disk list at least disk of the different calculate node of destination number;
Selected target disk is added in the preset target disk empty set group of the second quantity, target magnetic will be added
Target disk empty set group after disk is denoted as target cluster;Wherein, the second quantity is empty from the preset target disk of the first quantity
The quantity of selection target disk empty set group in cluster;
Whether monitoring objective disk is created file system;
If being created file system, for target disk of the carry under specified mount directory, target instruction target word is sent extremely
In the corresponding calculate node of target disk of the carry under specified mount directory, wherein target instruction target word is the meter that instruction is sent
Operator node empties all data files of target disk under specified mount directory.
It can be seen that when executing computer program provided in this embodiment, added by the target disk for selecting user
To building for Storage Virtualization is completed in the target disk empty set group of selection, if monitoring the target magnetic for being created file system
For disk carry under specified mount directory, the corresponding calculate node of instruction target disk empties target disk, realizes to target
The dilatation of cluster, on the basis of Storage Virtualization is built in realization, reduce the complexity of the dilatation flow of Storage Virtualization
Degree, and then improve user experience effect.
Embodiment of the above-mentioned related content based on the expansion method for building Storage Virtualization and preceding method embodiment
Part provides identical based on the dilatation way for building Storage Virtualization, and which is not described herein again.
Embodiment of the above-mentioned related content based on the expansion method for building Storage Virtualization and preceding method embodiment
Part provides identical based on the dilatation way for building Storage Virtualization, and which is not described herein again.
It should be noted that herein, relational terms such as first and second and the like are used merely to a reality
Body or operation are distinguished with another entity or operation, are deposited without necessarily requiring or implying between these entities or operation
In any actual relationship or order or sequence.Moreover, the terms "include", "comprise" or its any other variant are intended to
Non-exclusive inclusion, so that the process, method, article or equipment including a series of elements is not only wanted including those
Element, but also include other elements that are not explicitly listed, or further include for this process, method, article or equipment
Intrinsic element.In the absence of more restrictions, the element limited by sentence "including a ...", it is not excluded that
There is also other identical elements in process, method, article or equipment including the element.
Each embodiment in this specification is all made of relevant mode and describes, identical similar portion between each embodiment
Point just to refer each other, and each embodiment focuses on the differences from other embodiments.Especially for method,
For device, storage medium, equipment and computer program product embodiments, since it is substantially similar to the method embodiment, so
What is described is fairly simple, and the relevent part can refer to the partial explaination of embodiments of method.
The foregoing is merely illustrative of the preferred embodiments of the present invention, is not intended to limit the scope of the present invention.It is all
Any modification, equivalent replacement, improvement and so within the spirit and principles in the present invention, are all contained in protection scope of the present invention
It is interior.
Claims (28)
1. based on the expansion method for building Storage Virtualization, which is characterized in that including:
Obtain the target disk that target user selects from the default disk list of displaying, wherein the target disk is user
Selection is located in default disk list at least disk of the different calculate node of destination number, and the destination number is positioned at not
With the number of disks of calculate node;
Selected target disk is added in the preset target disk empty set group of the second quantity, after addition target disk
Target disk empty set group be denoted as target cluster;Wherein, second quantity is empty from the preset target disk of the first quantity
The quantity of selection target disk empty set group in cluster, first quantity are the quantity that target disk empty set group is created;
Monitor whether the target disk is created file system;
If being created file system, for target disk of the carry under specified mount directory, target instruction target word is sent to carry
In the corresponding calculate node of target disk under specified mount directory, wherein the target instruction target word is the meter that instruction is sent
Operator node empties all data files of target disk under specified mount directory.
2. the method as described in claim 1, which is characterized in that in the acquisition default disk list of the target user from displaying
Before the target disk of middle selection, the method further includes:
It is asked according to the disk scanning of reception, obtains the corresponding disk list of preset calculate node list, wherein disk scanning
Request is the request of disk list to be scanned and obtaining calculate node, and the disk list includes in the calculate node list
The corresponding disc information of each calculate node, the disc information includes the parameter information and mount directory of disk, the parameter
Information includes the size of disk, the use space of magnetic disk media and disk;
According to the sequence of calculate node in the calculate node list, disk in the disk list is corresponded to each calculate node
Root partition be filtered, obtain and store the parameter information and mount directory of available disk in each calculate node;
Show the parameter information and mount directory of available disk in obtained each calculate node.
3. method as claimed in claim 2, which is characterized in that it is described according in the calculate node list calculate node it is suitable
Sequence, the root partition that disk in the disk list is corresponded to each calculate node are filtered, and are obtained and are stored each calculating section
The parameter information and mount directory of available disk in point, including:
According to the sequence of calculate node in the calculate node list, the first calculate node in the calculate node list is corresponded to
Serial number as current calculate node serial number;
Judge whether the current calculate node serial number is more than the corresponding maximum serial number of calculate node in the calculate node list;
If being not more than, the correspondence according to current calculate node in the disk list with disk, to current calculate node
The root partition of corresponding disk is filtered, and obtains the parameter information and mount directory of available disk in current calculate node;
The parameter information and mount directory for showing available disk in obtained current calculate node, do current calculate node serial number
Add 1 processing, and current calculate node serial number is returned and executed described in judgement as new current calculate node serial number using treated
Whether current calculate node serial number is equal to the step of corresponding maximum serial number of calculate node in the calculate node list;
If more than the parameter information and mount directory of available disk in each calculate node shown.
4. the method as described in claim 1, which is characterized in that the wound of the preset target disk empty set group of first quantity
The process of building is:
According to the request to create of reception, the first quantity target disk empty set group is created, wherein the request to create is establishment the
The request of one quantity target disk empty set group;
After first quantity target disk empty set group to be created, the state of displaying target disk empty set group is in creating.
5. method as claimed in claim 4, which is characterized in that in the acquisition default disk list of the target user from displaying
Before the target disk of middle selection, the method further includes:
Displaying selection explanation, wherein the selection explanation is used to indicate user's at least selection target quantity calculate node and corresponds to
Disk explanation.
6. method as claimed in claim 5, which is characterized in that in the acquisition default disk list of the target user from displaying
After the target disk of selection, the method further includes:
Judge whether acquired target disk includes that at least there are the different drive bars for number of targets gauge block target disk
In the calculate node of table;
Selected target disk is added in the preset target disk empty set group of the second quantity if it is, executing, will be added
The step of adding the target disk empty set group after target disk to be denoted as target cluster.
7. method as claimed in claim 6, which is characterized in that described that selected target disk is added to the second quantity
In preset target disk empty set group, including:
Selected target disk is added to according to preset rules in the preset target disk empty set group of the second quantity,
In, the preset rules are that a target disk empty set group needs to add at least destination number target disk, and destination number
A target disk belongs to the different calculate node of selected destination number.
8. the method for claim 7, which is characterized in that whether be created file system in the monitoring target disk
After system, the method further includes:
If being created file system, for target disk of the non-carry under specified mount directory, from the target disk of selection
The middle target disk for deleting non-carry under specified mount directory.
9. the method as described in any one of claim 1-8, which is characterized in that the destination number is 3.
10. method as claimed in claim 9, which is characterized in that be directed to mesh of the carry under specified mount directory described
Disk is marked, after sending in target instruction target word to the corresponding calculate node of target disk of the carry under specified mount directory, institute
The method of stating further includes:
Update preset target disk database, wherein the target disk database includes:Target disk parameter information makes
With the Universally Unique Identifier UUID of state and the corresponding target disk empty set group of each target disk;
The IP for corresponding to calculate node with the target disk according to the corresponding name of target disk under the mount directory, to the extension
It carries the corresponding calculate node of target disk under catalogue and sends the order for starting storage process for calculate node;
Control node is triggered using each target cluster as storage service cinder-volume services to start.
11. method as claimed in claim 10, which is characterized in that the preset target disk database of update, including:
The default use state of target disk is changed to use;
Add the incidence relation of each target disk target cluster corresponding with the target disk;
Identify the Universally Unique Identifier UUID that each target disk is located at corresponding target cluster.
12. method as claimed in claim 11, which is characterized in that the triggering control node using each target cluster as
Before storage service cinder-volume services start, the method further includes:
Judge whether the state of target cluster is that and whether at least number of targets gauge block is located at difference to the disk of dilatation in establishment
Calculate node;
If being to be, indicates that all physical nodes open target cluster gateway, change the configuration file of storage, send for starting
The order of storage service executes the triggering control node and starts target cluster as storage service cinder-volume services
The step of.
13. method as claimed in claim 12, which is characterized in that the triggering control node using each target cluster as
After storage service cinder-volume services start, the method further includes:
Capacity reducing request is obtained, the capacity reducing request is the request to the target cluster progress capacity reducing after dilatation;
It is asked according to the capacity reducing of acquisition, the target disk of the target cluster is deleted.
14. based on the flash chamber for building Storage Virtualization, which is characterized in that the device includes:
Target disk acquisition module, the target disk selected from the default disk list of displaying for obtaining target user,
In, the target disk is that user's selection is located in default disk list at least magnetic of the different calculate node of destination number
Disk, the destination number are the number of disks positioned at different calculate nodes;
First add module, for selected target disk to be added to the preset target disk empty set group of the second quantity
In, the target disk empty set group after addition target disk is denoted as target cluster;Wherein, second quantity is from the first quantity
The quantity of selection target disk empty set group in a preset target disk empty set group, first quantity are target disk empty set group
The quantity being created;
Monitoring modular, if being created file system, triggers target for monitoring whether the target disk is created file system
Instruction sending module;
The target instruction target word sending module sends target and refers to for being directed to target disk of the carry under specified mount directory
It enables into the corresponding calculate node of target disk of the carry under specified mount directory, wherein the target instruction target word is instruction
The calculate node of transmission empties all data files of target disk under specified mount directory.
15. device as claimed in claim 14, which is characterized in that described device further includes:
Disk list obtains module, and for being asked according to the disk scanning of reception, it is corresponding to obtain preset calculate node list
Disk list, wherein disk scanning request is the request of disk list to be scanned and obtaining calculate node, the disk list
Including each corresponding disc information of calculate node in the calculate node list, the disc information includes the parameter letter of disk
Breath and mount directory, the parameter information include the size of disk, the use space of magnetic disk media and disk;
First filtering module corresponds to each calculate node for the sequence according to calculate node in the calculate node list
The root partition of disk is filtered in the disk list, obtains and store the parameter information of available disk in each calculate node
And mount directory;
First display module, parameter information and mount directory for showing available disk in obtained each calculate node.
16. device as claimed in claim 15, which is characterized in that first filtering module includes:
Current calculate node serial number sets submodule, for the sequence according to calculate node in the calculate node list, by institute
The corresponding serial number of the first calculate node is stated in calculate node list as current calculate node serial number;
First judging submodule is calculated for judging whether the current calculate node serial number is more than in the calculate node list
The corresponding maximum serial number of node;If being not more than, the second filter submodule is triggered;If more than triggering third shows submodule;
Second filter submodule is used for the correspondence according to current calculate node in the disk list with disk,
The root partition that disk is corresponded to current calculate node is filtered, obtain in current calculate node the parameter information of available disk and
Mount directory;
Second displaying submodule, parameter information and mount directory for showing available disk in obtained current calculate node,
Current calculate node serial number is done plus 1 processing, and using treated current calculate node serial number as current calculate node newly
Serial number triggers first judging submodule;
The third shows submodule, parameter information and carry mesh for showing available disk in obtained each calculate node
Record.
17. device as claimed in claim 14, which is characterized in that the preset target disk empty set group's of first quantity
Establishment process is:
According to the request to create of reception, the first quantity target disk empty set group is created, wherein the request to create is establishment the
The request of one quantity target disk empty set group;
After first quantity target disk empty set group to be created, the state of displaying target disk empty set group is in creating.
18. device as claimed in claim 17, which is characterized in that described device further includes:
4th display module, for showing selection explanation, wherein the selection explanation is used to indicate user's at least selection target number
The explanation of the corresponding disk of amount calculate node.
19. device as claimed in claim 18, which is characterized in that described device further includes:
Second judgment module, for judging acquired target disk whether including the presence of at least number of targets gauge block target disk
In the calculate node of the different disk lists;If it is, the first add module of triggering.
20. device as claimed in claim 19, which is characterized in that first add module includes:
Second addition submodule, for selected target disk to be added to the preset mesh of the second quantity according to preset rules
It marks in disk empty set group, wherein the preset rules are that a target disk empty set group needs to add at least destination number mesh
Disk is marked, and destination number target disk belongs to the different calculate node of selected destination number.
21. device as claimed in claim 20, which is characterized in that described device further includes:
First removing module, if for being created file system, for target disk of the non-carry under specified mount directory,
From deleting target disk of the non-carry under specified mount directory in the target disk of selection.
22. the device as described in any one of claim 14-21, which is characterized in that the destination number is 3.
23. device as claimed in claim 22, which is characterized in that described device further includes:
Update module, for updating preset target disk database, wherein the target disk database includes:Target magnetic
The Universally Unique Identifier UUID of disk parameter information, use state and the corresponding target disk empty set group of each target disk;
Sending module, for corresponding to calculate node with the target disk according to the corresponding name of target disk under the mount directory
IP, to the corresponding calculate node of target disk under the mount directory send for calculate node start storage process life
It enables;
Trigger module starts for triggering control node using each target cluster as storage service cinder-volume services.
24. device as claimed in claim 23, which is characterized in that the update module includes:
Submodule is changed, for the default use state of target disk to be changed to use;
Third adds submodule, the incidence relation for adding each target disk target cluster corresponding with the target disk;
Labeling submodule is located at the Universally Unique Identifier UUID of corresponding target cluster for identifying each target disk.
25. device as claimed in claim 24, which is characterized in that described device further includes:
Third judgment module, for judging whether the state of target cluster is that and whether at least the disk of dilatation in establishment
Number of targets gauge block is located at different calculate nodes;If being to be, indicating module is triggered;
The indicating module is used to indicate all physical nodes and opens target cluster gateway, change the configuration file of storage, sends
Order for starting storage service executes the triggering control node using target cluster as storage service cinder-volume
The step of service starts.
26. device as claimed in claim 25, which is characterized in that described device further includes:
Acquisition module, for obtaining capacity reducing request, the capacity reducing request is the request to the target cluster progress capacity reducing after dilatation;
Second removing module deletes the target disk of the target cluster for being asked according to the capacity reducing of acquisition.
27. a kind of electronic equipment, which is characterized in that including processor and machine readable storage medium, the machine readable storage
Media storage has the machine-executable instruction that can be executed by the processor, and the processor is by the machine-executable instruction
Promote:Realize any method and steps of claim 1-13.
28. a kind of computer readable storage medium, which is characterized in that instruction is stored in the computer readable storage medium,
When run on a computer so that claim 1-13 any method and steps are realized when computer executes.
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 true CN108572795A (en) | 2018-09-25 |
CN108572795B 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) |
Cited By (10)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN109358813A (en) * | 2018-10-10 | 2019-02-19 | 郑州云海信息技术有限公司 | A kind of expansion method and device of distributed memory 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 |
CN109857345A (en) * | 2019-01-31 | 2019-06-07 | 合肥谐桐科技有限公司 | Realize the system and method based on concurrent disk carry interface management and running |
CN110333953A (en) * | 2019-07-11 | 2019-10-15 | 中国工商银行股份有限公司 | Data storage resource dispatching method and device |
CN111666034A (en) * | 2019-03-05 | 2020-09-15 | 北京京东尚科信息技术有限公司 | Container cluster disk management method and device |
CN112019577A (en) * | 2019-05-29 | 2020-12-01 | 中国移动通信集团重庆有限公司 | 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 |
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 (5)
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 |
US20170329674A1 (en) * | 2016-05-12 | 2017-11-16 | Dell Products L.P. | Flushing host cache data before rebuilding degraded redundant virtual disk |
-
2017
- 2017-12-21 CN CN201711394735.7A patent/CN108572795B/en active Active
Patent Citations (5)
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 |
US20170329674A1 (en) * | 2016-05-12 | 2017-11-16 | Dell Products L.P. | Flushing host cache data before rebuilding degraded redundant virtual disk |
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 |
Cited By (13)
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 |
CN109358813A (en) * | 2018-10-10 | 2019-02-19 | 郑州云海信息技术有限公司 | A kind of expansion method and device of distributed memory 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 |
CN109857345A (en) * | 2019-01-31 | 2019-06-07 | 合肥谐桐科技有限公司 | Realize the system and method based on concurrent disk carry interface management and running |
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 |
CN112019577A (en) * | 2019-05-29 | 2020-12-01 | 中国移动通信集团重庆有限公司 | Exclusive cloud storage implementation method and device, computing equipment and computer storage medium |
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 |
Also Published As
Publication number | Publication date |
---|---|
CN108572795B (en) | 2021-05-25 |
Similar Documents
Publication | Publication Date | Title |
---|---|---|
CN108572795A (en) | Based on expansion method, device, equipment and the storage medium for building Storage Virtualization | |
CN108683516B (en) | Application instance upgrading method, device and system | |
CN109445869B (en) | Cross-cloud-adaptive micro-service management method and device and storage medium | |
CN111464355B (en) | Method and device for controlling expansion and contraction capacity of Kubernets container cluster and network equipment | |
CN105681081B (en) | Physical machine management method and device | |
JP7026216B2 (en) | Virtual machine management | |
CN109152061B (en) | Channel allocation method, device, server and storage medium | |
CN105095103B (en) | For the storage device management method and apparatus under cloud environment | |
CN110532059B (en) | Quota management method and device for K8s cluster management software | |
CN110471749A (en) | Task processing method, device, computer readable storage medium and computer equipment | |
CN112230847B (en) | Method, system, terminal and storage medium for monitoring K8s storage volume | |
CN103543901B (en) | The method and apparatus generating menu | |
CN107885859B (en) | Method and device for file number quota and computer readable storage medium | |
JP2016533588A (en) | Storage processing method, apparatus and terminal | |
CN113449031A (en) | Data synchronization management method and device and server | |
CN112925479A (en) | Block chain data management method and device, electronic equipment and medium | |
CN112256672A (en) | Database change approval method and device | |
CN109783196B (en) | Virtual machine migration method and device | |
CN111324459A (en) | Calendar-based resource scheduling method and device, electronic equipment and storage medium | |
CN110413437A (en) | Network namespace abnormality eliminating method, device, equipment and readable storage medium storing program for executing | |
CN114662102A (en) | File processing method and device and storage medium | |
CN110058866B (en) | Cluster component installation method and device | |
CN113849233A (en) | BIOS null boot entry deleting method, system, terminal and storage medium | |
CN110290172B (en) | Container application cloning method and device, computer equipment and storage medium | |
CN113609178A (en) | Data pushing method, device, 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 |