[go: up one dir, main page]

CN108900356A - A kind of cloud service dispositions method and system - Google Patents

A kind of cloud service dispositions method and system Download PDF

Info

Publication number
CN108900356A
CN108900356A CN201810826274.4A CN201810826274A CN108900356A CN 108900356 A CN108900356 A CN 108900356A CN 201810826274 A CN201810826274 A CN 201810826274A CN 108900356 A CN108900356 A CN 108900356A
Authority
CN
China
Prior art keywords
deployment
node
micro services
node group
cloud service
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
CN201810826274.4A
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.)
Zhengzhou Yunhai Information Technology Co Ltd
Original Assignee
Zhengzhou Yunhai Information Technology Co Ltd
Priority date (The priority date is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the date listed.)
Filing date
Publication date
Application filed by Zhengzhou Yunhai Information Technology Co Ltd filed Critical Zhengzhou Yunhai Information Technology Co Ltd
Priority to CN201810826274.4A priority Critical patent/CN108900356A/en
Publication of CN108900356A publication Critical patent/CN108900356A/en
Pending legal-status Critical Current

Links

Classifications

    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04LTRANSMISSION OF DIGITAL INFORMATION, e.g. TELEGRAPHIC COMMUNICATION
    • H04L67/00Network arrangements or protocols for supporting network services or applications
    • H04L67/01Protocols
    • H04L67/10Protocols in which an application is distributed across nodes in the network
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04LTRANSMISSION OF DIGITAL INFORMATION, e.g. TELEGRAPHIC COMMUNICATION
    • H04L41/00Arrangements for maintenance, administration or management of data switching networks, e.g. of packet switching networks
    • H04L41/08Configuration management of networks or network elements
    • H04L41/0803Configuration setting

Landscapes

  • Engineering & Computer Science (AREA)
  • Computer Networks & Wireless Communication (AREA)
  • Signal Processing (AREA)
  • Stored Programmes (AREA)

Abstract

The invention discloses a kind of cloud service dispositions method and systems.It is related to cloud service micro services technology, knows that aftersensation, malfunction elimination are difficult after solving the problems, such as cloud service deployment.This method includes:Deployment inspection is carried out to each node in micro services node group;When there is deployment inspection result is the node of failure, reselecting node and replacing the deployment inspection result is that the micro services node group is added in the node to fail;The installation of micro services software package is carried out in the micro services node group.Technical solution provided by the invention is disposed suitable for micro services, realizes automatic, reliable micro services deployment.

Description

一种云服务部署方法和系统A cloud service deployment method and system

技术领域technical field

本发明涉及云服务微服务技术,尤指一种云服务部署方法和系统。The invention relates to cloud service microservice technology, in particular to a cloud service deployment method and system.

背景技术Background technique

当前,云计算逐渐被行业认可,人们通过云计算获取所需云服务已经成为常态。随着分布式微服务的发展,最终提供给用户的云服务都是由很多微服务组成的,这就给云服务的部署带来了巨大的挑战。为了保证云服务的快速交付以及质量,通常的云服务部署都是人工或者自动的预先部署,在部署完成后再查看云服务中的各个微服务是否可用,最终交付客户。但是,如果交付的云服务中间某个微服务不可用,就会造成整个云服务不可用,需要重新排查、修复,耗时耗力。At present, cloud computing is gradually recognized by the industry, and it has become normal for people to obtain required cloud services through cloud computing. With the development of distributed microservices, the cloud services finally provided to users are composed of many microservices, which brings huge challenges to the deployment of cloud services. In order to ensure the rapid delivery and quality of cloud services, cloud service deployments are usually pre-deployed manually or automatically. After the deployment is completed, check whether each microservice in the cloud service is available, and finally deliver it to the customer. However, if one of the microservices in the delivered cloud service is unavailable, the entire cloud service will be unavailable, requiring re-examination and repair, which is time-consuming and labor-intensive.

发明内容Contents of the invention

