CN105607903A - Openstack component deployment method - Google Patents

Openstack component deployment method Download PDF

Info

Publication number
CN105607903A
CN105607903A CN201510940196.7A CN201510940196A CN105607903A CN 105607903 A CN105607903 A CN 105607903A CN 201510940196 A CN201510940196 A CN 201510940196A CN 105607903 A CN105607903 A CN 105607903A
Authority
CN
China
Prior art keywords
openstack
assembly
node
environment
heat
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
CN201510940196.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.)
G Cloud Technology Co Ltd
Original Assignee
G Cloud 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 G Cloud Technology Co Ltd filed Critical G Cloud Technology Co Ltd
Priority to CN201510940196.7A priority Critical patent/CN105607903A/en
Publication of CN105607903A publication Critical patent/CN105607903A/en
Pending legal-status Critical Current

Links

Classifications

    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06FELECTRIC DIGITAL DATA PROCESSING
    • G06F8/00Arrangements for software engineering
    • G06F8/60Software deployment
    • G06F8/61Installation

Landscapes

  • Engineering & Computer Science (AREA)
  • Software Systems (AREA)
  • General Engineering & Computer Science (AREA)
  • Theoretical Computer Science (AREA)
  • Physics & Mathematics (AREA)
  • General Physics & Mathematics (AREA)
  • Stored Programmes (AREA)

Abstract

The present invention relates to the technical field of cloud computing, and in particular to a method. The method disclosed by the present invention comprises: on a certain node A, sequentially installing a virtual environment package and a public dependency software package, creating a virtual environment, executing a component installation command, and carrying out initial configuration on a component; copying a virtualization environment on the node A to a node B; and carrying out initial configuration on a node B component. The method disclosed by the present invention realizes mutual isolation of the dependency environment of each component, solves the problem of dependency conflict due to software deployment, effectively improves deployment flexibility and reduces time overhead, and can be used for Openstack component deployment.

Description

