CN107203333B - The method that block storage automatically accesses in OpenStack cloud computing platform - Google Patents

The method that block storage automatically accesses in OpenStack cloud computing platform Download PDF

Info

Publication number
CN107203333B
CN107203333B CN201610857878.6A CN201610857878A CN107203333B CN 107203333 B CN107203333 B CN 107203333B CN 201610857878 A CN201610857878 A CN 201610857878A CN 107203333 B CN107203333 B CN 107203333B
Authority
CN
China
Prior art keywords
storage
request
cloud computing
tool
access
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
CN201610857878.6A
Other languages
Chinese (zh)
Other versions
CN107203333A (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.)
Zhengzhou Yunhai Information Technology Co Ltd
Original Assignee
Zhengzhou Yunhai Information Technology Co Ltd
Priority date (The priority date is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the date listed.)
Filing date
Publication date
Application filed by Zhengzhou Yunhai Information Technology Co Ltd filed Critical Zhengzhou Yunhai Information Technology Co Ltd
Priority to CN201610857878.6A priority Critical patent/CN107203333B/en
Publication of CN107203333A publication Critical patent/CN107203333A/en
Application granted granted Critical
Publication of CN107203333B publication Critical patent/CN107203333B/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/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
    • G06F3/0631Configuration or reconfiguration of storage systems by allocating resources to 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/0638Organizing or formatting or addressing of data
    • G06F3/064Management of blocks
    • 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]

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)
  • Computer And Data Communications (AREA)
  • Stored Programmes (AREA)

Abstract

The invention discloses the methods that block storage in a kind of OpenStack cloud computing platform automatically accesses, and belong to field of cloud computer technology.The method that block storage automatically accesses in OpenStack cloud computing platform of the invention requests addition to be locally stored or when network storage in user, automatically the virtual machine for installing virtual machine image in advance is used in OpenStack cloud computing platform, according to the storage address of user's input, the relevant parameter of storage and pre-sets the OpenStack cloud computing environment information to be accessed and automatically configure storage service, automatic starting storage service, completes storage access after configuration is good.The method storage access difficulty and complexity that block storage automatically accesses in the OpenStack cloud computing platform of the invention are low, the probability of configuration error, reduction OpenStack cloud computing platform maintenance work amoun, have good application value when can be reduced storage access.

Description