为了解决上述技术问题,本发明提供了一种云服务部署方法和系统,通过在部署时对部署微服务的节点进行部署检查,确定节点安装环境正常后再安装软件完成部署。解决了云服务部署后知后觉、故障排查困难的问题,实现了自动、可靠的微服务部署。In order to solve the above technical problems, the present invention provides a cloud service deployment method and system, by checking the deployment of the nodes where the microservices are deployed during deployment, and after confirming that the node installation environment is normal, the software is installed to complete the deployment. It solves the problems of hindsight and difficulty in troubleshooting cloud service deployment, and realizes automatic and reliable microservice deployment.

为了达到本发明目的,本发明提供了一种云服务部署方法,包括:In order to achieve the purpose of the present invention, the present invention provides a cloud service deployment method, including:

对微服务节点组中的各个节点进行部署检查;Check the deployment of each node in the microservice node group;

在存在部署检查结果为失败的节点时,重新选择节点替换所述部署检查结果为失败的节点加入所述微服务节点组;When there is a node whose deployment check result is a failure, reselect a node to replace the node whose deployment check result is a failure and join the microservice node group;

在所述微服务节点组中进行微服务软件包安装。Install the microservice software package in the microservice node group.

优选的,对微服务节点组中的的各个节点进行部署检查的步骤之后,还包括:Preferably, after the step of deploying and checking each node in the microservice node group, it further includes:

在所述微服务节点组中的各个节点均通过所述部署检查时,在所述微服务节点组进行微服务软件包安装。When each node in the microservice node group passes the deployment check, the microservice software package is installed on the microservice node group.

优选的,在所述微服务节点组中进行微服务软件包安装的步骤之后,还包括:Preferably, after the step of installing the microservice software package in the microservice node group, it further includes:

在无法获取更多节点替换所述微服务节点组中部署检查结果为失败的节点时,取消云服务微服务的部署。When it is not possible to obtain more nodes to replace the nodes whose deployment check result fails in the microservice node group, cancel the deployment of the cloud service microservice.

优选的,对微服务节点组中的各个节点进行部署检查的步骤之前,还包括:Preferably, before the step of deploying and checking each node in the microservice node group, it also includes:

部署管理接收并解析根据云服务元数据构建的部署消息,获取微服务节点组,所述微服务节点组包含多个节点;The deployment management receives and parses the deployment message constructed according to the cloud service metadata, and obtains a microservice node group, and the microservice node group includes multiple nodes;

向所述微服务节点组中的各个节点分发微服务软件包。Distributing microservice software packages to each node in the microservice node group.

本发明还提供了一种云服务部署系统,包括:The present invention also provides a cloud service deployment system, including:

部署检查模块,用于对微服务节点组中的各个节点进行部署检查;The deployment check module is used to check the deployment of each node in the microservice node group;

部署节点替换模块,用于在存在部署检查结果为失败的节点时,重新选择节点替换所述部署检查结果为失败的节点加入所述微服务节点组;The deployment node replacement module is used to re-select nodes to replace the nodes whose deployment check results fail when there are nodes whose deployment check results fail to join the microservice node group;

软件安装模块,用于在所述微服务节点组中进行微服务软件包安装。The software installation module is used to install the microservice software package in the microservice node group.

优选的,所述软件安装模块,还用于在所述微服务节点组中的各个节点均通过所述部署检查时,在所述微服务节点组进行微服务软件包安装。Preferably, the software installation module is further configured to install microservice software packages on the microservice node group when each node in the microservice node group passes the deployment check.

优选的,所述软件安装模块,还用于在无法获取更多节点替换所述微服务节点组中部署检查结果为失败的节点时,取消云服务微服务的部署。Preferably, the software installation module is further configured to cancel the deployment of the cloud service microservice when no more nodes can be obtained to replace the nodes whose deployment check result fails in the microservice node group.

优选的,该系统还包括:Preferably, the system also includes:

部署管理模块,用于接收并解析云服务元数据构建的部署消息,获取微服务节点组,所述微服务节点组包含多个节点,向所述微服务节点组中的各个节点分发微服务软件包。The deployment management module is used to receive and analyze the deployment message constructed by cloud service metadata, obtain a microservice node group, the microservice node group includes multiple nodes, and distribute microservice software to each node in the microservice node group Bag.

