[go: up one dir, main page]

CN103647830A - Dynamic management method for multilevel configuration files in cluster management system - Google Patents

Dynamic management method for multilevel configuration files in cluster management system Download PDF

Info

Publication number
CN103647830A
CN103647830A CN201310678144.8A CN201310678144A CN103647830A CN 103647830 A CN103647830 A CN 103647830A CN 201310678144 A CN201310678144 A CN 201310678144A CN 103647830 A CN103647830 A CN 103647830A
Authority
CN
China
Prior art keywords
cluster
configuration file
nodes
level
node
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
Application number
CN201310678144.8A
Other languages
Chinese (zh)
Other versions
CN103647830B (en
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.)
Inspur Cloud Information Technology Co Ltd
Original Assignee
Inspur Electronic Information Industry 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 Inspur Electronic Information Industry Co Ltd filed Critical Inspur Electronic Information Industry Co Ltd
Priority to CN201310678144.8A priority Critical patent/CN103647830B/en
Publication of CN103647830A publication Critical patent/CN103647830A/en
Application granted granted Critical
Publication of CN103647830B publication Critical patent/CN103647830B/en
Active legal-status Critical Current
Anticipated expiration legal-status Critical

Links

Images

Landscapes

  • Information Retrieval, Db Structures And Fs Structures Therefor (AREA)

Abstract

本发明提供一种集群管理系统中多层次配置文件的动态管理方法,启动集群时,根据集群配置文件信息初始化多层次树;集群运行中,根据用户需要动态修改配置文件并对其进行管理;节点出现故障再恢复时,对动态修改的配置文件进行容错性保护。该一种集群管理系统中多层次配置文件的动态管理方法和现有技术相比,保证业务的可持续运行,改变了传统的以集群或组为单位的修改,降低了节点间的耦合度,实现多节点多任务同时操作,提高系统的性能。

Figure 201310678144

The present invention provides a dynamic management method for multi-level configuration files in a cluster management system. When the cluster is started, the multi-level tree is initialized according to the information of the cluster configuration files; during the operation of the cluster, the configuration files are dynamically modified and managed according to user needs; nodes When a fault occurs and then recovers, the dynamically modified configuration file is protected against faults. Compared with the existing technology, the dynamic management method of the multi-level configuration file in the cluster management system ensures the sustainable operation of the business, changes the traditional modification based on the cluster or group, and reduces the coupling degree between nodes. Realize multi-node multi-task simultaneous operation and improve system performance.

Figure 201310678144

Description

一种集群管理系统中多层次配置文件的动态管理方法A dynamic management method of multi-level configuration files in a cluster management system

技术领域 technical field

本发明涉及计算机应用技术领域,具体的说是一种集群管理系统中多层次配置文件的动态管理方法。 The invention relates to the technical field of computer applications, in particular to a dynamic management method for multi-level configuration files in a cluster management system.

背景技术 Background technique

高可用集群管理系统中包含对多个业务组的管理,每个组有多个资源和监视资源。集群配置文件里记录了集群、组、资源、监视资源、服务器及集群管理策略信息,是集群管理的唯一依据。传统的配置文件管理是静态管理,要求集群启动后,不可更改配置文件,除非将集群停止后重新同步配置文件,再启动集群。这样不仅中断了业务运行,无法提供可持续性保护,也增加了很多人为操作,容易产生错误。 The high-availability cluster management system includes the management of multiple business groups, and each group has multiple resources and monitoring resources. The cluster configuration file records cluster, group, resource, monitoring resource, server and cluster management policy information, which is the only basis for cluster management. Traditional configuration file management is static management, which requires that the configuration file cannot be changed after the cluster is started, unless the cluster is stopped, the configuration file is resynchronized, and then the cluster is started. This not only interrupts business operations and cannot provide sustainable protection, but also increases a lot of human operations and is prone to errors.

发明内容 Contents of the invention

本发明的技术任务是解决现有技术的不足,提供一种集群管理系统中多层次配置文件的动态管理方法。 The technical task of the invention is to solve the deficiencies of the prior art and provide a dynamic management method for multi-level configuration files in a cluster management system.

本发明的技术方案是按以下方式实现的,该一种集群管理系统中多层次配置文件的动态管理方法,其具体动态管理过程为: The technical solution of the present invention is realized in the following manner, the dynamic management method of the multi-level configuration file in the cluster management system, its specific dynamic management process is:

设置多层次配置文件的动态管理模块:初始化模块、动态管理模块和容错模块,三者通过读取集群配置文件,为配置改变进行通信协商,合作完成配置的生成和改变。 Set the dynamic management module of the multi-level configuration file: the initialization module, the dynamic management module and the fault-tolerant module. The three read the cluster configuration file, communicate and negotiate for the configuration change, and cooperate to complete the generation and change of the configuration.

集群启动,初始化模块读取配置文件信息并构建多层次集群树,直接完成集群配置文件动态管理配置。 When the cluster is started, the initialization module reads the configuration file information and builds a multi-level cluster tree, directly completing the dynamic management configuration of the cluster configuration file.