The method that block storage automatically accesses in OpenStack cloud computing platform
Technical field
The present invention relates to field of cloud computer technology, and it is automatic specifically to provide block storage in a kind of OpenStack cloud computing platform The method of access.
Background technique
OpenStack cloud computing platform be one open source cloud computing management platform project, cover network, virtualization, The various aspects such as operating system, server.Current version is Mitaka, is the 11st released version.But due to its culvert Lid range is wide, system is huge, although it is available to cause its function, ease for use, maintainability and in terms of also There are problems, wherein storage access is exactly a problem present in it.
The access that block stores in existing OpenStack cloud computing platform needs carrying out block for different types of storage When storage, artificial selection can run the host of OpenStack storage service, then the different parameter of manual configuration, then by hand Start OpenStack storage service.Need to connect the host of operation OpenStack storage service, modification or new during this The configuration file for building storage service increases, modifies or deletes parameter in the different location of configuration file.This kind is newly increased and is modified What is configured is cumbersome and tiny, easily generation mistake, causes original storage service that cannot use, or the storage newly increased Service cannot be used, and then lead to the access difficulty height of block storage in OpenStack cloud computing platform, configuration complexity, be not easy to tie up The problems such as shield.
Summary of the invention
Technical assignment of the invention is in view of the above problems, to provide a kind of storage access difficulty and complexity is low, And the OpenStack for the probability, reduction OpenStack cloud computing platform maintenance work amoun that configuration malfunctions when can be reduced storage access The method that block storage automatically accesses in cloud computing platform.
To achieve the above object, the present invention provides the following technical scheme that
A kind of method that block storage automatically accesses in OpenStack cloud computing platform requests addition being locally stored in user Or when network storage, automatically in OpenStack cloud computing platform using the virtual machine for installing virtual machine image in advance, according to The storage address of user's input stores relevant parameter and pre-sets the OpenStack cloud computing environment information to be accessed Storage service is automatically configured, good rear automatic starting storage service is configured, completes storage and access;The method that the block storage automatically accesses Specific steps are as follows:
S1: tool is acted on behalf of in production;
S2: installation agent tool on all physical hosts in OpenStack cloud computing platform;
S3: fabrication and installation have the virtual machine image of the tool of agency and storage service, create it when for accessing network storage Corresponding storage service;
S4: the scheduler module of production scheduling access request, for dispatching access request to suitable physical host;
S5: user inputs access request and submits, the type of scheduler module judgement storage access request, if scheduler module connects The request received is that request is locally stored in access, then executes according to S6 step;If the request that scheduler module receives is access net Network storage request, then execute according to S7 step;
S6: access is locally stored request: transmission, which is locally stored, requests to act on behalf of work to being locally stored on corresponding physical host Tool acts on behalf of tool according to what user selected and the configuration file of modification storage service is locally stored, and restarts storage service, complete It is automatically accessed at what is be locally stored;
S7: access network storage request: the creation for selecting suitable physical host to call OpenStack cloud computing platform is empty The interface of quasi- machine acts on behalf of the virtual machine image creation of tool and storage service with storage clothes using the pre-installation that step S3 makes It is engaged in and is acted on behalf of the virtual machine of tool, sends a request to and acts on behalf of tool on newly created virtual machine, act on behalf of tool and asked according to access The configuration of storage service on modification virtual machine is asked, and restarts storage service, completes automatically accessing for network storage.
The tool of acting on behalf of is had the locally store information collected on physical host, is received using python language development And handle the request of the access storage of user's transmission, newly-increased, modification storage service configuration, the function for restarting or starting storage service Energy.
Described in step S7 when access network storage request, the network storage that user need to input relevant parameter includes: IP Location, agreement, device type and device model.Tool and scheduler module close fit are acted on behalf of, automatically accessing for storage service is completed.
The method that block storage automatically accesses in the OpenStack cloud computing platform, after receiving storage request, for this Ground storage request, the tool of acting on behalf of scheduling request being dealt into using scheduler module on suitable physical host, and restart storage clothes Business;Network storage is requested, the physical host being suitble to by scheduler module selection and the wound for calling OpenStack cloud computing platform The interface of virtual machine is built using pre-installation storage service and acts on behalf of the virtual machine image creation of tool with storage service and agency The virtual machine of tool, and access request is sent in newly created virtual machine by scheduler module and acts on behalf of tool, act on behalf of tool The configuration of storage service is modified according to the parameter of access request and restarts storage service.Access can be automated through the above way Local LVM storage, direct-connected storage or network storage.
Preferably, the tool of acting on behalf of includes three internal components: request receiver, request processor and information collection Device, request receiver receive the storage access request that user sends, and request processor parsing storage access request simultaneously executes, information Collector acquires the locally store information on physical host.
Preferably, the scheduler module is made of filter, actuator, filter is according to the content for storing access request With the storage information for the physical host for acting on behalf of tool acquisition, suitable physical host is selected;Actuator is according to storage access request Type according to process described in S5 step execute.
Compared with prior art, the method that block storage automatically accesses in OpenStack cloud computing platform of the invention has It is following prominent the utility model has the advantages that
(1) pass through abstract block storage class and define the relevant parameter of storage, fill in parameter when reducing block storage access Complexity;
(2) probability of configuration error, guarantees to deposit when reducing block storage access by modifying the parameter of storage service automatically The service of storage being capable of stable operation;
(3) by access procedure automation is reduced the storage access of block in OpenStack cloud computing platform difficulty and Complexity reduces the workload of OpenStack cloud computing platform O&M, increases ease for use.
Detailed description of the invention
Fig. 1 is the process schematic for the method that block storage automatically accesses in OpenStack cloud computing platform of the present invention.
Specific embodiment
Below in conjunction with drawings and examples, block storage in OpenStack cloud computing platform of the invention is automatically accessed Method be described in further detail.
Embodiment
As shown in Figure 1, the method that block storage automatically accesses in OpenStack cloud computing platform of the invention, is asked in user Addition is asked to be locally stored or when network storage, automatically in OpenStack cloud computing platform using installing virtual machine mirror in advance The virtual machine of picture according to the storage address of user's input, the relevant parameter of storage and pre-sets the OpenStack to be accessed Cloud computing environment information automatically configures storage service, configures good rear automatic starting storage service, completes storage and access.It is receiving After storage request, for request is locally stored, the agency that scheduling request is dealt into using scheduler module on suitable physical host Tool, and restart storage service;Network storage is requested, by the suitable physical host of scheduler module selection and calling The interface of the creation virtual machine of OpenStack cloud computing platform, uses the virtual machine mirror of pre-installation storage service and tool of acting on behalf of As creation with storage service and acts on behalf of the virtual machine of tool, and by scheduler module access request is sent to newly created virtual Tool is acted on behalf of in machine, tool is acted on behalf of and the configuration of storage service is modified according to the parameter of access request and restarts storage service.It is logical Access local LVM storage, direct-connected storage or network storage can be automated by crossing aforesaid way.
The specific steps for the method that the block storage automatically accesses are as follows:
S1: tool is acted on behalf of in production.
This acts on behalf of tool using python language development, including three internal components: request receiver, request processor and Information acquisition device, request receiver receive the storage access request that user sends, and request processor parsing storage access request is simultaneously Execute, information acquisition device acquire physical host on locally store information, have collect physical host on locally store information, The request of the access storage of user's transmission is received and processed, increases newly, the configuration of modification storage service, restart or start storage service Function.
S2: installation agent tool on all physical hosts in OpenStack cloud computing platform.
S3: fabrication and installation have the virtual machine image of the tool of agency and storage service, create it when for accessing network storage Corresponding storage service.
S4: the scheduler module of production scheduling access request, for dispatching access request to suitable physical host.
Scheduler module is made of filter, actuator, and filter is according to the content of storage access request and acts on behalf of tool and adopts The storage information of the physical host of collection, selects suitable physical host;Actuator is according to the type of storage access request according to S5 Process described in step executes.
S5: user inputs access request and submits, the type of scheduler module judgement storage access request, if scheduler module connects The request received is that access is locally stored, then executes according to S6 step;If the request that scheduler module receives is access, network is deposited Storage is then executed according to S7 step.
S6: access is locally stored request: transmission, which is locally stored, requests to act on behalf of work to being locally stored on corresponding physical host Tool acts on behalf of tool according to what user selected and the configuration file of modification storage service is locally stored, and restarts storage service, complete It is automatically accessed at what is be locally stored.
S7: access network storage request: the creation for selecting suitable physical host to call OpenStack cloud computing platform is empty The interface of quasi- machine acts on behalf of the virtual machine image creation of tool and storage service with storage clothes using the pre-installation that step S3 makes It is engaged in and is acted on behalf of the virtual machine of tool, sends a request to and acts on behalf of tool on newly created virtual machine, act on behalf of tool and asked according to access The configuration of storage service on modification virtual machine is asked, and restarts storage service, completes automatically accessing for network storage.
In the step s 7, the relevant parameter of network storage that user need to input include: IP address, agreement, device type and Device model.
Embodiment described above, the only present invention more preferably specific embodiment, those skilled in the art is at this The usual variations and alternatives carried out within the scope of inventive technique scheme should be all included within the scope of the present invention.