本发明提供了一种云服务部署方法和系统,对微服务节点组中的各个节点进行部署检查,在存在部署检查结果为失败的节点时,重新选择节点替换所述部署检查结果为失败的节点加入所述微服务节点组,在所述微服务节点组中进行微服务软件包安装。解决了云服务部署后知后觉、故障排查困难的问题,实现了自动、可靠的微服务部署。The present invention provides a cloud service deployment method and system, which performs a deployment check on each node in a microservice node group, and reselects a node to replace the node whose deployment check result is failed when there is a node whose deployment check result is failed Join the microservice node group, and install the microservice software package in the microservice node group. It solves the problems of hindsight and difficulty in troubleshooting cloud service deployment, and realizes automatic and reliable microservice deployment.

本发明的其它特征和优点将在随后的说明书中阐述,并且,部分地从说明书中变得显而易见,或者通过实施本发明而了解。本发明的目的和其他优点可通过在说明书、权利要求书以及附图中所特别指出的结构来实现和获得。Additional features and advantages of the invention will be set forth in the description which follows, and in part will be apparent from the description, or may be learned by practice of the invention. The objectives and other advantages of the invention may be realized and attained by the structure particularly pointed out in the written description and claims hereof as well as the appended drawings.

附图说明Description of drawings

附图用来提供对本发明技术方案的进一步理解,并且构成说明书的一部分,与本申请的实施例一起用于解释本发明的技术方案,并不构成对本发明技术方案的限制。The accompanying drawings are used to provide a further understanding of the technical solution of the present invention, and constitute a part of the description, and are used together with the embodiments of the application to explain the technical solution of the present invention, and do not constitute a limitation to the technical solution of the present invention.

图1为本发明的一实施例提供的一种云服务部署方法的流程示意图;FIG. 1 is a schematic flowchart of a cloud service deployment method provided by an embodiment of the present invention;

图2为本发明的一实施例提供的一种云服务部署系统的结构示意图。FIG. 2 is a schematic structural diagram of a cloud service deployment system provided by an embodiment of the present invention.

具体实施方式Detailed ways

为使本发明的目的、技术方案和优点更加清楚明白,下文中将结合附图对本发明的实施例进行详细说明。需要说明的是,在不冲突的情况下,本申请中的实施例及实施例中的特征可以相互任意组合。In order to make the purpose, technical solution and advantages of the present invention more clear, the embodiments of the present invention will be described in detail below in conjunction with the accompanying drawings. It should be noted that, in the case of no conflict, the embodiments in the present application and the features in the embodiments can be combined arbitrarily with each other.

在附图的流程图示出的步骤可以在诸如一组计算机可执行指令的计算机系统中执行。并且,虽然在流程图中示出了逻辑顺序,但是在某些情况下,可以以不同于此处的顺序执行所示出或描述的步骤。The steps shown in the flowcharts of the figures may be performed in a computer system, such as a set of computer-executable instructions. Also, although a logical order is shown in the flowcharts, in some cases the steps shown or described may be performed in an order different from that shown or described herein.

本发明的实施例提供了一种云服务部署方法和系统。下面结合附图,对本发明的实施例进行详细说明。Embodiments of the present invention provide a cloud service deployment method and system. Embodiments of the present invention will be described in detail below in conjunction with the accompanying drawings.

本发明的一实施例提供了一种云服务部署方法,使用该方法部署微服务的流程如图1所示,包括:An embodiment of the present invention provides a cloud service deployment method. The process of deploying microservices using this method is shown in Figure 1, including:

步骤101、部署管理接收并解析根据云服务元数据构建的部署消息,获取微服务节点组,所述微服务节点组包含多个节点。Step 101, deployment management receives and parses a deployment message constructed according to cloud service metadata, and obtains a microservice node group, where the microservice node group includes multiple nodes.

本步骤中,部署管理接收并解析根据云服务元数据构建的部署消息,根据消息内容制定相应的部署方式,获取微服务节点组和各个微服务对应的微服务软件包。In this step, the deployment management receives and parses the deployment message constructed according to the cloud service metadata, formulates a corresponding deployment method according to the content of the message, and obtains the microservice node group and the microservice software package corresponding to each microservice.

微服务节点组包含多个节点,每个节点上部署一个或多个微服务。A microservice node group contains multiple nodes, and one or more microservices are deployed on each node.

