CN105549906B - A kind of dispositions method of external virtual memory, device and system - Google Patents

A kind of dispositions method of external virtual memory, device and system Download PDF

Info

Publication number
CN105549906B
CN105549906B CN201510907116.8A CN201510907116A CN105549906B CN 105549906 B CN105549906 B CN 105549906B CN 201510907116 A CN201510907116 A CN 201510907116A CN 105549906 B CN105549906 B CN 105549906B
Authority
CN
China
Prior art keywords
storage
data
subtemplate
configuration
virtual machine
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
CN201510907116.8A
Other languages
Chinese (zh)
Other versions
CN105549906A (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.)
Huawei Technologies Co Ltd
Original Assignee
Huawei Technologies 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 Huawei Technologies Co Ltd filed Critical Huawei Technologies Co Ltd
Priority to CN201510907116.8A priority Critical patent/CN105549906B/en
Publication of CN105549906A publication Critical patent/CN105549906A/en
Application granted granted Critical
Publication of CN105549906B publication Critical patent/CN105549906B/en
Active legal-status Critical Current
Anticipated expiration legal-status Critical

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/0628Interfaces specially adapted for storage systems making use of a particular technique
    • G06F3/0662Virtualisation aspects
    • G06F3/0665Virtualisation aspects at area level, e.g. provisioning of virtual or logical volumes
    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06FELECTRIC DIGITAL DATA PROCESSING
    • G06F9/00Arrangements for program control, e.g. control units
    • G06F9/06Arrangements for program control, e.g. control units using stored programs, i.e. using an internal store of processing equipment to receive or retain programs
    • G06F9/44Arrangements for executing specific programs
    • G06F9/455Emulation; Interpretation; Software simulation, e.g. virtualisation or emulation of application or operating system execution engines
    • G06F9/45533Hypervisors; Virtual machine monitors

Landscapes

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

Abstract

The embodiment of the invention provides a kind of external virtual memory dispositions methods, device and system, method includes: to obtain configuration template and configuration data, the configuration template includes the first submodule, second submodule and third subtemplate, and the configuration data includes the first data, the second data and third data.It is that external virtual memory establishes virtual machine according to first subtemplate and first data.It is the external virtual memory creation storage application on the virtual machine according to second subtemplate and second data.According to the third subtemplate and the third data, storage class is configured for the external virtual memory, the storage class is externally issued.By the virtual machine of foundation, storage application and storage class, storage class is sent to storage service unit, so as to form complete storage service function.It is thus achieved that the automation during cloud storage solves the problems, such as that conventional store deployment, service configuration, service are provided.

Description