集群运行中,动态管理模块用于对集群树进行动态管理:根据用户需要动态修改信息遍历树,从最小颗粒度上对配置文件进行修改,并同步给集群中其他节点。 During cluster operation, the dynamic management module is used to dynamically manage the cluster tree: dynamically modify the information to traverse the tree according to user needs, modify the configuration file from the smallest granularity, and synchronize it to other nodes in the cluster.

节点出现故障再恢复时,容错模块用于文件级容灾:节点出现故障再恢复时,恢复节点向运行节点发送消息获取最新的配置文件,保证集群各节点配置文件信息的一致性,完成对动态修改的配置文件进行容错性保护。 When a node fails and then recovers, the fault tolerance module is used for file-level disaster recovery: when a node fails and recovers, the recovery node sends a message to the running node to obtain the latest configuration file, ensuring the consistency of the configuration file information of each node in the cluster, and completing the dynamic Modified configuration files are protected for fault tolerance.

所述初始化模块将高可用集群管理系统中集群、组、资源及监视资源节点表示成“多层次”树,该树是基于GOM模型构建的逻辑图结构。 The initialization module represents clusters, groups, resources and monitoring resource nodes in the high-availability cluster management system as a "multi-level" tree, which is a logical graph structure based on the GOM model.

多层次树模型将一棵树分成若干层次,每一层的子树深度不大于2,树中节点有两种类型,一种是已扩展节点,对应集群中的资源和监视资源;另一种是未扩展节点,对应集群中的集群和组。 The multi-level tree model divides a tree into several levels, and the subtree depth of each level is not greater than 2. There are two types of nodes in the tree, one is extended nodes, corresponding to resources and monitoring resources in the cluster; the other is are unscaled nodes, corresponding to clusters and groups in the cluster.

上述每个节点均含有一组操作原语和属性配置:操作原语表述了针对节点或子树的动态变化操作,这些操作包括增加Add、删除Delete、升级Upgrade、降级Degrade、替换Replace和复制Clone;属性配置描述了集群、组、资源及监视资源节点的属性,与当前集群配置文件信息一一对应,同时描述该节点是否可与其他节点通信的健康值。 Each of the above nodes contains a set of operation primitives and attribute configuration: the operation primitives express the dynamic change operations for nodes or subtrees, these operations include adding Add, deleting Delete, upgrading Upgrade, downgrading Degrade, replacing Replace and copying Clone ;Property configuration describes the attributes of the cluster, group, resource and monitoring resource node, corresponding to the information of the current cluster configuration file, and describes the health value of whether the node can communicate with other nodes.

本发明与现有技术相比所产生的有益效果是: The beneficial effect that the present invention produces compared with prior art is:

本发明的一种集群管理系统中多层次配置文件的动态管理方法可以实现对集群配置文件的动态管理,并且通过本方法将集群配置文件中的组及资源节点按层次划分,可以在较小的颗粒度同时修改多个资源和资源属性,增强集群的动态智能管理,改变了传统的以集群或组为单位的修改。将集群以多层次树结构构建,降低了节点间的耦合度,从而实现多节点多任务同时操作,提高系统的性能。实用性强,易于推广。 The dynamic management method of multi-level configuration files in a cluster management system of the present invention can realize the dynamic management of cluster configuration files, and through this method, the groups and resource nodes in the cluster configuration files are divided into layers, which can be used in smaller Granularity modifies multiple resources and resource attributes at the same time, enhances the dynamic and intelligent management of clusters, and changes the traditional modification in units of clusters or groups. The cluster is constructed with a multi-level tree structure, which reduces the coupling degree between nodes, thereby realizing the simultaneous operation of multiple nodes and multiple tasks, and improving the performance of the system. It is practical and easy to promote.

附图说明 Description of drawings

附图1是本发明的集群多层次树结构示意图。 Accompanying drawing 1 is the schematic diagram of the cluster multi-level tree structure of the present invention.

附图2是本发明的配置文件动态管理调度示意图。 Accompanying drawing 2 is a schematic diagram of the configuration file dynamic management scheduling of the present invention.

附图3是本发明的增加组资源示意图。 Figure 3 is a schematic diagram of adding group resources in the present invention.

具体实施方式 Detailed ways

下面结合附图对本发明的一种集群管理系统中多层次配置文件的动态管理方法作以下详细说明。 A method for dynamically managing multi-level configuration files in a cluster management system of the present invention will be described in detail below in conjunction with the accompanying drawings.

本发明提供一种集群管理系统中多层次配置文件的动态管理方法,可以实现对集群配置文件的动态管理,并且通过本方法将集群配置文件中的组及资源节点按层次划分,可以在较小的颗粒度同时修改多个资源和资源属性,增强集群的动态智能管理。其具体动态管理过程为: The present invention provides a dynamic management method for multi-level configuration files in a cluster management system, which can realize dynamic management of cluster configuration files, and divide the groups and resource nodes in the cluster configuration files into layers according to the method, which can be implemented in a smaller Simultaneously modify multiple resources and resource attributes at the granularity to enhance the dynamic and intelligent management of clusters. The specific dynamic management process is as follows:

1、设置多层次配置文件的动态管理模块:初始化模块、动态管理模块和容错模块,三者通过读取集群配置文件,为配置改变进行通信协商,合作完成配置的生成和改变。 1. Set up the dynamic management module of the multi-level configuration file: the initialization module, the dynamic management module and the fault-tolerant module. The three read the cluster configuration file, communicate and negotiate for the configuration change, and cooperate to complete the generation and change of the configuration.

2、集群启动,初始化模块读取配置文件信息并构建多层次集群树,直接完成集群配置文件动态管理配置。 2. The cluster starts, the initialization module reads the configuration file information and builds a multi-level cluster tree, and directly completes the dynamic management configuration of the cluster configuration file.

在上述技术方案中节点之间采用基于图结构的通信原语进行通讯,避免直接的代码调用,从而实现系统的松耦合。 In the above technical solution, the communication primitives based on the graph structure are used between nodes to avoid direct code calls, thereby achieving loose coupling of the system.

节点间的通讯内容采用JSON形式,采用JSON格式可以简化节点储存信息的解析和对返回结果解析的难度;同时采用固定的JSON格式,可以对外屏蔽实现细节,增强系统的安全性和降低任务触发端实现的难度。 The communication content between nodes adopts the form of JSON, which can simplify the analysis of node stored information and the difficulty of analyzing the returned results; at the same time, the use of a fixed JSON format can shield the implementation details from the outside, enhance system security and reduce task triggers Difficulty of realization.

基于图结构的配置函数使得用户可以选择是使用配置文件进行动态配置还是在程序中直接进行可预先安排的动态配置,增加了系统灵活性。 The configuration function based on the graph structure allows the user to choose whether to use the configuration file for dynamic configuration or directly perform pre-arranged dynamic configuration in the program, which increases the system flexibility.

3、集群运行中,动态管理模块用于对集群树进行动态管理:根据用户需要动态修改信息遍历树,从最小颗粒度上对配置文件进行修改,并同步给集群中其他节点。 3. During cluster operation, the dynamic management module is used to dynamically manage the cluster tree: dynamically modify the information traversal tree according to user needs, modify the configuration file from the smallest granularity, and synchronize it to other nodes in the cluster.

该技术方案中,无需中断业务运行时间,动态修改组及资源信息;以最小颗粒度修改,减少了与其他节点的交互,提高系统性能;支持多种动态修改操作,提高了系统的灵活性。 In this technical solution, the group and resource information can be dynamically modified without interrupting the business running time; the modification with the smallest granularity reduces the interaction with other nodes and improves the system performance; it supports multiple dynamic modification operations and improves the flexibility of the system.

4、节点出现故障再恢复时,容错模块用于文件级容灾:节点出现故障再恢复时,恢复节点向运行节点发送消息获取最新的配置文件,保证集群各节点配置文件信息的一致性,完成对动态修改的配置文件进行容错性保护。 4. When a node fails and then recovers, the fault tolerance module is used for file-level disaster recovery: when a node fails and recovers, the recovery node sends a message to the running node to obtain the latest configuration file to ensure the consistency of the configuration file information of each node in the cluster. Fault-tolerant protection for dynamically modified configuration files.

进一步的,上述步骤结合附图1~3进一步描述为: Further, the above steps are further described in conjunction with accompanying drawings 1 to 3 as follows:

初始化模块用于在集群启动时,读取配置文件构建多层次集群树,直接完成集群配置文件动态管理配置。 The initialization module is used to read the configuration file to build a multi-level cluster tree when the cluster starts, and directly complete the dynamic management configuration of the cluster configuration file.

初始化模块将高可用集群管理系统中集群、组、资源及监视资源节点表示成一棵“多层次”的树,这棵树是基于GOM(Graph Oriented Model)模型构建的逻辑图结构。这个逻辑图结构不仅使用户可利用图上的各种通信原语进行相邻层的通信, 而且为动态配置提供了一个清晰的框架。 The initialization module represents the cluster, group, resource and monitoring resource nodes in the high-availability cluster management system as a "multi-level" tree, which is a logical graph structure based on the GOM (Graph Oriented Model) model. This logical graph structure not only enables users to use various communication primitives on the graph to communicate with adjacent layers, but also provides a clear framework for dynamic configuration.

多层次树模型将一棵树分成多个层次,每一层的子树深度不大于2,那么定义一棵子树只需确定其根节点和孩子节点即可。树中节点有两种类型,一种是已扩展节点,另一种是未扩展节点,未扩展的节点本身又是一棵树。如图1,将集群树Tree1划分成多层次的树Tree2,其中已扩展节点对应集群中的资源和监视资源,未扩展节点对应集群中的集群和组。 The multi-level tree model divides a tree into multiple levels, and the sub-tree depth of each level is not greater than 2. To define a sub-tree, it is only necessary to determine its root node and child nodes. There are two types of nodes in the tree, one is the expanded node, the other is the unexpanded node, and the unexpanded node itself is a tree. As shown in Figure 1, the cluster tree Tree1 is divided into a multi-level tree Tree2, in which the expanded nodes correspond to the resources and monitoring resources in the cluster, and the unexpanded nodes correspond to the clusters and groups in the cluster.