步骤102、对微服务节点组中的各个节点进行部署检查。Step 102, performing a deployment check on each node in the microservice node group.

本步骤中,对各个节点进行部署检查,以确定节点工作状态是否满足微服务所需要的安装环境。In this step, check the deployment of each node to determine whether the working status of the node meets the installation environment required by the microservice.

在所述微服务节点组中的各个节点均通过所述部署检查时,直接进入步骤104,在所述微服务节点组进行微服务软件包安装。When each node in the microservice node group passes the deployment check, go directly to step 104, and install the microservice software package on the microservice node group.

在存在部署检查结果为失败的节点时,进入步骤103重新选择节点。When there is a node whose deployment check result is failed, go to step 103 to reselect a node.

优选的,也可能当所有节点都检查成功,或者少量节点检查失败时,进入第二阶段,进行微服务软件包的安装。如果检查失败的节点数量较多,则重新选择节点检查微服务,直到所有检查都通过。如果最终执行检查还是有部分节点失败,则取消安装。Preferably, it is also possible that when all the nodes are successfully checked, or a small number of nodes fail to be checked, enter the second stage to install the microservice software package. If the number of nodes that fail the check is large, re-select nodes to check the microservice until all checks pass. If some nodes still fail after the final check, cancel the installation.

步骤103、在存在部署检查结果为失败的节点时,重新选择节点替换所述部署检查结果为失败的节点加入所述微服务节点组。Step 103: When there is a node whose deployment check result is failed, reselect a node to replace the node whose deployment check result is failed and join the microservice node group.

在本步骤中完成节点替换后,需要回到步骤102再进行一次部署检查,如果仍存在部署检查失败的节点,则需要再进行一次节点替换。当可用的节点的数量达不到部署检查失败的节点数量,或部署检查的次数超过了预置的检查次数门限,无法获取更多节点替换所述微服务节点组中部署检查结果为失败的节点时,进入步骤106,取消云服务微服务的部署。After completing the node replacement in this step, it is necessary to go back to step 102 to perform another deployment check. If there are still nodes that fail the deployment check, another node replacement needs to be performed. When the number of available nodes does not reach the number of nodes that fail the deployment check, or the number of deployment checks exceeds the preset check count threshold, more nodes cannot be obtained to replace the nodes whose deployment check results fail in the microservice node group , enter step 106, and cancel the deployment of the cloud service microservice.

步骤104、向所述微服务节点组中的各个节点分发微服务软件包。Step 104, distributing microservice software packages to each node in the microservice node group.

步骤105、在所述微服务节点组中进行微服务软件包安装。Step 105, install the microservice software package in the microservice node group.

步骤106、在无法获取更多节点替换所述微服务节点组中部署检查结果为失败的节点时,取消云服务微服务的部署。Step 106 : Cancel the deployment of the cloud service microservice when no more nodes can be obtained to replace the nodes whose deployment check result fails in the microservice node group.

本发明的一实施例还提供了一种云服务部署系统,基于2PC两阶段提交协议,并采用预防大于治理的思想对微服务及环境进行管理,在此基础上,对微服务组件的部署进行标准化,满足对saas服务治理的开放兼容、高扩展需求。微服务组件必须具有可检查、可执行、可取消等三大特性。可执行及可取消必须满足幂等性(特点是其任意多次执行所产生的影响均与一次执行的影响相同)。该系统包含结构管理、部署管理,其中部署管理包含协调控制器及执行组件,结构管理主要管理所选云服务的元数据,会根据其标配、高配等不同维度设定相关的参数,用户也可以自定义参数,部署管理在接收到结构管理发送过来的消息后,根据消息内容制定相应的部署方式,选择节点、微服务包,然后分发软件包到相应节点,第一阶段先执行微服务组件的可检查接口检查微服务是否可以部署,当所有微服务都检查成功,或者某一个检查失败,进入第二阶段,如果都成功则执行所有微服务的执行安装操作,如果有部分失败,则重新选择节点检查微服务,直到所有检查都通过。执行安装,如果最终执行检查还是有部分失败,则取消安装。An embodiment of the present invention also provides a cloud service deployment system, which is based on the 2PC two-phase commit protocol, and adopts the idea that prevention is greater than governance to manage microservices and environments. On this basis, the deployment of microservice components is carried out Standardization meets the open, compatible and high-expansion requirements for SaaS service governance. Microservice components must have three characteristics: checkable, executable, and cancelable. Executable and cancelable must satisfy idempotence (characteristic is that the impact of any number of executions is the same as that of one execution). The system includes structure management and deployment management. Deployment management includes coordinating controllers and execution components. Structure management mainly manages the metadata of selected cloud services, and sets relevant parameters according to different dimensions such as standard configuration and high configuration. Users also Parameters can be customized. After the deployment management receives the message sent by the structure management, it formulates the corresponding deployment method according to the content of the message, selects the node and the microservice package, and then distributes the software package to the corresponding node. In the first stage, the microservice component is executed first. The checkable interface checks whether the microservices can be deployed. When all microservices are checked successfully, or a certain check fails, enter the second stage. If all succeed, execute the installation operation of all microservices. If some fail, restart Pick nodes to check microservices until all checks pass. Execute the installation, and cancel the installation if some of the final execution checks still fail.