A kind of dispositions method of external virtual memory, device and system
Technical field
The present invention relates to the deployment field of external storage more particularly to a kind of dispositions method, the devices of external virtual memory And system.
Background technique
In private clound or conventional data centers, to ECB (External Controller-Based Disk Storage, External storage) be deployed to and provide period for needing to grow very much, including apply to purchase, dispose, debugging, storing the processes such as dispensing, Ke Huyao Time several months is generally required using to final storage service.
It the following is the conventional architecture of ECB:
1) traditional ECB, storage OS (Open Stack, the cloud operating system of open source) is deployed on proprietary hardware, right The extension of storage capacity usually requires the new proprietary hardware of buying, and the buying of proprietary hardware, deployment and configuration are all very professional Change, and generally requires the longer period.
2) storage services such as block, file on basis that ECB is provided often are cured on storage OS, and user can not be flexible Customization, such as user's original system have been purchased SAN (Storage Area Network, storage area network) operation system and have been deposited Storage, rear new filing system is online, needs temporarily to purchase NAS Network storage technology at this time again and uses as filing storage, storage Service ability can not be in existing system flexible expansion.
3) storage all can not be directly usually provided after tradition ECB deployment, needs the configuration by SRM software, this process The storage administrator for being also required to profession could complete.
Under publicly-owned cloud environment, virtualization storage ability is provided, user can buy third-party storage service, and quickly Deployment, but there is still a need for do more complex storage configuration and manually resource dispensing operation, the time of total man-hour requirement a few hours, example As AWS (Amazon Web Services, Amazon service) Soft NAS (Network Attached Storage, Network attached storage) logical architecture:
1) Soft NAS is constructed on EC2 (Elastic Compute Cloud, Amazon elastic calculation cloud) example, Directly pass through AMI (Amazon Machine Image, Amazon machine images) the mirror image deployment that Soft NAS is provided when deployment In virtual machine, deployment is supported through template or manually dispose example and configuration virtual resource.
2) Soft NAS stores the block and file of upper offer standard, but needs to use by manual configuration.
3) it in SRM Integrated Simulation and Soft NAS software, needs through SRM software manual configuration.
For under ECB scene, it is all considerably complicated and time-consuming that storage, which provides, is deployed to configuration, although AWS is upper to be realized By Orchestration (establishment) template configuration, but still can not solve specifically to store the configuration after application is disposed and service side Method problem.There is still a need for manually in SRM (Storage Resources for configuration and granting for the service of storage Management, storage resource management) in configuration.
Summary of the invention
This application provides a kind of dispositions methods of external virtual memory, device and system, for according to the demand of user Automatically, storage service function is quickly established, and service is externally provided.Realize that automation solves conventional store deployment, service is matched It sets, service the problem of granting, whole flow process is made to shorten to minute grade.
On the one hand, the embodiment of the invention provides a kind of dispositions methods of external virtual memory, and this method is for servicing Virtual machine is established on device (such as: X86 server), application and configuration storage class are stored by virtual machine creating, class will be stored Type is externally issued, and storage service function is formed.By using the method, after obtaining configuration template and configuration data, according to The configuration template and configuration data are disposed automatically, to reduce setup time, improve the granting energy of storage service Power.
In a possible design, configuration template includes the first subtemplate, the second subtemplate and third subtemplate.Configuration Data include the first data, the second data and third data.First subtemplate and the first data are used to build for external virtual memory Vertical virtual machine (including the resources such as storage size, storing data processing speed are configured), to establish virtual memory Application environment.Second subtemplate and the second data state external virtual memory creation storage application on a virtual machine, make Storage application after the virtualization of foundation can be run under virtual machine environment.Third subtemplate and third data are for being described External virtual memory configures storage class.According to the storage class of foundation, storage class is externally issued.
In a possible design, before establishing virtual machine by the first subtemplate and the first data, it is also necessary to from Mirror image is read in one subtemplate, virtual machine is established by mirror image.After establishing virtual machine, it is also necessary to by the first subtemplate and First data are the virtual machine configuration resource (such as network function, network and security function, security) of creation.
It is on a virtual machine external virtual memory by the second subtemplate and the second data in a possible design Establish storage application.After the storage application for establishing external virtual memory, it is also necessary to establish the advanced application based on storage application (such as cluster, cluster and load balancing, LB).Optimize the use of storage program area more.
In a possible design, pass through third subtemplate and third data configuration storage class.Such as block, object, The storage classes such as file, big data.On a virtual machine, storage class can only configure one or configure multiple.
In a possible design, the storage class of foundation is published in service logger, service logger is passed through It is registered in service catalogue, forms storage service function.Storage service function is externally issued by service catalogue.
On the other hand, the embodiment of the invention provides a kind of computer storage mediums, for being stored as above-mentioned processor institute Computer software instructions, it includes for executing program designed by above-mentioned aspect.
Another aspect, the embodiment of the present invention provide a kind of deployment device of external virtual memory, including acquiring unit, processing Unit and release unit.Acquiring unit is for obtaining configuration template and configuration data.Processing unit is used to obtain acquiring unit Configuration template and configuration data handled, thus establish virtual machine, storage application and storage class.Release unit is used for will Storage class is externally issued.To reduce setup time, the ability of storage service granting is improved.
In a possible design, the configuration template includes the first submodule, second submodule and third subtemplate, The configuration data includes the first data, the second data and third data.First subtemplate and the first data are virtually deposited to be external Virtual machine is established in storage, to establish the application environment of virtual memory.Second subtemplate and the second data for being on a virtual machine External virtual memory establishes storage application, and the storage application established is enable to run under virtual machine environment.Third subtemplate and Third data are that external virtual memory configures storage class.By the virtual machine of foundation, based on virtual machine storage application and For the storage class of external virtual memory configuration, the storage class of foundation is externally issued.
In a possible design, processing unit is used to according to the first subtemplate and the first data be external virtual memory Before establishing virtual machine, processing unit is also used to read mirror image from the first subtemplate, establishes virtual machine by mirror image.It is establishing After virtual machine, processing unit be also used to for virtual machine creating resource (such as network function, network and security function, security)。
In a possible design, it is external virtual that processing unit, which is used to be established according to the second subtemplate on a virtual machine, Storage creation storage application.Establish storage application after, be also used to establish based on storage application advanced application (such as cluster, Cluster and load balancing, LB).Optimize the use of storage program area more.
In a possible design, processing unit is used for according to third subtemplate and third data configuration storage class. Such as block, object, file, big data etc..On a virtual machine, storage class can only establish one also can establish it is more It is a.
In a possible design, release unit is used to for the storage class of foundation being published in service logger, from And form storage service function.The storage class of foundation is registered in service catalogue by service logger, by servicing mesh Storage service function is externally provided in record.
In another aspect, the embodiment of the present invention provides a kind of external information storage system, which includes storage medium and portion Affix one's name to device two parts.Wherein, storage medium needs logical for externally providing storage capacity, storage capacity provided by storage medium Deployment device is crossed to be disposed.The deployment for disposing device is same as described above.
The dispositions method of the external virtual memory of the embodiment of the present invention, device and system.According to configuration resource and configuration number According to, by deployment resource and configuration data be external virtual memory establish virtual machine, be on a virtual machine that external virtual memory is built Vertical storage applies and configures storage class for external virtual memory.Storage class is issued in service logger again, is passed through Storage class is registered in service catalogue by service logger, to form storage service function, storage service function is passed through Service catalogue is externally issued.It is achieved in external virtual memory automation and solves the problems, such as that deployment, service configuration, service are provided.
Detailed description of the invention
Fig. 1 is a kind of applied environment figure for the server for providing external virtual memory provided in an embodiment of the present invention;
Fig. 2 is the structural schematic diagram of deployment device provided in an embodiment of the present invention;
Fig. 3 is the complete deployment architecture signal of dispositions method provided in an embodiment of the present invention and used deployment device Figure;
Fig. 4 is the method signaling diagram of the deployment of provided in an embodiment of the present invention kind of external virtual memory;
Fig. 5 is the first subtemplate and the sub- signaling diagram of the first data configuration that invention is implemented;
Fig. 6 is the second subtemplate and the sub- signaling diagram of the second data configuration of the embodiment of the present invention;
Fig. 7 is third subtemplate provided in an embodiment of the present invention and the sub- signaling diagram of third data configuration;
Fig. 8 is a kind of deployment apparatus structure schematic diagram of external virtual memory provided in an embodiment of the present invention;
Fig. 9 is a kind of deployment apparatus structure schematic diagram of external virtual memory provided in an embodiment of the present invention;
Figure 10 is a kind of deployment apparatus structure schematic diagram for external virtual memory that present invention implementation provides;
Figure 11 is a kind of resources balance equipment schematic diagram provided in an embodiment of the present invention.
Specific embodiment
Below by drawings and examples, the technical solution of the embodiment of the present invention is described in further detail.
The present invention provides a kind of dispositions method of external virtual memory, device and system, for server (such as: X86 Server) on establish storage service, form storage service function.The storage service function of foundation is externally issued, user passes through The storage service function of access publication carries out the storage of data.
One skilled in the art will appreciate that establishing on X86 server for being previously mentioned in an embodiment of the present invention is virtually deposited Storage service function only belongs to illustrate, and cannot act as limitation of the invention.The portion of external virtual memory proposed by the invention Arranging method, device and system can be used for the server of X86-based, can be used for the server of other any frameworks.
For the ease of the understanding to the embodiment of the present invention, specific embodiments of the present invention are done into one below in conjunction with attached drawing The explanation of step.
Fig. 1 is a kind of applied environment figure of the server of external virtual memory provided in an embodiment of the present invention.Such as Fig. 1 institute Show, the environment includes the host and X86 server for proposing storage service demand.It further include deployment dress in X86 server It sets, storage device and the bus being used for transmission.
Fig. 2 is the structural schematic diagram of deployment device provided in an embodiment of the present invention.Deployment device includes storage as shown in Figure 2 Service unit, configuration unit and storage release unit.Storage service unit receives the configuration data that user sends, configuration data packet Include the first data, the second data and third data.It include the data for the one or more storage classes established in configuration data.It is logical It crosses configuration data and determines the storage service function type established, storage size, storing data processing speed etc..
Further include configuration template in storage release unit, includes the first subtemplate, the second subtemplate and the in configuration template Three subtemplates.In one example, the template can be a field.By obtaining the first subtemplate and the first data, read Mirror image is taken, virtual machine is established in X86 server according to mirror image.And virtual machine is provided according to the first subtemplate and the first data Source is configured, which includes that the specification to virtual machine and the resource applied to virtual machine are configured.By obtaining the Two subtemplates and the second data establish the storage application of external virtual memory on a virtual machine, enable the storage application established It is run under virtual machine environment.And according to the second subtemplate and the second data, advanced application is established, advanced application is used for void Quasi- machine operation and access optimize.By obtaining third subtemplate and third data, for external virtual memory configuration storage class The storage classes such as type, such as block, object, file.The storage class of foundation is published to configuration unit, storage service unit is from matching Unit is set to obtain storage class and externally issue.
Configuration unit can be made of configured list (config), can also be made of database (DB).Configured list or Database is used to store the configuration data of storage service unit acquisition, makes to store release unit from database or configuration unit reading Configuration data.Configuration unit is also used for the data information of storage storage class, enables the service logger of storage service unit Directly storage class is obtained from configured list or database.
Storage service unit includes service logger and service catalogue.Service logger access configuration unit obtains storage class The data information of type, to form storage service function.The data information of storage class is sent to service mesh by service logger Record;Service catalogue establishes different classification according to the difference of the data information of storage class, and different storage classes are placed on service The different location of catalogue.Service catalogue is allowed users to storage service function in the form of the data information for sending storage class It obtains.
Configuration template include the first subtemplate (configuration resource, deploy fragment), the second subtemplate (application resource, Config fragment) and third subtemplate (storage service resource, service fragment).Configuration data includes first Data, the second data and third data.Virtual machine, and the money based on virtual machine are established by the first subtemplate and the first data Source.
The content of mirror image is read, establish mirror image function.First subtemplate and the first data are based on mirror image and create virtual machine (Virtual Machine, VM) example.Meanwhile the resource of configuration is also loaded into void by the first subtemplate and the first data On quasi- machine.
In one example, network function and safe function that the first data in configuration data and the first subtemplate include Energy.To be the virtual machine distribution resource after storage release unit establishes virtual machine.The resource of the distribution includes for net The data such as the network function distribution such as specification of 100M bandwidth, the class of safety protection of security function and virtual machine.And it is virtual It is such as 1Tb that the specification of machine, which specifically includes memory capacity, and the memory size distributed is such as 8Gb, and the CPU distributed is for example The data such as 8 cores.
The content configured is sent to Hypervisor.After Hypervisor reads virtual machine and configuration resource, according to The content of configuration resource disposes the specification of virtual machine.The resource for being applied to virtual machine is established, virtual machine was being used Journey can be attached by network, and carry out different operations according to different network hierarchy permissions.
By the second subtemplate and the second data establish on a virtual machine external virtual memory storage application and other Improve the application of storage system service efficiency.
The storage application for establishing external virtual memory on a virtual machine makes virtual machine and storage application form system and application Between relationship.During being stored by storing application, security function can carry out detecting etc. it to the data of storage It is operated, and guarantees the safety of virutal machine memory storage data.Network function makes storage application can be by network connection resource, user Virtual machine can be found by network and is stored data on virtual machine.
In one example, the second subtemplate and the second data include the cluster and load balancing of storage application.It is storing It is virtual machine and storage application configuration also according to the second data and the content of the second subtemplate after release unit establishes storage application Advanced application, such as the application resources such as cluster and load balancing.The configuration of cluster can make virtual machine and other virtual machines Or multiple virtual machines form cluster.By load balancing, pressure when each port read write data in virtual machine can be balanced.
The storage class of the storage application after virtualization is established by third subtemplate and third data.
By the storage class of third subtemplate and the external virtual memory of third data configuration, the storage class packet established It includes and establishes block (block), file (file), object (object), big data (Bigdata) and database (Nosql).Store class Type is established for storage application, store storage application can for certain data.What the embodiment of the present invention was established Storage class, which is included in, to be established single storage class in a storage application and establishes multiple storage classes.
It in one example, include being configured to the block (block) of storage application and right in third data and third subtemplate As (object) two kinds of store functions.To establish depositing for block and object to the storage application after virtualization according to third subtemplate Type is stored up, virtual machine is in storage resource, memory block (block) and object (object) two kinds of resource.
A kind of deployment of external virtual memory of the embodiment of the present invention is described with reference to the drawings below.
Fig. 3 is illustrated by dispositions method provided in an embodiment of the present invention and using the complete deployment architecture of deployment device Figure.Fig. 4 is a kind of method signaling diagram of the deployment of external virtual memory provided in an embodiment of the present invention.As shown in Figures 3 and 4, The method specifically includes:
S101 obtains configuration template and configuration data.
It further include the first submodule, second submodule and third subtemplate in configuration template.Configuration data includes the first number According to, the second data and third data.
Optionally, the configuration template of storage release unit is provided according to user configuration data and acquisition is virtually deposited to external Storage is configured.It all include the first subtemplate (deployment resource, Deploy Fragment), (application of the second subtemplate in template Resource, Config Fragment) and third subtemplate (storage resource Service Fragment).Configuration data includes first Data, the second data and third data.It is that external virtual memory creates virtual machine that first subtemplate, which combines the first data,;Institute State the storage application that the second subtemplate creates external virtual memory in conjunction with the second data on a virtual machine;The third submodule is hardened Closing third data is that external virtual memory configures storage class.By above-mentioned each subtemplate in load template, and solved Analysis, to generate corresponding function, application or type.
S201 establishes virtual machine according to the first subtemplate and the first data.
The first data and the first subtemplate are obtained, storage release unit is by reading the first subtemplate and data in template In the first data, establish virtual machine (VM) on the server for external virtual memory.According to first data to foundation Virtual machine configuration resource, to form the virtual machine (VM) of different functions.Establish the application environment of virtual memory.
Fig. 5 is the first subtemplate and the sub- signaling diagram of the first data configuration that invention is implemented.The sub- signaling of configuration as shown in Figure 5 Figure specifically includes:
511 according to the first subtemplate and the first reading data mirror image, to establish virtual machine (Virtual by mirror image Machine, VM) example.
512, according to the required specification for establishing virtual machine, the specific resource of virtual machine is configured.Pass through the first son Template and the first data are to virtual machine configuration resource, such as network (network), disk (disk), network transmission safety (security) etc..
513, the order for establishing above-mentioned virtual machine, resource is sent to Hypervisor, is taken by Hypervisor in X86 It is engaged in creating virtual machine and its resource on device.
It should be noted that can be arbitrary for the configuration of resource, the embodiment of the present invention is not limited in any way.Example Such as multiple resources (infrastructure resources) can be needed to configure according to the first data and the first subtemplate, it can also be according to first Data and the first subtemplate need to configure a resource.In a specific embodiment of the present invention, the server by using X86 server, but the practical application of the configuration method of the embodiment of the present invention is not limited to X86 server.
In the following, indicating the partial content of the first subtemplate of the embodiment of the present invention by a template:
“Deploy fragment
The parameter of parameter:# establishing resource
param1:{type,value}
param2:{type,value}
Srource1:# infrastructure resources can configure multiple resources
Type:type.name # resource type
Propert ies:prop1 # Resource Properties
The title of ref-res:res.name # reference resource
The script of user-data:script code or file# deployment configuration
Output after output:# resource deployment
Output1:res.prop/param "
Above-mentioned template is merely to illustrate the form of configuration resource.
S301 establishes storage application according to the second subtemplate and the second data.
Read the second data in the second subtemplate and configuration data in configuration template.According to the second subtemplate and second Data establish the storage application of external virtual memory on a virtual machine.The storage application established is set to transport under virtual machine environment Row.In addition to the storage application after virtualization further includes other advanced applications in second subtemplate.
Fig. 6 is the second subtemplate and the sub- signaling diagram of the second data configuration of the embodiment of the present invention.Configuration as shown in FIG. 6 Signaling diagram is specific further include:
611, according to the second subtemplate and the second data, establish storage application.
According to the second subtemplate and the second data, the storage application after virtualization is established on a virtual machine.Make the void established Storage application after quasi-ization can be run under virtual machine environment.
612, according to the second subtemplate and the second data, configure advanced application.
After creation storage application, by reading the second subtemplate and the second data, more optimize for storage application configuration Advanced application.Advanced application may include as clustered node (cluster), high-availability cluster (High Available, HA), Load balancing (load balance, LA) etc., so that virtual machine system during carrying out data access be made more to optimize.This Inventive embodiments are not limited in any way the particular content of advanced application, what the actual needs that can be used according to system was established Advanced configuration can not also establish advanced configuration.For the content of advanced configuration, the embodiment of the present invention is also not construed as limiting, high Grade configuration is not limited in several proposed in the embodiment of the present invention.
613, the storage of foundation is applied and advanced application is issued to hypervisor, is created and is applied by hypervisor Storage to virtual machine is applied and advanced application.
It should be noted that the embodiment of the present invention is not limited in any way the particular content of advanced application, it can basis The application that the actual needs that system uses is established, can not also establish application.For the content of application, the embodiment of the present invention It is not construed as limiting, advanced application is not limited in several proposed in the embodiment of the present invention.
In the following, indicating the partial content of the second subtemplate of the embodiment of the present invention by a template:
“Config Fragment
The parameter of parameter:# establishing resource
param1:{type,value}
param2:{type,value}
srource1:
Type:cluster # configures resource type
Properties:prop1 # configures Resource Properties
Dst-instance:instance.name # configures object instance
User-data:script code or file# configuration extension script
Output:# configuration output
Output1:res.prop/param "
Above-mentioned template is merely to illustrate the form of configuration resource.
Fig. 7 is third subtemplate provided in an embodiment of the present invention and the sub- signaling diagram of third data configuration.As shown in Figure 7 matches Sub- signaling diagram is set to specifically include:
711, establish storage class.
According to the third subtemplate and third data of acquisition, the storage class of external virtual memory is established.That is established deposits Storage type can be for one or multiple according to the data that user provides.Storage class includes: to establish block (block), text Part (file), object (object), big data (Bigdata) and database (Nosql).
712, storage class is issued
The storage class of foundation is published in configuration unit, obtains storage from configuration unit by storing release unit Type forms storage service and externally issues.
Storage service unit includes service logger and service catalogue.Service logger access configuration unit obtains storage class The data information of type, to form storage service function.The data information of storage class is sent to service mesh by service logger Record.Storage service function is allowed users to obtain by service catalogue in the form of the data information for sending storage class.
It should be noted that above-mentioned example template concrete scheme realize when, need include template in the above process money Source, the parameter of service, attribute and type.Parameter and attribute be not in this hair in the particular content of above-mentioned template and above-mentioned template Within bright protection scope.
In the following, indicating the partial content of the third subtemplate of the embodiment of the present invention by a template:
“Service Fragment
Parameter:#workload parameter
param1:{type,value}
param2:{type,value}
service:
The type of type:block # registration service
The parameter of service-prop:prop1 # registration service
User-data:script code or file# needs the script extended
Output:# configuration output
Output1:service.prop/param "
Above-mentioned template is merely to illustrate the form of configuration resource.
Storage release unit will allow users to obtain storage service function by service catalogue, the storage clothes that user obtains Business function may be the standby upper discovery of the display of user.Corresponding storage service function is selected to pass through, by selected Storage service function under corresponding port be connected to the position stored needed for respective objects file and stored.
Fig. 8 is that a kind of external virtual memory of the embodiment of the present invention disposes device, and the deployment device specifically includes acquisition Unit 801, processing unit 802 and release unit 803.As shown in figure 8, a kind of external virtual memory deployment device specifically can wrap It includes:
Acquiring unit 801, for obtaining configuration module and configuration data.
The configuration template includes the first submodule, second submodule and third subtemplate.The configuration data includes the One data, the second data and third data.
Processing unit 802, for creating storage class according to configuration template and configuration data.
For being that external virtual memory establishes virtual machine according to first subtemplate and first data;According to described Second subtemplate and second data are the external virtual memory creation storage application on the virtual machine;According to institute Third subtemplate and third data are stated, configures storage class for the external virtual memory.
Processing unit 802, for receiving each subtemplate and configuration data in configuration template.According to configuration template and match The instruction of the content and associated part of setting data creates corresponding content.Instruction is issued to Hypervisor by processing unit 802 In, Hypervisor is operated according to instruction.Virtual machine is established in X86 server, and distributes X86 server to virtual machine Hardware resource, so that virtual machine is able to carry out various independent operations.The resource and instruction that processing unit obtains further include establishing Storage class, and distribute in the storage unit of X86 server storage and virtual machine of the corresponding space for virtual machine Storage unit.
Release unit 803 externally issues storage class for sending the storage class of creation.
It needs the host (HOST) of storage service or is connected on the bus port of X86 server using (APP).Work as host Or when using proposing storage service demand to X86 server, pass through between host or application and the bus port of X86 server The standard agreements such as SSH/WMI/v SDK are attached, and carry out safety verification.Release unit 803 is by the number of storage service function It is believed that breath issued, the data information of storage service function is externally issued done in the above content of embodiment it is detailed Illustrate, herein no longer Ao Shu.
Overall description is made to acquiring unit 801 mentioned above, processing unit 802 and release unit 803 below.
Acquiring unit 801 needs the host of storage service or the request of application and will request and take accordingly for receiving The configuration data of band, and be sent in processing unit 802.Processing unit 802 passes through analytically dependent request configuration template And configuration data.Processing unit 802 is for establishing virtual machine according to the configuration template and configuration data of acquisition and being based on The external virtual memory of virtual machine stores application.Establish on a virtual machine external virtual memory storage application and it is various not Same storage class.Storage class is externally issued, to form storage service function, release unit 803 will be for that will store clothes The data information of business function is sent in the host or application for proposing to need storage service.
In one example, the host or application for proposing to need storage service are also stored in the storage unit 801 User information in the host for needing storage service or is applied and needs to compare user information when being accessed, and only proposes to need The host of storage service or application just can be carried out access.
Fig. 9 is a kind of deployment apparatus structure schematic diagram of external virtual memory provided in an embodiment of the present invention.As shown in Figure 9 A kind of external virtual memory deployment device, based on X86 server establish.Wherein further comprise on X86 server to clothes The Hypervisor that business device is managed, Hypervisor are used to handle the various operations to server, such as in server On establish virtual machine and resource distribution etc. carried out to virtual machine.
It further include storage release unit on the server, storage release unit is empty for establishing foundation on the server Quasi- machine and storage application and storage class based on virtual machine.Storage release unit is establishing virtual machine and is being based on virtual machine Storage apply and further include by reading first in the first subtemplate and configuration data in configuration template when storage class Data establish virtual machine.Include establishing the content of virtual machine in first subtemplate, storage release unit according to the first subtemplate and Type, the specification of first data configuration virtual machine, to form the virtual machine of different size.
In order to keep the virtual machine established more complete, also need while establishing virtual machine through the second subtemplate and Second data establish the storage application for being applied to virtual machine, so that virtual function be made to form complete virtual machine instance.Virtualization Storage application afterwards is established on the basis of virtual machine.The order needs for establishing above-mentioned virtual machine and storage application are issued to Hypervisor distributes corresponding hardware resource and software resource by Hypervisor on X86.To carry out corresponding void When intending the operation inside machine, divided hardware resource and software resource is called to be handled.
And storage class is configured on the basis of storing application, by configuring to storage application, apply storage The memory space established has block (block), file (file), object (object), big data (Bigdata) and database (Nosql) one or more of store function, and different spaces is divided to each store function.
It is registered by the way that storage class to be published in storage service unit, to form complete storage service function.Make External equipment can obtain storage service function.To which storage service function is supplied to user, user can be host (Host), using the virtual atom operation (Hypervisor) in (application, APP) or server.
Figure 10 is a kind of deployment apparatus structure schematic diagram for external virtual memory that present invention implementation provides.As shown in Figure 10 A kind of external virtual memory deployment device, including the Resources list (template), storage release unit (storage ) and storage service unit (service publisher) publisher.
Each resource (configuration template) in the Resources list includes providing for establishing the deployment of virtual machine and its resource Source (deploy fragment, the first subtemplate), for establishing storage application storage resource (config fragment, the Two subtemplates) and establish the storage service resource (service fragment, third subtemplate) of storage class.Storage publication After unit loads resource, according to acquired configuration data and resource, corresponding storage service function is established.
The content for configuring resource and the first data portion in resource by obtaining, configuring includes mirror image and virtual machine in resource Etc. contents.The content in configuration resource about mirror configuration is first read, so that the function that establishes mirror image, creates virtual machine based on mirror image (Virtual Machine, VM) example.In a specific embodiment of the present invention, using general X86 server, but the present invention The practical application of the configuration method of embodiment is not limited to X86 server.Configuration resource and the first data further include multiple virtual The resource of machine, such as virtual machine specification (flavor), network (network), disk (disk), network transmission safety (security) Deng.By the way that the resource of configuration to be loaded on virtual machine, virtual machine is made to have the function of completing.
By also needing to establish storage application after deployment resource distribution virtual machine and resource.Storage application passes through parsing application Resource and the second data are established, and other than corresponding storage is using data, application resource and the second data further include establishing Advanced application.Advanced application includes such as clustered node, high-availability cluster (High Available, HA), load balancing (load Balance, LA) etc..It should be noted that the embodiment of the present invention is not limited in any way the particular content of advanced application, it can With the advanced application that the actual needs used according to system is established, advanced application can not also be established.For in advanced application Hold, the embodiment of the present invention is also not construed as limiting, and advanced application is not limited in several proposed in the embodiment of the present invention.At this The storage application established in step and other advanced applications are needed to be issued on virtual machine and be executed.
It include establishing block (block), file (file), object establishing storage class by storage service resource (object), the storage class of big data (Bigdata) and database (Nosql).It is different to be established for different demands Storage class.The storage class of establishing of the embodiment of the present invention includes establishing single storage class and establishing multiple storage classes.
Storage release unit is also used to send the data information of established storage class to configuration unit.Configuration unit connects The data information for the storage class that harvesting storage release unit is sent.Storage class data can pass through storage service list in configuration unit Member is obtained and is issued outward.
Storage service unit further includes service logger and service catalogue.It obtains and deposits from configuration unit in service logger It stores up type and storage service function is sent to service catalogue to form storage service function.Service catalogue is to different storages Service type is classified, and different storage service functions will be placed on the different location of service catalogue.To opposite by selection The storage service function of answering, storage needed for being connected to respective objects file by corresponding port under selected storage service function Position stored.
Fig. 1 is a kind of external virtual storage system provided in an embodiment of the present invention.One kind as shown in Figure 1 is external virtually to deposit Storage system, including storage medium and deployment device.Storage medium is for storing external file, and deployment device according to outside for setting Standby storage request, establishes virtual memory space on the storage means, forms storage service function.It is previously mentioned in the present invention External equipment is user, for the storage file in external virtual memory of the invention.
Figure 11 is a kind of resources balance equipment schematic diagram provided in an embodiment of the present invention.
As shown in figure 11, the equipment includes: processor 1101, memory 1102, communication interface 1103 and bus 1104. Wherein, processor 1101, memory 1102 and communication interface 1103 pass through the communication connection between the realization of bus 1104.
Processor 1101 can use general central processing unit (Central Processing Unit, CPU), micro- place Manage device, application specific integrated circuit (Application Specific Integrated Circuit, ASIC) or one Or multiple integrated circuits, for executing relative program, to realize technical solution provided by aforementioned embodiment of the present invention method.
Memory 1102 can be read-only memory (Read Only Memory, ROM), and static storage device is dynamically deposited Store up equipment or random access memory (Random Access Memory, RAM).Memory 1102 can store an operating system And other applications.When by software or firmware to realize technical solution provided in an embodiment of the present invention, for realizing The program code for any optional technical solution that preceding method embodiment of the present invention provides is stored in memory 1102, and by Device 801 is managed to execute.Communication interface 1103 with other interchangers or control server to communicate.
Bus 1104 may include an access, and in equipment all parts, (such as processor 1101, memory 1102 and communication are connect Mouth 1103) between transmit information.
Professional should further appreciate that, described in conjunction with the examples disclosed in the embodiments of the present disclosure Unit and algorithm steps, can be realized with electronic hardware, computer software, or a combination of the two, hard in order to clearly demonstrate The interchangeability of part and software generally describes each exemplary composition and step according to function in the above description. These functions are implemented in hardware or software actually, the specific application and design constraint depending on technical solution. Professional technician can use different methods to achieve the described function each specific application, but this realization It should not be considered as beyond the scope of the present invention.
The step of method described in conjunction with the examples disclosed in this document or algorithm, can be executed with hardware, processor The combination of software module or the two is implemented.Software module can be placed in random access memory (RAM), memory, read-only memory (ROM), electrically programmable ROM, electrically erasable ROM, register, hard disk, moveable magnetic disc, CD-ROM or technical field In any other form of storage medium well known to interior.
Above-described specific embodiment has carried out further the purpose of the present invention, technical scheme and beneficial effects It is described in detail, it should be understood that being not intended to limit the present invention the foregoing is merely a specific embodiment of the invention Protection scope, all within the spirits and principles of the present invention, any modification, equivalent substitution, improvement and etc. done should all include Within protection scope of the present invention.