A kind of method of disposing openstack assembly
Technical field
The present invention relates to cloud computing technology field, particularly a kind of method of disposing openstack assembly.
Background technology
OpenStack is a cloud computing management platform project of increasing income, and is combined by several main assembliesComplete specific works. OpenStack mainly contains following assembly: nova (calculating), swift (object storage clothesBusiness), Glance (mirroring service), keystone (mirroring service), Horizon (UI service), Cinder (pieceStores service), Ceilometer (monitor service), ironic (deployment services). Each assembly is relatively independent,The framework of loose coupling is a complicated and job consuming time so dispose each assembly of openstack. For thisThe current industry of the situation of kind has the scheme of the following automatic deployment:
1) devstack scheme, directly git source code, installs, and object is to allow the developer can be quickBuild an environment, but be not suitable for production environment.
2) rdo scheme, RDO disposes each assembly based on puppet, supports single node or multinode to dispose,Be very easy to use in operating system at Redhat
3) fule scheme, is supported in ubuntu and centos upper by web interface configurations deploymentOpenstack should be Openstack deployment tool the most intuitively at present. Support automatically to send outNow dispose node, and dispose OpenstackHA, Openstack is done to health examination etc.
Scheme with deploy meets most demand substantially, but the assembly of openstack is at full speed sending outExhibition, there will be a kind of situation, and user is in the urgent need to a new function, and this new function can only be in new versionThis openstack assembly just can provide, if adopt 3 kinds of schemes above, because can not solve different editionsRely on the problem of conflict, need whole upgrade components, potential risk is larger.
Summary of the invention
The technical problem that the present invention solves is to provide a kind of method of the openstack of deployment assembly, realizes eachThe dependence environment of assembly is isolated mutually, the problem of the dependence conflict that solution deployment of components brings, effectively lifting partsAdministration's flexibility and reduction time overhead.
Solution of the present invention rushes to the technical scheme of stating technical problem:
Described method is, at certain node A, virtual environment bag, public dependent software package are sequentially installed, woundBuild a virtual environment, executive module installation order, assembly initialization configuration; Then virtual by node AChange environment and be copied to another Node B; This Node B assembly initialization configuration.
Described node A, is often referred to the station server under openstack cluster, and on server, install and calculate,Storage or networking component.
Described installation virtual environment bag, refers to the virtual environment storehouse virtualenv of a kind of python, virtualenvEffect be that multiple Python are separate, are independent of each other for creating independently Python environment;
Described function relies on bag, refers to Mysql database and message queue rabbitmq, and message queue is used forMessage communication between assembly;
Described assembly installation order refers to that assuring grooming tool setuptools by Python installs;
Described initial configuration refers to, according to the configuration of Openstack, document is installed, and is organized into an installation componentScript, support rapid configuration assembly.
The inventive method has realized the dependence environment of the each assembly of openstack isolates mutually, has solved assembly portionThe problem of the dependence conflict that administration brings, has effectively promoted deployment flexibility and has reduced time overhead.
Brief description of the drawings
Below in conjunction with accompanying drawing, the present invention is further described:
Fig. 1 is flow chart of the present invention.
Detailed description of the invention
As shown in Figure 1, the present invention includes following steps:
1, node A installs virtual environment bag;
#yuminstallpython-virtualenv.noarch
2, node A installs public dependent software package;
#yuminstallrabbitmq-server
#systemctlenablerabbitmq-server.service
#systemctlstartrabbitmq-server.service
#rabbitmqctlchange_passwordguestRABBIT_PASS
3, node A creates a virtual environment;
#virtualenvheat-env
4, node A executive module installation order;
It is example that heat assembly is installed
#cdheat-env/
#source./bin/activate
#cd/opt/stack/heat
#pythonsetup.pyinstall
5, node A assembly initialization configuration;
Heat configuration script is as follows;
openstack-config--set/etc/heat/heat.confdatabaseconnection
Mysql: cut _ DBPA of //heat:HEA point controller/heat
Openstack-config--set/etc/heat/heat.confDEFAUL cuts rpc_backendrabbit
Openstack-config--set/etc/heat/heat.confDEFAUL cuts rabbit_hostcontroller
Openstack-config--set/etc/heat/heat.confDEFAUL cuts rabbit_passwordRABBI and cuts _ PA point
openstack-config--set/etc/heat/heat.confkeystone_authtokenauth_uri
Http:// controller:5000/v is with .0
openstack-config--set/etc/heat/heat.confkeystone_authtokenidentity_uri
http://controller:35357
openstack-config--set/etc/heat/heat.confkeystone_authtokenadmin_tenant_nameservice
openstack-config--set/etc/heat/heat.confkeystone_authtokenadmin_userheat
openstack-config--set/etc/heat/heat.confkeystone_authtokenadmin_password
Cut _ PA point of HEA
Openstack-config--set/etc/heat/heat.confec is with authtokenauth_uri
Http:// controller:5000/v is with .0
Openstack-config--set/etc/heat/heat.confDEFAUL cuts heat_metadata_server_url
http://controller:8000
Openstack-config--set/etc/heat/heat.confDEFAUL cuts heat_waitcondition_server_url
Http:// controller:8000/v order/waitcondition
Openstack-config--set/etc/heat/heat.confDEFAUL cuts verbose and cuts rue
#syncdatabase
#su-s/bin/sh-c"heat-managedb_sync48"heat
#startservice
#systemctlenableopenstack-heat-api.serviceopenstack-heat-api-cfn.service
openstack-heat-engine.service
#systemctlrestartopenstack-heat-api.serviceopenstack-heat-api-cfn.service
openstack-heat-engine.service
6, the virtualized environment of node A is copied to Node B;
#scp-rheat-env/B:/opt/。

Claims (3)