每个节点含有一组操作原语和属性配置。 Each node contains a set of operation primitives and attribute configuration.

操作原语表述了针对节点或子树的动态变化操作,这些操作包括:增加Add、删除Delete、升级Upgrade、降级Degrade、替换Replace和复制Clone。这些基于图结构的配置函数使得用户可以选择是使用配置文件进行动态配置还是在程序中直接进行可预先安排的动态配置,因而增加了系统灵活性。因为有可能某些情况下,节点在运行过程中动态配置的条件不变,无需在配置文件中描述以备将来改变。此外,允许在节点中使用系统的配置函数对不确定地加入新的节点也很有意义。新的节点在完成必要的初始化工作后,通过AddNode函数将自己挂接到树形结构的某个节点下,无需其他工作就可无缝地嵌入系统。新节点的加入将不影响其父节点的运作,只要父节点完全采用基于图结构的通信原语。 Operation primitives express dynamic change operations for nodes or subtrees, including: Add, Delete, Upgrade, Degrade, Replace, and Clone. These graph-based configuration functions allow users to choose whether to use configuration files for dynamic configuration or to perform pre-arranged dynamic configuration directly in the program, thus increasing system flexibility. Because it is possible that in some cases, the conditions of the dynamic configuration of the node during operation remain unchanged, and there is no need to describe it in the configuration file for future changes. Additionally, allowing the use of system configuration functions in nodes makes sense for adding new nodes non-deterministically. After the new node completes the necessary initialization work, it attaches itself to a node in the tree structure through the AddNode function, and can be seamlessly embedded in the system without other work. The addition of a new node will not affect the operation of its parent node, as long as the parent node fully adopts the communication primitives based on the graph structure.

每个节点仅能与其父节点、孩子节点和兄弟节点通信,而不能越层通信,这样做的目的是加强系统控制,当发生动态配置时,尽可能少地影响系统其他部分的正常运行。 Each node can only communicate with its parent node, child nodes and sibling nodes, and cannot communicate across layers. The purpose of this is to strengthen system control, and when dynamic configuration occurs, it will affect the normal operation of other parts of the system as little as possible.

属性配置一方面描述了集群、组、资源及监视资源节点的属性,这些属性与当前集群配置文件信息一一对应。另一方面描述了该节点的可通信状态,即该节点是否可与其他节点通信的健康值。其中节点包含的集群属性,如表1所示。 On the one hand, attribute configuration describes the attributes of clusters, groups, resources, and monitoring resource nodes, which are in one-to-one correspondence with the current cluster configuration file information. On the other hand, it describes the communicable state of the node, that is, the health value of whether the node can communicate with other nodes. The cluster attributes contained in the nodes are shown in Table 1.

动态管理模块用于对集群树进行动态管理,动态管理过程与节点的操作原语密切相关,是对树的操作,此处不进行详述。 The dynamic management module is used to dynamically manage the cluster tree. The dynamic management process is closely related to the operation primitives of the nodes. It is an operation on the tree and will not be described in detail here.

容错模块用于文件级容灾。例如,双机集群中,对端发生故障后,集群配置文件进行了动态修改,之后对端又恢复了,但其上运行的是发生故障前的配置文件,造成两端不一致。容错模块会使得恢复端向正常运行的节点发送恢复消息,得到最新的配置文件信息。 The fault tolerance module is used for file-level disaster recovery. For example, in a two-machine cluster, after the peer end fails, the cluster configuration file is dynamically modified, and then the peer end recovers, but the configuration file before the fault occurs runs on it, resulting in inconsistency between the two ends. The fault-tolerant module will make the recovery end send a recovery message to the normal operation node to obtain the latest configuration file information.

要求各模块对配置文件的修改是独占方式,以维护集群配置文件的一致性。 Each module is required to modify the configuration file in an exclusive way to maintain the consistency of the cluster configuration file.

在一个典型的环境中,用户配置完集群,同步配置文件并启动集群以后,首先由初始化模块根据集群配置文件信息构建多层次树,树的根节点存储集群信息,根节点下面的所有非孩子节点存储组信息,组和组之间的依赖关系以层次表示,上层的组节点依赖于其孩子组节点。多层次树中所有孩子节点存储资源或监视资源信息,所有孩子节点的父亲节点必然是个组节点。下表显示了不同类型节点存储的集群配置文件信息。 In a typical environment, after the user configures the cluster, synchronizes the configuration file, and starts the cluster, the initialization module first builds a multi-level tree based on the information in the cluster configuration file. The root node of the tree stores the cluster information, and all non-child nodes below the root node The group information is stored, and the dependencies between groups are represented in a hierarchy, and the upper group nodes depend on their child group nodes. All child nodes in the multi-level tree store resources or monitor resource information, and the parent node of all child nodes must be a group node. The table below shows the cluster configuration file information stored by different types of nodes.

