WO2013075586A1 - 一种分布式系统的部署方法及系统 - Google Patents

一种分布式系统的部署方法及系统 Download PDF

Info

Publication number
WO2013075586A1
WO2013075586A1 PCT/CN2012/084331 CN2012084331W WO2013075586A1 WO 2013075586 A1 WO2013075586 A1 WO 2013075586A1 CN 2012084331 W CN2012084331 W CN 2012084331W WO 2013075586 A1 WO2013075586 A1 WO 2013075586A1
Authority
WO
WIPO (PCT)
Prior art keywords
distributed system
server
control device
client
system program
Prior art date
Application number
PCT/CN2012/084331
Other languages
English (en)
French (fr)
Inventor
胡加明
Original Assignee
Hu Jiaming
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 Hu Jiaming filed Critical Hu Jiaming
Publication of WO2013075586A1 publication Critical patent/WO2013075586A1/zh

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/14Session management
    • H04L67/141Setup of application sessions

Definitions

  • the present invention belongs to the field of network technologies, and in particular, to a method and system for deploying a distributed system. Background technique
  • the present invention provides a method and system for deploying a distributed system to solve the above problems.
  • the invention provides a method for deploying a distributed system.
  • the foregoing method includes the following steps:
  • the client generates a configuration file corresponding to a different type of distributed system program of the server to be configured according to the configuration index table and the service invocation relationship table of the distributed system, and binds different types of distributed systems.
  • a program and its corresponding configuration file the control device obtains the distributed system program and its corresponding configuration file from the client;
  • the control device parses the network address of the server to be deployed after receiving the deployment instruction from the client;
  • the server receives the control device After uploading the distributed system program instructions, the distributed system programs of different categories of the corresponding server and their corresponding configuration files are downloaded from the control device.
  • the invention also provides a deployment system of a distributed system, comprising a client, a control device and a server.
  • the client connects to the control device, and the control device connects to the server.
  • the client is configured to generate a configuration file corresponding to different types of distributed system programs of the server to be configured according to the configuration index table and the service call relationship table of the distributed system, and bind different types of distributed system programs and Its corresponding configuration file.
  • the control device is used to obtain the distributed system program and its corresponding configuration file from the client.
  • the control device is configured to parse the network address of the server to be deployed after receiving the deployment instruction from the client. After receiving the uploading distributed system program command sent by the control device, the server downloads the different types of distributed system programs of the corresponding server and their corresponding configuration files from the control device.
  • the client Compared with the prior art, according to the deployment method and system of the distributed system provided by the present invention, the client generates different types of distributed system programs of the server to be configured according to the configuration index table and the service invocation relationship table of the distributed system, respectively. Corresponding configuration files, and bind different types of distributed system programs and their corresponding configuration files.
  • the configuration file is automatically generated by the client, which saves labor costs and improves efficiency.
  • the deployment of the distributed system is automatically realized by the control device, which not only saves labor costs but also improves deployment efficiency.
  • the distributed system is prevented from being paralyzed due to operator error, thereby improving the correctness of the distributed system deployment.
  • FIG. 1 is a flow chart showing a method for deploying a distributed system according to a preferred embodiment of the present invention
  • FIG. 2 is a schematic diagram of a deployment system for a distributed system provided in accordance with a preferred embodiment of the present invention. detailed description
  • FIG. 1 is a flow chart showing a method of deploying a distributed system according to a preferred embodiment of the present invention. As shown in FIG. 1, the method for deploying a distributed system provided by the preferred embodiment of the present invention includes step 101104.
  • the client In step 101, the client generates configuration files corresponding to different types of distributed system programs of the server to be configured according to the configuration index table and the service call relationship table of the distributed system, and binds different types of distributed system programs and Its corresponding configuration file.
  • the operator first sets which distributed system programs are deployed on which servers. For example, the operator sets up a network layer (1), a business logic layer (Business) 1, a regional session layer (RegionSessiom) 1 and a database layer (Database) 1 on a server with an IP address of 10.1.49.5.
  • the configuration index table can be generated according to the service provided by the distributed system program.
  • the client can generate a configuration index table of the distributed system as shown in the following table.
  • the invention is not limited to this. In practical applications, a corresponding configuration index table can be generated according to different settings.
  • the numbers of the network layer, the service logic layer, and the regional session layer in the above table may indicate different areas.
  • the network layer numbered 1, the business logic layer, and the regional session layer serve the Suzhou area
  • the network layer numbered 2, the business logic layer, and the regional session layer serve the Shanghai area.
  • the number of the global session layer represents the number of global session layers. For example, when the number of the global session layer has 1 and 2, the activation number is 1
  • the global session layer, and the global session layer numbered 2 is used as a backup.
  • the client presets the service call relationship table, as shown in the following table.
  • the client generates configuration files corresponding to different types of distributed system programs of the server to be configured according to the configuration index table and the service call relationship table of the distributed system.
  • the call between the network layer, the business logic layer, the database layer and the regional session layer only calls other layers of the same number.
  • the service provided by network layer 1 on the server with IP address 10.1.49.5 is NetworkMessageService
  • network layer 1 also calls the service business message of number 1 of the business logic layer for the network layer and service of each server to be deployed.
  • the logical layer, the regional session layer, the database layer, or the global session layer respectively generate corresponding configuration files.
  • the configuration file is, for example, a text file that includes configuration information.
  • the client after the client obtains different types of distributed system programs and their corresponding configuration files, the client binds different types of distributed system programs and their corresponding configuration files. Specifically, the client stores different categories of distributed system programs and their corresponding configuration files in the same folder.
  • the control device obtains the distributed system program and its corresponding configuration file from the client. Specifically, after the client binds different types of distributed system programs and their corresponding configuration files, the client The client merges the distributed system programs of different categories deployed on the same server and their corresponding configuration files into the same folder, and the client uploads the folder to the control device.
  • the control device may also actively obtain the folder from the client.
  • the folder is named after the IP address of the server to be deployed. For example, the distributed system program corresponding to the network layer, the business logic layer, the regional session layer, and the database layer deployed on the server with the IP address 10.1.49.5 and the configuration file corresponding to the distributed system program are combined and stored in the file. Under the folder named 10.1.49.5.
  • step 103 after receiving the deployment instruction from the client, the control device parses the network address of the server to be deployed. Specifically, after the control device downloads the distributed system program and its corresponding configuration file from the client, the client sends a deployment instruction to the control device. After the control device receives the deployment instruction from the client, it parses the network address of the server to be deployed. Wherein, since the distributed system program deployed on the same server and its corresponding configuration file are stored in a folder named after the IP address of the server to be deployed, the control device can obtain the to-be-deployed by reading the folder name. The IP address of the server. Further, after the control device resolves the network address of the server to be deployed, the control device checks whether the server is available.
  • the control device sends a communication request to the server to be deployed in sequence, and determines whether the server is available according to the feedback information. If the server to be deployed is unavailable, the control device notifies the client that the deployment has failed. If the server to be deployed is available, the control device continues the subsequent deployment process.
  • step 104 after receiving the uploading distributed system program command sent by the control device, the server downloads the distributed system program corresponding to the different types of the server and the corresponding configuration file from the control device.
  • the control device before the control device sends the uploading distributed system program instruction to the server, the control device sequentially sends the server to close the old version distributed system program instruction, back up the old version distributed system program instruction, and delete the old version distributed system program instruction. .
  • the control device first sends a command to close the distributed version of the distributed system program to the server.
  • the server scans all the processes of the local machine. If there is an old version of the distributed system process, the process is closed. If there is no old distributed system process, the server does not deal with.
  • the control device sends a backup old version distributed system program instruction to the server.
  • the server After the server receives the backup old version distributed system program command from the control device, the server checks whether there is an old version of the distributed system program in the local specified directory, and if so, copies it to the backup directory of the server, if If not, it will not be processed. After that, the control device sends the server to delete the old version.
  • the server After the server receives the command to delete the old distributed system program from the control device, the server checks whether there is an old version of the distributed system program in the local specified directory, and if so, deletes it, and if not, does not process it.
  • the server downloads the corresponding distributed system program and its corresponding configuration file from the control device.
  • the control device transmits an upload distributed system program instruction to the server. For example, if the control device wants to upload the distributed system program to the server with the IP address 10.1.49.5, the control device first finds the folder named 10.1.49.5 in the local specified directory, and then uploads the folder. All distributed system programs and corresponding configuration files are sent to the server with IP address 10.1.49.5.
  • the server installs the distributed system program.
  • control device also sends a program to open the distributed system, and the server starts the downloaded distributed system program according to the above instructions, thereby implementing the deployment operation.
  • the final deployment results can be fed back to the client through the control device and the deployment results are displayed through the client, for example, the results are successful for deployment.
  • the deployment system of the distributed system provided by the preferred embodiment of the present invention includes a client 20, a control device 21, and servers 22a-22c.
  • the three servers to be deployed 22a-22c are taken as an example for description. However, the invention does not limit the number of servers to be deployed.
  • the client 20 is connected to the control device 21, and the control device 21 is connected to the servers 22a-22c.
  • the client 20 is configured to generate configuration files corresponding to different types of distributed system programs of the server to be configured according to the configuration index table and the service call relationship table of the distributed system, and bind different types of distributed system programs. And its corresponding configuration file.
  • the control device 21 is adapted to obtain the distributed system program and its corresponding configuration file from the client 20.
  • the control device 21 is configured to parse the network address of the server to be deployed after receiving the deployment instruction from the client 20.
  • the servers 22a-22c are configured to receive the distributed distributed system program commands sent by the control device 21, and then download the different types of distributed system programs of the corresponding servers and their corresponding configuration files from the control device 21.
  • the specific operational flow of the system is the same as that described above, and therefore will not be described again.
  • the client generates different classes of the server to be configured according to the configuration index table and the service call relationship table of the distributed system.
  • Other configuration files corresponding to the distributed system program and bind different types of distributed system programs and their corresponding configuration files.
  • the configuration file is automatically generated by the client, which saves labor costs and improves efficiency.
  • the deployment of the distributed system is automatically realized by the control device, which not only saves labor costs but also improves deployment efficiency.
  • the distributed system is prevented from being paralyzed due to operator error, thereby improving the correctness of distributed system deployment.

