CN106886369A - A kind of cloud hard disk management method and system based on OpenStack cloud platforms - Google Patents

A kind of cloud hard disk management method and system based on OpenStack cloud platforms Download PDF

Info

Publication number
CN106886369A
CN106886369A CN201710046942.7A CN201710046942A CN106886369A CN 106886369 A CN106886369 A CN 106886369A CN 201710046942 A CN201710046942 A CN 201710046942A CN 106886369 A CN106886369 A CN 106886369A
Authority
CN
China
Prior art keywords
cloud
hard disk
main frame
cloud hard
user
Prior art date
Legal status (The legal status is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the status listed.)
Pending
Application number
CN201710046942.7A
Other languages
Chinese (zh)
Inventor
朱晓锟
Current Assignee (The listed assignees may be inaccurate. Google has not performed a legal analysis and makes no representation or warranty as to the accuracy of the list.)
WUHAN OS-EASY CLOUD COMPUTING Co Ltd
Original Assignee
WUHAN OS-EASY CLOUD COMPUTING Co Ltd
Priority date (The priority date is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the date listed.)
Filing date
Publication date
Application filed by WUHAN OS-EASY CLOUD COMPUTING Co Ltd filed Critical WUHAN OS-EASY CLOUD COMPUTING Co Ltd
Priority to CN201710046942.7A priority Critical patent/CN106886369A/en
Publication of CN106886369A publication Critical patent/CN106886369A/en
Pending legal-status Critical Current

Links

Classifications

    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06FELECTRIC DIGITAL DATA PROCESSING
    • G06F3/00Input arrangements for transferring data to be processed into a form capable of being handled by the computer; Output arrangements for transferring data from processing unit to output unit, e.g. interface arrangements
    • G06F3/06Digital input from, or digital output to, record carriers, e.g. RAID, emulated record carriers or networked record carriers
    • G06F3/0601Interfaces specially adapted for storage systems
    • G06F3/0602Interfaces specially adapted for storage systems specifically adapted to achieve a particular effect
    • G06F3/0604Improving or facilitating administration, e.g. storage management
    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06FELECTRIC DIGITAL DATA PROCESSING
    • G06F3/00Input arrangements for transferring data to be processed into a form capable of being handled by the computer; Output arrangements for transferring data from processing unit to output unit, e.g. interface arrangements
    • G06F3/06Digital input from, or digital output to, record carriers, e.g. RAID, emulated record carriers or networked record carriers
    • G06F3/0601Interfaces specially adapted for storage systems
    • G06F3/0628Interfaces specially adapted for storage systems making use of a particular technique
    • G06F3/0629Configuration or reconfiguration of storage systems
    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06FELECTRIC DIGITAL DATA PROCESSING
    • G06F3/00Input arrangements for transferring data to be processed into a form capable of being handled by the computer; Output arrangements for transferring data from processing unit to output unit, e.g. interface arrangements
    • G06F3/06Digital input from, or digital output to, record carriers, e.g. RAID, emulated record carriers or networked record carriers
    • G06F3/0601Interfaces specially adapted for storage systems
    • G06F3/0628Interfaces specially adapted for storage systems making use of a particular technique
    • G06F3/0662Virtualisation aspects
    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06FELECTRIC DIGITAL DATA PROCESSING
    • G06F3/00Input arrangements for transferring data to be processed into a form capable of being handled by the computer; Output arrangements for transferring data from processing unit to output unit, e.g. interface arrangements
    • G06F3/06Digital input from, or digital output to, record carriers, e.g. RAID, emulated record carriers or networked record carriers
    • G06F3/0601Interfaces specially adapted for storage systems
    • G06F3/0668Interfaces specially adapted for storage systems adopting a particular infrastructure
    • G06F3/067Distributed or networked storage systems, e.g. storage area networks [SAN], network attached storage [NAS]
    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06FELECTRIC DIGITAL DATA PROCESSING
    • G06F3/00Input arrangements for transferring data to be processed into a form capable of being handled by the computer; Output arrangements for transferring data from processing unit to output unit, e.g. interface arrangements
    • G06F3/06Digital input from, or digital output to, record carriers, e.g. RAID, emulated record carriers or networked record carriers
    • G06F3/0601Interfaces specially adapted for storage systems
    • G06F3/0668Interfaces specially adapted for storage systems adopting a particular infrastructure
    • G06F3/0671In-line storage system
    • G06F3/0673Single storage device
    • G06F3/0674Disk device

Landscapes

  • Engineering & Computer Science (AREA)
  • Theoretical Computer Science (AREA)
  • Human Computer Interaction (AREA)
  • Physics & Mathematics (AREA)
  • General Engineering & Computer Science (AREA)
  • General Physics & Mathematics (AREA)
  • Information Retrieval, Db Structures And Fs Structures Therefor (AREA)

Abstract