基于上述系统完成云服务微服务部署的流程具体如下:The process of completing cloud service microservice deployment based on the above system is as follows:

(1)结构管理接收到客户服务请求。(1) Structure management receives a customer service request.

(2)根据云服务元数据获取所需基础微服务,发送部署消息给部署管理。(2) Obtain the required basic microservices according to the cloud service metadata, and send deployment messages to deployment management.

(3)部署管理接收到部署消息,解析消息体选择节点构成微服务节点组及微服务软件安装包。(3) Deployment management receives the deployment message, parses the message body and selects nodes to form a microservice node group and a microservice software installation package.

(4)协调控制器调用各微服务检查接口进行部署检查,检查各节点上的微服务安装环境。至此,为云服务微服务部署的第一阶段。(4) The coordinating controller invokes each microservice inspection interface to perform deployment inspection, and checks the microservice installation environment on each node. So far, it is the first stage of cloud service microservice deployment.

(5)记录各微服务部署检查情况,当所有微服务部署检查成功进入第二阶段进行可执行安装。(5) Record the deployment checks of each microservice. When all microservice deployment checks are successful, enter the second stage for executable installation.

(6)对于部署检查失败的节点,部署管理重新选择节点替换该部署检查失败的节点,分发微服务软件包,协调控制器再次进行部署检查,直到全部节点部署检查成功,进入第二阶段执行安装。(6) For the nodes that fail the deployment check, the deployment management re-selects the node to replace the node that failed the deployment check, distributes the microservice software package, and coordinates the controller to perform the deployment check again until all nodes succeed in the deployment check, and enters the second stage to execute the installation .

(7)如果最终还是有部分节点的部署检查失败,则进入第二阶段取消所有安装。(7) If the deployment check of some nodes still fails in the end, enter the second stage to cancel all installations.

本发明的一实施例还提供了一种云服务部署系统,该系统的结构如图2所示,包括:An embodiment of the present invention also provides a cloud service deployment system, the structure of which is shown in Figure 2, including:

部署检查模块201,用于对微服务节点组中的各个节点进行部署检查;Deployment check module 201, configured to check the deployment of each node in the microservice node group;

部署节点替换模块202,用于在存在部署检查结果为失败的节点时,重新选择节点替换所述部署检查结果为失败的节点加入所述微服务节点组;Deployment node replacement module 202, configured to reselect a node to replace the node whose deployment check result is failed to join the microservice node group when there is a node whose deployment check result is failed;

软件安装模块203,用于在所述微服务节点组中进行微服务软件包安装。The software installation module 203 is configured to install microservice software packages in the microservice node group.

优选的,所述软件安装模块203,还用于在所述微服务节点组中的各个节点均通过所述部署检查时,在所述微服务节点组进行微服务软件包安装。Preferably, the software installation module 203 is further configured to install the microservice software package on the microservice node group when each node in the microservice node group passes the deployment check.