Claims (8)

1. a kind of external virtual memory dispositions method, which is characterized in that the described method includes:
Configuration template and configuration data are obtained, the configuration template includes the first subtemplate, the second subtemplate and third subtemplate, The configuration data includes the first data, the second data and third data;
It is that external virtual memory establishes virtual machine according to first subtemplate and first data;
It is the external virtual memory creation storage on the virtual machine according to second subtemplate and second data Using;
According to the third subtemplate and the third data, storage class is configured for the external virtual memory, is deposited described Storage type is externally issued;
It is described specifically to be wrapped according to the third subtemplate and the third data for the external virtual memory configuration storage class It includes: according to third subtemplate and third data, creating one or more storage classes.
2. according to first subtemplate and the first data being outer the method according to claim 1, wherein described It sets virtual memory and establishes virtual machine and specifically include:
According to first subtemplate and the first reading data mirror image, virtual machine is established by mirror image;
And according to first subtemplate and first data, resource is distributed for the virtual machine.
3. the method according to claim 1, wherein described externally issue the storage class specifically includes:
The storage class of foundation is published in service logger;
The storage class of foundation is registered in service catalogue by service logger, forms storage service function;
Storage service function is externally provided by service catalogue.
4. a kind of deployment device of external virtual memory characterized by comprising
Acquiring unit, for obtaining configuration template and configuration data, the configuration template includes the first subtemplate, the second subtemplate With third subtemplate, the configuration data includes the first data, the second data and third data;
Processing unit, for being that external virtual memory establishes virtual machine according to first subtemplate and first data;Root It is the external virtual memory creation storage application on the virtual machine according to second subtemplate and second data; According to the third subtemplate and third data, storage class is configured for the external virtual memory;
Release unit, for externally issuing storage class;
The processing unit, for creating one or more storage classes according to third subtemplate.
5. device according to claim 4, which is characterized in that the processing unit be used for according to first subtemplate and First data are established virtual machine for external virtual memory and are specifically included:
The processing unit, for being established by mirror image empty according to first subtemplate and the first reading data mirror image Quasi- machine;
The processing unit, for distributing resource for the virtual machine according to first subtemplate and first data.
6. device according to claim 4, which is characterized in that storage class for externally being issued tool by the release unit Body includes:
The release unit will be established for the storage class of foundation to be published in service logger by service logger Storage class be registered in service catalogue, form storage service function, and storage service function is externally provided by service catalogue Energy.
7. a kind of external virtual storage system, which is characterized in that the system comprises storage medium and deployment device, the storages Medium is for externally providing different storage classes;
The deployment device is the described in any item devices of claim 4 to 6.
8. a kind of external virtual memory disposes device, which is characterized in that described device includes:
Processor, memory, communication interface and bus, wherein the processor, the memory and the communication interface pass through The bus communication;
The communication interface with interchanger or control server for communicating;
The memory is for storing program;
When described device operation, the processor is used to execute the described program of the memory storage, is wanted with perform claim Seek 1 to 3 described in any item methods.
CN201510907116.8A 2015-12-09 2015-12-09 A kind of dispositions method of external virtual memory, device and system Active CN105549906B (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN201510907116.8A CN105549906B (en) 2015-12-09 2015-12-09 A kind of dispositions method of external virtual memory, device and system

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN201510907116.8A CN105549906B (en) 2015-12-09 2015-12-09 A kind of dispositions method of external virtual memory, device and system

Publications (2)

Publication Number Publication Date
CN105549906A CN105549906A (en) 2016-05-04
CN105549906B true CN105549906B (en) 2019-04-26

Family

ID=55829109

Family Applications (1)

Application Number Title Priority Date Filing Date
CN201510907116.8A Active CN105549906B (en) 2015-12-09 2015-12-09 A kind of dispositions method of external virtual memory, device and system

Country Status (1)

Country Link
CN (1) CN105549906B (en)

Families Citing this family (3)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN107203333B (en) * 2016-09-28 2019-11-05 郑州云海信息技术有限公司 The method that block storage automatically accesses in OpenStack cloud computing platform
CN106886371B (en) * 2017-02-15 2019-08-06 中国保险信息技术管理有限责任公司 Caching data processing method and device
CN109660371B (en) * 2017-10-10 2021-11-02 中兴通讯股份有限公司 Automatic deployment method and automatic deployment device

Citations (5)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN1794206A (en) * 2004-12-24 2006-06-28 富士通株式会社 Virtual storage architecture management system, information processing equipment, creating methodand storage medium
CN103036986A (en) * 2011-12-15 2013-04-10 微软公司 Update notification provided on distributed application object
US8443163B1 (en) * 2010-06-28 2013-05-14 Emc Corporation Methods, systems, and computer readable medium for tier-based data storage resource allocation and data relocation in a data storage array
US8495512B1 (en) * 2010-05-20 2013-07-23 Gogrid, LLC System and method for storing a configuration of virtual servers in a hosting system
CN103703724A (en) * 2013-08-15 2014-04-02 华为技术有限公司 Resource payment method

Patent Citations (5)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN1794206A (en) * 2004-12-24 2006-06-28 富士通株式会社 Virtual storage architecture management system, information processing equipment, creating methodand storage medium
US8495512B1 (en) * 2010-05-20 2013-07-23 Gogrid, LLC System and method for storing a configuration of virtual servers in a hosting system
US8443163B1 (en) * 2010-06-28 2013-05-14 Emc Corporation Methods, systems, and computer readable medium for tier-based data storage resource allocation and data relocation in a data storage array
CN103036986A (en) * 2011-12-15 2013-04-10 微软公司 Update notification provided on distributed application object
CN103703724A (en) * 2013-08-15 2014-04-02 华为技术有限公司 Resource payment method

Also Published As

Publication number Publication date
CN105549906A (en) 2016-05-04

Similar Documents

Publication Publication Date Title
CN110063051A (en) Reconfigurable server
CN106790660B (en) A kind of dispositions method and device for realizing distributed memory system
CN107579931A (en) A kind of block chain based on Kubernetes is Service Source adaptation method
JP6291134B2 (en) Server selection device, server selection method, and server selection program
Zhang et al. A survey on cloud interoperability: taxonomies, standards, and practice
CN105409172B (en) Logical switch
US9052939B2 (en) Data compliance management associated with cloud migration events
EP2823393B1 (en) Offline provisioning of virtual machines
CN103064742B (en) A kind of automatic deployment system and method for hadoop cluster
CN107357660A (en) The distribution method and device of a kind of virtual resource
CN109743199A (en) Containerization management system based on micro services
US20110296370A1 (en) Methods and systems for generating cross-mapping of vendor software in a cloud computing environment
CN108429768A (en) Cloud data analysis service manages system, method and cloud server
CN108304247A (en) The method and apparatus of access camera, server, readable storage medium storing program for executing
US20120303654A1 (en) Methods and systems to automatically extract and transport data associated with workload migrations to cloud networks
CN104781783B (en) The integrated calculating platform disposed in existing computing environment
US11080041B1 (en) Operating system management for virtual workspaces
US9459897B2 (en) System and method for providing data analysis service in cloud environment
CN105471662B (en) Cloud Server, virtual network strategy centralized control system and method
Bell et al. Scaling the CERN OpenStack cloud
CN105549906B (en) A kind of dispositions method of external virtual memory, device and system
CN109992278A (en) A kind of application issued method and device based on container
CN107370796A (en) A kind of intelligent learning system based on Hyper TF
Saito et al. DevOps with Kubernetes: accelerating software delivery with container orchestrators
Venâncio et al. Beyond VNFM: Filling the gaps of the ETSI VNF manager to fully support VNF life cycle operations

Legal Events

Date Code Title Description
C06 Publication
PB01 Publication
C10 Entry into substantive examination
SE01 Entry into force of request for substantive examination
GR01 Patent grant
GR01 Patent grant