CN109871213A - OpenStack containerization system and method based on Domestic Platform - Google Patents

OpenStack containerization system and method based on Domestic Platform Download PDF

Info

Publication number
CN109871213A
CN109871213A CN201811586572.7A CN201811586572A CN109871213A CN 109871213 A CN109871213 A CN 109871213A CN 201811586572 A CN201811586572 A CN 201811586572A CN 109871213 A CN109871213 A CN 109871213A
Authority
CN
China
Prior art keywords
openstack
platform
containerization
deployment tool
container
Prior art date
Legal status (The legal status is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the status listed.)
Pending
Application number
CN201811586572.7A
Other languages
Chinese (zh)
Inventor
荆南
舒添翼
殷智伟
赵伟
Current Assignee (The listed assignees may be inaccurate. Google has not performed a legal analysis and makes no representation or warranty as to the accuracy of the list.)
WUHAN FIBERHOME INTERGRATION TECHNOLOGIES Co Ltd
Original Assignee
WUHAN FIBERHOME INTERGRATION 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 WUHAN FIBERHOME INTERGRATION TECHNOLOGIES Co Ltd filed Critical WUHAN FIBERHOME INTERGRATION TECHNOLOGIES Co Ltd
Priority to CN201811586572.7A priority Critical patent/CN109871213A/en
Publication of CN109871213A publication Critical patent/CN109871213A/en
Pending legal-status Critical Current

Links

Landscapes

  • Stored Programmes (AREA)

Abstract

The invention discloses the OpenStack containerization system and method based on Domestic Platform, it is related to OpenStack cloud platform technical field, including unified warehouse, for storing container mirror image, software, source code, blueprint file during OpenStack containerization;General adaptive component downloads the blueprint of corresponding version, selects crossstool, and setting kernel parameter according to the configuration information in blueprint for detecting the ardware model number and OS Type of production domesticization Platform Server;Compiler component compiles and installs container engine, deployment tool, and the mirror image of compiling OpenStack service for obtaining the source code of container and deployment tool;Component is disposed, configuration file, boot sequence for respectively servicing according to OpenStack run the starting script of deployment tool, sequentially dispose, configure and start OpenStack service.System and method provided by the invention can mask the hardware of production domesticization platform and the difference of operating system level, realize the OpenStack cloud platform of key compiling and deployment container.

Description