The invention discloses a kind of cloud hard disk management method and system based on OpenStack cloud platforms, it is related to field of cloud computer technology.The method is comprised the following steps:Cloud hard disk and cloud main frame are respectively created according to user's request, and cloud hard disk is mounted on cloud main frame, cloud hard disk includes that user is the master disk that cloud main frame is selected;The information and the related information between cloud main frame and cloud hard disk of the cloud hard disk and cloud main frame for creating are recorded, related information includes the ID of cloud main frame and whether the cloud hard disk of the ID of the cloud hard disk of carry and carry is master disk thereon;The query statement of user is received, the cloud hard disk list of the cloud main frame being queried is built and shown according to related information, whether the list of cloud hard disk includes being mounted with whether cloud hard disk and the cloud hard disk of carry are master disk on cloud main frame.The present invention can quick search go out cloud main frame whether carry cloud hard disk, and whether the cloud hard disk of carry is master disk, significantly reduces the load of cloud platform.

Description

A kind of cloud hard disk management method and system based on OpenStack cloud platforms
The present invention relates to field of cloud computer technology, a kind of cloud hard disk pipe based on OpenStack cloud platforms is specifically related to Reason method and system.
Background technology
OpenStack is a cloud computing management platform project increased income, and can provide virtual resources to user Management platform, wherein, cloud main frame it is general by the virtual machine (kernel-based virtual machine, KVM) based on kernel/ QEMU Intel Virtualization Technologies are provided, and cloud hard disk is general to be provided by iSCSI or other storage virtualization technologies.Because cloud main frame and cloud are hard Disk comes from two different technology modules, and the related data of cloud hard disk is lacked in the table data for causing cloud main frame.For example, cloud Whether main frame is mounted with cloud hard disk, and whether the cloud hard disk of carry is master disk, so as to cause the application based on OpenStack System cannot represent and perform the problem of disabling or unloading cloud hard disk operation to user with open arms.Headed by the method for using at present First retrieval obtains the data (being shown in Table 1) of the cloud main frame of OpenStack cloud platforms, and then retrieval obtains OpenStack cloud platforms The data (being shown in Table 2) of all of cloud hard disk, the data of cloud hard disk include the cloud main frame UUID of cloud hard disk and cloud hard disk institute carry, Finally the data by the cloud main frame UUID in the data of cloud main frame one by one with all of cloud hard disk are matched, according to matching result To judge whether cloud main frame is mounted with cloud hard disk.
UUID Title
c1d95afb-6ddb-4feb-a50b-4c1dce2e0952 Cloud main frame 1
72b7b1dc-c5b2-11e6-ab93-fa163e3f8b77 Cloud main frame 2
Table 1:The data of the cloud main frame retrieved by OpenStack
Table 2:The data of the cloud hard disk retrieved by OpenStack
Therefore, this method needs to initiate retrieval request twice to OpenStack cloud platforms, and due to cloud hard disk and its The cloud main frame UUID of institute's carry does not have incidence relation, it is necessary to be retrieved to all of cloud hard disk, and according to cloud main frame UUID by One table data for comparing cloud hard disk, as the quantity of cloud hard disk is on the increase, retrieves and matches the spent time increasingly It is long, cause the operation for representing or disabling, unload cloud hard disk to user time-consuming more long, and also the load of cloud platform is larger.
The content of the invention
It is a kind of based on OpenStack clouds it is a primary object of the present invention to provide for defect present in prior art The cloud hard disk management method of platform, another object of the present invention is to provide a kind of cloud hard disk based on OpenStack cloud platforms Management system, can quick search go out cloud main frame whether carry cloud hard disk, and whether the cloud hard disk of carry is master disk.
The present invention provides a kind of cloud hard disk management method based on OpenStack cloud platforms, and it is used to inquiring about and showing use The cloud main frame of family request establishment and the thereon information of the cloud hard disk of carry, comprise the following steps:
Cloud hard disk and cloud main frame are respectively created according to user's request, and cloud hard disk is mounted on cloud main frame, the cloud is hard Disk includes that user is the master disk that cloud main frame is selected;
The information and the related information between cloud main frame and cloud hard disk of the cloud hard disk and cloud main frame for creating are recorded, it is described Related information includes the ID of cloud main frame and whether the cloud hard disk of the ID of the cloud hard disk of carry and carry is master disk thereon;
The query statement of user is received, the cloud hard disk row of the cloud main frame being queried are built and show according to the related information Whether table, cloud hard disk list includes being mounted with whether cloud hard disk and the cloud hard disk of carry are master disk on cloud main frame.
On the basis of above-mentioned technical proposal, the user's request includes creating the first user request of cloud hard disk and creates The second user request of cloud main frame, the second user request also includes the master disk that user selectes from the cloud hard disk for having created Information;
It is according to the method that user's request is respectively created cloud hard disk and cloud main frame:
Cloud hard disk is created according to first user request;
Cloud main frame is created according to second user request, and the cloud hard disk that user is selected is set to master disk.
On the basis of above-mentioned technical proposal, the user's request includes the data of cloud hard disk and cloud main frame to be created, The cloud hard disk is the master disk of cloud main frame;
It is according to the method that user's request is respectively created cloud hard disk and cloud main frame:
Cloud hard disk and cloud main frame are created according to the user's request successively, and the cloud hard disk is set to the main magnetic of cloud main frame Disk.
On the basis of above-mentioned technical proposal, the information of the cloud main frame includes the ID and cloud Hostname of cloud main frame, institute Stating the information of cloud hard disk includes that ID, cloud hard disk title and the storage of the cloud main frame of the ID and/or cloud hard disk institute carry of cloud hard disk are empty Between size.
On the basis of above-mentioned technical proposal, the ID of the cloud main frame includes cloud main frame UUID and to cloud main frame setting Major key, the ID of the cloud hard disk includes cloud hard disk UUID and the major key set to the cloud hard disk.
On the basis of above-mentioned technical proposal, the information and cloud main frame and cloud of the cloud hard disk and cloud main frame for creating are recorded The method of the related information between hard disk is:
The list of cloud hard disk, cloud Host List and linked list are respectively created, the cloud hard disk list stores the master of cloud hard disk Key, cloud hard disk UUID, cloud hard disk title and storage size, the cloud Host List store major key, the cloud main frame of cloud main frame UUID and cloud Hostname, the thereon major key of the linked list storage cloud main frame and the major key of the cloud hard disk of carry and extension Whether the cloud hard disk of load is master disk.
On the basis of above-mentioned technical proposal, the cloud for building and showing the cloud main frame being queried according to the related information is hard The method of disk list is:
Based on the linked list, retrieval obtains the cloud being queried from cloud hard disk list and cloud Host List respectively The information of the information of main frame and its cloud hard disk of carry;
The cloud hard disk list of the cloud main frame being queried is built according to retrieval result, cloud hard disk list includes cloud main frame Whether major key and UUID, the major key of cloud hard disk and UUID and cloud hard disk are master disk.
On the basis of above-mentioned technical proposal, the cloud hard disk management method also includes that performing user arranges the cloud hard disk The unloading operation that cloud hard disk on table is carried out, and show operating result.
On the basis of above-mentioned technical proposal, the unloading behaviour that user is carried out to the cloud hard disk in the cloud hard disk list is performed Specifically include:
Unloading button is respectively provided with to the cloud hard disk in the cloud hard disk list;
Judge whether cloud hard disk is master disk, if so, then disabling unloading button;If it is not, then enabling unloading button;
When user clicks on the unloading button for enabling, cloud hard disk is unloaded, and from cloud hard disk list and linked list Delete the cloud hard disk of unloading.
The present invention also provides a kind of cloud hard Disk Management System based on OpenStack cloud platforms, and it is used to inquire about and shows The cloud main frame of user's request establishment and the thereon information of the cloud hard disk of carry, it includes:
Creation module, it is used to be respectively created cloud hard disk and cloud main frame according to user's request, and cloud hard disk is mounted into cloud On main frame, the cloud hard disk includes that user is the master disk that cloud main frame is selected;
Logging modle, it is used between the cloud hard disk of record establishment and the information and cloud main frame and cloud hard disk of cloud main frame Related information, the ID of the related information including cloud main frame and thereon the cloud hard disk of the ID of the cloud hard disk of carry and carry Whether it is master disk;
Enquiry module, its query statement for being used to receive user builds according to the related information and shows what is be queried Whether the cloud hard disk list of cloud main frame, cloud hard disk list includes being mounted with cloud main frame the cloud hard disk of cloud hard disk and carry Whether it is master disk.
Compared with prior art, advantages of the present invention is as follows:
(1) present invention can quick search go out cloud main frame whether carry cloud hard disk, and carry cloud hard disk whether based on Disk, highly shortened retrieval and matching cloud main frame and the time that the cloud hard disk of carry is spent thereon, not only reduce use The stand-by period at family, and significantly reduce the load of cloud platform.
(2) by the list of cloud hard disk and cloud Host List, cloud hard disk and cloud main frame that can be respectively to creating enter the present invention Row management, and the cloud of the linked list record cloud main frame that is built based on the list of cloud hard disk and cloud Host List and carry thereon is hard The incidence relation of disk, is easy to that subsequently cloud hard disk is inquired about and operated according to user's request, improves cloud platform to cloud hard disk With the efficiency of management of cloud main frame.
(3) present invention sets user's operation button to the cloud hard disk on cloud Host List, performs user and operates and show behaviour Make result, facilitate user to be managed cloud hard disk, improve Consumer's Experience.
Brief description of the drawings
Fig. 1 is the cloud hard disk management method flow chart that the embodiment of the present invention is based on OpenStack cloud platforms;
Fig. 2 is the cloud hard disk management method flow chart that another embodiment of the present invention is based on OpenStack cloud platforms;
Fig. 3 is the cloud hard Disk Management System schematic diagram that the embodiment of the present invention is based on OpenStack cloud platforms.
Specific embodiment
For the ease of following description, the explanation of some terms is given first:
Cloud main frame:Set up by KVM/QEMU or other Intel Virtualization Technologies, and receive the virtual machine of OpenStack management.
Cloud hard disk:Set up by storage virtualization technology, cloud main frame can be supplied to be used as disk, and receive The virtual disk of OpenStack management.
Application system:Cloud main frame, cloud hard disk and other resources are managed based on OpenStack API, and it is extra real The software systems of customer service logic are showed.
Master disk:Virtual disk for being loaded into main boot information in cloud host-initiated.
Below in conjunction with the accompanying drawings and specific embodiment the present invention is described in further detail.
Shown in Figure 1, the embodiment of the present invention provides a kind of cloud hard disk management method based on OpenStack cloud platforms, Its cloud main frame for being used to inquire about and show user's request establishment and the thereon information of the cloud hard disk of carry, comprise the following steps:
S1. cloud hard disk and cloud main frame are respectively created according to user's request, and cloud hard disk is mounted on cloud main frame, cloud hard disk It is the master disk that cloud main frame is selected including user.
A kind of implementation method of the invention, user's request includes creating the first user request of cloud hard disk and creates cloud The second user request of main frame, second user request also includes the letter of the master disk that user selectes from the cloud hard disk for having created Breath, be according to the method that user's request is respectively created cloud hard disk and cloud main frame:Asked according to first user, call OpenStack API creates cloud hard disk, creates cloud hard disk, is asked according to second user, calls OpenStack API to create cloud main frame, and will use The selected cloud hard disk in family is set to master disk.
Another embodiment of the invention, user's request includes the data of cloud hard disk and cloud main frame to be created, Cloud hard disk is the master disk of cloud main frame.Cloud hard disk is respectively created according to user's request and cloud main frame specifically includes following steps:Root Call OpenStackAPI to create cloud hard disk and cloud main frame successively according to user's request, and the cloud hard disk is set to the master of cloud main frame Disk.
One existing cloud hard disk of selection is only allowed during user's establishment cloud main frame carries out carry, or newly one cloud of establishment is hard Disk and by application system carry, by sending block_device_mapping_v2 parameters, the cloud that user is created or chosen is hard Disk is set to master disk.After the completion of cloud main frame is created, according to user's request, OpenStack API can be called to continue as cloud master The more cloud hard disks of machine carry.
S2. the cloud hard disk of establishment and the information of cloud main frame and the related information between cloud main frame and cloud hard disk are recorded, is closed Connection information includes the ID of cloud main frame and whether the cloud hard disk of the ID of the cloud hard disk of carry and carry is master disk thereon.
The ID and cloud Hostname of the information of cloud main frame including cloud main frame, the information of cloud hard disk include the ID of cloud hard disk and/ Or the ID of the cloud main frame of cloud hard disk institute carry, cloud hard disk title and storage size.
The ID of cloud main frame includes cloud main frame UUID and the major key set to the cloud main frame, and the ID of cloud hard disk includes cloud hard disk UUID and the major key set to the cloud hard disk.Cloud main frame UUID is UUID of the cloud main frame in OpenStack, and cloud hard disk UUID is UUID of the cloud hard disk in OpenStack.
The method for recording the information and the related information between cloud main frame and cloud hard disk of the cloud hard disk and cloud main frame for creating For:
The list of cloud hard disk, cloud Host List and linked list are respectively created, the list of cloud hard disk stores major key, the cloud of cloud hard disk Hard disk UUID, cloud hard disk title and storage size, cloud Host List store major key, cloud main frame UUID and the cloud master of cloud main frame Machine title, whether the major key of linked list storage cloud main frame and thereon the cloud hard disk of the major key of the cloud hard disk of carry and carry It is master disk.The implementing result of detection OpenStack API, if cloud hard disk is created successfully, one is created in cloud hard disk list The information of bar cloud hard disk, if cloud main frame is created successfully, creates an information for cloud main frame, by cloud master in cloud hard disk list Linked list is stored in after the cloud hard disk information association of carry on machine, wherein, for the cloud hard disk of the master disk as cloud main frame, mark This incidence relation is remembered for master disk relation, and for the cloud hard disk of the master disk not as cloud main frame, it is non-to mark this incidence relation Master disk relation.
The example of the list of cloud hard disk, cloud Host List and linked list that the embodiment of the present invention is created is as shown in Table 3-5:
Major key UUID Title Size
1 7f629302-c59e-11e6-ab93-fa163e3f8b77 Cloud hard disk 1 (non-carry) 1GB
2 8139dff0-c59e-11e6-ab93-fa163e3f8b77 Cloud hard disk 2 (carry) 1GB
Table 3:The example of the cloud hard disk list that the embodiment of the present invention is created
Major key UUID Title
1 c1d95afb-6ddb-4feb-a50b-4c1dce2e0952 Cloud main frame 1
2 72b7b1dc-c5b2-11e6-ab93-fa163e3f8b77 Cloud main frame 2
Table 4:The example of the cloud Host List that the embodiment of the present invention is created
The cloud host master key of association The cloud hard disk major key of association Incidence relation
1 2 Master disk
Table 5:The example of the linked list that the embodiment of the present invention is created
The present invention is managed by the list of cloud hard disk and cloud Host List, cloud hard disk and cloud main frame that can be respectively to creating Reason, and the linked list record cloud main frame that is built based on the list of cloud hard disk and cloud Host List and the cloud hard disk of carry thereon Incidence relation, is easy to that subsequently cloud hard disk is inquired about and operated according to user's request, improves cloud platform to cloud hard disk and cloud The efficiency of management of main frame.
S3. the query statement of user is received, the cloud hard disk row of the cloud main frame being queried is built and shown according to related information Whether table, cloud hard disk list includes being mounted with whether cloud hard disk and the cloud hard disk of carry are master disk on cloud main frame.
In step S3, the method that the cloud hard disk list of the cloud main frame being queried is built and shown according to related information is:Base In linked list, retrieval obtains the information and its carry of the cloud main frame being queried from the list of cloud hard disk and cloud Host List respectively Cloud hard disk information.The cloud hard disk list of the cloud main frame being queried is built according to retrieval result, the list of cloud hard disk includes cloud master Whether the major key and UUID of machine, the major key of cloud hard disk and UUID and cloud hard disk are master disk.
The present invention only needs to carry out a conjunctive query based on linked list, it is possible to retrieve cloud main frame and institute's carry Cloud hard disk, while whether the cloud hard disk for retrieving carry is master disk, and because conjunctive query is carried out by associating major key , can only retrieve related cloud hard disk when retrieving cloud hard disk excessive data by cloud main frame.
The present invention can quick search go out cloud main frame whether carry cloud hard disk, and whether the cloud hard disk of carry is main magnetic Disk, highly shortened retrieval and matching cloud main frame and the time that the cloud hard disk of carry is spent thereon, not only reduce user Stand-by period, and significantly reduce the load of cloud platform.
It is shown in Figure 2, another embodiment of the cloud hard disk management method based on OpenStack cloud platforms of the invention In, after step S3, this cloud hard disk management method also includes:
S4. the unloading operation that user is carried out to the cloud hard disk in cloud hard disk list is performed, and shows operating result.
Step S4 is specifically included:Unloading button is respectively provided with to the cloud hard disk in cloud hard disk list.Judge cloud hard disk whether be Master disk, if so, then disabling unloading button;If it is not, then enabling unloading button.When user clicks on the unloading button for enabling, unload Cloud hard disk is carried, and the cloud hard disk of unloading is deleted from the list of cloud hard disk and linked list.
For the cloud main frame that user chooses, when the cloud main frame in cloud hard disk list does not associate cloud hard disk, or cloud main frame When being only associated with a cloud hard disk, and this incidence relation for master disk relation, unloading cloud hard disk button is disabled on interface;When When cloud main frame is only associated with a cloud hard disk, and this incidence relation for non-master disk relation, unloading cloud hard disk is enabled on interface Button, when user clicks on to be unloaded, directly lists a cloud hard disc data and allows user to confirm;When cloud main frame, to be associated with multiple clouds hard Have in disk, and incidence relation one or more be non-master disk relation when, enabled on interface unloading cloud hard disk button, when with Family click on unloading when, list institute it is relevant be the cloud hard disc data of non-master disk relation, allow user selection one data simultaneously Confirm.
For example, in table 3-5, when user chooses cloud main frame 1, because the cloud main frame has a cloud hard disk for carry, and And this cloud hard disk is master disk, so disabling unloading operation button in cloud hard disk list interface;When user chooses cloud main frame 2, Due to cloud hard disk of the cloud main frame without carry, so disabling unloading operation button in cloud hard disk list interface.
Call OpenStack API to unload cloud hard disk, and detect that OpenStack unloads the result of cloud hard disk, such as Fruit unloads the incidence relation that this cloud hard disk and cloud main frame are successfully released in cloud hard disk list, while in removing linked list Incidence relation.
The present invention sets user's operation button to the cloud hard disk on cloud Host List, performs user and operates and show operation knot Really, facilitate user to be managed cloud hard disk, improve Consumer's Experience.
Shown in Figure 3, the embodiment of the present invention also provides a kind of cloud hard disk management system based on OpenStack cloud platforms System, its cloud main frame for being used to inquire about and show user's request establishment and the thereon information of the cloud hard disk of carry, it includes creating mould Block, logging modle and enquiry module.
Creation module is used to be respectively created cloud hard disk and cloud main frame according to user's request, and cloud hard disk is mounted into cloud main frame On, cloud hard disk includes that user is the master disk that cloud main frame is selected;
Logging modle is used to record information and the pass between cloud main frame and cloud hard disk of the cloud hard disk and cloud main frame for creating Connection information, the ID of related information including cloud main frame and thereon the cloud hard disk of the ID of the cloud hard disk of carry and carry whether based on Disk;
Enquiry module is used to receive the query statement of user, and the cloud main frame that is queried is built and shown according to related information Whether cloud hard disk list, cloud hard disk list includes being mounted with whether cloud hard disk and the cloud hard disk of carry are main magnetic on cloud main frame Disk.
Another embodiment of the cloud hard Disk Management System based on OpenStack cloud platforms of the invention, this cloud hard disk management System also includes user's operation module, and user's operation module is used to perform user to unloading that the cloud hard disk in cloud hard disk list is carried out Operation is carried, and shows operating result.
The present invention is not limited to the above-described embodiments, for those skilled in the art, is not departing from On the premise of the principle of the invention, some improvements and modifications can also be made, these improvements and modifications are also considered as protection of the invention Within the scope of.The content not being described in detail in this specification belongs to prior art known to professional and technical personnel in the field.