1. a method of disposing openstack assembly, is characterized in that: described method is at certain node AVirtual environment bag, public dependent software package are sequentially installed, create a virtual environment, executive module peaceDress order, assembly initialization configuration; Then the virtualized environment of node A is copied to another Node B; ShouldThe configuration of Node B assembly initialization.
2. the method for deployment openstack assembly according to claim 1, is characterized in that: described inNode A, be often referred to the station server under openstack cluster, on server install calculate, storage orPerson's networking component.
3. the method for deployment openstack assembly according to claim 1 and 2, is characterized in that:Described installation virtual environment bag, refers to the virtual environment storehouse virtualenv of a kind of python, virtualenvEffect be that multiple Python are separate, are independent of each other for creating independently Python environment;
Described function relies on bag, refers to Mysql database and message queue rabbitmq, and message queue is used forMessage communication between assembly;
Described assembly installation order refers to that assuring grooming tool setuptools by Python installs;
Described initial configuration refers to, according to the configuration of Openstack, document is installed, and is organized into an installation componentScript, support rapid configuration assembly.
CN201510940196.7A 2015-12-15 2015-12-15 Openstack component deployment method Pending CN105607903A (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN201510940196.7A CN105607903A (en) 2015-12-15 2015-12-15 Openstack component deployment method

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN201510940196.7A CN105607903A (en) 2015-12-15 2015-12-15 Openstack component deployment method

Publications (1)

Publication Number Publication Date
CN105607903A true CN105607903A (en) 2016-05-25

Family

ID=55987857

Family Applications (1)

Application Number Title Priority Date Filing Date
CN201510940196.7A Pending CN105607903A (en) 2015-12-15 2015-12-15 Openstack component deployment method

Country Status (1)

Country Link
CN (1) CN105607903A (en)

Cited By (10)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN106020935A (en) * 2016-05-26 2016-10-12 国云科技股份有限公司 Method for running openstack component service across versions
CN106095476A (en) * 2016-05-26 2016-11-09 国云科技股份有限公司 A kind of newly-increased Component service method based on heat
CN106648771A (en) * 2016-12-12 2017-05-10 武汉烽火信息集成技术有限公司 Openstack cloud platform user-defined deployment system and method
CN109327490A (en) * 2017-07-31 2019-02-12 杭州华为数字技术有限公司 A kind of method and apparatus for disposing cloud service component
CN109324807A (en) * 2018-09-27 2019-02-12 京信通信***(中国)有限公司 The accounting module installation method and system of OpenStack
CN111026397A (en) * 2019-10-22 2020-04-17 烽火通信科技股份有限公司 Rpm packet distributed compiling method and device
CN111200527A (en) * 2019-12-31 2020-05-26 浪潮云信息技术有限公司 Method for automatically discovering and deploying bare computer based on ironic
CN111381833A (en) * 2020-03-05 2020-07-07 山东汇贸电子口岸有限公司 Containerized openstack data initialization method
CN111427749A (en) * 2020-04-01 2020-07-17 山东汇贸电子口岸有限公司 Monitoring tool and method for ironic service in openstack environment
US11038947B2 (en) 2017-04-21 2021-06-15 Microsoft Technology Licensing, Llc Automated constraint-based deployment of microservices to cloud-based server sets

Citations (6)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US8261295B1 (en) * 2011-03-16 2012-09-04 Google Inc. High-level language for specifying configurations of cloud-based deployments
CN103401917A (en) * 2013-07-29 2013-11-20 华南理工大学 Hybrid cloud computing system based on cloud bus and realization method of hybrid cloud computing system
US20140047341A1 (en) * 2012-08-07 2014-02-13 Advanced Micro Devices, Inc. System and method for configuring cloud computing systems
CN104506620A (en) * 2014-12-23 2015-04-08 西安电子科技大学 Extensible automatic computing service platform and construction method for same
CN104580519A (en) * 2015-01-29 2015-04-29 福建师范大学福清分校 Method for rapid deployment of openstack cloud computing platform
CN104679608A (en) * 2015-02-09 2015-06-03 广州杰赛科技股份有限公司 Infrastructure visualization platform building method and mirror management structure of infrastructure visualization platform building method

Patent Citations (6)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US8261295B1 (en) * 2011-03-16 2012-09-04 Google Inc. High-level language for specifying configurations of cloud-based deployments
US20140047341A1 (en) * 2012-08-07 2014-02-13 Advanced Micro Devices, Inc. System and method for configuring cloud computing systems
CN103401917A (en) * 2013-07-29 2013-11-20 华南理工大学 Hybrid cloud computing system based on cloud bus and realization method of hybrid cloud computing system
CN104506620A (en) * 2014-12-23 2015-04-08 西安电子科技大学 Extensible automatic computing service platform and construction method for same
CN104580519A (en) * 2015-01-29 2015-04-29 福建师范大学福清分校 Method for rapid deployment of openstack cloud computing platform
CN104679608A (en) * 2015-02-09 2015-06-03 广州杰赛科技股份有限公司 Infrastructure visualization platform building method and mirror management structure of infrastructure visualization platform building method

Cited By (16)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN106095476A (en) * 2016-05-26 2016-11-09 国云科技股份有限公司 A kind of newly-increased Component service method based on heat
CN106020935A (en) * 2016-05-26 2016-10-12 国云科技股份有限公司 Method for running openstack component service across versions
CN106648771A (en) * 2016-12-12 2017-05-10 武汉烽火信息集成技术有限公司 Openstack cloud platform user-defined deployment system and method
US11038947B2 (en) 2017-04-21 2021-06-15 Microsoft Technology Licensing, Llc Automated constraint-based deployment of microservices to cloud-based server sets
CN109327490B (en) * 2017-07-31 2021-01-15 华为技术有限公司 Method and server for deploying cloud service component
CN109327490A (en) * 2017-07-31 2019-02-12 杭州华为数字技术有限公司 A kind of method and apparatus for disposing cloud service component
CN109324807A (en) * 2018-09-27 2019-02-12 京信通信***(中国)有限公司 The accounting module installation method and system of OpenStack
CN109324807B (en) * 2018-09-27 2021-09-03 京信网络***股份有限公司 Charging module installation method and system of OpenStack
CN111026397B (en) * 2019-10-22 2022-12-20 烽火通信科技股份有限公司 Rpm packet distributed compiling method and device
CN111026397A (en) * 2019-10-22 2020-04-17 烽火通信科技股份有限公司 Rpm packet distributed compiling method and device
CN111200527A (en) * 2019-12-31 2020-05-26 浪潮云信息技术有限公司 Method for automatically discovering and deploying bare computer based on ironic
CN111200527B (en) * 2019-12-31 2023-04-18 浪潮云信息技术股份公司 Method for automatically discovering and deploying bare computer based on ironic
CN111381833A (en) * 2020-03-05 2020-07-07 山东汇贸电子口岸有限公司 Containerized openstack data initialization method
CN111381833B (en) * 2020-03-05 2023-05-12 山东汇贸电子口岸有限公司 Initialization method for containerized opentack data
CN111427749A (en) * 2020-04-01 2020-07-17 山东汇贸电子口岸有限公司 Monitoring tool and method for ironic service in openstack environment
CN111427749B (en) * 2020-04-01 2023-07-11 山东汇贸电子口岸有限公司 Monitoring tool and method for ironic service in opentack environment

Similar Documents

Publication Publication Date Title
CN105607903A (en) Openstack component deployment method
US20210314273A1 (en) Enabling multi-tenant virtual servers in a cloud system
US10778810B2 (en) Staging and deployment to multiple service clouds
US10359951B1 (en) Snapshotless backup
CN104317610A (en) Method and device for automatic installation and deployment of hadoop platform
CN104219329A (en) Method for deploying service through content distribution in cluster server
CN106293847B (en) A kind of method of virtual platform supporting
US20140074894A1 (en) Format conversion of metadata associated with digital content
CN105897899A (en) Standard operation procedure electronization method based on automatic platform
CN111367618A (en) Code management method, system, terminal and medium based on docker
CN103473064A (en) Method for monitoring use conditions of magnetic disk of virtual machine in host machine
CN116783581A (en) Deploying software release on a data center configured in a cloud platform
CN112905537A (en) File processing method and device, electronic equipment and storage medium
CN103501350A (en) Method and device for deploying SaaS applications in cloud computing platform
US10705895B2 (en) Device based automated tool integration for lifecycle management platform
CN103678007A (en) Method and system for deploying software in batches
US20130346962A1 (en) Mechanism and system for deploying software over clouds
CN107562503A (en) A kind of configuring management method and device
CN102768628A (en) Method and device for preinstallation of third party application
CN104158905A (en) Creation method of web containers
US9383986B2 (en) Safe low cost web services software deployments
CN105912371A (en) Method for automatically deploying operation systems on basis of CS mode
CN112990806A (en) Method and system for dispatch control of transportation equipment
CN110855501A (en) Batch publishing system, method and storage medium for creating middleware
CN102609301A (en) Method for deploying software for multiple clients quickly

Legal Events

Date Code Title Description
C06 Publication
PB01 Publication
C10 Entry into substantive examination
SE01 Entry into force of request for substantive examination
WD01 Invention patent application deemed withdrawn after publication
WD01 Invention patent application deemed withdrawn after publication

Application publication date: 20160525