OpenStack containerization system and method based on Domestic Platform
Technical field
The present invention relates to OpenStack cloud platform technical fields, are based particularly on the OpenStack containerization of Domestic Platform System and method.
Background technique
OpenStack is the cloud computing management platform project of an open source, is combined completion by several main components Specific works.OpenStack supports almost all kinds of cloud environment, therefore the open source cloud computing management for becoming current main-stream is flat Platform project, configuration is complicated, component multiplicity, between component, couples between component and system closely, deployment and escalation process are extremely Complicated and difficult, containerization OpenStack component can solve the problem, realize rapid deployment and upgrading.
Under the background that national information is increasingly taken seriously safely, the status for the platform that domesticizes is also more and more important.It is domestic Changing platform includes a variety of production domesticization hardware and operating system, and the method for the containerization OpenStack component of general-purpose platform cannot be It is used on production domesticization platform, therefore needs a kind of OpenStack assembly container system and containerization based on production domesticization platform Method.
Summary of the invention
The greatest problem that the compiling of OpenStack containerization and deployment encounter is carried out on production domesticization platform is: production domesticization is flat Platform is made of production domesticization hardware and production domesticization operating system, and the software for compiling and running on general-purpose platform is cannot be directly in state It is directly used on productionization platform;And the hardware for the platform that domesticizes and operating system are different, the method that needs to compile and dispose, according to Bad software and configuration is all different, without a set of unified method.
For this problem, the embodiment of the invention provides based on Domestic Platform OpenStack containerization system and side Method can mask the hardware of production domesticization platform and the difference of operating system level, realize key compiling and deployment container OpenStack cloud platform.
To achieve the above objectives, the scheme that the present invention takes is: the OpenStack containerization system based on Domestic Platform, The containerization system includes multiple OpenStack components, comprising:
Unified warehouse, for storing container mirror image, software, source code, blueprint file during OpenStack containerization;
General adaptive component, for detecting the ardware model number and OS Type of production domesticization Platform Server, and root According to obtained ardware model number and OS Type, the blueprint of corresponding version is downloaded in unified warehouse, according to matching in blueprint Confidence breath selection crossstool, and setting kernel parameter;
Compiler component compiles for obtaining the source code of container and deployment tool from unified warehouse and installs container engine, portion Administration's tool, and the mirror image using container engine and deployment tool compiling OpenStack service;
Component is disposed, configuration file, boot sequence for respectively servicing according to OpenStack run opening for deployment tool Dynamic script is sequentially disposed, is configured and starts OpenStack service.
Based on the above technical solution, unified warehouse also provides the mark pipe of platform and version for each type file Reason.
Based on the above technical solution, unified warehouse externally provides upload, downloading, inquiry, deletes access interface.
Based on the above technical solution, comprising the following steps:
Step 1: the ardware model number and OS Type of detection production domesticization Platform Server;
Step 2: the ardware model number and OS Type obtained according to step 1 downloads corresponding version in unified warehouse Blueprint, according in blueprint configuration information select crossstool, and setting kernel parameter;
Step 3: obtaining the source code of container and deployment tool from unified warehouse, compile and container engine, deployment tool are installed;
Step 4: the mirror image of container engine and deployment tool the compiling OpenStack service obtained using step 3;
Step 5: configuration file, the boot sequence respectively serviced according to OpenStack runs the starting script of deployment tool, It sequentially disposes, configure and start OpenStack service.
Based on the above technical solution, crossstool, Yi Jishe are being selected according to the configuration information in blueprint After setting kernel parameter, also arrangement depended software list, and the software in the list is installed.
Based on the above technical solution, step 4 specifically includes:
Step 4-1: the sequence of the mirror image compiling according to defined in deployment tool and dependence, first compilation operations system base Plinth mirror image;
Step 4-2: the operating system foundation image obtained according to 4-1 compiles OpenStack foundation image;
Step 4-3: the OpenStack foundation image obtained according to 4-2 compiles the mirror image of each OpenStack service.
Based on the above technical solution, after the mirror image of compiling OpenStack service, all mirror images are uploaded to system One warehouse.
Compared with prior art, of the invention to be a little:
It is by the hardware and operating system of automatic adaptation production domesticization platform, OpenStack various components are flat in production domesticization Containerization is carried out on platform, realizes the target of OpenStack rapid deployment and upgrading on each production domesticization platform.
Detailed description of the invention
Fig. 1 is the structure chart of the OpenStack containerization system in the embodiment of the present invention based on Domestic Platform;
Fig. 2 is the flow chart of the OpenStack containerization method in the embodiment of the present invention based on Domestic Platform.
Specific embodiment
Following will be combined with the drawings in the embodiments of the present invention, and technical solution in the embodiment of the present invention carries out clear, complete Site preparation description.
It is described the embodiment of the invention provides the OpenStack containerization system based on Domestic Platform shown in referring to Fig.1 Containerization system includes multiple OpenStack components, comprising:
Unified warehouse, unified warehouse provide container mirror image, software, source code, four seed type of blueprint for OpenStack containerization The storage of file, and the mark management of platform and version is all provided for each type file.The warehouse can be deployed in production domesticization It on platform, can also be deployed on general-purpose platform, general standard is externally provided and is uploaded, is downloaded, inquiry, the access such as deletion connect Mouthful;
General adaptive component, General adaptive component are core of the invention component, and function masks production domesticization platform The difference of different hardware and operating system allows user not have to consider further that bottom when OpenStack assembly containerization compiles and disposes The difference of layer hardware and operating system.The component can detect the type of bottom hardware and operating system automatically, from unified warehouse The blueprint of corresponding version is downloaded, and is joined according to the relevant system level of configuration information modifications and adaptations operating system in blueprint Number, and from unified warehouse downloading and corresponding depended software is installed.
Compiler component, compiler component complete two classes and compile work, and one kind is to complete the platform related software and dependence packet Work is compiled, the second class is to complete the work of the containerization compiling of OpenStack various components.User is carried out using compiler component Operation when compiling container is similar on general-purpose platform, can't perceive the difference of bottom hardware and operating system.It is compiled The source code needed in journey, foundation image and software are downloaded from unified warehouse, and source code, mirror image and the software for completing compiling all upload to Unified warehouse carries out storage and management.Compiler component obtains the source code of container and deployment tool from unified warehouse, compiles and installs Container engine, deployment tool, and the mirror image using container engine and deployment tool compiling OpenStack service;
Component is disposed, the function based on production domesticization platform containerization deployment OpenStack cluster is provided, according to Configuration file that OpenStack is respectively serviced, boot sequence, run the starting script of deployment tool, sequentially dispose, configure and start OpenStack service.
Referring to shown in Fig. 2, the embodiment of the invention provides the OpenStack containerization methods based on Domestic Platform, including Following steps:
Step 1: the ardware model number and OS Type of detection production domesticization Platform Server;
Step 2: the ardware model number and OS Type obtained according to step 1 will execute:
Step 2-1: selecting predefined blueprint, selects crossstool, and kernel parameter is arranged;
Step 2-2: depended software list is arranged, and the depended software in list is installed;
Step 3: obtaining container and deployment tool source code from unified warehouse, compile and container engine, deployment tool are installed;
Step 4: the mirror image of compiling OpenStack service, comprising:
Step 4-1: the sequence of the mirror image compiling according to defined in deployment tool and dependence, first compilation operations system base Plinth mirror image;
Step 4-2: the operating system foundation image obtained according to 4-1 compiles OpenStack foundation image;
Step 4-3: the OpenStack foundation image obtained according to 4-2 compiles the mirror image of each OpenStack service, and will All mirror images are uploaded to unified warehouse;
Step 5: configuration file, the boot sequence respectively serviced according to OpenStack runs the starting script of deployment tool, It sequentially disposes, configure and start OpenStack service.
The present invention is not limited to the above-described embodiments, for those skilled in the art, is not departing from Under the premise of the principle of the invention, it can also make several improvements and retouch, these improvements and modifications are also considered as protection of the invention Within the scope of.The content being not described in detail in this specification belongs to the prior art well known to professional and technical personnel in the field.