Claims (10)

1. a kind of cloud hard disk management method based on OpenStack cloud platforms, it is used to inquiring about and showing what user's request was created The information of the cloud hard disk of cloud main frame and thereon carry, it is characterised in that comprise the following steps:
Cloud hard disk and cloud main frame are respectively created according to user's request, and cloud hard disk is mounted on cloud main frame, the cloud hard disk bag Include the master disk that user selectes for cloud main frame;
Record the information and the related information between cloud main frame and cloud hard disk of the cloud hard disk and cloud main frame for creating, the association Information includes the ID of cloud main frame and whether the cloud hard disk of the ID of the cloud hard disk of carry and carry is master disk thereon;
The query statement of user is received, the cloud hard disk list of the cloud main frame being queried is built and show according to the related information, Whether cloud hard disk list includes being mounted with whether cloud hard disk and the cloud hard disk of carry are master disk on cloud main frame.
2. the cloud hard disk management method of OpenStack cloud platforms is based on as claimed in claim 1, it is characterised in that:The use Family request includes creating the first user request of cloud hard disk and the second user request of establishment cloud main frame, the second user request Also include the information of the master disk that user selectes from the cloud hard disk for having created;
It is according to the method that user's request is respectively created cloud hard disk and cloud main frame:
Cloud hard disk is created according to first user request;
Cloud main frame is created according to second user request, and the cloud hard disk that user is selected is set to master disk.
3. the cloud hard disk management method of OpenStack cloud platforms is based on as claimed in claim 1, it is characterised in that:The use Family request includes the data of cloud hard disk to be created and cloud main frame, and the cloud hard disk is the master disk of cloud main frame;
It is according to the method that user's request is respectively created cloud hard disk and cloud main frame:
Cloud hard disk and cloud main frame are created according to the user's request successively, and the cloud hard disk is set to the master disk of cloud main frame.
4. the cloud hard disk management method of OpenStack cloud platforms is based on as claimed in claim 1, it is characterised in that:The cloud The information of main frame includes the ID and cloud Hostname of cloud main frame, and the information of the cloud hard disk includes that the ID and/or cloud of cloud hard disk are hard The ID of the cloud main frame of disk institute carry, cloud hard disk title and storage size.
5. the cloud hard disk management method of OpenStack cloud platforms is based on as claimed in claim 4, it is characterised in that:The cloud The ID of main frame includes cloud main frame UUID and the major key set to the cloud main frame, and the ID of the cloud hard disk includes cloud hard disk UUID and right The major key that the cloud hard disk is set.
6. the cloud hard disk management method of OpenStack cloud platforms is based on as claimed in claim 5, it is characterised in that record wound The cloud hard disk and the information of cloud main frame and the method for the related information between cloud main frame and cloud hard disk built be:
The list of cloud hard disk, cloud Host List and linked list are respectively created, the cloud hard disk list stores major key, the cloud of cloud hard disk Hard disk UUID, cloud hard disk title and storage size, the major key of cloud Host List storage cloud main frame, cloud main frame UUID and Cloud Hostname, the thereon major key of the linked list storage cloud main frame and the major key and the cloud of carry of the cloud hard disk of carry Whether hard disk is master disk.
7. the cloud hard disk management method of OpenStack cloud platforms is based on as claimed in claim 6, it is characterised in that according to institute The method for stating the cloud hard disk list that related information built and showed the cloud main frame being queried is:
Based on the linked list, retrieval obtains the cloud main frame being queried from cloud hard disk list and cloud Host List respectively Information and its carry cloud hard disk information;
The cloud hard disk list of the cloud main frame being queried is built according to retrieval result, cloud hard disk list includes the major key of cloud main frame And whether UUID, the major key of cloud hard disk and UUID and cloud hard disk are master disk.
8. the cloud hard disk management method of OpenStack cloud platforms is based on as claimed in claim 1, it is characterised in that:The cloud Hard disk management method also includes performing the unloading operation that user carries out the cloud hard disk in the cloud hard disk list, and shows operation As a result.
9. the cloud hard disk management method of OpenStack cloud platforms is based on as claimed in claim 8, it is characterised in that perform use Family specifically includes to the unloading operation that the cloud hard disk in the cloud hard disk list is carried out:
Unloading button is respectively provided with to the cloud hard disk in the cloud hard disk list;
Judge whether cloud hard disk is master disk, if so, then disabling unloading button;If it is not, then enabling unloading button;
When user clicks on the unloading button for enabling, cloud hard disk is unloaded, and deleted from cloud hard disk list and linked list The cloud hard disk of unloading.
10. a kind of cloud hard Disk Management System based on OpenStack cloud platforms, it is used to inquiring about and showing what user's request was created The information of the cloud hard disk of cloud main frame and thereon carry, it is characterised in that it includes:
Creation module, it is used to be respectively created cloud hard disk and cloud main frame according to user's request, and cloud hard disk is mounted into cloud main frame On, the cloud hard disk includes that user is the master disk that cloud main frame is selected;
Logging modle, its information and pass between cloud main frame and cloud hard disk for being used to record the cloud hard disk and cloud main frame for creating Connection information, whether the ID of the related information including cloud main frame and thereon the cloud hard disk of the ID of the cloud hard disk of carry and carry It is master disk;
Enquiry module, its query statement for being used to receive user builds and shows the cloud master being queried according to the related information The cloud hard disk list of machine, cloud hard disk list include whether being mounted with cloud main frame cloud hard disk and carry cloud hard disk whether It is master disk.
CN201710046942.7A 2017-01-22 2017-01-22 A kind of cloud hard disk management method and system based on OpenStack cloud platforms Pending CN106886369A (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN201710046942.7A CN106886369A (en) 2017-01-22 2017-01-22 A kind of cloud hard disk management method and system based on OpenStack cloud platforms

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN201710046942.7A CN106886369A (en) 2017-01-22 2017-01-22 A kind of cloud hard disk management method and system based on OpenStack cloud platforms

Publications (1)

Publication Number Publication Date
CN106886369A true CN106886369A (en) 2017-06-23

Family

ID=59175881

Family Applications (1)

Application Number Title Priority Date Filing Date
CN201710046942.7A Pending CN106886369A (en) 2017-01-22 2017-01-22 A kind of cloud hard disk management method and system based on OpenStack cloud platforms

Country Status (1)

Country Link
CN (1) CN106886369A (en)

Cited By (14)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN107368261A (en) * 2017-07-20 2017-11-21 郑州云海信息技术有限公司 A kind of hard disk management method and system
CN107391044A (en) * 2017-07-28 2017-11-24 郑州云海信息技术有限公司 A kind of creation method and creating device of cloud hard disk
CN107786391A (en) * 2017-11-03 2018-03-09 郑州云海信息技术有限公司 A kind of method for monitoring network to OpenStack based on Grafana
CN107832195A (en) * 2017-11-23 2018-03-23 中国银行股份有限公司 Hosted environment management method, apparatus and system
CN109067827A (en) * 2018-06-22 2018-12-21 杭州才云科技有限公司 Based on Kubernetes and OpenStack container cloud platform multi-tenant construction method, medium, equipment
CN109379412A (en) * 2018-09-27 2019-02-22 郑州云海信息技术有限公司 A kind of method and apparatus for deleting cloud host
CN109388350A (en) * 2018-11-01 2019-02-26 郑州云海信息技术有限公司 A kind of cloud hard disk method for cleaning and device based on cloud platform
CN109445711A (en) * 2018-11-07 2019-03-08 郑州云海信息技术有限公司 A kind of method and device for business processing based on cloud platform
CN109495555A (en) * 2018-11-01 2019-03-19 郑州云海信息技术有限公司 A kind of method and apparatus based on cloud platform creation cloud host
CN109802976A (en) * 2017-11-16 2019-05-24 航天信息股份有限公司 Cloud hard disk dynamic dispatching method, device and the electronic system of Open Stack cloud platform
CN110058813A (en) * 2019-03-15 2019-07-26 启迪云计算有限公司 It is a kind of that management method is locally stored based on the storage of cloud platform block
CN110795029A (en) * 2019-10-08 2020-02-14 济南浪潮数据技术有限公司 Cloud hard disk management method, device, server and medium
CN112463248A (en) * 2020-11-24 2021-03-09 苏州浪潮智能科技有限公司 Method for mounting and dismounting cloud hard disk based on OpenStack cloud platform
CN114253463A (en) * 2020-09-25 2022-03-29 华为云计算技术有限公司 Cloud disk management method and device of cloud host, computer equipment and storage medium

Citations (7)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN102419803A (en) * 2011-11-01 2012-04-18 成都市华为赛门铁克科技有限公司 Method, system and device for searching and killing computer virus
US20120137065A1 (en) * 2010-11-30 2012-05-31 Lsi Corporation Virtual Port Mapped RAID Volumes
CN103714089A (en) * 2012-09-29 2014-04-09 上海盛大网络发展有限公司 Method and system of rolling back cloud database
CN103780417A (en) * 2012-10-23 2014-05-07 上海盛大网络发展有限公司 Database failure transfer method based on cloud hard disk and device thereof
CN104125286A (en) * 2014-08-03 2014-10-29 浙江网新恒天软件有限公司 Smart cloud management system based on cloud computing for enterprise infrastructure
CN104142943A (en) * 2013-05-07 2014-11-12 上海盛大网络发展有限公司 Database expansion method and database
CN104731915A (en) * 2015-03-24 2015-06-24 上海爱数软件有限公司 Magnetic disk device mapping method in distributed memory system

Patent Citations (7)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US20120137065A1 (en) * 2010-11-30 2012-05-31 Lsi Corporation Virtual Port Mapped RAID Volumes
CN102419803A (en) * 2011-11-01 2012-04-18 成都市华为赛门铁克科技有限公司 Method, system and device for searching and killing computer virus
CN103714089A (en) * 2012-09-29 2014-04-09 上海盛大网络发展有限公司 Method and system of rolling back cloud database
CN103780417A (en) * 2012-10-23 2014-05-07 上海盛大网络发展有限公司 Database failure transfer method based on cloud hard disk and device thereof
CN104142943A (en) * 2013-05-07 2014-11-12 上海盛大网络发展有限公司 Database expansion method and database
CN104125286A (en) * 2014-08-03 2014-10-29 浙江网新恒天软件有限公司 Smart cloud management system based on cloud computing for enterprise infrastructure
CN104731915A (en) * 2015-03-24 2015-06-24 上海爱数软件有限公司 Magnetic disk device mapping method in distributed memory system

Non-Patent Citations (1)

* Cited by examiner, † Cited by third party
Title
郑印 等: "一种基于OpenStack的云存储空间动态调整方法", 《计算机技术与发展》 *

Cited By (17)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN107368261A (en) * 2017-07-20 2017-11-21 郑州云海信息技术有限公司 A kind of hard disk management method and system
CN107391044A (en) * 2017-07-28 2017-11-24 郑州云海信息技术有限公司 A kind of creation method and creating device of cloud hard disk
CN107786391A (en) * 2017-11-03 2018-03-09 郑州云海信息技术有限公司 A kind of method for monitoring network to OpenStack based on Grafana
CN109802976A (en) * 2017-11-16 2019-05-24 航天信息股份有限公司 Cloud hard disk dynamic dispatching method, device and the electronic system of Open Stack cloud platform
CN107832195A (en) * 2017-11-23 2018-03-23 中国银行股份有限公司 Hosted environment management method, apparatus and system
CN107832195B (en) * 2017-11-23 2021-03-23 中国银行股份有限公司 Host environment management method, device and system
CN109067827A (en) * 2018-06-22 2018-12-21 杭州才云科技有限公司 Based on Kubernetes and OpenStack container cloud platform multi-tenant construction method, medium, equipment
CN109379412A (en) * 2018-09-27 2019-02-22 郑州云海信息技术有限公司 A kind of method and apparatus for deleting cloud host
CN109495555A (en) * 2018-11-01 2019-03-19 郑州云海信息技术有限公司 A kind of method and apparatus based on cloud platform creation cloud host
CN109388350A (en) * 2018-11-01 2019-02-26 郑州云海信息技术有限公司 A kind of cloud hard disk method for cleaning and device based on cloud platform
CN109445711A (en) * 2018-11-07 2019-03-08 郑州云海信息技术有限公司 A kind of method and device for business processing based on cloud platform
CN110058813A (en) * 2019-03-15 2019-07-26 启迪云计算有限公司 It is a kind of that management method is locally stored based on the storage of cloud platform block
CN110795029A (en) * 2019-10-08 2020-02-14 济南浪潮数据技术有限公司 Cloud hard disk management method, device, server and medium
CN110795029B (en) * 2019-10-08 2022-06-17 济南浪潮数据技术有限公司 Cloud hard disk management method, device, server and medium
CN114253463A (en) * 2020-09-25 2022-03-29 华为云计算技术有限公司 Cloud disk management method and device of cloud host, computer equipment and storage medium
CN112463248A (en) * 2020-11-24 2021-03-09 苏州浪潮智能科技有限公司 Method for mounting and dismounting cloud hard disk based on OpenStack cloud platform
CN112463248B (en) * 2020-11-24 2022-07-29 苏州浪潮智能科技有限公司 Method for mounting and dismounting cloud hard disk based on OpenStack cloud platform

Similar Documents

Publication Publication Date Title
CN106886369A (en) A kind of cloud hard disk management method and system based on OpenStack cloud platforms
US9292217B2 (en) Logical volume space sharing
US8682867B2 (en) Deleted data recovery in data storage systems
CN104461390B (en) Write data into the method and device of imbricate magnetic recording SMR hard disks
US10210191B2 (en) Accelerated access to objects in an object store implemented utilizing a file storage system
US8555048B2 (en) Computer system for booting a system image by associating incomplete identifiers to complete identifiers via querying storage locations according to priority level where the querying is self adjusting
US20120246456A1 (en) Memory tagging and preservation during a hot upgrade
US8332570B1 (en) Methods and systems for defragmenting virtual machine prefetch data on physical storage
US8627274B2 (en) Software tool and method for generating a virtual appliance
CN103533096B (en) A kind of network card interface binding method and device
CN108427728A (en) Management method, equipment and the computer-readable medium of metadata
US11836067B2 (en) Hyper-converged infrastructure (HCI) log system
US20180284999A1 (en) Data Migration with Application-Native Export and Import Capabilities
US20120317357A1 (en) System And Method For Identifying Location Of A Disk Drive In A SAS Storage System
US20190171370A1 (en) Tiering data compression within a storage system
CN110134646B (en) Knowledge platform service data storage and integration method and system
US20190187904A1 (en) Efficient export scheduling using index and schema to determine data distribution
US8448134B1 (en) Systems and methods for reliably identifying controls invoked during quality-assurance reviews of user interfaces
CN108304142A (en) A kind of data managing method and device
US11816534B2 (en) Hotswapping qubits for resource-limited quantum computing devices
US9652479B2 (en) Recovering from a pending uncompleted reorganization of a data set
JP2023518136A (en) FILE PROCESSING METHOD, APPARATUS, ELECTRONIC DEVICE, STORAGE MEDIUM, AND PROGRAM
US9020896B1 (en) Systems and methods for simplifying data restoration using resource types
CN109324867A (en) A kind of virtual machine temporary storage method, restoration methods and device
US9053100B1 (en) Systems and methods for compressing database objects

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
RJ01 Rejection of invention patent application after publication

Application publication date: 20170623

RJ01 Rejection of invention patent application after publication