Claims (2)

  1. The method that block storage automatically accesses in 1.OpenStack cloud computing platform, it is characterised in that: request addition local in user When storage request or network storage are requested, virtual machine image is installed using preparatory in OpenStack cloud computing platform automatically Virtual machine, according to the storage address of user's input, the relevant parameter of storage and pre-set the OpenStack cloud to be accessed It calculates environmental information and automatically configures storage service, configure good rear automatic starting storage service, complete storage and access;Block storage is certainly The specific steps of the method for dynamic access are as follows:
    S1: tool is acted on behalf of in production, and the tool of acting on behalf of includes three internal components: request receiver, request processor and information Collector, request receiver receive the storage access request that user sends, and request processor parsing storage access request simultaneously executes, Information acquisition device acquires the locally store information on physical host;
    S2: installation agent tool on all physical hosts in OpenStack cloud computing platform;
    S3: fabrication and installation have the virtual machine image of the tool of agency and storage service, its correspondence is created when for accessing network storage Storage service;
    S4: the scheduler module of production scheduling access request, for dispatching access request to suitable physical host;
    S5: user inputs access request and submits, the type of scheduler module judgement storage access request, if scheduler module receives Request be access request is locally stored, then according to S6 step execution;If the request that scheduler module receives is access, network is deposited Storage request, then execute according to S7 step;
    S6: request is locally stored in access: request is locally stored to the tool of acting on behalf of being locally stored on corresponding physical host, generation in transmission The configuration file of modification storage service is locally stored according to what user selected in science and engineering tool, and restarts storage service, completes this Ground storage automatically accesses;
    S7: access network storage request: suitable physical host is selected to call the creation virtual machine of OpenStack cloud computing platform Interface, using the pre-installation that step S3 makes act on behalf of the virtual machine image creation of tool and storage service with storage service and The virtual machine for acting on behalf of tool sends a request to and acts on behalf of tool on newly created virtual machine, acts on behalf of tool and repaired according to access request Change the configuration of storage service on virtual machine, and restart storage service, completes automatically accessing for network storage.
  2. 2. the method that block storage automatically accesses in OpenStack cloud computing platform according to claim 1, feature exist In: the scheduler module is made of filter, actuator, and filter is acquired according to the content of storage access request with tool of acting on behalf of Physical host storage information, select suitable physical host;Actuator is walked according to the type of storage access request according to S5 The rapid process executes.