Claims (7)

1. the OpenStack containerization system based on Domestic Platform, the containerization system includes multiple OpenStack components, It is characterised by comprising:
Unified warehouse, for storing container mirror image, software, source code, blueprint file during OpenStack containerization;
General adaptive component, for detect production domesticization Platform Server ardware model number and OS Type, and according to The ardware model number and OS Type arrived downloads the blueprint of corresponding version, according in the blueprint in the unified warehouse Configuration information select crossstool, and setting kernel parameter;
Compiler component compiles for obtaining the source code of container and deployment tool from the unified warehouse and installs container engine, portion Administration's tool, and the mirror image using the container engine and deployment tool compiling OpenStack service;
Component is disposed, configuration file, boot sequence for respectively servicing according to OpenStack run the starting foot of deployment tool This, sequentially disposes, configures and start OpenStack service.
2. the OpenStack containerization system based on Domestic Platform as described in claim 1, which is characterized in that the unification Warehouse provides the mark management of platform and version for each type of file.
3. the OpenStack containerization system based on Domestic Platform as described in claim 1, which is characterized in that the unification Warehouse externally provides upload, downloading, inquiry, deletes access interface.
4. the OpenStack containerization method based on Domestic Platform, which comprises the following steps:
Step 1: the ardware model number and OS Type of detection production domesticization Platform Server;
Step 2: the ardware model number and OS Type obtained according to step 1 downloads the indigo plant of corresponding version in unified warehouse Figure selects crossstool, and setting kernel parameter according to the configuration information in blueprint;
Step 3: obtaining the source code of container and deployment tool from unified warehouse, compile and container engine, deployment tool are installed;
Step 4: the mirror image of container engine and deployment tool the compiling OpenStack service obtained using step 3;
Step 5: configuration file, the boot sequence respectively serviced according to OpenStack runs the starting script of deployment tool, sequentially It disposes, configure and start OpenStack service.
5. the OpenStack containerization method based on Domestic Platform as claimed in claim 4, which is characterized in that according to indigo plant After configuration information in figure selects crossstool, and setting kernel parameter, also arrangement depended software list, and installing should Software in list.
6. the OpenStack containerization method based on Domestic Platform as claimed in claim 4, which is characterized in that step 4 is specific Include:
Step 4-1: the sequence of the mirror image compiling according to defined in deployment tool and dependence, first compilation operations system-based mirror Picture;
Step 4-2: the operating system foundation image obtained according to 4-1 compiles OpenStack foundation image;
Step 4-3: the OpenStack foundation image obtained according to 4-2 compiles the mirror image of each OpenStack service.
7. the OpenStack containerization method based on Domestic Platform as claimed in claim 6, which is characterized in that compiling After the mirror image of OpenStack service, all mirror images are uploaded to unified warehouse.
CN201811586572.7A 2018-12-25 2018-12-25 OpenStack containerization system and method based on Domestic Platform Pending CN109871213A (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN201811586572.7A CN109871213A (en) 2018-12-25 2018-12-25 OpenStack containerization system and method based on Domestic Platform

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN201811586572.7A CN109871213A (en) 2018-12-25 2018-12-25 OpenStack containerization system and method based on Domestic Platform

Publications (1)

Publication Number Publication Date
CN109871213A true CN109871213A (en) 2019-06-11

Family

ID=66917269

Family Applications (1)

Application Number Title Priority Date Filing Date
CN201811586572.7A Pending CN109871213A (en) 2018-12-25 2018-12-25 OpenStack containerization system and method based on Domestic Platform

Country Status (1)

Country Link
CN (1) CN109871213A (en)

Cited By (15)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN110543113A (en) * 2019-07-17 2019-12-06 杭州迦智科技有限公司 robot hardware assembling and managing method, device, medium, system, front-end assembling client and robot body operation system
CN110673853A (en) * 2019-09-25 2020-01-10 中国工商银行股份有限公司 Compiling method, device and system
CN110855739A (en) * 2019-09-25 2020-02-28 烽火通信科技股份有限公司 Container technology-based remote and heterogeneous resource unified management method and system
CN111026413A (en) * 2019-12-08 2020-04-17 中国电子科技集团公司第十五研究所 Requirement-oriented complex system 'pull' mode deployment system and method thereof
CN111049876A (en) * 2019-10-18 2020-04-21 烽火通信科技股份有限公司 Lightweight telecom cloud edge computing system architecture
CN111309451A (en) * 2020-03-24 2020-06-19 广西梯度科技有限公司 Method for realizing cross compilation of Docker mirror images
CN111399847A (en) * 2020-03-17 2020-07-10 成都千立网络科技有限公司 Business system capable of being transplanted across hardware platforms
CN111427600A (en) * 2020-03-20 2020-07-17 成都千立网络科技有限公司 Docker-based platform system deployment and upgrade method and system
CN111651168A (en) * 2020-05-13 2020-09-11 无锡江南计算技术研究所 Operating system customization method oriented to cloud native application scene
CN111897538A (en) * 2020-07-13 2020-11-06 浪潮电子信息产业股份有限公司 Container platform deployment method and system based on CPU and operating system
CN112181488A (en) * 2020-08-24 2021-01-05 苏州浪潮智能科技有限公司 Method, system and computer readable medium for migrating applications
CN113176929A (en) * 2021-04-29 2021-07-27 成都商高智能科技有限公司 Containerized deployment method and platform for domestic operating system
CN114265600A (en) * 2022-03-01 2022-04-01 联信弘方(北京)科技股份有限公司 Domestic hardware and operating system container cloud automatic off-line deployment method
CN115756514A (en) * 2022-11-14 2023-03-07 中国电子科技集团公司第十五研究所 Software automation compiling method and system
WO2023165206A1 (en) * 2022-03-04 2023-09-07 麒麟软件有限公司 Method for adapting domestic operating system to ceph

Citations (9)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
WO2015186088A1 (en) * 2014-06-06 2015-12-10 International Business Machines Corporation Selecting a host for a virtual machine using a hardware multithreading parameter
CN106155719A (en) * 2015-04-02 2016-11-23 上海仪电(集团)有限公司 A kind of method and system utilizing USB device to realize openstack rapid deployment
CN106843837A (en) * 2016-12-21 2017-06-13 中电科华云信息技术有限公司 The construction method of openstack assembly containers
CN106878334A (en) * 2015-05-13 2017-06-20 西安三星电子研究有限公司 The automatically dispose system and method for cloud
CN106936636A (en) * 2017-03-15 2017-07-07 无锡华云数据技术服务有限公司 A kind of implementation method of the cloud computing test platform of rapid deployment containerization
CN107483243A (en) * 2017-08-09 2017-12-15 鹤云来科技有限公司 A kind of automatic deployment method and equipment of OpenStack platforms
CN107797806A (en) * 2016-08-29 2018-03-13 北京雪球信息科技有限公司 A kind of dispositions method of program
WO2018081215A1 (en) * 2016-10-26 2018-05-03 Mcafee, Llc Automated security policy
CN108958843A (en) * 2018-07-12 2018-12-07 成都数字天空科技有限公司 Plug-in unit construction method, system, equipment and medium based on lightweight script

Patent Citations (9)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
WO2015186088A1 (en) * 2014-06-06 2015-12-10 International Business Machines Corporation Selecting a host for a virtual machine using a hardware multithreading parameter
CN106155719A (en) * 2015-04-02 2016-11-23 上海仪电(集团)有限公司 A kind of method and system utilizing USB device to realize openstack rapid deployment
CN106878334A (en) * 2015-05-13 2017-06-20 西安三星电子研究有限公司 The automatically dispose system and method for cloud
CN107797806A (en) * 2016-08-29 2018-03-13 北京雪球信息科技有限公司 A kind of dispositions method of program
WO2018081215A1 (en) * 2016-10-26 2018-05-03 Mcafee, Llc Automated security policy
CN106843837A (en) * 2016-12-21 2017-06-13 中电科华云信息技术有限公司 The construction method of openstack assembly containers
CN106936636A (en) * 2017-03-15 2017-07-07 无锡华云数据技术服务有限公司 A kind of implementation method of the cloud computing test platform of rapid deployment containerization
CN107483243A (en) * 2017-08-09 2017-12-15 鹤云来科技有限公司 A kind of automatic deployment method and equipment of OpenStack platforms
CN108958843A (en) * 2018-07-12 2018-12-07 成都数字天空科技有限公司 Plug-in unit construction method, system, equipment and medium based on lightweight script

Non-Patent Citations (1)

* Cited by examiner, † Cited by third party
Title
CSDN郭芮: "基于OpenStack+Docker设计与实现CI/CD", 《HTTPS://BLOG.CSDN.NET/IMGXR/ARTICLE/DETAILS/80129748》 *

Cited By (19)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN110543113A (en) * 2019-07-17 2019-12-06 杭州迦智科技有限公司 robot hardware assembling and managing method, device, medium, system, front-end assembling client and robot body operation system
CN110673853A (en) * 2019-09-25 2020-01-10 中国工商银行股份有限公司 Compiling method, device and system
CN110855739A (en) * 2019-09-25 2020-02-28 烽火通信科技股份有限公司 Container technology-based remote and heterogeneous resource unified management method and system
CN110673853B (en) * 2019-09-25 2023-09-15 中国工商银行股份有限公司 Compiling method, device and system
CN111049876A (en) * 2019-10-18 2020-04-21 烽火通信科技股份有限公司 Lightweight telecom cloud edge computing system architecture
CN111026413A (en) * 2019-12-08 2020-04-17 中国电子科技集团公司第十五研究所 Requirement-oriented complex system 'pull' mode deployment system and method thereof
CN111399847A (en) * 2020-03-17 2020-07-10 成都千立网络科技有限公司 Business system capable of being transplanted across hardware platforms
CN111427600B (en) * 2020-03-20 2023-04-21 成都千立网络科技有限公司 Platform system deployment upgrading method and system based on dock
CN111427600A (en) * 2020-03-20 2020-07-17 成都千立网络科技有限公司 Docker-based platform system deployment and upgrade method and system
CN111309451A (en) * 2020-03-24 2020-06-19 广西梯度科技有限公司 Method for realizing cross compilation of Docker mirror images
CN111309451B (en) * 2020-03-24 2023-07-14 广西梯度科技股份有限公司 Method for realizing Docker mirror image cross compiling
CN111651168A (en) * 2020-05-13 2020-09-11 无锡江南计算技术研究所 Operating system customization method oriented to cloud native application scene
CN111897538A (en) * 2020-07-13 2020-11-06 浪潮电子信息产业股份有限公司 Container platform deployment method and system based on CPU and operating system
CN112181488B (en) * 2020-08-24 2022-07-08 苏州浪潮智能科技有限公司 Method, system and computer readable medium for migrating applications
CN112181488A (en) * 2020-08-24 2021-01-05 苏州浪潮智能科技有限公司 Method, system and computer readable medium for migrating applications
CN113176929A (en) * 2021-04-29 2021-07-27 成都商高智能科技有限公司 Containerized deployment method and platform for domestic operating system
CN114265600A (en) * 2022-03-01 2022-04-01 联信弘方(北京)科技股份有限公司 Domestic hardware and operating system container cloud automatic off-line deployment method
WO2023165206A1 (en) * 2022-03-04 2023-09-07 麒麟软件有限公司 Method for adapting domestic operating system to ceph
CN115756514A (en) * 2022-11-14 2023-03-07 中国电子科技集团公司第十五研究所 Software automation compiling method and system

Similar Documents

Publication Publication Date Title
CN109871213A (en) OpenStack containerization system and method based on Domestic Platform
US11599348B2 (en) Container image building using shared resources
CN108614701B (en) Linux operating system customizing method and device
US7765542B2 (en) Method and system for describing and extracting application information
CN107506219A (en) A kind of general version upgrade method based on android system
US8549514B2 (en) Distributing customized software products
US9372784B2 (en) Test system configuration method and system
EP2562641B1 (en) Software application porting system
US20130007726A1 (en) Virtual machine disk image installation
CN106325965B (en) The Compilation Method and device of operating system
KR20070049095A (en) Servicing a component-base software product
US20050229175A1 (en) Hardware agnostic manipulation and management of image resources
CN105516154B (en) Security policy configuration method and device applied to SEAndroid system
CN109634617A (en) Software installation method, user equipment, storage medium and device
CN109739616A (en) A kind of cloud platform container mirror image batch making method
CN103327108B (en) A kind of cross-platform software management platform based on cloud and construction method thereof
CN105912340A (en) Primary device, remote control and overhead upgrading method of remote control
CN104978271A (en) Automatic upgrade pressure measurement method and system for Android system
CN112486505B (en) Containerized cross-platform operating system image building method
CN106484452A (en) A kind of unified configuring management method of software platform and device
CN105335185B (en) Red cap source code assures the processing method and processing device of reason SRPM packet
US20040153990A1 (en) Component self-description package method and operation method
CN115794214B (en) Application module metadata management method, device, storage medium and apparatus
CN106802805B (en) Application service management method and device suitable for server management
CN105824654A (en) Method and device for pre-installing APP software in intelligent terminal

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
CB03 Change of inventor or designer information
CB03 Change of inventor or designer information

Inventor after: Jing Nan

Inventor after: Shu Tianyi

Inventor after: Yin Zhiwei

Inventor after: Zhao Wei

Inventor before: Jing Nan

Inventor before: Shu Tianyi

Inventor before: Yin Zhiwei

Inventor before: Zhao Wei

RJ01 Rejection of invention patent application after publication
RJ01 Rejection of invention patent application after publication

Application publication date: 20190611