CN103713952B - Virtual disk distributed-memory method based on UFS (Universal Flash Storage) - Google Patents

Virtual disk distributed-memory method based on UFS (Universal Flash Storage) Download PDF

Info

Publication number
CN103713952B
CN103713952B CN201310693762.XA CN201310693762A CN103713952B CN 103713952 B CN103713952 B CN 103713952B CN 201310693762 A CN201310693762 A CN 201310693762A CN 103713952 B CN103713952 B CN 103713952B
Authority
CN
China
Prior art keywords
ufs
virtual machine
xenserver
platform
virtual
Prior art date
Legal status (The legal status is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the status listed.)
Active
Application number
CN201310693762.XA
Other languages
Chinese (zh)
Other versions
CN103713952A (en
Inventor
许元坤
雷志刚
Current Assignee (The listed assignees may be inaccurate. Google has not performed a legal analysis and makes no representation or warranty as to the accuracy of the list.)
Innovation Technology Co., Ltd.
Shenzhen Innovation Technology Co., Ltd.
Original Assignee
Innovation And Technology Storage Technology Co Ltd
UIT STORAGE TECHNOLOGY (SHENZHEN) 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 Innovation And Technology Storage Technology Co Ltd, UIT STORAGE TECHNOLOGY (SHENZHEN) Co Ltd filed Critical Innovation And Technology Storage Technology Co Ltd
Priority to CN201310693762.XA priority Critical patent/CN103713952B/en
Publication of CN103713952A publication Critical patent/CN103713952A/en
Application granted granted Critical
Publication of CN103713952B publication Critical patent/CN103713952B/en
Active legal-status Critical Current
Anticipated expiration legal-status Critical

Links

Landscapes

  • Information Retrieval, Db Structures And Fs Structures Therefor (AREA)

Abstract

The invention discloses a virtual disk distributed-memory method based on UFS (Universal Flash Storage). The method comprises the steps of respectively establishing a virtual disk memory pool based on the UFS and an ISO (International Standardization Organization) file memory file based on the UFS in an XenServer platform; when a virtual machine is needed to be established, applying the space with the predetermined size from the virtual disk memory pool and acquiring the installation system of the virtual machine from the ISO file memory pool through the XenServer platform; and finishing the establishing of the virtual machine according to the applied disk space and the acquired installation system. According to the method, the characteristics of the XenServer platform and the UFS can be fused by the scheme, so that the memory capacity can be improved.

Description

A kind of virtual disk distributed storage method based on UFS
Technical field
The present invention relates to memory technology, particularly to a kind of virtual disk distributed storage method based on UFS.
Background technology
Cloud storage is in cloud computing(Cloud Computer)Conceptive extension and the new ideas that developed, be Refer to by functions such as cluster application, network technology or distributed file systems, by various types of storage in a large number in network Equipment gathers collaborative work by application software, jointly externally provides of data storage and Operational Visit function to be System.
Compared with traditional storage device, cloud storage is not only a hardware, but network equipment, storage device, The complication system of some such as server, application software, public visit interface, access network and client-side program compositions.
Uit distributed file system(UFS, Uit Distributed File System)It is now widely used one Kind of distributed file system, have that high reliability, scalability be strong, high availability the features such as.
XenServer platform is a kind of server virtualization management platform recently developed, based on powerful XenHypervisor program is realized, as enterprise-level virtual platform, the features such as have quick, safe efficient.
At present, cloud storage assumes virtualized development trend, in view of the These characteristics of XenServer platform and UFS, if Both can be combined, that is, by means of XenServer platform, realize the virtualization towards cloud storage service based on UFS Distributed storage, it will there is very important Practical significance, but in prior art, also there is no corresponding settling mode.
Content of the invention
In view of this, the invention provides a kind of virtual disk distributed storage method based on UFS, can merge XenServer platform and the feature of UFS, thus improve storage performance.
In order to achieve the above object, the technical scheme is that and be achieved in that:
A kind of virtual disk distributed storage method based on UFS, including:
It is respectively created the virtual disk thesaurus based on UFS and deposited based on the ISO file of UFS in XenServer platform Bank;
When needing to create a virtual machine, by described XenServer platform, Shen from described virtual disk thesaurus Please one piece of predefined size disk space, and obtain the installation system of this virtual machine from described ISO file repository;According to institute The disk space of application and the installation system getting, complete the establishment of this virtual machine.
It can be seen that, using scheme of the present invention, the virtual disk based on UFS can be realized by means of XenServer platform Distributed storage such that it is able to merge XenServer platform and UFS feature so that the storage of virtual machine have high reliability, Scalability is strong, high availability, quick, safe the features such as, and then improve storage performance.
Brief description
Fig. 1 is the flow chart based on the virtual disk distributed storage method embodiment of UFS for the present invention.
Fig. 2 is the storage organization schematic diagram of existing XenServer platform.
Specific embodiment
In order that technical scheme is clearer, clear, develop simultaneously embodiment referring to the drawings, to institute of the present invention The scheme of stating is described in further detail.
Fig. 1 is the flow chart based on the virtual disk distributed storage method embodiment of UFS for the present invention.As shown in figure 1, bag Include following steps 11~12.
Step 11:It is respectively created the virtual disk thesaurus based on UFS and the ISO based on UFS in XenServer platform File repository.
The size of virtual disk thesaurus and ISO file repository all can be decided according to the actual requirements.
Entitled thesaurus defined in XenServer platform(SR)Container describing storage virtual disk image Particular memory target.
Fig. 2 is the storage organization schematic diagram of existing XenServer platform.As shown in Fig. 2 physics block device therein (PBD)Interface between representative server and the thesaurus being connected, server refers to XenServer main frame;Virtual disk image (VDI)It is to be shown to virtual machine(VM)Storage abstract, be the elementary cell of the virtualization storage in XenServer platform;Empty Intend block device(VBD)It is connector object, for being mapped between virtual disk image and virtual machine.
The virtual disk distributed storage based on UFS proposing in heretofore described scheme it is simply that allow thesaurus in generation Table UFS, if user creates the thesaurus based on UFS, then he is exactly the operation to UFS to any operation of thesaurus.
In this step, the virtual disk thesaurus based on UFS and the ISO file repository based on UFS can be respectively created, it So referred to as ISO file repository, it is because that it is served only for storing ISO file, can according to actual needs, to the storage of ISO file Add required ISO file in storehouse.
Step 12:When needing to create a virtual machine, by XenServer platform, Shen from virtual disk thesaurus Please one piece of predefined size disk space, and obtain the installation system of this virtual machine from ISO file repository;According to being applied for Disk space and the installation system getting, complete the establishment of this virtual machine.
When user needs to create a virtual machine, XenServer platform can be passed through, apply for from virtual disk thesaurus One piece of disk space corresponding with virtual machine size to be created, and pass through XenServer platform, from the storage of ISO file The installation system of this virtual machine is obtained in storehouse;Afterwards, you can according to apllied disk space and the installation system that gets, Complete the establishment of this virtual machine, how to be created as prior art.
May include multiple virtual disks, the big I of each virtual disk is decided according to the actual requirements in each virtual machine, And can set during the establishment of virtual machine.
One virtual disk is exactly a file in UFS.Illustrate:Assume that a virtual machine is windows behaviour Make system, then its c disk and d disk are a virtual disk respectively, be exactly the file c and file mapping therewith in UFS Folder d.
Multiple virtual machines can be created in the manner described above according to actual needs.
Subsequently, for each virtual machine being created, other process can also be carried out further, such as:Increase disk space, fast According to migration etc., be described below respectively.
1)Increase disk space
For each virtual machine, if the user while in practical application, finding that the disk space of this virtual machine is not enough, need Increase the disk space of this virtual machine, then required increase can be applied for from virtual disk thesaurus by XenServer platform Disk space.
Such as, the original disk space of a virtual machine is 10G, now wishes to be expanded to 15G, then then can pass through The disk space of 5G applied for again by XenServer platform, and after application success, the disk space of this virtual machine can be changed into 15G.
2)Snapshot
For each virtual machine, user can pass through XenServer platform, create the snapshot of this virtual machine.
The snapshot of virtual machine, that is, refer to the record in certain time point for the virtual machine, can play the effects such as virtual machine backup.
Illustrate:Assume to be directed to a certain virtual machine, need to create snapshot, then then can pass through XenServer platform Virtual machine snapshot function generates the snapshot document of this virtual machine, and is stored in UFS, thus supporting the backup of this virtual machine and going back Former.
3)Migration
For each virtual machine, user can pass through XenServer platform, carry out the migration of this virtual machine.
The migration of virtual machine refers to virtual machine and can move on different physical environment virtual platforms, can play having of resource The effects such as effect management, reliability management, XenServer platform achieves the shift function of virtual machine.
Understood based on above-mentioned introduction, for realizing scheme of the present invention, need existing XenServer platform is carried out Transformation, such as adds the thesaurus based on UFS, and adds required UFS operate interface and UFS association in XenServer platform View realizes interface etc., and correspondingly, XenServer platform, by calling described interface, completes required operation, i.e. above-mentioned various behaviour Make.
Described UFS operate interface may include:
1)handles(type)、load(sr_uuid)、check_server()、create(Sr_uuid, size)、 Delete(sr_uuid)、attach(sr_uuid)、detach(sr_uuid)、probe()、vdi(Uuid, loadLocked)、 validate_remotepath()、scan(uuid);
2)attach(Sr_uuid, vdi_uuid)、enerata_config(Sr_uuid, vdi_uuid)、attach_ from_config(Sr_uuid, vdi_uuid);
Wherein, 1)Mainly for thesaurus, 2)Mainly for virtual disk, a VDI can be regarded as a virtual magnetic Disk;
Described UFS protocol realization interface may include:
open(vdi_uuid)、create(vdi_uuid)、read(vdi_uuid)、write(vdi_uuid);
The implication of above-mentioned each interface is known in the art.
For a user, it only needs to carry out operating on XenServer platform, need not be concerned about how backstage is entered Row is processed.
In a word, using scheme of the present invention, the virtual disk based on UFS can be realized by means of XenServer platform Distributed storage such that it is able to merge XenServer platform and UFS feature so that the storage of virtual machine have high reliability, Scalability is strong, high availability, quick, safe the features such as, and then improve storage performance.
In sum, these are only presently preferred embodiments of the present invention, be not intended to limit protection scope of the present invention. All any modification, equivalent substitution and improvement within the spirit and principles in the present invention, made etc., should be included in the present invention's Within protection domain.