优选的,所述软件安装模块203,还用于在无法获取更多节点替换所述微服务节点组中部署检查结果为失败的节点时,取消云服务微服务的部署。Preferably, the software installation module 203 is further configured to cancel the deployment of the cloud service microservice when no more nodes can be obtained to replace the nodes whose deployment check result fails in the microservice node group.

优选的,该系统还包括:Preferably, the system also includes:

部署管理模块204,用于接收并解析云服务元数据构建的部署消息,获取微服务节点组,所述微服务节点组包含多个节点,向所述微服务节点组中的各个节点分发微服务软件包。The deployment management module 204 is configured to receive and parse the deployment message constructed by cloud service metadata, obtain a microservice node group, the microservice node group includes a plurality of nodes, and distribute microservices to each node in the microservice node group package.

本发明的实施例提供了一种云服务部署方法和系统,对微服务节点组中的各个节点进行部署检查,在存在部署检查结果为失败的节点时,重新选择节点替换所述部署检查结果为失败的节点加入所述微服务节点组,在所述微服务节点组中进行微服务软件包安装。解决了云服务部署后知后觉、故障排查困难的问题,实现了自动、可靠的微服务部署。The embodiment of the present invention provides a cloud service deployment method and system, which performs a deployment check on each node in the microservice node group, and when there is a node whose deployment check result is failed, reselect the node to replace the deployment check result is The failed node joins the microservice node group, and installs the microservice software package in the microservice node group. It solves the problems of hindsight and difficulty in troubleshooting cloud service deployment, and realizes automatic and reliable microservice deployment.

可基于2PC进行云服务自动部署,打破了普通先安装后检查的方式基于2PC采用预防大于治理的思想设定微服务安装标准(可检测、可执行、可取消)实现服务的自动安装部署,大大降低了云服务微服务的部署难度,提早检测,提高了部署质量。Cloud service can be automatically deployed based on 2PC, which breaks the common method of installation first and then inspection. Based on 2PC, the idea of prevention is greater than governance is used to set microservice installation standards (detectable, executable, and cancelable) to realize automatic installation and deployment of services, greatly improving It reduces the deployment difficulty of cloud service microservices, detects them early, and improves the deployment quality.

本领域普通技术人员可以理解,上文中所公开方法中的全部或某些步骤、系统、装置中的功能模块/单元可以被实施为软件、固件、硬件及其适当的组合。在硬件实施方式中,在以上描述中提及的功能模块/单元之间的划分不一定对应于物理组件的划分;例如,一个物理组件可以具有多个功能,或者一个功能或步骤可以由若干物理组件合作执行。某些组件或所有组件可以被实施为由处理器,如数字信号处理器或微处理器执行的软件,或者被实施为硬件,或者被实施为集成电路,如专用集成电路。这样的软件可以分布在计算机可读介质上,计算机可读介质可以包括计算机存储介质(或非暂时性介质)和通信介质(或暂时性介质)。如本领域普通技术人员公知的,术语计算机存储介质包括在用于存储信息(诸如计算机可读指令、数据结构、程序模块或其他数据)的任何方法或技术中实施的易失性和非易失性、可移除和不可移除介质。计算机存储介质包括但不限于RAM、ROM、EEPROM、闪存或其他存储器技术、CD-ROM、数字多功能盘(DVD)或其他光盘存储、磁盒、磁带、磁盘存储或其他磁存储装置、或者可以用于存储期望的信息并且可以被计算机访问的任何其他的介质。此外,本领域普通技术人员公知的是,通信介质通常包含计算机可读指令、数据结构、程序模块或者诸如载波或其他传输机制之类的调制数据信号中的其他数据,并且可包括任何信息递送介质。Those of ordinary skill in the art can understand that all or some of the steps in the methods disclosed above, the functional modules/units in the system, and the device can be implemented as software, firmware, hardware, and an appropriate combination thereof. In a hardware implementation, the division between functional modules/units mentioned in the above description does not necessarily correspond to the division of physical components; for example, one physical component may have multiple functions, or one function or step may be composed of several physical components. Components cooperate to execute. Some or all of the components may be implemented as software executed by a processor, such as a digital signal processor or microprocessor, or as hardware, or as an integrated circuit, such as an application specific integrated circuit. Such software may be distributed on computer readable media, which may include computer storage media (or non-transitory media) and communication media (or transitory media). As known to those of ordinary skill in the art, the term computer storage media includes both volatile and nonvolatile media implemented in any method or technology for storage of information, such as computer readable instructions, data structures, program modules, or other data. permanent, removable and non-removable media. Computer storage media include, but are not limited to, RAM, ROM, EEPROM, flash memory or other memory technology, CD-ROM, digital versatile disk (DVD) or other optical disk storage, magnetic cartridges, tape, magnetic disk storage or other magnetic storage devices, or can Any other medium used to store desired information and which can be accessed by a computer. In addition, as is well known to those of ordinary skill in the art, communication media typically embodies computer readable instructions, data structures, program modules, or other data in a modulated data signal such as a carrier wave or other transport mechanism, and may include any information delivery media .

