CN106936636A - A kind of implementation method of the cloud computing test platform of rapid deployment containerization - Google Patents
A kind of implementation method of the cloud computing test platform of rapid deployment containerization Download PDFInfo
- Publication number
- CN106936636A CN106936636A CN201710152454.4A CN201710152454A CN106936636A CN 106936636 A CN106936636 A CN 106936636A CN 201710152454 A CN201710152454 A CN 201710152454A CN 106936636 A CN106936636 A CN 106936636A
- Authority
- CN
- China
- Prior art keywords
- deployment
- docker
- node
- container
- cloud computing
- 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.)
- Granted
Links
Classifications
-
- H—ELECTRICITY
- H04—ELECTRIC COMMUNICATION TECHNIQUE
- H04L—TRANSMISSION OF DIGITAL INFORMATION, e.g. TELEGRAPHIC COMMUNICATION
- H04L41/00—Arrangements for maintenance, administration or management of data switching networks, e.g. of packet switching networks
- H04L41/08—Configuration management of networks or network elements
- H04L41/0889—Techniques to speed-up the configuration process
-
- G—PHYSICS
- G06—COMPUTING OR CALCULATING; COUNTING
- G06F—ELECTRIC DIGITAL DATA PROCESSING
- G06F9/00—Arrangements for program control, e.g. control units
- G06F9/06—Arrangements 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/44—Arrangements for executing specific programs
- G06F9/455—Emulation; Interpretation; Software simulation, e.g. virtualisation or emulation of application or operating system execution engines
- G06F9/45533—Hypervisors; Virtual machine monitors
- G06F9/45558—Hypervisor-specific management and integration aspects
-
- H—ELECTRICITY
- H04—ELECTRIC COMMUNICATION TECHNIQUE
- H04L—TRANSMISSION OF DIGITAL INFORMATION, e.g. TELEGRAPHIC COMMUNICATION
- H04L41/00—Arrangements for maintenance, administration or management of data switching networks, e.g. of packet switching networks
- H04L41/08—Configuration management of networks or network elements
- H04L41/0876—Aspects of the degree of configuration automation
- H04L41/0886—Fully automatic configuration
-
- H—ELECTRICITY
- H04—ELECTRIC COMMUNICATION TECHNIQUE
- H04L—TRANSMISSION OF DIGITAL INFORMATION, e.g. TELEGRAPHIC COMMUNICATION
- H04L41/00—Arrangements for maintenance, administration or management of data switching networks, e.g. of packet switching networks
- H04L41/08—Configuration management of networks or network elements
- H04L41/0893—Assignment of logical groups to network elements
-
- H—ELECTRICITY
- H04—ELECTRIC COMMUNICATION TECHNIQUE
- H04L—TRANSMISSION OF DIGITAL INFORMATION, e.g. TELEGRAPHIC COMMUNICATION
- H04L67/00—Network arrangements or protocols for supporting network services or applications
- H04L67/01—Protocols
- H04L67/10—Protocols in which an application is distributed across nodes in the network
- H04L67/1095—Replication or mirroring of data, e.g. scheduling or transport for data synchronisation between network nodes
-
- H—ELECTRICITY
- H04—ELECTRIC COMMUNICATION TECHNIQUE
- H04L—TRANSMISSION OF DIGITAL INFORMATION, e.g. TELEGRAPHIC COMMUNICATION
- H04L67/00—Network arrangements or protocols for supporting network services or applications
- H04L67/2866—Architectures; Arrangements
- H04L67/30—Profiles
-
- G—PHYSICS
- G06—COMPUTING OR CALCULATING; COUNTING
- G06F—ELECTRIC DIGITAL DATA PROCESSING
- G06F9/00—Arrangements for program control, e.g. control units
- G06F9/06—Arrangements 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/44—Arrangements for executing specific programs
- G06F9/455—Emulation; Interpretation; Software simulation, e.g. virtualisation or emulation of application or operating system execution engines
- G06F9/45533—Hypervisors; Virtual machine monitors
- G06F9/45558—Hypervisor-specific management and integration aspects
- G06F2009/45562—Creating, deleting, cloning virtual machine instances
Landscapes
- Engineering & Computer Science (AREA)
- Computer Networks & Wireless Communication (AREA)
- Signal Processing (AREA)
- Software Systems (AREA)
- Theoretical Computer Science (AREA)
- Physics & Mathematics (AREA)
- General Engineering & Computer Science (AREA)
- General Physics & Mathematics (AREA)
- Automation & Control Theory (AREA)
- Stored Programmes (AREA)
Abstract
本发明提供了一种快速部署容器化的云计算测试平台的实现方法,包括以下步骤:S1、使用Vagrant的虚拟机描述文件配置部署节点的基本信息,运行vagrant up命令从公共仓库中拉取预装的Linux操作系统,并在Virtual Box中运行;在部署节点中安装Docker并使用Docker创建私有容器仓库;使用Kolla制作Openstack各个服务的容器镜像文件,保存至所述私有容器仓库中;S2、遍历执行步骤S1的过程,以将所述容器镜像文件部署至目标节点。在本发明中,简化了云计算测试平台的部署步骤,提高了部署效率及部署过程的灵活性,提高了Openstack与不同厂商发布的不同版本的Linux操作系统兼容性,部署结束后还可以按照需求进行灵活扩容。
The present invention provides a method for quickly deploying a containerized cloud computing test platform, comprising the following steps: S1, using the virtual machine description file of Vagrant to configure the basic information of the deployment node, and running the vagrant up command to pull the pre-loaded information from the public warehouse. installed Linux operating system, and run in Virtual Box; install Docker in the deployment node and use Docker to create a private container warehouse; use Kolla to make container image files for each service of Openstack, and save them in the private container warehouse; S2, traverse Execute the process of step S1 to deploy the container image file to the target node. In the present invention, the deployment steps of the cloud computing test platform are simplified, the deployment efficiency and the flexibility of the deployment process are improved, and the compatibility between Openstack and different versions of Linux operating systems released by different manufacturers is improved. Perform flexible expansion.
Description
技术领域technical field
本发明涉及云计算技术领域,尤其涉及一种快速部署容器化的云计算测试平台的实现方法。The invention relates to the technical field of cloud computing, in particular to an implementation method for rapidly deploying a containerized cloud computing test platform.
背景技术Background technique
私有云(Private Clouds)是为一个客户单独使用而构建的,因而提供对数据、安全性和服务质量的最有效控制。该公司拥有基础设施,并可以控制在此基础设施上部署应用程序的方式。私有云可部署在企业数据中心的防火墙内,也可以将它们部署在一个安全的主机托管场所,私有云的核心属性是专有资源。Private Clouds are built for the sole use of one customer, thus providing the most effective control over data, security and quality of service. The company owns the infrastructure and can control how applications are deployed on this infrastructure. Private clouds can be deployed inside the firewall of an enterprise data center, or they can be deployed in a secure hosting location, and the core attribute of a private cloud is dedicated resources.
随着云计算技术的快速发展,越来越多的公司尝试自己部署云计算平台,并在上面进行功能验证与测试,另外,也有大量的开发测试人员需要快速部署一套云计算平台用于开发测试。With the rapid development of cloud computing technology, more and more companies are trying to deploy their own cloud computing platform and perform functional verification and testing on it. In addition, there are also a large number of development testers who need to quickly deploy a cloud computing platform for development. test.
Openstack作为目前十分主流的私有云平台,已经被很多组织应用于其内部,提升其内部IT基础架构运行和管理的效率。Openstack部署一直是一个比较繁琐且容易出错但又非常重要的步骤,是一个组件私有云的前置环节。现有技术中,部署Openstack的方案非常多,但是由于Openstack自身的复杂性,以及部署环境的千差万别,导致部署起来十分困难。As a very mainstream private cloud platform at present, Openstack has been applied internally by many organizations to improve the efficiency of their internal IT infrastructure operation and management. Openstack deployment has always been a cumbersome and error-prone but very important step, and it is the pre-stage of a component private cloud. In the prior art, there are many solutions for deploying Openstack, but due to the complexity of Openstack itself and the wide variety of deployment environments, it is very difficult to deploy.
目前,基于Openstack的私有云进行快速部署的方法通常基于配置管理框架Puppet管理Openstack组件的软件安装、配置文件修改和资源依赖的处理等。该现有技术的缺陷:配置选项过多且许多配置需要根据系统环境的不同而进行手动调整,从而导致出错几率大大增加;同时,由于该现有技术无法自动安装Linux操作系统。目前,兼容并运行Openstack的Linux操作系统需要预先安装完毕,并将相关信息(例如主机名称、IP地址)写入配置文件中,以便在部署Openstack的时候进行读取,在此过程中仍然需要部署者进行人工参与干预并进行配置选项的调整,因此也会导致出错几率大大增加。At present, the rapid deployment method of Openstack-based private cloud is usually based on the configuration management framework Puppet to manage software installation, configuration file modification and resource dependency processing of Openstack components. The defect of this prior art: there are too many configuration options and many configurations need to be adjusted manually according to the difference of system environment, thereby causing the probability of error to increase greatly; meanwhile, due to this prior art, the Linux operating system cannot be installed automatically. At present, the Linux operating system that is compatible and runs Openstack needs to be pre-installed, and relevant information (such as host name, IP address) is written into the configuration file, so that it can be read when deploying Openstack, which still needs to be deployed during the process The operator manually participates in the intervention and adjusts the configuration options, so the probability of error will also be greatly increased.
公开号为CN104580519A的中国发明专利申请公开了“一种快速部署openstack云计算平台的方法”。该现有技术的主要技术路线是将Linux操作系统和Openstack平台的各种服务、组件做成镜像模板,然后通过PXE、DHCP和TFTP启动。该现有技术的缺陷:配置过程的操作过于复杂;此外,当已经部署的Openstack中的某个节点需要重新配置时,需要重新制作镜像模板后重新部署,从而导致该现有技术存在不利于后期的维护及性能升级的缺陷;更重要的是,该现有技术无法适应不同厂商发布的不同版本的Linux操作系统,Openstack与不同厂商发布的不同版本的Linux操作系统耦合严重,因此该现有技术也存在Openstack与不同厂商发布的不同版本的Linux操作系统兼容性不佳的问题。The Chinese invention patent application with the publication number CN104580519A discloses "a method for rapidly deploying an openstack cloud computing platform". The main technical route of this prior art is to make various services and components of the Linux operating system and the Openstack platform into a mirror template, and then start by PXE, DHCP and TFTP. The defect of this prior art: the operation of the configuration process is too complicated; In addition, when a certain node in the deployed Openstack needs to be reconfigured, it is necessary to redeploy the image template after remaking, which causes this prior art to be unfavorable to the later stage maintenance and performance upgrade defects; more importantly, this prior art cannot adapt to the different versions of the Linux operating system released by different manufacturers, Openstack is seriously coupled with the different versions of the Linux operating system released by different manufacturers, so this prior art There is also the problem of poor compatibility between Openstack and different versions of Linux operating systems released by different manufacturers.
有鉴于此,有必要对现有技术中的基于Openstack云平台的部署方法予以改进,以解决上述问题。In view of this, it is necessary to improve the deployment method based on the Openstack cloud platform in the prior art to solve the above problems.
发明内容Contents of the invention
本发明的目的在于公开一种快速部署容器化的云计算测试平台的实现方法,用以简化云计算测试平台的部署步骤,提高部署效率及部署过程的灵活性,提高Openstack与不同厂商发布的不同版本的Linux操作系统兼容性。The purpose of the present invention is to disclose a method for quickly deploying a containerized cloud computing test platform, which is used to simplify the deployment steps of the cloud computing test platform, improve deployment efficiency and flexibility of the deployment process, and improve the difference between Openstack and different manufacturers. version of the Linux operating system compatibility.
为实现上述目的,本发明提供了一种快速部署容器化的云计算测试平台的实现方法,包括以下步骤:To achieve the above object, the present invention provides a method for quickly deploying a containerized cloud computing test platform, comprising the following steps:
S1、使用Vagrant的虚拟机描述文件配置部署节点的基本信息,运行vagrant up命令从公共仓库中拉取预装的Linux操作系统,并在Virtual Box中运行;在部署节点中安装Docker并使用Docker创建私有容器仓库;使用Kolla制作Openstack各个服务的容器镜像文件,保存至所述私有容器仓库中;S1. Use Vagrant's virtual machine description file to configure the basic information of the deployment node, run the vagrant up command to pull the pre-installed Linux operating system from the public warehouse, and run it in Virtual Box; install Docker on the deployment node and use Docker to create Private container warehouse; use Kolla to make container image files of Openstack services and save them in the private container warehouse;
S2、遍历执行步骤S1的过程,以将所述容器镜像文件部署至目标节点。S2. Go through the process of executing step S1, so as to deploy the container image file to the target node.
作为本发明的进一步改进,步骤S1中的所述“在部署节点中安装Docker并使用Docker创建私有容器仓库”还包括:将ansible的配置文件配置完毕后,在虚拟机描述文件中加入调用ansible的命令,待部署节点正常运行后,通过调用ansible以自动安装Docker。As a further improvement of the present invention, the "install Docker on the deployment node and use Docker to create a private container warehouse" in step S1 also includes: after configuring the configuration file of ansible, add the virtual machine description file calling ansible command, after the deployment node is running normally, Docker is automatically installed by calling ansible.
作为本发明的进一步改进,还包括对对部署节点和目标节点中的虚拟机描述文件中的配置选项Config.vm.box作修改的操作。As a further improvement of the present invention, an operation of modifying the configuration option Config.vm.box in the virtual machine description file in the deployment node and the target node is also included.
作为本发明的进一步改进,所述云计算测试平台为基于容器化的Openstack云计算测试平台。As a further improvement of the present invention, the cloud computing test platform is a containerized Openstack cloud computing test platform.
作为本发明的进一步改进,所述云计算测试平台运行于一个物理宿主机中。As a further improvement of the present invention, the cloud computing test platform runs in a physical host computer.
作为本发明的进一步改进,所述步骤S2还包括当前一次容器镜像文件部署操作失败时,对目标节点中的残留Docker volume及挂载所述残留Docker volume的容器作手动清除操作或者自动清除操作,并将所述容器镜像文件重新部署至目标节点。As a further improvement of the present invention, the step S2 also includes performing a manual or automatic clearing operation on the residual Docker volume in the target node and the container on which the residual Docker volume is mounted when the previous container image file deployment operation fails, And redeploy the container image file to the target node.
与现有技术相比,本发明的有益效果是:通过本发明,简化了云计算测试平台的部署步骤,提高了部署效率及部署过程的灵活性,提高了Openstack与不同厂商发布的不同版本的Linux操作系统兼容性。Compared with the prior art, the beneficial effects of the present invention are: through the present invention, the deployment steps of the cloud computing test platform are simplified, the deployment efficiency and the flexibility of the deployment process are improved, and the compatibility between Openstack and different versions released by different manufacturers is improved. Linux operating system compatibility.
附图说明Description of drawings
图1为基于本发明所示出的一种快速部署容器化的云计算测试平台的拓扑图;Fig. 1 is based on the topological diagram of a kind of rapid deployment containerized cloud computing test platform shown in the present invention;
图2为本发明所示出的一种快速部署容器化的云计算测试平台的实现方法中第一阶段的部署过程流程图;Fig. 2 is the deployment process flowchart of the first stage in the realization method of a kind of rapid deployment containerized cloud computing test platform shown in the present invention;
图3为本发明所示出的一种快速部署容器化的云计算测试平台的实现方法中第二阶段的部署过程流程图。FIG. 3 is a flow chart of the deployment process in the second stage of a method for quickly deploying a containerized cloud computing test platform shown in the present invention.
具体实施方式detailed description
下面结合附图所示的各实施方式对本发明进行详细说明,但应当说明的是,这些实施方式并非对本发明的限制,本领域普通技术人员根据这些实施方式所作的功能、方法、或者结构上的等效变换或替代,均属于本发明的保护范围之内。The present invention will be described in detail below in conjunction with the implementations shown in the drawings, but it should be noted that these implementations are not limitations of the present invention, and those of ordinary skill in the art based on the functions, methods, or structural changes made by these implementations Equivalent transformations or substitutions all fall within the protection scope of the present invention.
在详细阐述本发明之前,对说明书涉及的主要技术名词作如下定义及解释:Before elaborating the present invention in detail, the main technical terms involved in the description are defined and explained as follows:
1、OpenStack:基于开源的云计算管理平台项目,目标是提供实施简单、可大规模扩展、丰富、标准统一的云计算管理平台。1. OpenStack: An open source-based cloud computing management platform project, the goal is to provide a cloud computing management platform that is simple to implement, scalable on a large scale, rich, and unified in standards.
2、VirtualBox:开源虚拟机软件。2. VirtualBox: Open source virtual machine software.
3、Vagrant:跨平台的虚拟机构建工具,能够通过一个配置文件来描述虚拟机,然后调用底层的VirtualBox来创建虚拟机。3. Vagrant: A cross-platform virtual machine construction tool that can describe a virtual machine through a configuration file, and then call the underlying VirtualBox to create a virtual machine.
4、Ansible:自动化部署运维工具,特点:分布式、无需客户端、轻量级。4. Ansible: Automated deployment operation and maintenance tool, features: distributed, no client, lightweight.
5、Kolla:将Openstack各个服务进行容器化的项目,包括两部分:制作Openstack各个服务对应的容器镜像文件;使用ansible部署容器镜像文件。5. Kolla: A project to containerize various services of Openstack, including two parts: making container image files corresponding to each service of Openstack; using ansible to deploy container image files.
6、Docker:开源的应用容器引擎,让开发者可以打包他们的应用以及依赖包到一个可移植的容器中,然后发布到任何流行的Linux操作系统的计算机上,也可以实现虚拟化。容器是完全使用沙箱机制,相互之间不会有任何接口。6. Docker: An open source application container engine that allows developers to package their applications and dependencies into a portable container, and then publish it to any popular Linux operating system computer, and can also implement virtualization. Containers use a sandbox mechanism completely, and there will be no interfaces between them.
7、公共仓库:Docker公司搭建并面向所有用户的仓库。7. Public warehouse: a warehouse built by Docker and facing all users.
接下来对本发明一种快速部署容器化的云计算平台的实现方法的具体实施方式作详细阐述。Next, a detailed description will be given of a specific implementation method of a fast-deploying containerized cloud computing platform of the present invention.
参图1所示,在一台物理宿主机10上创建多台虚拟机(VM),并其中一台虚拟机作为部署节点4,其他的虚拟机作为目标节点。部署节点4通过管理网络20耦合连接多个目标节点(即图1中的目标节点1、目标节点2、目标节点3……目标节点N),用来存放Openstack各个服务的容器镜像文件;其它的虚拟机作为部署的目标节点,这些目标节点作为最终部署的Openstack的功能性节点。其中,目标节点N泛指上述目标节点1~3中任意一种功能性节点。Referring to FIG. 1 , multiple virtual machines (VMs) are created on one physical host machine 10, and one of the virtual machines is used as the deployment node 4, and the other virtual machines are used as target nodes. Deployment node 4 couples and connects multiple target nodes (i.e. target node 1, target node 2, target node 3...target node N in Fig. 1) through the management network 20, and is used to store the container image files of each service of Openstack; Virtual machines are used as target nodes for deployment, and these target nodes are used as functional nodes of the final deployed Openstack. Wherein, the target node N generally refers to any functional node among the above-mentioned target nodes 1-3.
本实施方式所示出的一种快速部署容器化的云计算测试平台的实现方法所部署而成的云计算测试平台运行于一个物理宿主机10中,具有部署过程不受外界影响的有益效果。This embodiment shows a method for quickly deploying a containerized cloud computing test platform. The deployed cloud computing test platform runs on a physical host machine 10, which has the beneficial effect that the deployment process is not affected by the outside world.
参图1所示,该图1示出多个目标节点,分别是目标节点1(作为控制节点)、目标节点2(作为计算节点)和目标节点3(作为网络节点)。另外,可以根据需要和硬件配置相应增加目标节点的个数,并定义不同类型的目标节点。部署Openstack时,按照图1中的箭头方向,将部署节点4上的Openstack各个服务的容器镜像文件部署到各个目标节点上去,以完成整个基于OpenStack架构的云计算测试平台的部署。Referring to FIG. 1 , FIG. 1 shows a plurality of target nodes, which are target node 1 (as a control node), target node 2 (as a computing node) and target node 3 (as a network node). In addition, the number of target nodes can be increased correspondingly according to needs and hardware configuration, and different types of target nodes can be defined. When deploying Openstack, deploy the container image files of each service of Openstack on deployment node 4 to each target node according to the direction of the arrow in Figure 1, so as to complete the deployment of the entire OpenStack architecture-based cloud computing test platform.
在部署过程中可以使用kolla-ansible prechecks命令来对部署环境进行预检,以便减少部署失败的风险;另外一旦部署过程发生错误,可以使用kolla-ansibledestroy--yes-i-really-really-mean-it命令来清除部署过程中的残留数据,在解决了出错问题并重新部署的时候,保证物理宿主机10中具备干净的部署环境,这样便保证了部署过程的幂等性,可以极大的降低了部署的失败几率。During the deployment process, you can use the kolla-ansible prechecks command to pre-check the deployment environment to reduce the risk of deployment failure; in addition, once an error occurs during the deployment process, you can use kolla-ansibledestroy --yes-i-really-really-mean- it command to clear the residual data in the deployment process. When solving the error problem and redeploying, ensure that the physical host 10 has a clean deployment environment, which ensures the idempotence of the deployment process and can greatly reduce the The probability of deployment failure.
在本实施方式中,该快速部署容器化的云计算测试平台的实现方法主要包括两个阶段。In this embodiment, the implementation method of the rapid deployment of the containerized cloud computing test platform mainly includes two stages.
参图2所示,第一阶段:制作OpenStack各个服务的容器镜像文件,并具体为下述第1步至第3步所示。As shown in Figure 2, the first stage: making container image files for each service of OpenStack, specifically as shown in the following steps 1 to 3.
第1步:准备部署节点。Step 1: Prepare to deploy nodes.
使用Vagrant的虚拟机描述文件(Vagrantfile)来配置部署节点4的基本信息,主要代码如下所示:Use Vagrant's virtual machine description file (Vagrantfile) to configure the basic information of deploying node 4. The main code is as follows:
然后运行vagrant up命令。Vagrant会从其公共仓库中拉取预装好的Linux操作系统。为简化表述,在本说明书中,Linux操作系统选用版本号为CentOS7的Linux操作系统(以下简称“CentOS7”)。在Virtual Box中将CentOS7运行,同时设置CentOS7在Virtual Box中的名称,CentOS7运行后还会执行自动配置主机名称和IP地址的操作。Then run the vagrant up command. Vagrant pulls pre-installed Linux OS from its public repository. In order to simplify the description, in this specification, the Linux operating system is selected as the Linux operating system whose version number is CentOS7 (hereinafter referred to as "CentOS7"). Run CentOS7 in Virtual Box, and set the name of CentOS7 in Virtual Box at the same time. After CentOS7 runs, it will also perform the operation of automatically configuring the host name and IP address.
可以通过是否可以SSH到部署节点4中并验证IP地址和主机名称是否正确,来确定这一步是否被正确完成;如果有错误,可以先检查部署节点4的虚拟机描述文件(Vagrantfile)、检查当前物理宿主机10和外网的连通性等来进行解决。具体的,可通过ping 114.114.114.114(公开的DNS服务器的地址)的TTL来进行与外网连通性的判断,只要有返回的数据包且没有丢包,可认定物理宿主机10与外网已经建立连接。You can determine whether this step has been completed correctly by checking whether you can SSH into the deployment node 4 and verify whether the IP address and host name are correct; if there is an error, you can first check the virtual machine description file (Vagrantfile) of the deployment node 4 and check the current The connectivity between the physical host machine 10 and the external network is solved. Specifically, the TTL of ping 114.114.114.114 (the address of the public DNS server) can be used to judge the connectivity with the external network. As long as there is a returned data packet and there is no packet loss, it can be determined that the physical host machine 10 and the external network have been connected. establish connection.
第2步:在部署节点中安装Docker,并使用Docker创建一个私有容器仓库(Dockerregistry)。Step 2: Install Docker on the deployment node, and use Docker to create a private container warehouse (Docker registry).
优选的,在本实施方式中,所述在部署节点中安装Docker并使用Docker创建私有容器仓库还包括:将ansible的配置文件配置完毕后,在虚拟机描述文件(Vagrantfile)中加入调用ansible的命令,待部署节点正常运行后,通过调用ansible以自动安装Docker。从而使得安装Docker的内容写在ansible的配置文件中。该第2步的主要代码如下所示。Preferably, in this embodiment, the installation of Docker in the deployment node and use of Docker to create a private container warehouse also includes: after the configuration file of ansible is configured, adding a command to call ansible in the virtual machine description file (Vagrantfile) , after the deployment node runs normally, Docker is automatically installed by calling ansible. So that the content of installing Docker is written in the configuration file of ansible. The main code for this step 2 is shown below.
其中,playbook.yml内容如下:Among them, the content of playbook.yml is as follows:
接着创建一个私有容器仓库(Docker registry),该创建操作对应命令的主要代码如下所示:Then create a private container warehouse (Docker registry), the main code of the command corresponding to the creation operation is as follows:
mkdir-p/root/image_repomkdir -p /root/image_repo
docker run-d-p 4000:5000-v/root/image_repo:/var/lib/registry--restart=always--name registry registry:2docker run -d -p 4000:5000 -v /root/image_repo:/var/lib/registry --restart=always --name registry registry:2
同时,在本实施方式中,还需要配置Docker守护进程,使其可以使用刚才创建的私有容器仓库,可以通过在/lib/systemd/system/docker.service中加上启动参数。At the same time, in this embodiment, it is also necessary to configure the Docker daemon process so that it can use the private container warehouse just created by adding startup parameters in /lib/systemd/system/docker.service.
ExecStart=/usr/bin/dockerd--insecure-registry 192.168.0.10:4000...ExecStart=/usr/bin/dockerd --insecure-registry 192.168.0.10:4000...
然后重启Docker,代码为:systemctl restart docker。Then restart Docker, the code is: systemctl restart docker.
这一步可以通过可以将任意一个容器镜像文件推送到刚创建的私有容器仓库中来验证是否已经正确执行;如果有错,可以检查Docker配置和私有容器仓库的配置,查看是否正确启用了此私有容器仓库。This step can be verified by pushing any container image file to the newly created private container repository; if there is an error, you can check the Docker configuration and the configuration of the private container repository to see if the private container is enabled correctly storehouse.
第3步:在部署节点4中使用Kolla制作Openstack各个服务的容器镜像文件并保存到私有容器仓库中。Step 3: Use Kolla on deployment node 4 to make container image files for each service of Openstack and save them in a private container repository.
具体的,首先下载并安装Kolla,运行以下命令来制作所有的镜像并推送至私有容器仓库:Specifically, first download and install Kolla, run the following commands to make all images and push them to the private container repository:
kolla-build--type source--registry 192.168.0.10:4000–pushkolla-build --type source --registry 192.168.0.10:4000 --push
这一步完后,可以查看私有容器仓库中是否所有的容器镜像文件都已经制作好来确定是否成功执行。由于需要从网络(具体为外网)上下载各种软件包和源代码,网络和软件源的不稳定等因素会造成执行失败,可以在稳定后进行重试,另外如果Kolla的配置文件中有错误,也会造成创建容器镜像文件的失败。After this step, you can check whether all the container image files in the private container repository have been created to determine whether the execution is successful. Due to the need to download various software packages and source codes from the network (specifically, the external network), factors such as the instability of the network and software sources will cause execution failures, and you can try again after stabilization. In addition, if the configuration file of Kolla has Errors will also cause failure to create container image files.
具体的,采用命令:curl 192.168.0.10:4000/v2/_catalog来查看私有容器仓库中的所有容器镜像文件。若结果与kolla-build--list-images命令列出的容器镜像文件一致,就可以认为所有的容器镜像文件都已经制作完毕。Specifically, use the command: curl 192.168.0.10:4000/v2/_catalog to view all container image files in the private container repository. If the result is consistent with the container image files listed by the kolla-build--list-images command, it can be considered that all container image files have been created.
参图1及图3所示,第二阶段、将制作好的容器镜像文件部署到目标节点上。Referring to Figure 1 and Figure 3, the second stage is to deploy the prepared container image file to the target node.
第4步、准备目标节点。Step 4, prepare the target node.
在vagrant的虚拟机描述文件(Vagrantfile)中定义这三台目标节点的配置,主要代码如下所示:Define the configuration of these three target nodes in Vagrant's virtual machine description file (Vagrantfile). The main code is as follows:
可以看出定义了三个网段:管理网络20:192.168.0.0/24、计算网络30:192.168.1.0/24及外部网络40:192.168.2.0/24。外部网络40的作用是为Openstack测试环境中的虚拟机提供访问外网的途径。It can be seen that three network segments are defined: management network 20: 192.168.0.0/24, computing network 30: 192.168.1.0/24 and external network 40: 192.168.2.0/24. The role of the external network 40 is to provide a way for the virtual machines in the Openstack test environment to access the external network.
另外,在第1步中,定义的部署节点4的IP在管理网络20范围内,部署节点4便可以通过管理网络20来访问这目标节点、目标节点2及目标节点3。In addition, in the first step, the defined IP of the deployment node 4 is within the range of the management network 20 , and the deployment node 4 can access the target node, the target node 2 and the target node 3 through the management network 20 .
虚拟机描述文件(Vagrantfile)准备好之后运行vagrant up命令,同第1步中一样,Vagrant会从公共仓库中拉取预装好的CentOS 7,并在Virtual Box中将CentOS 7运行起来,同时会设置CentOS 7在Virtual Box中的名称,CentOS 7运行后还会自动配置主机名称和IP地址。After the virtual machine description file (Vagrantfile) is ready, run the vagrant up command, as in step 1, Vagrant will pull the pre-installed CentOS 7 from the public warehouse, and run CentOS 7 in Virtual Box, and at the same time Set the name of CentOS 7 in Virtual Box, and the host name and IP address will be automatically configured after CentOS 7 runs.
同第1步中一样,可以通过是否可以SSH到部署节点4中,并验证IP和主机名称是否正确,从而确定这一步是否正确完成,如果有错误,可以先检查部署节点的虚拟机描述文件(Vagrantfile)、检查当前物理机和外网的连通性等来进行解决。As in step 1, you can verify whether this step is completed correctly by checking whether you can SSH into the deployment node 4 and verify whether the IP and host name are correct. If there is an error, you can first check the virtual machine description file of the deployment node ( Vagrantfile), check the connectivity between the current physical machine and the external network, etc. to solve the problem.
第5步、在目标节点1、目标节点2及目标节点3中安装Docker,并修改默认配置,使上述三个目标节点均可以使用部署节点4中已经被创建的私有容器仓库。通过配置Docker守护进程,使述三个目标节点均可以使用已经被创建的私有容器仓库,可以通过在/lib/systemd/system/docker.service中加上启动参数,具体代码如下所示:Step 5: Install Docker on target node 1, target node 2, and target node 3, and modify the default configuration so that the above three target nodes can use the private container warehouse that has been created in deployment node 4. By configuring the Docker daemon process, the above three target nodes can use the private container warehouse that has been created. You can add startup parameters to /lib/systemd/system/docker.service. The specific code is as follows:
ExecStart=/usr/bin/dockerd--insecure-registry 192.168.0.10:4000...ExecStart=/usr/bin/dockerd --insecure-registry 192.168.0.10:4000...
然后重启Docker,代码为:systemctl restart docker。Then restart Docker, the code is: systemctl restart docker.
通过在这几台部署的目标节点中是否可以正确下载在第一阶段中创建的容器镜像文件,便可以验证当前这一步是否执行成功。如果有错,则检查当前节点的Docker配置,确定是否正确启用了保存镜像的私有容器仓库。Whether the current step is successfully executed can be verified by whether the container image file created in the first stage can be downloaded correctly among the target nodes deployed. If there is an error, check the Docker configuration of the current node to determine whether the private container repository for storing images is correctly enabled.
具体的,若能够从第2步所述的私有容器仓库(Docker registry)中拉取容器镜像文件,则证明第5步中的验证操作是否成功。具体代码为:Specifically, if the container image file can be pulled from the private container warehouse (Docker registry) described in step 2, it proves whether the verification operation in step 5 is successful. The specific code is:
docker pull 192.168.0.10:4000/kolla/centos-source-nova-api,docker pull 192.168.0.10:4000/kolla/centos-source-nova-api,
其中,“kolla/centos-source-nova-api”是私有容器仓库(Docker registry)中的一个容器镜像文件。Among them, "kolla/centos-source-nova-api" is a container image file in the private container warehouse (Docker registry).
第6步:在部署节点4中使用Kolla进行部署。Step 6: Deploy using Kolla in deployment node 4.
这一步需要做一点准备工作,即将3个目标节点的管理网络IP地址和每个节点对应的角色(例如控制节点、计算节点和网络节点)写入Kolla的配置文件,以便使用Kolla在部署Openstack时便可以识别这些不同的目标节点。同样,这一步也可以通过调用ansible命令来自动完成。This step requires a little preparatory work, that is, the management network IP addresses of the three target nodes and the corresponding roles of each node (such as control nodes, computing nodes, and network nodes) are written into the Kolla configuration file, so that Kolla can be used when deploying Openstack These different target nodes can then be identified. Again, this step can also be done automatically by invoking the ansible command.
通过这种方法将安装CentOS 7与部署Openstack这两个隔离的步骤融合到一起,便可以解决其它部署方式必须进行的大量手动配置的问题,既简化了容器化的云计算测试平台的部署流程,也有效的降低了由于配置错误所导致的部署失败的风险,从而大大提高了容器化的云计算测试平台的部署效率。In this way, the two isolated steps of installing CentOS 7 and deploying Openstack can be integrated to solve the problem of a large number of manual configurations that must be performed in other deployment methods, which not only simplifies the deployment process of the containerized cloud computing test platform, It also effectively reduces the risk of deployment failure due to configuration errors, thereby greatly improving the deployment efficiency of the containerized cloud computing test platform.
配置文件修改好之后就可以进行正式的部署了,运行下面的命令:After the configuration file is modified, the official deployment can be carried out. Run the following command:
kolla-ansible deploykolla-ansible deploy
执行完成后一套完整的容器化的Openstack的私有云平台已经就绪并部署完毕。After the execution is completed, a complete containerized Openstack private cloud platform is ready and deployed.
可以通过测试Openstack各个功能是否可用来判断这一步是否成功执行,如果有任何问题,可以检查各Openstack服务对应的容器运行状态和配置文件、检查Kolla配置文件,发现问题之后重新运行命令进行部署即可。You can judge whether this step is successfully executed by testing whether each function of Openstack is available. If there is any problem, you can check the running status and configuration file of the container corresponding to each Openstack service, check the Kolla configuration file, and re-run the command to deploy after finding the problem. .
具体的,如何验证第6步中是否成功执行具体为:Specifically, how to verify whether step 6 is successfully executed is as follows:
执行nova service-list和neutron agent-list;如果执行成功,并且结果中可以分别列出计算节点(即目标节点2)和网络节点(即目标节点3),并且都是active状态以及可以创建虚拟机和网络等资源证明使用Kolla进行部署是否安装成功。Execute nova service-list and neutron agent-list; if the execution is successful, the computing node (ie target node 2) and network node (ie target node 3) can be listed in the result, and both are active and virtual machines can be created And resources such as the network prove whether the deployment using Kolla is successful.
部署完成后,如果有扩容等需求,例如增加计算节点或者网络节点,可以按照本发明中第二阶段相同的步骤来进行扩容,由于在第一阶段已经准备好了私有容器仓库和容器镜像文件,所以第一阶段已经不需要重新执行;另外这种方式对于已经部署好的目标节点完全没有影响,这样便可以轻松方便地进行资源扩容。After the deployment is completed, if there is a demand for capacity expansion, such as adding computing nodes or network nodes, the capacity can be expanded according to the same steps as the second stage of the present invention. Since the private container warehouse and container image files have been prepared in the first stage, Therefore, the first stage does not need to be re-executed; in addition, this method has no effect on the deployed target nodes, so that resource expansion can be easily and conveniently performed.
本发明可以支持不同版本号、不同发行版的Linux操作系统,我们上文中使用的是CentOS 7的Linux操作系统,也可以支持其它厂商或者不同版本的Linux操作系统,比如主流的Ubuntu/Debian、SUSE等。我们需要做的只需要简单修改各个虚拟机配置文件(Vagrantfile)中config.vm.box配置项即可实现自适应,具体代码如下所示:The present invention can support Linux operating systems of different version numbers and different distribution versions. What we use above is the Linux operating system of CentOS 7, and can also support other manufacturers or different versions of Linux operating systems, such as mainstream Ubuntu/Debian, SUSE Wait. All we need to do is to simply modify the config.vm.box configuration items in each virtual machine configuration file (Vagrantfile) to achieve self-adaptation. The specific code is as follows:
config.vm.box="ubuntu/trusty64",表示使用Ubuntu 14.04 64bit;config.vm.box="ubuntu/trusty64", means using Ubuntu 14.04 64bit;
config.vm.box="ubuntu/xenial64",表示使用Ubuntu 16.04 64bit;config.vm.box="ubuntu/xenial64", means using Ubuntu 16.04 64bit;
config.vm.box="debian/jessie64",表示使用Debian 8 64bit;config.vm.box="debian/jessie64", means using Debian 8 64bit;
config.vm.box="suse/sles11sp3",表示使用SUSE企业config.vm.box="suse/sles11sp3", means use SUSE enterprise
版SLES 11 SP3。Version SLES 11 SP3.
在第6步中,对第一次使用Kolla进行部署时可能出现的部署失败的问题,本发明也提出了相应的解决方案,具体如下所示。In step 6, the present invention also proposes a corresponding solution to the problem of deployment failure that may occur when Kolla is used for deployment for the first time, as shown in detail below.
在部署过程中可能遇到部署失败的情况,出现mariadb数据库无法登录:During the deployment process, the deployment may fail, and the mariadb database cannot be logged in:
TASK[mariadb:Creating haproxy mysql user]TASK[mariadb:Creating haproxy mysql user]
FAILED-RETRYING:TASK:mariadb:Creating haproxy mysql user(10 retriesleft).FAILED-RETRYING: TASK: mariadb: Creating haproxy mysql user (10 retries left).
……...
FAILED-RETRYING:TASK:mariadb:Creating haproxy mysql user(2 retriesleft).FAILED-RETRYING: TASK: mariadb: Creating haproxy mysql user (2 retries left).
FAILED-RETRYING:TASK:mariadb:Creating haproxy mysql user(1 retriesleft).FAILED-RETRYING: TASK: mariadb: Creating haproxy mysql user (1 retries left).
NO MORE HOSTS LEFTNO MORE HOSTS LEFT
to retry,use:--limit@/usr/share/kolla/ansible/site.retryto retry, use: --limit@/usr/share/kolla/ansible/site.retry
PLAY RECAPPLAY RECAP
controller1:ok=49 changed=22 unreachable=0 failed=1controller1: ok=49 changed=22 unreachable=0 failed=1
作为控制节点的目标节点1中包括数据库,并优先选用mariadb数据库。当第一次部署失败时,由于前一次使用Kolla进行部署安装时的出错,导致控制节点中残留了一个Docker volume,而代码中存在bug。因此,在第二次使用Kolla进行部署安装的时候一旦检测到了这个残留Docker volume,则会跳过初始化数据库(即mariadb数据库)的步骤,从而导致在两次配置过程中所设定的数据库密码的不同所导致的永远无法登录至mariadb数据库的问题,并最终导致无法成功部署的问题。The target node 1 as the control node includes a database, and the mariadb database is preferred. When the first deployment failed, a Docker volume remained in the control node due to an error in the previous deployment and installation using Kolla, and there were bugs in the code. Therefore, once the residual Docker volume is detected when using Kolla for deployment and installation for the second time, the step of initializing the database (that is, the mariadb database) will be skipped, resulting in the loss of the database password set in the two configuration processes. Different causes the problem that you can never log in to the mariadb database, and eventually lead to the problem that you cannot deploy successfully.
为此,在本实施方式中,在第6步中,还包括当前一次容器镜像文件部署操作失败时,对目标节点中的残留Docker volume及挂载所述残留Docker volume的容器作手动清除操作或者自动清除操作,并将所述容器镜像文件重新部署至目标节点。因此,需要清除mariadb中的Docker volume及相关的Docker(容器),然后重新进行部署。此时的Docker为挂载有Docker volume的容器。为此可通过修改kolla本身的bug或者在部署前使用脚本清除所有残留数据(包括Docker Volume及挂载有Docker Volume的Docker)来解决上述问题。For this reason, in this embodiment, in step 6, when the previous container image file deployment operation fails, manually clear the residual Docker volume in the target node and the container that mounts the residual Docker volume or Automatically clear the operation, and redeploy the container image file to the target node. Therefore, you need to clear the Docker volume and related Docker (container) in mariadb, and then redeploy. At this time, Docker is a container with a Docker volume mounted. To this end, the above problems can be solved by modifying the bugs of kolla itself or using scripts to clear all residual data (including Docker Volume and Docker with Docker Volume mounted) before deployment.
需要说明的是,此处所指的容器是指控制节点正在运行的容器。删除DockerVolume的命令是docker volume rm mariadb,其中mariadb是Docker Volume的名称,包含Openstack中各组件数据库的数据。It should be noted that the container referred to here refers to the container that the control node is running. The command to delete DockerVolume is docker volume rm mariadb, where mariadb is the name of Docker Volume, which contains the data of each component database in Openstack.
具体的,手动清除残留Docker volume及挂载所述残留Docker volume的容器操作的方案具体为:Specifically, the scheme for manually clearing the residual Docker volume and mounting the container operation of the residual Docker volume is as follows:
在所有的控制节点上运行以下命令清除Docker volume和正在运行的容器:Run the following command on all control nodes to clear the Docker volume and running containers:
首先,在所有控制节点停止正在运行的mariadb容器,命令如下:First, stop the running mariadb container on all control nodes, the command is as follows:
docker stop mariadb;docker stop mariadb;
然后,在所有控制节点删除容器,命令如下:Then, delete the container on all control nodes, the command is as follows:
docker stop mariadb;docker stop mariadb;
最后,在所有控制节点清除docker volume,命令如下:Finally, clear the docker volume on all control nodes, the command is as follows:
docker volume rm mariadb。docker volume rm mariadb.
自动清除残留Docker volume及挂载所述残留Docker volume的容器操作的方案具体为:The scheme for automatically clearing the residual Docker volume and mounting the container operation of the residual Docker volume is as follows:
将以下内容写入ansible的配置文件中,通过运行ansible以自动清除控制节点上的残留Docker volume及挂载所述残留Docker volume的容器,其命令如下:Write the following content into the ansible configuration file, and run ansible to automatically clear the residual Docker volume on the control node and mount the residual Docker volume container. The command is as follows:
通过上述技术方案,可避免由于前后两次使用Kolla进行部署安装时,避免由于两次配置过程中所设定的数据库密码的不同所导致的永远无法登录至mariadb数据库的问题,从而显著的提高了部署的成功率与简便性,防止出错。Through the above technical solution, it is possible to avoid the problem of never being able to log in to the mariadb database due to the difference in the database passwords set in the two configuration processes when using Kolla for deployment and installation twice, thereby significantly improving The success rate and simplicity of deployment prevent errors.
在本实施方式中,采用Vagrant与Virtual Box的组合方案来统一部署Openstack架构的云计算测试平台,将Openstack部署在物理宿主机10的虚拟机中,并配置为具有不同功能的目标节点,解决了由于环境不一致所导致的部署失败的问题。同时,采用Vagrant与Ansible的组合,可支持不同版本的Linux操作系统与部署Openstack这两个独立的部署阶段实现有机整合,降低了用户部署难度。最后,由于采用私有容器仓库和容器镜像文件,从而大大降低了部署云计算测试平台的失败率。In this embodiment, the combination scheme of Vagrant and Virtual Box is used to uniformly deploy the cloud computing test platform of the Openstack architecture, and Openstack is deployed in the virtual machine of the physical host machine 10, and configured as a target node with different functions, which solves the problem of Deployment failures due to inconsistent environments. At the same time, the combination of Vagrant and Ansible can support different versions of the Linux operating system and deploy Openstack, which are two independent deployment stages, to achieve organic integration, reducing the difficulty of user deployment. Finally, due to the use of private container warehouses and container image files, the failure rate of deploying cloud computing test platforms is greatly reduced.
上文所列出的一系列的详细说明仅仅是针对本发明的可行性实施方式的具体说明,它们并非用以限制本发明的保护范围,凡未脱离本发明技艺精神所作的等效实施方式或变更均应包含在本发明的保护范围之内。The series of detailed descriptions listed above are only specific descriptions for feasible implementations of the present invention, and they are not intended to limit the protection scope of the present invention. Any equivalent implementation or implementation that does not depart from the technical spirit of the present invention All changes should be included within the protection scope of the present invention.
对于本领域技术人员而言,显然本发明不限于上述示范性实施例的细节,而且在不背离本发明的精神或基本特征的情况下,能够以其他的具体形式实现本发明。因此,无论从哪一点来看,均应将实施例看作是示范性的,而且是非限制性的,本发明的范围由所附权利要求而不是上述说明限定,因此旨在将落在权利要求的等同要件的含义和范围内的所有变化囊括在本发明内。不应将权利要求中的任何附图标记视为限制所涉及的权利要求。It will be apparent to those skilled in the art that the invention is not limited to the details of the above-described exemplary embodiments, but that the invention can be embodied in other specific forms without departing from the spirit or essential characteristics of the invention. Accordingly, the embodiments should be regarded in all points of view as exemplary and not restrictive, the scope of the invention being defined by the appended claims rather than the foregoing description, and it is therefore intended that the scope of the invention be defined by the appended claims rather than by the foregoing description. All changes within the meaning and range of equivalents of the elements are embraced in the present invention. Any reference sign in a claim should not be construed as limiting the claim concerned.
此外,应当理解,虽然本说明书按照实施方式加以描述,但并非每个实施方式仅包含一个独立的技术方案,说明书的这种叙述方式仅仅是为清楚起见,本领域技术人员应当将说明书作为一个整体,各实施例中的技术方案也可以经适当组合,形成本领域技术人员可以理解的其他实施方式。In addition, it should be understood that although this specification is described according to implementation modes, not each implementation mode only contains an independent technical solution, and this description in the specification is only for clarity, and those skilled in the art should take the specification as a whole , the technical solutions in the various embodiments can also be properly combined to form other implementations that can be understood by those skilled in the art.
Claims (6)
Priority Applications (1)
| Application Number | Priority Date | Filing Date | Title |
|---|---|---|---|
| CN201710152454.4A CN106936636B (en) | 2017-03-15 | 2017-03-15 | A method for quickly deploying a containerized cloud computing test platform |
Applications Claiming Priority (1)
| Application Number | Priority Date | Filing Date | Title |
|---|---|---|---|
| CN201710152454.4A CN106936636B (en) | 2017-03-15 | 2017-03-15 | A method for quickly deploying a containerized cloud computing test platform |
Publications (2)
| Publication Number | Publication Date |
|---|---|
| CN106936636A true CN106936636A (en) | 2017-07-07 |
| CN106936636B CN106936636B (en) | 2019-08-30 |
Family
ID=59432472
Family Applications (1)
| Application Number | Title | Priority Date | Filing Date |
|---|---|---|---|
| CN201710152454.4A Active CN106936636B (en) | 2017-03-15 | 2017-03-15 | A method for quickly deploying a containerized cloud computing test platform |
Country Status (1)
| Country | Link |
|---|---|
| CN (1) | CN106936636B (en) |
Cited By (40)
| Publication number | Priority date | Publication date | Assignee | Title |
|---|---|---|---|---|
| CN107463432A (en) * | 2017-08-17 | 2017-12-12 | 福建中金在线信息科技有限公司 | Server production environment dispositions method, device, electronic equipment and storage medium |
| CN107835093A (en) * | 2017-10-26 | 2018-03-23 | 郑州云海信息技术有限公司 | A kind of memory management method and device |
| CN108462746A (en) * | 2018-03-14 | 2018-08-28 | 广州西麦科技股份有限公司 | A kind of container dispositions method and framework based on openstack |
| CN108809733A (en) * | 2018-07-11 | 2018-11-13 | 郑州云海信息技术有限公司 | A kind of system of multinode deployment docking OpenStack cloud management platforms |
| CN108829409A (en) * | 2018-06-20 | 2018-11-16 | 泰华智慧产业集团股份有限公司 | A kind of distributed system quick deployment method and system |
| CN108829399A (en) * | 2018-04-13 | 2018-11-16 | 杭州朗和科技有限公司 | A kind of test method of application, test device, medium and calculate equipment |
| CN108984165A (en) * | 2018-07-16 | 2018-12-11 | 郑州云海信息技术有限公司 | A kind of building customizes the method and system of mirror image |
| CN109065111A (en) * | 2018-08-06 | 2018-12-21 | 郑州云海信息技术有限公司 | A kind of cloud platform health check system and method based on docker |
| CN109359033A (en) * | 2018-09-05 | 2019-02-19 | 广州神马移动信息科技有限公司 | Stress test method, test server, management server and system |
| CN109412887A (en) * | 2018-10-08 | 2019-03-01 | 郑州云海信息技术有限公司 | A kind of collection system of the container monitors data based on OpenStack |
| CN109495298A (en) * | 2018-11-06 | 2019-03-19 | 郑州云海信息技术有限公司 | The method and apparatus of management node in OpenStack system |
| CN109756533A (en) * | 2017-11-02 | 2019-05-14 | 阿里巴巴集团控股有限公司 | A kind of mirror image accelerated method, device and server |
| CN109799998A (en) * | 2018-12-18 | 2019-05-24 | 深圳先进技术研究院 | OpenStack cluster configuration and batch dispositions method and system |
| CN109871213A (en) * | 2018-12-25 | 2019-06-11 | 武汉烽火信息集成技术有限公司 | OpenStack containerization system and method based on Domestic Platform |
| CN110233817A (en) * | 2018-03-06 | 2019-09-13 | 广州西麦科技股份有限公司 | A kind of vessel safety system based on cloud computing |
| WO2019218463A1 (en) * | 2018-05-14 | 2019-11-21 | 平安科技(深圳)有限公司 | Method and apparatus for automatically building kubernetes master node on basis of ansible tool, terminal device, and readable storage medium |
| CN111181953A (en) * | 2019-12-26 | 2020-05-19 | 山东乾云启创信息科技股份有限公司 | Method and device for supporting spice protocol through Roc virtualization |
| CN111198696A (en) * | 2019-12-30 | 2020-05-26 | 湖南大学 | OpenStack large-scale deployment method and system based on bare computer server |
| CN111198695A (en) * | 2019-12-25 | 2020-05-26 | 航天信息股份有限公司 | Automatic deployment method of micro-service administration management platform and electronic equipment |
| CN111324356A (en) * | 2018-12-17 | 2020-06-23 | 北京数安鑫云信息技术有限公司 | Software automation deployment method and system |
| CN111343144A (en) * | 2020-01-23 | 2020-06-26 | 奇安信科技集团股份有限公司 | OPC (optical proximity correction) network gate system based on Linux and data processing method |
| CN111427600A (en) * | 2020-03-20 | 2020-07-17 | 成都千立网络科技有限公司 | Docker-based platform system deployment and upgrade method and system |
| CN111984366A (en) * | 2020-07-24 | 2020-11-24 | 苏州浪潮智能科技有限公司 | Method and system for deploying disaster recovery mechanism in containerization manner |
| WO2020253079A1 (en) * | 2019-06-17 | 2020-12-24 | 平安科技(深圳)有限公司 | Jmeter-based distributed performance test method and apparatus, device, and storage medium |
| CN112187567A (en) * | 2020-09-11 | 2021-01-05 | 苏州浪潮智能科技有限公司 | Containerized agent-free private cloud management method and system |
| CN112543109A (en) * | 2019-09-20 | 2021-03-23 | 上海数荃数据科技有限公司 | Cloud host creation method, system, server and storage medium |
| CN112667256A (en) * | 2020-12-22 | 2021-04-16 | 北京浪潮数据技术有限公司 | OpenStack cross-version upgrading method based on kolla-allowed |
| CN112887352A (en) * | 2019-11-29 | 2021-06-01 | 北京神州泰岳软件股份有限公司 | Image file uploading method and device for Docker container |
| CN112925609A (en) * | 2021-03-01 | 2021-06-08 | 浪潮云信息技术股份公司 | OpenStack cloud platform upgrading method and device |
| CN113064827A (en) * | 2021-04-12 | 2021-07-02 | 京东数科海益信息科技有限公司 | Test platform deployment method, device, equipment and storage medium |
| CN113127150A (en) * | 2021-03-18 | 2021-07-16 | 同盾控股有限公司 | Rapid deployment method and device of cloud native system, electronic equipment and storage medium |
| CN113572619A (en) * | 2021-09-22 | 2021-10-29 | 银河麒麟软件(长沙)有限公司 | Container cloud mirror image credible implementation method and system based on nottry |
| US11171824B2 (en) | 2018-03-01 | 2021-11-09 | Red Hat, Inc. | Configuration of computing devices via containers |
| CN113626135A (en) * | 2021-06-30 | 2021-11-09 | 济南浪潮数据技术有限公司 | Cloud platform monitoring service containerization deployment method and device |
| CN114168264A (en) * | 2021-12-06 | 2022-03-11 | 深圳市瑞驰信息技术有限公司 | An implementation method for rapid deployment of containerized test platform |
| CN114489693A (en) * | 2021-12-27 | 2022-05-13 | 国网冀北电力有限公司 | Comprehensive transformer state monitoring system based on edge application |
| US11336588B2 (en) | 2020-06-26 | 2022-05-17 | Red Hat, Inc. | Metadata driven static determination of controller availability |
| US11366683B2 (en) | 2020-01-03 | 2022-06-21 | International Business Machines Corporation | Images deployment system across multiple architectures |
| CN115102965A (en) * | 2022-05-25 | 2022-09-23 | 弥费实业(上海)有限公司 | SECSGEM communication conversion system and method for semiconductor material storage equipment |
| CN115113983A (en) * | 2022-07-14 | 2022-09-27 | 中国工商银行股份有限公司 | Node expansion method and device for operation and maintenance platform and electronic equipment |
Citations (2)
| Publication number | Priority date | Publication date | Assignee | Title |
|---|---|---|---|---|
| CN105871988A (en) * | 2015-12-14 | 2016-08-17 | 乐视云计算有限公司 | Service deployment method and device |
| US20160366233A1 (en) * | 2015-06-10 | 2016-12-15 | Platform9, Inc. | Private Cloud as a service |
-
2017
- 2017-03-15 CN CN201710152454.4A patent/CN106936636B/en active Active
Patent Citations (2)
| Publication number | Priority date | Publication date | Assignee | Title |
|---|---|---|---|---|
| US20160366233A1 (en) * | 2015-06-10 | 2016-12-15 | Platform9, Inc. | Private Cloud as a service |
| CN105871988A (en) * | 2015-12-14 | 2016-08-17 | 乐视云计算有限公司 | Service deployment method and device |
Non-Patent Citations (2)
| Title |
|---|
| LSC: "OpenStack Kolla之部署", 《HTTPS://BBS.ICHUNQIU.COM/THREAD-3985-1-1.HTML》 * |
| PMLPML: "用vagrant快速部署docker虚拟机集群", 《HTTPS://BLOG.CSDN.NET/PMLPML/ARTICLE/DETAILS/53925542》 * |
Cited By (57)
| Publication number | Priority date | Publication date | Assignee | Title |
|---|---|---|---|---|
| CN107463432A (en) * | 2017-08-17 | 2017-12-12 | 福建中金在线信息科技有限公司 | Server production environment dispositions method, device, electronic equipment and storage medium |
| CN107835093A (en) * | 2017-10-26 | 2018-03-23 | 郑州云海信息技术有限公司 | A kind of memory management method and device |
| CN109756533B (en) * | 2017-11-02 | 2021-11-30 | 阿里巴巴集团控股有限公司 | Mirror image acceleration method and device and server |
| CN109756533A (en) * | 2017-11-02 | 2019-05-14 | 阿里巴巴集团控股有限公司 | A kind of mirror image accelerated method, device and server |
| US11171824B2 (en) | 2018-03-01 | 2021-11-09 | Red Hat, Inc. | Configuration of computing devices via containers |
| CN110233817B (en) * | 2018-03-06 | 2021-12-28 | 广州西麦科技股份有限公司 | Container safety system based on cloud computing |
| CN110233817A (en) * | 2018-03-06 | 2019-09-13 | 广州西麦科技股份有限公司 | A kind of vessel safety system based on cloud computing |
| CN108462746B (en) * | 2018-03-14 | 2021-11-16 | 广州西麦科技股份有限公司 | Container deployment method and framework based on openstack |
| CN108462746A (en) * | 2018-03-14 | 2018-08-28 | 广州西麦科技股份有限公司 | A kind of container dispositions method and framework based on openstack |
| CN108829399A (en) * | 2018-04-13 | 2018-11-16 | 杭州朗和科技有限公司 | A kind of test method of application, test device, medium and calculate equipment |
| WO2019218463A1 (en) * | 2018-05-14 | 2019-11-21 | 平安科技(深圳)有限公司 | Method and apparatus for automatically building kubernetes master node on basis of ansible tool, terminal device, and readable storage medium |
| CN108829409B (en) * | 2018-06-20 | 2022-03-04 | 泰华智慧产业集团股份有限公司 | Distributed system rapid deployment method and system |
| CN108829409A (en) * | 2018-06-20 | 2018-11-16 | 泰华智慧产业集团股份有限公司 | A kind of distributed system quick deployment method and system |
| CN108809733B (en) * | 2018-07-11 | 2021-10-22 | 郑州云海信息技术有限公司 | A system for multi-node deployment and connection to the OpenStack cloud management platform |
| CN108809733A (en) * | 2018-07-11 | 2018-11-13 | 郑州云海信息技术有限公司 | A kind of system of multinode deployment docking OpenStack cloud management platforms |
| CN108984165A (en) * | 2018-07-16 | 2018-12-11 | 郑州云海信息技术有限公司 | A kind of building customizes the method and system of mirror image |
| CN109065111A (en) * | 2018-08-06 | 2018-12-21 | 郑州云海信息技术有限公司 | A kind of cloud platform health check system and method based on docker |
| CN109359033A (en) * | 2018-09-05 | 2019-02-19 | 广州神马移动信息科技有限公司 | Stress test method, test server, management server and system |
| CN109412887A (en) * | 2018-10-08 | 2019-03-01 | 郑州云海信息技术有限公司 | A kind of collection system of the container monitors data based on OpenStack |
| CN109495298B (en) * | 2018-11-06 | 2022-06-07 | 郑州云海信息技术有限公司 | Method and device for managing nodes in OpenStack system |
| CN109495298A (en) * | 2018-11-06 | 2019-03-19 | 郑州云海信息技术有限公司 | The method and apparatus of management node in OpenStack system |
| CN111324356A (en) * | 2018-12-17 | 2020-06-23 | 北京数安鑫云信息技术有限公司 | Software automation deployment method and system |
| CN109799998A (en) * | 2018-12-18 | 2019-05-24 | 深圳先进技术研究院 | OpenStack cluster configuration and batch dispositions method and system |
| CN109871213A (en) * | 2018-12-25 | 2019-06-11 | 武汉烽火信息集成技术有限公司 | OpenStack containerization system and method based on Domestic Platform |
| WO2020253079A1 (en) * | 2019-06-17 | 2020-12-24 | 平安科技(深圳)有限公司 | Jmeter-based distributed performance test method and apparatus, device, and storage medium |
| CN112543109A (en) * | 2019-09-20 | 2021-03-23 | 上海数荃数据科技有限公司 | Cloud host creation method, system, server and storage medium |
| CN112543109B (en) * | 2019-09-20 | 2023-08-15 | 上海数荃数据科技有限公司 | Cloud host creation method, cloud host creation system, server and storage medium |
| CN112887352A (en) * | 2019-11-29 | 2021-06-01 | 北京神州泰岳软件股份有限公司 | Image file uploading method and device for Docker container |
| CN112887352B (en) * | 2019-11-29 | 2023-04-18 | 北京神州泰岳软件股份有限公司 | Image file uploading method and device for Docker container |
| CN111198695A (en) * | 2019-12-25 | 2020-05-26 | 航天信息股份有限公司 | Automatic deployment method of micro-service administration management platform and electronic equipment |
| CN111181953A (en) * | 2019-12-26 | 2020-05-19 | 山东乾云启创信息科技股份有限公司 | Method and device for supporting spice protocol through Roc virtualization |
| CN111198696B (en) * | 2019-12-30 | 2021-06-29 | 湖南大学 | A method and system for large-scale deployment of OpenStack based on bare metal servers |
| CN111198696A (en) * | 2019-12-30 | 2020-05-26 | 湖南大学 | OpenStack large-scale deployment method and system based on bare computer server |
| US11366683B2 (en) | 2020-01-03 | 2022-06-21 | International Business Machines Corporation | Images deployment system across multiple architectures |
| CN111343144A (en) * | 2020-01-23 | 2020-06-26 | 奇安信科技集团股份有限公司 | OPC (optical proximity correction) network gate system based on Linux and data processing method |
| CN111343144B (en) * | 2020-01-23 | 2022-09-02 | 奇安信科技集团股份有限公司 | OPC (optical proximity correction) network gate system based on Linux and data processing method |
| CN111427600A (en) * | 2020-03-20 | 2020-07-17 | 成都千立网络科技有限公司 | Docker-based platform system deployment and upgrade method and system |
| CN111427600B (en) * | 2020-03-20 | 2023-04-21 | 成都千立网络科技有限公司 | Platform system deployment upgrading method and system based on dock |
| US11991094B2 (en) | 2020-06-26 | 2024-05-21 | Red Hat, Inc. | Metadata driven static determination of controller availability |
| US11336588B2 (en) | 2020-06-26 | 2022-05-17 | Red Hat, Inc. | Metadata driven static determination of controller availability |
| CN111984366A (en) * | 2020-07-24 | 2020-11-24 | 苏州浪潮智能科技有限公司 | Method and system for deploying disaster recovery mechanism in containerization manner |
| CN111984366B (en) * | 2020-07-24 | 2023-01-06 | 苏州浪潮智能科技有限公司 | Method and system for containerized deployment disaster recovery mechanism |
| CN112187567A (en) * | 2020-09-11 | 2021-01-05 | 苏州浪潮智能科技有限公司 | Containerized agent-free private cloud management method and system |
| CN112667256B (en) * | 2020-12-22 | 2024-07-02 | 北京浪潮数据技术有限公司 | Kolla-stable-based OpenStack cross-version upgrading method |
| CN112667256A (en) * | 2020-12-22 | 2021-04-16 | 北京浪潮数据技术有限公司 | OpenStack cross-version upgrading method based on kolla-allowed |
| CN112925609B (en) * | 2021-03-01 | 2022-03-15 | 浪潮云信息技术股份公司 | OpenStack cloud platform upgrade method and device |
| CN112925609A (en) * | 2021-03-01 | 2021-06-08 | 浪潮云信息技术股份公司 | OpenStack cloud platform upgrading method and device |
| CN113127150A (en) * | 2021-03-18 | 2021-07-16 | 同盾控股有限公司 | Rapid deployment method and device of cloud native system, electronic equipment and storage medium |
| CN113127150B (en) * | 2021-03-18 | 2023-10-17 | 同盾控股有限公司 | Rapid deployment method and device of cloud primary system, electronic equipment and storage medium |
| CN113064827A (en) * | 2021-04-12 | 2021-07-02 | 京东数科海益信息科技有限公司 | Test platform deployment method, device, equipment and storage medium |
| CN113626135A (en) * | 2021-06-30 | 2021-11-09 | 济南浪潮数据技术有限公司 | Cloud platform monitoring service containerization deployment method and device |
| CN113572619A (en) * | 2021-09-22 | 2021-10-29 | 银河麒麟软件(长沙)有限公司 | Container cloud mirror image credible implementation method and system based on nottry |
| CN114168264B (en) * | 2021-12-06 | 2024-10-11 | 深圳市瑞驰信息技术有限公司 | Implementation method for rapidly deploying containerized test platform |
| CN114168264A (en) * | 2021-12-06 | 2022-03-11 | 深圳市瑞驰信息技术有限公司 | An implementation method for rapid deployment of containerized test platform |
| CN114489693A (en) * | 2021-12-27 | 2022-05-13 | 国网冀北电力有限公司 | Comprehensive transformer state monitoring system based on edge application |
| CN115102965A (en) * | 2022-05-25 | 2022-09-23 | 弥费实业(上海)有限公司 | SECSGEM communication conversion system and method for semiconductor material storage equipment |
| CN115113983A (en) * | 2022-07-14 | 2022-09-27 | 中国工商银行股份有限公司 | Node expansion method and device for operation and maintenance platform and electronic equipment |
Also Published As
| Publication number | Publication date |
|---|---|
| CN106936636B (en) | 2019-08-30 |
Similar Documents
| Publication | Publication Date | Title |
|---|---|---|
| CN106936636B (en) | A method for quickly deploying a containerized cloud computing test platform | |
| US12450099B2 (en) | Release lifecycle management system for multi-node application | |
| US9710259B2 (en) | System and method for customizing a deployment plan for a multi-tier application in a cloud infrastructure | |
| US10095496B2 (en) | Single, logical, multi-tier application blueprint used for deployment and management of multiple physical applications in a cloud infrastructure | |
| US9569266B2 (en) | Apparatus, method, and computer program product for solution provisioning | |
| US11528186B2 (en) | Automated initialization of bare metal servers | |
| US20170004018A1 (en) | System to generate a deployment plan for a cloud infrastructure according to logical, multi-tier application blueprint | |
| US20140157262A1 (en) | Multi-tier platform-as-a-service (paas) deployment reduced to single-tier architecture for development | |
| EP3149603B1 (en) | Customized configuration of cloud-based applications prior to deployment | |
| CN112328361A (en) | Method for rapidly deploying kubenetes cluster | |
| CN107741852B (en) | A service deployment method based on cluster software | |
| US20240020145A1 (en) | Updating device firmwares on hosts in a distributed container orchestration system | |
| Dolstra et al. | Charon: Declarative provisioning and deployment | |
| Blaas et al. | Stateless provisioning: Modern practice in hpc | |
| Bäckman | Dockerization and scalability of integration tests using Kubernetes | |
| HK40126772A (en) | Construction method and device of diskless supercomputing cluster and product | |
| CN120512372A (en) | Diskless super-computing cluster construction method, diskless super-computing cluster construction device and product | |
| Comas Gómez | Despliegue de un gestor de infraestructura virtual basado en Openstack para NFV | |
| WO2020258175A1 (en) | Method for automatically installing distributed big data platform cdh | |
| Redkar et al. | Windows Azure Compute |
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 | ||
| CP01 | Change in the name or title of a patent holder | ||
| CP01 | Change in the name or title of a patent holder |
Address after: 214125 Wuxi science and Technology Park, Jiangsu Binhu District No. 6 Patentee after: Huayun data holding group Co.,Ltd. Address before: 214125 Wuxi science and Technology Park, Jiangsu Binhu District No. 6 Patentee before: WUXI CHINAC DATA TECHNICAL SERVICE Co.,Ltd. |
|
| PP01 | Preservation of patent right | ||
| PP01 | Preservation of patent right |
Effective date of registration: 20251027 Granted publication date: 20190830 |