Claims (5)

1. a kind of virtual disk distributed storage method based on UFS is it is characterised in that include:
It is respectively created the virtual disk thesaurus based on UFS and the ISO file repository based on UFS in XenServer platform;
When needing to create a virtual machine, by described XenServer platform, apply for one from described virtual disk thesaurus The disk space of block predefined size, and obtain the installation system of this virtual machine from described ISO file repository;According to being applied for Disk space and the installation system getting, complete the establishment of this virtual machine.
2. method according to claim 1 it is characterised in that
After the described establishment completing this virtual machine, further include:
When the disk space needing to increase this virtual machine, by described XenServer platform from described virtual disk thesaurus The disk space increasing needed for middle application.
3. method according to claim 1 it is characterised in that
After the described establishment completing this virtual machine, further include:
By described XenServer platform, create the snapshot of this virtual machine.
4. method according to claim 1 it is characterised in that
After the described establishment completing this virtual machine, further include:
By described XenServer platform, carry out the migration of this virtual machine.
5. the method according to any one of Claims 1 to 4 it is characterised in that
The method further includes:Add required UFS operate interface and UFS agreement is real in described XenServer platform Existing interface;
Described XenServer platform, by calling described interface, completes required operation.
CN201310693762.XA 2013-12-17 2013-12-17 Virtual disk distributed-memory method based on UFS (Universal Flash Storage) Active CN103713952B (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN201310693762.XA CN103713952B (en) 2013-12-17 2013-12-17 Virtual disk distributed-memory method based on UFS (Universal Flash Storage)

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN201310693762.XA CN103713952B (en) 2013-12-17 2013-12-17 Virtual disk distributed-memory method based on UFS (Universal Flash Storage)

Publications (2)

Publication Number Publication Date
CN103713952A CN103713952A (en) 2014-04-09
CN103713952B true CN103713952B (en) 2017-02-15

Family

ID=50406954

Family Applications (1)

Application Number Title Priority Date Filing Date
CN201310693762.XA Active CN103713952B (en) 2013-12-17 2013-12-17 Virtual disk distributed-memory method based on UFS (Universal Flash Storage)

Country Status (1)

Country Link
CN (1) CN103713952B (en)

Families Citing this family (4)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN105242990A (en) * 2015-10-28 2016-01-13 浪潮(北京)电子信息产业有限公司 Cloud platform based data backup method and apparatus
CN106446275A (en) * 2016-10-21 2017-02-22 国云科技股份有限公司 Method for achieving container supporting file system expansion
CN108733383B (en) * 2018-03-30 2022-04-08 广东睿江云计算股份有限公司 Method and system for loading optical disk ISO file into XenServer virtual machine
CN109814946B (en) * 2018-12-29 2022-03-25 深圳创新科技术有限公司 Method and device for realizing distributed storage in XenServer

Citations (4)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN101419535A (en) * 2008-11-19 2009-04-29 北京航空航天大学 Distributed virtual magnetic disc system of virtual machine
CN101859317A (en) * 2010-05-10 2010-10-13 浪潮电子信息产业股份有限公司 Method for establishing database cluster by utilizing virtualization
CN102880515A (en) * 2012-09-07 2013-01-16 浪潮电子信息产业股份有限公司 Method for deploying virtual machine rapidly in smart cloud OS (operating system)
CN103268252A (en) * 2013-05-12 2013-08-28 南京载玄信息科技有限公司 Virtualization platform system based on distributed storage and achieving method thereof

Family Cites Families (2)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US9942271B2 (en) * 2005-12-29 2018-04-10 Nextlabs, Inc. Information management system with two or more interactive enforcement points
US20090013029A1 (en) * 2007-07-03 2009-01-08 Childress Rhonda L Device, system and method of operating a plurality of virtual logical sites

Patent Citations (4)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN101419535A (en) * 2008-11-19 2009-04-29 北京航空航天大学 Distributed virtual magnetic disc system of virtual machine
CN101859317A (en) * 2010-05-10 2010-10-13 浪潮电子信息产业股份有限公司 Method for establishing database cluster by utilizing virtualization
CN102880515A (en) * 2012-09-07 2013-01-16 浪潮电子信息产业股份有限公司 Method for deploying virtual machine rapidly in smart cloud OS (operating system)
CN103268252A (en) * 2013-05-12 2013-08-28 南京载玄信息科技有限公司 Virtualization platform system based on distributed storage and achieving method thereof

Also Published As

Publication number Publication date
CN103713952A (en) 2014-04-09

Similar Documents

Publication Publication Date Title
US10545781B2 (en) Dynamically deployed virtual machine
US11023286B2 (en) Container based service management
US8627310B2 (en) Capturing multi-disk virtual machine images automatically
CN113287286B (en) Input/output processing in distributed storage nodes over RDMA
US8892945B2 (en) Efficient application management in a cloud with failures
US11188499B2 (en) Storing and retrieving restricted datasets to and from a cloud network with non-restricted datasets
US11102278B2 (en) Method for managing a software-defined data center implementing redundant cloud management stacks with duplicate API calls processed in parallel
US9886398B2 (en) Implicit sharing in storage management
US20160232031A1 (en) Seamless extension of local computing power
US20130227232A1 (en) Partition aware quality of service feature
US10168932B2 (en) Collision detection at multi-node storage sites
CN103713952B (en) Virtual disk distributed-memory method based on UFS (Universal Flash Storage)
US20200379653A1 (en) Reclaiming free space in a storage system
CN105095103A (en) Storage device management method and device used for cloud environment
WO2017105965A2 (en) Automatic system response to external field-replaceable unit (fru) process
CN108228099A (en) A kind of method and device of data storage
US9924002B1 (en) Managing stateless processes
US20190243807A1 (en) Replication of data in a distributed file system using an arbiter
US20200174670A1 (en) Reducing write collisions in data copy
US9229659B2 (en) Identifying and accessing reference data in an in-memory data grid
Alreshidi Comparative review of well-known cloud service providers (CSPS)
US20150135001A1 (en) Persistent messaging mechanism
US11163636B2 (en) Chronologically ordered log-structured key-value store from failures during garbage collection
US11947501B2 (en) Two-hierarchy file system
US11989205B2 (en) Data replication in an active-active databases

Legal Events

Date Code Title Description
C06 Publication
PB01 Publication
C10 Entry into substantive examination
SE01 Entry into force of request for substantive examination
C14 Grant of patent or utility model
GR01 Patent grant
CP01 Change in the name or title of a patent holder
CP01 Change in the name or title of a patent holder

Address after: 518057 Shenzhen Software Park, No. 9, 501, 502, Science and Technology Middle Road, Nanshan District, Shenzhen City, Guangdong Province

Co-patentee after: Innovation Technology Co., Ltd.

Patentee after: Shenzhen Innovation Technology Co., Ltd.

Address before: 518057 Shenzhen Software Park, No. 9, 501, 502, Science and Technology Middle Road, Nanshan District, Shenzhen City, Guangdong Province

Co-patentee before: Innovation and Technology Storage Technology Co., Ltd.

Patentee before: UIT Storage Technology (Shenzhen) Co., Ltd.