Claims (8)

1. a kind of cloud service dispositions method, which is characterized in that including:
Deployment inspection is carried out to each node in micro services node group;
When there is deployment inspection result is the node of failure, reselecting node and replacing the deployment inspection result is failure The micro services node group is added in node;
The installation of micro services software package is carried out in the micro services node group.
2. cloud service dispositions method according to claim 1, which is characterized in that each section in micro services node group After point carries out the step of deployment checks, further include:
When each node in the micro services node group passes through deployment inspection, carried out in the micro services node group The installation of micro services software package.
3. cloud service dispositions method according to claim 1, which is characterized in that reselect node and replace the deployment inspection After the step of fruit that comes to an end is the node addition micro services node group of failure, further include:
Can not obtain more nodes replace in the micro services node group dispose inspection result be failure node when, cancellation cloud Service the deployment of micro services.
4. cloud service dispositions method according to claim 1, which is characterized in that each node in micro services node group Before carrying out the step of deployment checks, further include:
Deployment management receives and parses through the deployment message constructed according to cloud service metadata, obtains micro services node group, described micro- Service node group includes multiple nodes;
Each node into the micro services node group distributes micro services software package.
5. a kind of cloud service deployment system, which is characterized in that including:
Deployment checks module, for carrying out deployment inspection to each node in micro services node group;
Node replacement module is disposed, for when there is deployment inspection result is the node of failure, reselecting node replacement institute It states the node that deployment inspection result is failure and the micro services node group is added;
Software installation module, for carrying out the installation of micro services software package in the micro services node group.
6. cloud service deployment system according to claim 5, which is characterized in that
The software installation module is also used to each node in the micro services node group and passes through the deployment inspection When, the installation of micro services software package is carried out in the micro services node group.
7. cloud service deployment system according to claim 5, which is characterized in that
The software installation module is also used to the deployment in it can not obtain the more nodes replacement micro services node group and checks knot When fruit is the node of failure, cancel the deployment of cloud service micro services.
8. cloud service deployment system according to claim 5, which is characterized in that the system further includes:
Management module is disposed, for receiving and parsing through the deployment message of cloud service metadata building, obtains micro services node group, institute Stating micro services node group includes multiple nodes, and each node into the micro services node group distributes micro services software package.
CN201810826274.4A 2018-07-25 2018-07-25 A kind of cloud service dispositions method and system Pending CN108900356A (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN201810826274.4A CN108900356A (en) 2018-07-25 2018-07-25 A kind of cloud service dispositions method and system

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN201810826274.4A CN108900356A (en) 2018-07-25 2018-07-25 A kind of cloud service dispositions method and system

Publications (1)

Publication Number Publication Date
CN108900356A true CN108900356A (en) 2018-11-27

Family

ID=64351891

Family Applications (1)

Application Number Title Priority Date Filing Date
CN201810826274.4A Pending CN108900356A (en) 2018-07-25 2018-07-25 A kind of cloud service dispositions method and system

Country Status (1)

Country Link
CN (1) CN108900356A (en)

Cited By (2)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN111552483A (en) * 2020-04-29 2020-08-18 深信服科技股份有限公司 Cloud service deployment method, device, equipment and medium
CN114721765A (en) * 2021-01-04 2022-07-08 中国移动通信有限公司研究院 Container deployment method, apparatus, electronic device, and computer-readable storage medium

Citations (6)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN104679717A (en) * 2015-02-15 2015-06-03 北京京东尚科信息技术有限公司 Method and management system of elastic cluster deployment
CN106502769A (en) * 2016-09-30 2017-03-15 华为技术有限公司 Distributed transaction processing method, apparatus and system
CN106775882A (en) * 2016-12-26 2017-05-31 中国银联股份有限公司 Cloud computing server batch dispositions method and device
CN106856489A (en) * 2015-12-08 2017-06-16 阿里巴巴集团控股有限公司 A kind of service node switching method and apparatus of distributed memory system
CN106874076A (en) * 2017-01-21 2017-06-20 浙江沛宏网络科技有限公司 Distributed transaction processing method
CN106909467A (en) * 2017-02-28 2017-06-30 郑州云海信息技术有限公司 A kind of distributed transaction processing method based on micro services framework

Patent Citations (6)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN104679717A (en) * 2015-02-15 2015-06-03 北京京东尚科信息技术有限公司 Method and management system of elastic cluster deployment
CN106856489A (en) * 2015-12-08 2017-06-16 阿里巴巴集团控股有限公司 A kind of service node switching method and apparatus of distributed memory system
CN106502769A (en) * 2016-09-30 2017-03-15 华为技术有限公司 Distributed transaction processing method, apparatus and system
CN106775882A (en) * 2016-12-26 2017-05-31 中国银联股份有限公司 Cloud computing server batch dispositions method and device
CN106874076A (en) * 2017-01-21 2017-06-20 浙江沛宏网络科技有限公司 Distributed transaction processing method
CN106909467A (en) * 2017-02-28 2017-06-30 郑州云海信息技术有限公司 A kind of distributed transaction processing method based on micro services framework

Cited By (3)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN111552483A (en) * 2020-04-29 2020-08-18 深信服科技股份有限公司 Cloud service deployment method, device, equipment and medium
CN111552483B (en) * 2020-04-29 2024-04-09 深信服科技股份有限公司 Cloud service deployment method, device, equipment and medium
CN114721765A (en) * 2021-01-04 2022-07-08 中国移动通信有限公司研究院 Container deployment method, apparatus, electronic device, and computer-readable storage medium

Similar Documents

Publication Publication Date Title
US11636016B2 (en) Cloud simulation and validation system
CN109150572B (en) Method, device and computer readable storage medium for realizing alarm association
CN103209197B (en) cluster server deployment method and system
CN107005426B (en) Method and device for managing life cycle of virtual network function
US20140376362A1 (en) Dynamic client fail-over during a rolling patch installation based on temporal server conditions
CN101593119B (en) Method and device for firmware over-the-air of exclusive flash memory combined equipment
CN103200036B (en) A kind of automation collocation method of electric power system cloud computing platform
CN105808316A (en) Virtual network loading method and device
CN109753301A (en) Application system dispositions method, device, storage medium and electronic equipment
US11442756B2 (en) Common service resource application method, related device, and system
CN113721957B (en) Automatic test method, device and system for firmware deployment upgrade of embedded equipment
CN110134518A (en) A method and system for improving the high availability of multi-node applications in a big data cluster
CN102195817A (en) Software upgrading method and device and software rollback method and device
US9985862B2 (en) MEP configuration method and network device
CN108900356A (en) A kind of cloud service dispositions method and system
CN113360386B (en) Method and device for testing driving of switching chip, electronic equipment and storage medium
CN110768812B (en) Server management system and method
CN103457968B (en) A kind of method and system disposing cloud service
CN100499509C (en) A data configuration method, system and operating and maintenance center
CN110297753A (en) A kind of method and system for verifying software version
CN115550164A (en) Method and system for one-key installation and management of single-node big data assembly
CN108933681B (en) Configuration updating method of cloud computing system, control center and cloud computing node
CN113326159A (en) Method, apparatus, system, and computer-readable storage medium for fault injection
CN103517258A (en) A method of updating software on a mobile terminal, a mobile terminal and a server
CN118413573B (en) Resource management method, device, computer equipment, storage medium and product

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
RJ01 Rejection of invention patent application after publication

Application publication date: 20181127

RJ01 Rejection of invention patent application after publication