节点名称node name 节点属性信息Node attribute information 集群cluster 集群名称、集群IP、子网掩码、网络分区解析、使用心跳、主服务器信息、心跳超时信息、告警服务等Cluster name, cluster IP, subnet mask, network partition analysis, use heartbeat, master server information, heartbeat timeout information, alarm service, etc. Group 组名称、启动服务器、失效切换次数、互斥组、组依赖关系Group name, start server, number of failovers, exclusive groups, group dependencies 资源resource 资源类型、资源名称、启动(停止)超时时间、启动(停止)失败重试次数、启动(停止)失败最终动作、资源特有属性Resource type, resource name, start (stop) timeout, start (stop) failure retry times, start (stop) failure final action, resource-specific attributes 监视资源Monitor resources 监视资源类型、监视资源名称、间隔、超时时间、重试次数、开始监视的等待时间、目标资源Monitoring resource type, Monitoring resource name, Interval, Timeout, Retries, Waiting time to start monitoring, Target resource

如图1所示,将集群配置文件构建成集群树Tree1,按层次划分为多层次树Tree2,每一层的未扩展节点都是组资源,组和组之间的层次关系表示组之间的依赖关系。组节点必然是个子树,其孩子节点要么是依赖组要么是组资源或组监视资源。每一层的既是扩展节点又是孩子节点的必然是资源或监视资源节点。 As shown in Figure 1, the cluster configuration file is constructed into a cluster tree Tree1, which is divided into a multi-level tree Tree2 according to the level. The unexpanded nodes of each level are group resources, and the hierarchical relationship between groups represents the relationship between groups. dependencies. A group node must be a subtree whose children are either dependent groups or group resources or group monitoring resources. Each layer that is both an extension node and a child node must be a resource or monitor resource node.

在集群运行中,如果用户想要修改集群配置文件,不需要先停止集群再进行修改。只需要修改集群配置文件,点击“应用”按钮,集群系统将用户修改的信息传递给集群根节点,读取修改信息,根节点的动态管理模块代理与每一层的动态管理模块代理互相通信协商,决定是在哪层进行修改,执行相应的操作。如图3显示了动态添加组资源fipAdd,遍历树找到组failover1节点,通过Addnode函数增加fipAdd资源及资源信息,并将组资源信息在集群各节点上同步。 When the cluster is running, if the user wants to modify the cluster configuration file, there is no need to stop the cluster first and then modify it. Only need to modify the cluster configuration file, click the "Apply" button, the cluster system will pass the information modified by the user to the root node of the cluster, read the modified information, the dynamic management module agent of the root node and the dynamic management module agent of each layer communicate and negotiate with each other , decide which layer to modify, and perform corresponding operations. Figure 3 shows the dynamic addition of group resource fipAdd, traverse the tree to find the group failover1 node, add fipAdd resource and resource information through the Addnode function, and synchronize the group resource information on each node of the cluster.

以上所述仅为本发明的实施例而已,凡在本发明的精神和原则之内,所作的任何修改、等同替换、改进等,均应包含在本发明的保护范围之内。 The above description is only an embodiment of the present invention, and any modification, equivalent replacement, improvement, etc. made within the spirit and principle of the present invention shall be included in the protection scope of the present invention.

Claims (4)