CN201610857878.6A 2016-09-28 2016-09-28 The method that block storage automatically accesses in OpenStack cloud computing platform Active CN107203333B (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN201610857878.6A CN107203333B (en) 2016-09-28 2016-09-28 The method that block storage automatically accesses in OpenStack cloud computing platform

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN201610857878.6A CN107203333B (en) 2016-09-28 2016-09-28 The method that block storage automatically accesses in OpenStack cloud computing platform

Publications (2)

Publication Number Publication Date
CN107203333A CN107203333A (en) 2017-09-26
CN107203333B true CN107203333B (en) 2019-11-05

Family

ID=59904830

Family Applications (1)

Application Number Title Priority Date Filing Date
CN201610857878.6A Active CN107203333B (en) 2016-09-28 2016-09-28 The method that block storage automatically accesses in OpenStack cloud computing platform

Country Status (1)

Country Link
CN (1) CN107203333B (en)

Families Citing this family (3)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN109995816B (en) * 2017-12-29 2022-04-08 中移(苏州)软件技术有限公司 Information importing method and device based on cloud computing platform and communication equipment
CN109144483A (en) * 2018-08-22 2019-01-04 浪潮电子信息产业股份有限公司 Method, device and equipment for matching software interface and readable storage medium
CN109150609B (en) * 2018-08-28 2021-06-15 郑州云海信息技术有限公司 Security group configuration method for standardized naming of openstack network system

Family Cites Families (4)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US9348654B2 (en) * 2013-11-19 2016-05-24 International Business Machines Corporation Management of virtual machine migration in an operating environment
CN104699508B (en) * 2015-03-25 2017-08-22 南京大学 Rapid deployment and renewal virtual environment system and its method in cloud computing platform
CN105549906B (en) * 2015-12-09 2019-04-26 华为技术有限公司 A kind of dispositions method of external virtual memory, device and system
CN105491152A (en) * 2015-12-25 2016-04-13 国云科技股份有限公司 Method of cloud storage resource configurable scheduler

Also Published As

Publication number Publication date
CN107203333A (en) 2017-09-26

Similar Documents

Publication Publication Date Title
WO2018086580A1 (en) Extensible heterogeneous cloud platform adaptation method and system thereof
US9792290B2 (en) Object store management operations within compute-centric object stores
CN110908641B (en) Visualization-based stream computing platform, method, device and storage medium
CN107203333B (en) The method that block storage automatically accesses in OpenStack cloud computing platform
CN103167041A (en) System and method for supporting cloud environment application cluster automation deployment
CN102110009A (en) Method for deploying application in virtual platform and virtual platform manager
CN101799751A (en) Method for building monitoring agent software of host machine
CN105323282A (en) Enterprise application deployment and management system for multiple tenants
CN112000441B (en) Method for declaratively arranging and managing virtual machine life cycle based on kubernets
CN112887121B (en) Method, equipment and system for managing network service
CN102769709B (en) A kind of for providing the method and apparatus of service contact information to user
WO2014020612A1 (en) Monitoring for managed services
CN103873534A (en) Method and device for application cluster migration
CN115168061B (en) Calculation storage separation method and system, electronic equipment and storage medium
CN106293847B (en) Method for supporting service of virtualization platform
CN109740765A (en) A kind of machine learning system building method based on Amazon server
CN110661842A (en) Resource scheduling management method, electronic equipment and storage medium
CN103780428A (en) Centralized resource management method and system applied to cloud architecture
CN105933154A (en) Management method of cloud calculation resources
US20130067047A1 (en) Network management system node and method for use in a network management system node for re-configuring a set of data network nodes in a data network
CN108089924A (en) A kind of task run method and device
CN110011827A (en) Towards doctor conjuncted multi-user's big data analysis service system and method
CN114090191A (en) Method, device and equipment for scheduling storage resources and storage medium
CN115061947B (en) Resource management method, device, equipment and storage medium
CN103257883A (en) Web based wireless sensing network remote stimulation system

Legal Events

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