Landscapes

  • Engineering & Computer Science (AREA)
  • Computer Networks & Wireless Communication (AREA)
  • Signal Processing (AREA)
  • Multi Processors (AREA)
  • Information Transfer Between Computers (AREA)

Abstract

本发明提供一种分布式系统的部署方法及系统。上述方法包括以下步骤:客户端根据分布式系统的配置索引表以及服务调用关系表分别生成待配置的服务器的不同类别的分布式系统程序所对应的配置文件,并绑定不同类别的分布式系统程序及其对应的配置文件;控制装置从客户端获得分布式系统程序及其对应的配置文件;控制装置从客户端接收部署指令后,解析待部署的服务器的网络地址;服务器接收控制装置发送的上传分布式系统程序指令后,从控制装置下载对应服务器的不同类别的分布式系统程序及其对应的配置文件。

Description

说 明 书
一种分布式系统的部署方法及系统 技术领域
本发明属于网络技术领域, 尤其涉及一种分布式系统的部署方法及系统。 背景技术
于现有技术中, 分布式系统程序提供哪些服务, 调用哪些服务器, 都需通过 配置文件来实现, 而目前的分布式系统的部署通过人工操作完成, 费时费力。假 设一个分布式系统由很多程序组成,每个程序都提供和调用很多服务, 则这个配 置文件会异常复杂。 如此, 操作人员需要耗费大量时间精力进行部署。 另外, 操 作人员在发布分布式系统程序时,需要将分布式系统程序依次拷贝至对应的服务 器。 然而, 若分布式系统程序比较复杂, 要部署的服务器数目较多, 则会加大操 作人员的工作量。 而且, 若其中某个环节出错, 则会造成分布式系统的瘫痪。 发明内容
本发明提供一种分布式系统的部署方法及系统, 以解决上述问题。
本发明提供一种分布式系统的部署方法。上述方法包括以下步骤: 客户端根 据分布式系统的配置索引表以及服务调用关系表分别生成待配置的服务器的不 同类别的分布式系统程序所对应的配置文件,并绑定不同类别的分布式系统程序 及其对应的配置文件;控制装置从客户端获得分布式系统程序及其对应的配置文 件; 控制装置从客户端接收部署指令后, 解析待部署的服务器的网络地址; 服务 器接收控制装置发送的上传分布式系统程序指令后,从控制装置下载对应服务器 的不同类别的分布式系统程序及其对应的配置文件。
本发明还提供一种分布式系统的部署系统,包括客户端、控制装置以及服务 器。 客户端连接控制装置, 控制装置连接服务器。 其中, 客户端用于根据分布式 系统的配置索引表以及服务调用关系表分别生成待配置的服务器的不同类别的 分布式系统程序所对应的配置文件,并绑定不同类别的分布式系统程序及其对应 的配置文件。 控制装置用于从客户端获得分布式系统程序及其对应的配置文件。 控制装置用于从客户端接收部署指令后,解析待部署的服务器的网络地址。服务 器用于接收控制装置发送的上传分布式系统程序指令后,从控制装置下载对应服 务器的不同类别的分布式系统程序及其对应的配置文件。
相较于先前技术,根据本发明提供的分布式系统的部署方法及系统, 客户端 根据分布式系统的配置索引表以及服务调用关系表分别生成待配置的服务器的 不同类别的分布式系统程序所对应的配置文件,并绑定不同类别的分布式系统程 序及其对应的配置文件。如此,通过客户端自动生成配置文件,节省了人力成本, 提高了效率。 而且, 通过控制装置自动实现分布式系统的部署, 不仅节省了人力 成本,而且提高了部署效率。另外,防止因操作人员失误而导致分布式系统瘫痪, 从而提高了分布式系统部署的正确性。 附图说明
此处所说明的附图用来提供对本发明的进一步理解, 构成本申请的一部分, 本发明的示意性实施例及其说明用于解释本发明, 并不构成对本发明的不当限 定。 在附图中:
图 1 所示为根据本发明的较佳实施例提供的分布式系统的部署方法的流程 图;
图 2 所示为根据本发明的较佳实施例提供的分布式系统的部署系统的示意 图。 具体实施方式
下文中将参考附图并结合实施例来详细说明本发明。需要说明的是, 在不冲 突的情况下, 本申请中的实施例及实施例中的特征可以相互组合。
图 1 所示为根据本发明的较佳实施例提供的分布式系统的部署方法的流程 图。 如图 1 所示, 本发明的较佳实施例提供的分布式系统的部署方法包括步骤 101 104。
于步骤 101, 客户端根据分布式系统的配置索引表以及服务调用关系表分别 生成待配置的服务器的不同类别的分布式系统程序所对应的配置文件,并绑定不 同类别的分布式系统程序及其对应的配置文件。 具体而言,操作人员会先在客户端设定在哪些服务器部署哪些分布式系统程 序。例如,操作人员设定在 IP地址为 10.1.49.5的服务器上部署网络层(Network) 1、 业务逻辑层 (Business ) 1、 区域会话层 (RegionSessiom) 1 以及数据库层 (Database) 1, 在 IP地址为 10.1.49.6的服务器上部署网络层 2、 业务逻辑层 2、 区域会话层 2以及数据库层 2, 在 IP地址为 10.1.49.7的服务器上部署全局会话 层 (GlobalSession 其中, 由于每个分布式系统程序提供的服务是固定的, 因 此, 可以根据分布式系统程序提供的服务生成配置索引表。 根据上述设置信息, 客户端可生成例如下表所示的分布式系统的配置索引表。然而, 本发明对此并不 限定。 于实际应用中, 可根据不同的设定生成对应的配置索引表。
Figure imgf000004_0001
其中, 上表中网络层、 业务逻辑层以及区域会话层的编号可表示不同区域。 例如, 编号为 1的网络层、业务逻辑层以及区域会话层为苏州地区服务, 编号为 2的网络层、 业务逻辑层以及区域会话层为上海地区服务。 全局会话层的编号表 示全局会话层的数目。 例如, 当全局会话层的编号有 1及 2时, 可激活编号为 1 的全局会话层, 而将编号为 2的全局会话层作为备份使用。
此外, 于本实施例中, 客户端预设服务调用关系表, 例如下表所示。
Figure imgf000005_0001
于本实施例中,客户端根据分布式系统的配置索引表以及服务调用关系表分 别生成待配置的服务器的不同类别的分布式系统程序所对应的配置文件。 其中, 网络层、业务逻辑层、数据库层及区域会话层之间的调用仅调用相同编号的其他 层。 例如, 在 IP 地址为 10.1.49.5 的服务器上的网络层 1 提供的服务为 NetworkMessageService, 同时网络层 1 还调用编号为 1 的业务逻辑层的服务 BusinessMessageService针对每个待部署的服务器的网络层、业务逻辑层、 区域 会话层、数据库层或者全局会话层会分别生成对应的配置文件。配置文件例如为 包括配置信息的文本文件。
于本实施例中,当客户端得到不同类别的分布式系统程序及其对应的配置文 件后,客户端会绑定不同类别的分布式系统程序及其对应的配置文件。具体而言, 客户端会将不同类别的分布式系统程序及其对应的配置文件存储在相同文件夹 下。
于步骤 102, 控制装置从客户端获得分布式系统程序及其对应的配置文件。 具体而言,客户端于绑定不同类别的分布式系统程序及其对应的配置文件后, 客 户端将部署在同一服务器的不同类别的分布式系统程序及其对应的配置文件合 并存储至同一文件夹下, 客户端将所述文件夹上传至控制装置。然而, 本发明并 不限定于此。 于其他实施例中, 控制装置亦可主动从客户端获取所述文件夹。此 夕卜, 所述文件夹以待部署的服务器的 IP地址命名。 例如, 将部署在 IP地址为 10.1.49.5的服务器上的网络层、业务逻辑层、 区域会话层以及数据库层所对应的 分布式系统程序及上述分布式系统程序分别对应的配置文件合并存储至文件名 为 10.1.49.5的文件夹下。
于步骤 103, 控制装置从客户端接收部署指令后, 解析待部署的服务器的网 络地址。具体而言, 当控制装置从客户端下载分布式系统程序及其对应的配置文 件后, 客户端向控制装置发送部署指令。 当控制装置从客户端接收部署指令后, 解析待部署的服务器的网络地址。其中, 由于部署在同一服务器上的分布式系统 程序及其对应的配置文件均存储在以待部署的服务器的 IP 地址命名的文件夹 下, 因此, 控制装置通过读取文件夹名可以获得待部署的服务器的 IP地址。 此 夕卜, 于控制装置解析待部署的服务器的网络地址后, 控制装置检查服务器是否可 用。 其中, 控制装置依次向待部署的服务器发送通信请求, 根据反馈信息判断服 务器是否可用。若待部署的服务器不可用, 则控制装置通知客户端部署失败。若 待部署的服务器可用, 则控制装置继续后续的部署流程。
于步骤 104, 服务器接收控制装置发送的上传分布式系统程序指令后, 从控 制装置下载对应所述服务器的不同类别的分布式系统程序及其对应的配置文件。 于此, 于控制装置向服务器发送上传分布式系统程序指令之前, 控制装置还依次 向服务器发送关闭旧版本分布式系统程序指令、备份旧版本分布式系统程序指令 以及删除旧版本分布式系统程序指令。
具体而言,控制装置先向服务器发送关闭旧版本分布式系统程序指令。 当服 务器从控制装置接收到关闭旧版本分布式系统程序指令后,服务器扫描本机所有 进程, 若有旧版本分布式系统进程, 则关闭所述进程, 若没有旧版本分布式系统 进程, 则不作处理。接着, 控制装置向服务器发送备份旧版本分布式系统程序指 令。当服务器从控制装置接收到备份旧版本分布式系统程序指令后, 服务器在本 地的指定目录下查看是否有旧版本分布式系统程序,若有则将其拷贝至所述服务 器的备份目录下, 若没有则不作处理。之后, 控制装置向服务器发送删除旧版本 分布式系统程序指令。服务器从控制装置接收到删除旧版本分布式系统程序指令 后,服务器在本地的指定目录下查看是否有旧版本分布式系统程序,若有则删除, 若没有则不作处理。
之后, 当服务器从控制装置接收到上传分布式系统程序指令后, 服务器从控 制装置下载对应的分布式系统程序及其对应的配置文件。具体而言, 当服务器根 据控制装置的指令处理旧版本分布式系统程序之后,控制装置向服务器发送上传 分布式系统程序指令。 举例而言, 若控制装置要上传分布式系统程序至 IP地址 为 10.1.49.5 的服务器上, 则控制装置首先在本地的指定目录下找到名称为 10.1.49.5的文件夹,之后再上传该文件夹下所有分布式系统程序及对应的配置文 件至 IP地址为 10.1.49.5的服务器上。 另外, 于服务器下载分布式系统程序及其 对应的配置文件后, 服务器安装所述分布式系统程序。此外, 控制装置还会发送 开启分布式系统程序,服务器根据上述指令启动下载的分布式系统程序, 从而实 现部署操作。此外, 最终的部署结果可通过控制装置反馈至客户端, 并通过客户 端显示部署结果, 例如, 显示结果为部署成功。
图 2 所示为根据本发明的较佳实施例提供的分布式系统的部署系统的示意 图。如图 2所示, 本发明的较佳实施例提供的分布式系统的部署系统包括客户端 20、 控制装置 21 以及服务器 22a~22c。 其中, 以三个待部署的服务器 22a~22c 为例进行说明。 然而, 本发明并不限定待部署的服务器的数目。
于本实施例中, 客户端 20 连接控制装置 21, 控制装置 21 连接服务器 22a~22c。其中, 客户端 20用于根据分布式系统的配置索引表以及服务调用关系 表分别生成待配置的服务器的不同类别的分布式系统程序所对应的配置文件,并 绑定不同类别的分布式系统程序及其对应的配置文件。 控制装置 21用于从客户 端 20获得分布式系统程序及其对应的配置文件。 控制装置 21用于从客户端 20 接收部署指令后, 解析待部署的服务器的网络地址。服务器 22a~22c用于接收控 制装置 21发送的上传分布式系统程序指令后,从控制装置 21下载对应服务器的 不同类别的分布式系统程序及其对应的配置文件。关于所述系统的具体操作流程 同上述方法所述, 故于此不再赘述。
综上所述,根据本发明提供的分布式系统的部署方法及系统, 客户端根据分 布式系统的配置索引表以及服务调用关系表分别生成待配置的服务器的不同类 别的分布式系统程序所对应的配置文件,并绑定不同类别的分布式系统程序及其 对应的配置文件。 如此, 通过客户端自动生成配置文件, 节省了人力成本, 提高 了效率。而且,通过控制装置自动实现分布式系统的部署,不仅节省了人力成本, 而且提高了部署效率。 另外, 防止因操作人员失误而导致分布式系统瘫痪, 从而 提高了分布式系统部署的正确性。
以上所述仅为本发明的优选实施例而已, 并不用于限制本发明, 对于本领域 的技术人员来说,本发明可以有各种更改和变化。凡在本发明的精神和原则之内, 所作的任何修改、 等同替换、 改进等, 均应包含在本发明的保护范围之内。

Claims

权利要求书
1、 一种分布式系统的部署方法, 其特征在于, 包括以下步骤:
客户端根据分布式系统的配置索引表以及服务调用关系表分别生成待配置 的服务器的不同类别的分布式系统程序所对应的配置文件,并绑定不同类别的分 布式系统程序及其对应的配置文件;
所述控制装置从所述客户端获得所述分布式系统程序及其对应的配置文件; 所述控制装置从所述客户端接收部署指令后,解析待部署的服务器的网络地 址;
所述服务器接收所述控制装置发送的上传分布式系统程序指令后,从所述控 制装置下载对应所述服务器的不同类别的分布式系统程序及其对应的配置文件。
2、 根据权利要求 1所述的分布式系统的部署方法, 其特征在于, 所述客户 端于绑定不同类别的分布式系统程序及其对应的配置文件后,将部署在同一服务 器上的不同类别的分布式系统程序及其对应的配置文件合并存储至同一文件夹 下, 所述客户端将所述文件夹上传至所述控制装置。
3、 根据权利要求 2所述的分布式系统的部署方法, 其特征在于, 所述文件 夹以待部署的服务器的 IP地址命名。
4、 根据权利要求 1所述的分布式系统的部署方法, 其特征在于, 于所述控 制装置解析所述待部署的服务器的网络地址后,所述控制装置检查所述服务器是 否可用, 若所述服务器不可用, 则通知所述客户端部署失败。
5、 根据权利要求 1所述的分布式系统的部署方法, 其特征在于, 于所述控 制装置向所述服务器发送上传分布式系统程序指令之前,所述控制装置还依次向 所述服务器发送关闭旧版本分布式系统程序指令、备份旧版本分布式系统程序指 令以及删除旧版本分布式系统程序指令。
6、 一种分布式系统的部署系统, 其特征在于, 包括客户端、 控制装置以及 服务器, 所述客户端连接所述控制装置, 所述控制装置连接所述服务器,
其中,所述客户端用于根据分布式系统的配置索引表以及服务调用关系表分 别生成待配置的服务器的不同类别的分布式系统程序所对应的配置文件,并绑定 不同类别的分布式系统程序及其对应的配置文件,
所述控制装置用于从所述客户端获得所述分布式系统程序及其对应的配置 文件,
所述控制装置用于从所述客户端接收部署指令后,解析待部署的服务器的网 络地址,
所述服务器用于接收所述控制装置发送的上传分布式系统程序指令后,从所 述控制装置下载对应所述服务器的不同类别的分布式系统程序及其对应的配置 文件。
7、 根据权利要求 6所述的分布式系统的部署系统, 其特征在于, 所述客户 端将部署在同一服务器上的不同类别的分布式系统程序及其对应的配置文件合 并存储至同一文件夹下。
8、 根据权利要求 7所述的分布式系统的部署系统, 其特征在于, 所述文件 夹以待部署的服务器的 IP地址命名。
9、 根据权利要求 6所述的分布式系统的部署系统, 其特征在于, 于所述控 制装置向所述服务器发送上传分布式系统程序指令之前,所述控制装置还依次向 所述服务器发送关闭旧版本分布式系统程序指令、备份旧版本分布式系统程序指 令以及删除旧版本分布式系统程序指令。
PCT/CN2012/084331 2011-11-21 2012-11-08 一种分布式系统的部署方法及系统 WO2013075586A1 (zh)

Applications Claiming Priority (2)

Application Number Priority Date Filing Date Title
CN2011103706658A CN102394939A (zh) 2011-11-21 2011-11-21 一种分布式系统的部署方法及系统
CN201110370665.8 2011-11-21

Publications (1)

Publication Number Publication Date
WO2013075586A1 true WO2013075586A1 (zh) 2013-05-30

Family

ID=45862143

Family Applications (1)

Application Number Title Priority Date Filing Date
PCT/CN2012/084331 WO2013075586A1 (zh) 2011-11-21 2012-11-08 一种分布式系统的部署方法及系统

Country Status (2)

Country Link
CN (1) CN102394939A (zh)
WO (1) WO2013075586A1 (zh)

Families Citing this family (17)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN102394939A (zh) * 2011-11-21 2012-03-28 苏州阔地网络科技有限公司 一种分布式系统的部署方法及系统
CN104780058A (zh) * 2014-01-13 2015-07-15 联想(北京)有限公司 一种电子设备配置的方法及系统
CN104843031B (zh) * 2015-04-20 2016-08-17 上海自仪泰雷兹交通自动化系统有限公司 一种轨旁以及车载无线单元的配置方法
CN105610987B (zh) * 2016-03-18 2018-11-23 车智互联(北京)科技有限公司 管理服务器集群的方法、应用及系统
CN107229646A (zh) * 2016-03-24 2017-10-03 中兴通讯股份有限公司 数据集群的部署方法、装置及系统
CN106204229A (zh) * 2016-07-18 2016-12-07 广西家之宝网络科技有限公司 一种基于分布式部署系统的装修管理云系统
CN106228290A (zh) * 2016-07-18 2016-12-14 广西家之宝网络科技有限公司 一种基于消息缓冲装置的装修管理云系统
CN106204231A (zh) * 2016-07-18 2016-12-07 广西家之宝网络科技有限公司 一种基于数据同步系统的装修管理云系统
CN106127420A (zh) * 2016-07-18 2016-11-16 广西家之宝网络科技有限公司 一种基于分布式部署系统的装修管理云系统
CN106203961A (zh) * 2016-07-18 2016-12-07 广西家之宝网络科技有限公司 一种基于分布式部署系统的装修管理云系统
CN106203860A (zh) * 2016-07-18 2016-12-07 广西家之宝网络科技有限公司 一种基于分布式部署系统的装修管理云系统
CN106228337A (zh) * 2016-07-18 2016-12-14 广西家之宝网络科技有限公司 一种基于数据同步系统的装修管理云系统
CN106228289A (zh) * 2016-07-18 2016-12-14 广西家之宝网络科技有限公司 一种基于消息缓冲装置的装修管理云系统
CN107832107A (zh) * 2017-11-24 2018-03-23 泰康保险集团股份有限公司 系统部署方法、装置、电子设备及存储介质
CN108681777B (zh) * 2018-05-07 2021-07-20 北京京东尚科信息技术有限公司 一种基于分布式系统的机器学习程序运行的方法和装置
CN109088774A (zh) * 2018-08-28 2018-12-25 郑州云海信息技术有限公司 一种分布式系统部署的方法及装置
CN112114939A (zh) * 2020-09-04 2020-12-22 青岛海信网络科技股份有限公司 一种分布式系统部署设备和方法

Citations (5)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN1168509A (zh) * 1996-02-29 1997-12-24 太阳微系统有限公司 用于自动构成家庭网络计算机的系统和方法
CN101789886A (zh) * 2009-01-23 2010-07-28 中兴通讯股份有限公司 一种分布式环境的环境搭建自动化系统及方法
US7849178B2 (en) * 2008-04-11 2010-12-07 International Business Machines Corporation Grid computing implementation
CN102156685A (zh) * 2010-12-22 2011-08-17 青岛海信传媒网络技术有限公司 一种分布式网络系统脚本自动配置的方法及装置
CN102394939A (zh) * 2011-11-21 2012-03-28 苏州阔地网络科技有限公司 一种分布式系统的部署方法及系统

Family Cites Families (2)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN101345644B (zh) * 2007-07-13 2011-05-04 盛大计算机(上海)有限公司 服务器部署系统和方法
CN102195978A (zh) * 2011-04-26 2011-09-21 深圳市共济科技有限公司 一种软件分布部署方法及系统

Patent Citations (5)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN1168509A (zh) * 1996-02-29 1997-12-24 太阳微系统有限公司 用于自动构成家庭网络计算机的系统和方法
US7849178B2 (en) * 2008-04-11 2010-12-07 International Business Machines Corporation Grid computing implementation
CN101789886A (zh) * 2009-01-23 2010-07-28 中兴通讯股份有限公司 一种分布式环境的环境搭建自动化系统及方法
CN102156685A (zh) * 2010-12-22 2011-08-17 青岛海信传媒网络技术有限公司 一种分布式网络系统脚本自动配置的方法及装置
CN102394939A (zh) * 2011-11-21 2012-03-28 苏州阔地网络科技有限公司 一种分布式系统的部署方法及系统

Also Published As

Publication number Publication date
CN102394939A (zh) 2012-03-28

Similar Documents

Publication Publication Date Title
WO2013075586A1 (zh) 一种分布式系统的部署方法及系统
US10177977B1 (en) Deployment and upgrade of network devices in a network environment
US20160112252A1 (en) Deployment and upgrade of network devices in a network environment
US8484637B2 (en) Parallel installation
WO2016078417A1 (zh) 一种虚拟化网络功能管理升级方法、装置及服务器
US20160179495A1 (en) Device and method for packaging application
EP2582089A1 (en) System and method for implementing automatic configuration for equipments
US10635572B2 (en) System and method for microservice validator
CN106603725A (zh) 一种企业云服务虚拟镜像管理服务的实现方法
CN113760311A (zh) 一种微服务部署方法、设备及介质
CN105426208A (zh) 一种云计算系统OpenStack离线自动安装方法
CN106020896A (zh) 一种基于私有云的自动化程序发布方法
US20220326940A1 (en) Service Upgrade Method, Apparatus, and System
CN111949276B (zh) 一种基于容器方式自动部署应用程序的系统及方法
EP2542976B1 (en) Method and apparatus of backing-up subversion repository
CN114553693A (zh) 网关升级方法及装置
WO2017133246A1 (zh) 数据的处理方法、服务器及系统
CN115309457B (zh) 应用实例的重启方法、装置、电子设备及可读存储介质
CN110119279B (zh) 一种应用及其升级的方法和装置
JP2007280415A (ja) 管理装置及びバージョン管理システム及びプログラムバージョン管理方法
JP5403447B2 (ja) 仮想マシン管理装置、仮想マシン管理システム、仮想マシン管理方法、及びプログラム
CN111158773B (zh) 一种ks引导自动化批量装机的方法及系统
CN113190627A (zh) 基于nginx和Mycat的信息系统架构及其配置方法
JP6102441B2 (ja) 仮想マシン管理方法及び装置
KR101571801B1 (ko) 관리 장비의 설정을 제어하는 통합 관리 장치 및 그것의 제어 방법

Legal Events

Date Code Title Description
121 Ep: the epo has been informed by wipo that ep was designated in this application

Ref document number: 12852296

Country of ref document: EP

Kind code of ref document: A1

NENP Non-entry into the national phase

Ref country code: DE

122 Ep: pct application non-entry in european phase

Ref document number: 12852296

Country of ref document: EP

Kind code of ref document: A1

32PN Ep: public notification in the ep bulletin as address of the adressee cannot be established

Free format text: NOTING OF LOSS OF RIGHTS PURSUANT TO RULE 112(1) EPC (EPO FORM 1205A DATED 24/11/2014)

122 Ep: pct application non-entry in european phase

Ref document number: 12852296

Country of ref document: EP

Kind code of ref document: A1