1.一种集群管理系统中多层次配置文件的动态管理方法,其特征在于其具体动态管理过程为: 1. a dynamic management method of multi-level configuration file in a cluster management system, characterized in that its concrete dynamic management process is: 设置多层次配置文件的动态管理模块:初始化模块、动态管理模块和容错模块,三者通过读取集群配置文件,为配置改变进行通信协商,合作完成配置的生成和改变; Set the dynamic management module of the multi-level configuration file: the initialization module, the dynamic management module and the fault-tolerant module. The three read the cluster configuration file, communicate and negotiate for the configuration change, and cooperate to complete the generation and change of the configuration; 集群启动,初始化模块读取配置文件信息并构建多层次集群树,直接完成集群配置文件动态管理配置; The cluster starts, the initialization module reads the configuration file information and builds a multi-level cluster tree, and directly completes the dynamic management configuration of the cluster configuration file; 集群运行中,动态管理模块用于对集群树进行动态管理:根据用户需要动态修改信息遍历树,从最小颗粒度上对配置文件进行修改,并同步给集群中其他节点; During cluster operation, the dynamic management module is used to dynamically manage the cluster tree: dynamically modify the information traversal tree according to user needs, modify the configuration file from the smallest granularity, and synchronize it to other nodes in the cluster; 节点出现故障再恢复时,容错模块用于文件级容灾:节点出现故障再恢复时,恢复节点向运行节点发送消息获取最新的配置文件,保证集群各节点配置文件信息的一致性,完成对动态修改的配置文件进行容错性保护。 When a node fails and then recovers, the fault tolerance module is used for file-level disaster recovery: when a node fails and recovers, the recovery node sends a message to the running node to obtain the latest configuration file, ensuring the consistency of the configuration file information of each node in the cluster, and completing the dynamic Modified configuration files are protected for fault tolerance. 2.根据权利要求1所述的一种集群管理系统中多层次配置文件的动态管理方法,其特征在于:所述初始化模块将高可用集群管理系统中集群、组、资源及监视资源节点表示成“多层次”树,该树是基于GOM模型构建的逻辑图结构。 2. the dynamic management method of multi-level configuration file in a kind of cluster management system according to claim 1, it is characterized in that: described initialization module expresses cluster, group, resource and monitoring resource node in high-availability cluster management system as "Multi-level" tree, which is a logical graph structure based on the GOM model. 3.根据权利要求2所述的一种集群管理系统中多层次配置文件的动态管理方法,其特征在于:多层次树模型将一棵树分成若干层次,每一层的子树深度不大于2,树中节点有两种类型,一种是已扩展节点,对应集群中的资源和监视资源;另一种是未扩展节点,对应集群中的集群和组。 3. the dynamic management method of multi-level configuration file in a kind of cluster management system according to claim 2, it is characterized in that: multi-level tree model divides a tree into several levels, and the subtree depth of each level is not more than 2 , there are two types of nodes in the tree, one is extended nodes, corresponding to resources and monitoring resources in the cluster; the other is unexpanded nodes, corresponding to clusters and groups in the cluster. 4.根据权利要求1~3中任一所述的一种集群管理系统中多层次配置文件的动态管理方法,其特征在于:上述每个节点均含有一组操作原语和属性配置:操作原语表述了针对节点或子树的动态变化操作,这些操作包括增加Add、删除Delete、升级Upgrade、降级Degrade、替换Replace和复制Clone;属性配置描述了集群、组、资源及监视资源节点的属性,与当前集群配置文件信息一一对应,同时描述该节点是否可与其他节点通信的健康值。 4. The dynamic management method of a multi-level configuration file in a cluster management system according to any one of claims 1 to 3, characterized in that: each of the above-mentioned nodes contains a group of operation primitives and attribute configuration: operation primitives The language describes the dynamic change operations for nodes or subtrees. These operations include adding Add, deleting Delete, upgrading Upgrade, downgrading Degrade, replacing Replace and copying Clone; attribute configuration describes the attributes of clusters, groups, resources, and monitoring resource nodes. One-to-one correspondence with the current cluster configuration file information, and at the same time describe the health value of whether the node can communicate with other nodes.
CN201310678144.8A 2013-12-13 2013-12-13 The dynamic management approach of multi-level configuration file in a kind of cluster management system Active CN103647830B (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN201310678144.8A CN103647830B (en) 2013-12-13 2013-12-13 The dynamic management approach of multi-level configuration file in a kind of cluster management system

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN201310678144.8A CN103647830B (en) 2013-12-13 2013-12-13 The dynamic management approach of multi-level configuration file in a kind of cluster management system

Publications (2)

Publication Number Publication Date
CN103647830A true CN103647830A (en) 2014-03-19
CN103647830B CN103647830B (en) 2017-09-15

Family

ID=50252984

Family Applications (1)

Application Number Title Priority Date Filing Date
CN201310678144.8A Active CN103647830B (en) 2013-12-13 2013-12-13 The dynamic management approach of multi-level configuration file in a kind of cluster management system

Country Status (1)

Country Link
CN (1) CN103647830B (en)

Cited By (16)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN104636208A (en) * 2015-02-12 2015-05-20 浪潮电子信息产业股份有限公司 Method for managing high-availability cluster resources
CN105045619A (en) * 2015-07-06 2015-11-11 普元信息技术股份有限公司 Fixed bandwidth based multi-level multi-node version distribution method in cloud computing environment
CN105279364A (en) * 2014-06-05 2016-01-27 美国西门子医疗解决公司 Protocol management system (PROMS)
CN105740408A (en) * 2016-01-28 2016-07-06 东软集团股份有限公司 Hadoop cluster calling method and device
CN105933166A (en) * 2016-06-30 2016-09-07 北京奇艺世纪科技有限公司 Server management method and device
CN106059798A (en) * 2016-05-18 2016-10-26 厦门市美亚柏科信息股份有限公司 Multiplayer management system based on node collection
CN106301904A (en) * 2016-08-08 2017-01-04 无锡天脉聚源传媒科技有限公司 A kind of cluster server management method and device
CN106844681A (en) * 2017-01-25 2017-06-13 郑州云海信息技术有限公司 Configuration file synchronous method and managing main frame based on cluster file system
CN108600004A (en) * 2018-04-23 2018-09-28 北京奇艺世纪科技有限公司 A kind of video server configuring management method and system
CN110851192A (en) * 2018-07-27 2020-02-28 北京京东尚科信息技术有限公司 Method and device for responding to configuration of degraded switch
CN112035162A (en) * 2020-09-02 2020-12-04 中国银行股份有限公司 Configuration file batch modification method and device
CN112416538A (en) * 2019-08-20 2021-02-26 中国科学院深圳先进技术研究院 A multi-level architecture and management method of a distributed resource management framework
CN112486513A (en) * 2020-11-25 2021-03-12 湖南麒麟信安科技股份有限公司 Container-based cluster management method and system
CN112732330A (en) * 2021-01-04 2021-04-30 浪潮云信息技术股份公司 Solr cluster configuration file modification method and system
CN113596190A (en) * 2021-07-23 2021-11-02 浪潮云信息技术股份公司 Application distributed multi-activity system and method based on Kubernetes
CN115714722A (en) * 2022-12-15 2023-02-24 中国西安卫星测控中心 Dynamic configuration method, device and system for cluster network

Citations (9)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN1829973A (en) * 2003-07-31 2006-09-06 国际商业机器公司 Dynamically configurable fault tolerance in autonomic computing with multiple service points
CN101232515A (en) * 2008-02-25 2008-07-30 浪潮电子信息产业股份有限公司 A Distributed Cluster Management and Monitoring System Based on LDAP
CN101883039A (en) * 2010-05-13 2010-11-10 北京航空航天大学 Data transmission network of large-scale cluster system and its construction method
CN102147809A (en) * 2011-03-22 2011-08-10 曙光信息产业股份有限公司 Parallel file system and management method thereof
CN102355413A (en) * 2011-08-26 2012-02-15 北京邮电大学 Method and system for unifying message space on large scale in real time
CN102855289A (en) * 2012-08-09 2013-01-02 浪潮电子信息产业股份有限公司 Method for dynamically modifying failover of storage unit by cluster file system
CN103051509A (en) * 2012-08-03 2013-04-17 北京航空航天大学 Tree-structure-based initialization method
CN103152416A (en) * 2013-03-04 2013-06-12 浪潮电子信息产业股份有限公司 Dynamic management method for improving high availability of online clustering group
CN103167041A (en) * 2013-03-28 2013-06-19 广州中国科学院软件应用技术研究所 A system and method for supporting automated deployment of cloud environment application clusters

Patent Citations (9)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN1829973A (en) * 2003-07-31 2006-09-06 国际商业机器公司 Dynamically configurable fault tolerance in autonomic computing with multiple service points
CN101232515A (en) * 2008-02-25 2008-07-30 浪潮电子信息产业股份有限公司 A Distributed Cluster Management and Monitoring System Based on LDAP
CN101883039A (en) * 2010-05-13 2010-11-10 北京航空航天大学 Data transmission network of large-scale cluster system and its construction method
CN102147809A (en) * 2011-03-22 2011-08-10 曙光信息产业股份有限公司 Parallel file system and management method thereof
CN102355413A (en) * 2011-08-26 2012-02-15 北京邮电大学 Method and system for unifying message space on large scale in real time
CN103051509A (en) * 2012-08-03 2013-04-17 北京航空航天大学 Tree-structure-based initialization method
CN102855289A (en) * 2012-08-09 2013-01-02 浪潮电子信息产业股份有限公司 Method for dynamically modifying failover of storage unit by cluster file system
CN103152416A (en) * 2013-03-04 2013-06-12 浪潮电子信息产业股份有限公司 Dynamic management method for improving high availability of online clustering group
CN103167041A (en) * 2013-03-28 2013-06-19 广州中国科学院软件应用技术研究所 A system and method for supporting automated deployment of cloud environment application clusters

Cited By (26)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US10346586B2 (en) 2014-06-05 2019-07-09 Siemens Healthcare Gmbh Protocol management system (PROMS)
CN105279364A (en) * 2014-06-05 2016-01-27 美国西门子医疗解决公司 Protocol management system (PROMS)
CN105279364B (en) * 2014-06-05 2020-03-20 西门子保健有限责任公司 Protocol management system
CN104636208A (en) * 2015-02-12 2015-05-20 浪潮电子信息产业股份有限公司 Method for managing high-availability cluster resources
CN105045619A (en) * 2015-07-06 2015-11-11 普元信息技术股份有限公司 Fixed bandwidth based multi-level multi-node version distribution method in cloud computing environment
CN105045619B (en) * 2015-07-06 2018-07-10 普元信息技术股份有限公司 Multi-level multinode version distributed method based on fixed-bandwidth in cloud computing environment
CN105740408A (en) * 2016-01-28 2016-07-06 东软集团股份有限公司 Hadoop cluster calling method and device
CN105740408B (en) * 2016-01-28 2019-02-05 东软集团股份有限公司 The method and apparatus for calling hadoop cluster
CN106059798A (en) * 2016-05-18 2016-10-26 厦门市美亚柏科信息股份有限公司 Multiplayer management system based on node collection
CN106059798B (en) * 2016-05-18 2019-10-01 厦门市美亚柏科信息股份有限公司 A kind of multistratum management system based on node set
CN105933166A (en) * 2016-06-30 2016-09-07 北京奇艺世纪科技有限公司 Server management method and device
CN106301904A (en) * 2016-08-08 2017-01-04 无锡天脉聚源传媒科技有限公司 A kind of cluster server management method and device
CN106844681A (en) * 2017-01-25 2017-06-13 郑州云海信息技术有限公司 Configuration file synchronous method and managing main frame based on cluster file system
CN108600004A (en) * 2018-04-23 2018-09-28 北京奇艺世纪科技有限公司 A kind of video server configuring management method and system
CN110851192A (en) * 2018-07-27 2020-02-28 北京京东尚科信息技术有限公司 Method and device for responding to configuration of degraded switch
CN112416538B (en) * 2019-08-20 2024-05-07 中国科学院深圳先进技术研究院 A multi-level architecture and management method for a distributed resource management framework
CN112416538A (en) * 2019-08-20 2021-02-26 中国科学院深圳先进技术研究院 A multi-level architecture and management method of a distributed resource management framework
CN112035162A (en) * 2020-09-02 2020-12-04 中国银行股份有限公司 Configuration file batch modification method and device
CN112035162B (en) * 2020-09-02 2024-06-21 中国银行股份有限公司 Configuration file batch modification method and device
CN112486513A (en) * 2020-11-25 2021-03-12 湖南麒麟信安科技股份有限公司 Container-based cluster management method and system
CN112486513B (en) * 2020-11-25 2022-08-12 湖南麒麟信安科技股份有限公司 Container-based cluster management method and system
CN112732330A (en) * 2021-01-04 2021-04-30 浪潮云信息技术股份公司 Solr cluster configuration file modification method and system
CN113596190B (en) * 2021-07-23 2023-05-26 浪潮云信息技术股份公司 Application distributed multi-activity system and method based on Kubernetes
CN113596190A (en) * 2021-07-23 2021-11-02 浪潮云信息技术股份公司 Application distributed multi-activity system and method based on Kubernetes
CN115714722B (en) * 2022-12-15 2023-09-08 中国西安卫星测控中心 Cluster network dynamic configuration method, device and system
CN115714722A (en) * 2022-12-15 2023-02-24 中国西安卫星测控中心 Dynamic configuration method, device and system for cluster network

Also Published As

Publication number Publication date
CN103647830B (en) 2017-09-15

Similar Documents

Publication Publication Date Title
CN103647830B (en) The dynamic management approach of multi-level configuration file in a kind of cluster management system
Botelho et al. On the design of practical fault-tolerant SDN controllers
Zhu et al. Gemini: A {Computation-Centric} distributed graph processing system
CN104184820B (en) The cloud platform of distributed environment lower template customization dynamically spreads dispositions method
WO2019226327A1 (en) Data platform fabric
US10230567B2 (en) Management of a plurality of system control networks
Wang et al. Replication-based fault-tolerance for large-scale graph processing
CN105703940A (en) Multistage dispatching distributed parallel computing-oriented monitoring system and monitoring method
CN104391989A (en) A Distributed ETL All-in-One System
CN103605698A (en) Cloud database system used for distributed heterogeneous data resource integration
CN107045422A (en) Distributed storage method and equipment
CN105630589A (en) Distributed process scheduling system and process scheduling and execution method
CN102420854A (en) Distributed file system for cloud storage
US20160142262A1 (en) Monitoring a computing network
CN112925695B (en) Method for automatically updating configuration file for configuring fluent
CN109522043B (en) Method and device for managing configuration data and storage medium
US8438573B2 (en) Dependency on a resource type
CN103473287A (en) Method and system for automatically distributing, running and updating executable programs
CN105589756A (en) Batch processing cluster system and method
Sattler Towards elastic stream processing: Patterns and infrastructure
CN103500126B (en) A kind of automatization fault-tolerant configuration method of cloud computing platform
CN104023061A (en) High availability cluster scheme of OSS (Open Storage service) for LUSTRE
CN103533068A (en) Independent and balanced task distribution cluster system based on IP
CN106095335A (en) A kind of electric power big data elastic cloud calculates storage platform architecture method
Chen et al. Replication-based fault-tolerance for large-scale graph processing

Legal Events

Date Code Title Description
PB01 Publication
PB01 Publication
C10 Entry into substantive examination
SE01 Entry into force of request for substantive examination
GR01 Patent grant
GR01 Patent grant
TR01 Transfer of patent right
TR01 Transfer of patent right

Effective date of registration: 20180813

Address after: 250101 S06 tower, 1036, Chao Lu Road, hi tech Zone, Ji'nan, Shandong.

Patentee after: Shandong wave cloud Mdt InfoTech Ltd

Address before: 250014 1036 Shun Ya Road, hi tech Zone, Ji'nan, Shandong.

Patentee before: Langchao Electronic Information Industry Co., Ltd.

CP03 Change of name, title or address
CP03 Change of name, title or address

Address after: 250100 No. 1036 Tidal Road, Jinan High-tech Zone, Shandong Province, S01 Building, Tidal Science Park

Patentee after: Inspur cloud Information Technology Co., Ltd

Address before: 250101 S06 tower, 1036, Chao Lu Road, hi tech Zone, Ji'nan, Shandong.

Patentee before: SHANDONG LANGCHAO YUNTOU INFORMATION TECHNOLOGY Co.,Ltd.