[go: up one dir, main page]

CN107196814A - A kind of management method and system of many clusters - Google Patents

A kind of management method and system of many clusters Download PDF

Info

Publication number
CN107196814A
CN107196814A CN201710632441.7A CN201710632441A CN107196814A CN 107196814 A CN107196814 A CN 107196814A CN 201710632441 A CN201710632441 A CN 201710632441A CN 107196814 A CN107196814 A CN 107196814A
Authority
CN
China
Prior art keywords
cluster
clusters
management
management platform
device discovery
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
CN201710632441.7A
Other languages
Chinese (zh)
Inventor
李昂
Current Assignee (The listed assignees may be inaccurate. Google has not performed a legal analysis and makes no representation or warranty as to the accuracy of the list.)
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 CN201710632441.7A priority Critical patent/CN107196814A/en
Publication of CN107196814A publication Critical patent/CN107196814A/en
Pending legal-status Critical Current

Links

Classifications

    • 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
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04LTRANSMISSION OF DIGITAL INFORMATION, e.g. TELEGRAPHIC COMMUNICATION
    • H04L12/00Data switching networks
    • H04L12/02Details
    • H04L12/16Arrangements for providing special services to substations
    • H04L12/18Arrangements for providing special services to substations for broadcast or conference, e.g. multicast
    • H04L12/185Arrangements for providing special services to substations for broadcast or conference, e.g. multicast with management of multicast group membership
    • 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/0893Assignment of logical groups to network elements

Landscapes

  • Engineering & Computer Science (AREA)
  • Computer Networks & Wireless Communication (AREA)
  • Signal Processing (AREA)
  • Mobile Radio Communication Systems (AREA)

Abstract

This application discloses a kind of management method of many clusters, including:A cluster is chosen from least two clusters by default selection mode, and management platform is set on the cluster;Using the management platform message is found to other collection pocket transmission equipment in addition to the cluster;When receiving the equipment response message that other clusters are returned according to equipment discovery message, judge that other clusters receive the management of the management platform.This method is smaller without additional management server, upgrading cost, when occurring abnormal can flexible handover management end, flexibility, the saving lower deployment cost of many clusters of deployment management can be significantly improved.The application further simultaneously discloses a kind of management system of many clusters, with above-mentioned beneficial effect.

Description

一种多集群的管理方法及系统A multi-cluster management method and system

技术领域technical field

本申请涉及集群管理技术领域,特别涉及一种多集群的管理方法及系统。The present application relates to the technical field of cluster management, in particular to a multi-cluster management method and system.

背景技术Background technique

随着数据量的日益增加,单个或少数服务器已经不再能够满足性能的需要,以数量较多的服务器形成的服务器集群逐渐出现,因为集群化操作可以减少单点故障数量,并且实现了群集化资源的高可用性。甚至在极其复杂的情况下,会同时存在多个集群。With the increasing amount of data, a single or a small number of servers can no longer meet the performance needs, and server clusters formed by a large number of servers gradually appear, because clustering operations can reduce the number of single-point failures and achieve clustering High availability of resources. Even in extremely complex cases, multiple clusters will exist at the same time.

现有的多集群管理方案是通过专门架设一台多集群管理服务器,以此来实现对多集群的同一管理,但是这种方式会额外增设一台性能很高的管理服务器,使得硬件设备的利用率较低,且由于多集群统一接收该管理服务器的管理,一旦该管理服务器出现故障,出于成本等各方考虑,通常不会有替换用的备用管理服务器,会导致同时丧失对多集群的管理,造成严重的经济损失。The existing multi-cluster management solution is to set up a multi-cluster management server to achieve the same management of multi-clusters, but this method will add an additional high-performance management server, making the use of hardware devices The rate is low, and because the multi-clusters receive the management of the management server uniformly, once the management server fails, due to cost and other considerations, there is usually no spare management server for replacement, which will lead to the loss of the multi-cluster at the same time. management, resulting in serious economic losses.

所以,如何提供一种无需额外增设管理服务器、升级改造成本较小以及对多集群实现灵活管理的多集群管理机制是本领域技术人员亟待解决的问题。Therefore, how to provide a multi-cluster management mechanism that does not require an additional management server, has low upgrade and reconstruction costs, and realizes flexible management of multi-clusters is an urgent problem to be solved by those skilled in the art.

发明内容Contents of the invention

本申请的目的是提供一种多集群的管理方法及系统,其无需额外增设管理服务器、升级改造成本较小,在出现异常时可以灵活切换管理端,能够显著提高部署管理多集群的灵活性、节省部署成本。The purpose of this application is to provide a multi-cluster management method and system, which does not require additional management servers, and the cost of upgrading and transformation is relatively small. When an abnormality occurs, the management terminal can be switched flexibly, which can significantly improve the flexibility of deploying and managing multi-clusters. Save on deployment costs.

为解决上述技术问题,本申请提供一种多集群的管理方法,该管理方法包括:In order to solve the above technical problems, the present application provides a multi-cluster management method, which includes:

按预设选取方式从至少两个集群中选取一个集群,并在所述集群上设置统一管理平台;Selecting a cluster from at least two clusters according to a preset selection method, and setting a unified management platform on the cluster;

利用所述统一管理平台向除所述集群外的其它集群发送设备发现报文;Using the unified management platform to send device discovery messages to clusters other than the cluster;

当接收到所述其它集群根据所述设备发现报文返回的设备响应报文时,判定所述其它集群接受所述统一管理平台的管理。When receiving the device response message returned by the other cluster according to the device discovery message, it is determined that the other cluster accepts the management of the unified management platform.

可选的,利用所述统一管理平台向除所述集群外的其它集群发送设备发现报文,包括:Optionally, using the unified management platform to send device discovery messages to clusters other than the cluster, including:

获取除所述集群外的所述其它集群分别对应的IP地址;Obtaining IP addresses respectively corresponding to the other clusters except the cluster;

向各所述IP地址对应的集群均发送所述设备发现报文。Sending the device discovery message to the clusters corresponding to each of the IP addresses.

可选的,当接收到所述其它集群根据所述设备发现报文返回的设备响应报文时,判定所述其它集群接受所述统一管理平台的管理,包括:Optionally, when receiving the device response message returned by the other cluster according to the device discovery message, determining that the other cluster accepts the management of the unified management platform includes:

当接收到所述其它集群根据所述设备发现报文由对应所述IP地址返回的所述设备响应报文时,判定所述IP地址对应的集群接受所述统一管理平台的管理。When receiving the device response message corresponding to the IP address returned by the other clusters according to the device discovery message, it is determined that the cluster corresponding to the IP address accepts the management of the unified management platform.

可选的,在接收到所述其它集群根据所述设备发现报文返回的设备响应报文后,还包括:Optionally, after receiving the device response message returned by the other clusters according to the device discovery message, the method further includes:

将返回所述设备响应报文的集群对应的IP地址存入所述统一管理平台的数据库中,并在所述统一管理平台的管理界面上进行列表展示。Store the IP addresses corresponding to the clusters that return the device response messages into the database of the unified management platform, and display them in a list on the management interface of the unified management platform.

本申请还提供了一种多集群的管理系统,该管理系统包括:The present application also provides a multi-cluster management system, which includes:

统一管理平台设置单元,用于按预设选取方式从至少两个集群中选取一个集群,并在所述集群上设置统一管理平台;A unified management platform setting unit, used to select a cluster from at least two clusters according to a preset selection method, and set a unified management platform on the cluster;

设备发现报文发送单元,用于利用所述统一管理平台向除所述集群外的其它集群发送设备发现报文;A device discovery message sending unit, configured to use the unified management platform to send device discovery messages to clusters other than the cluster;

判定单元,用于当接收到所述其它集群根据所述设备发现报文返回的设备响应报文时,判定所述其它集群接受所述统一管理平台的管理。The judging unit is configured to, when receiving the device response message returned by the other cluster according to the device discovery message, determine that the other cluster accepts the management of the unified management platform.

可选的,所述设备发现报文发送单元包括:Optionally, the device discovery message sending unit includes:

IP地址获取子单元,用于获取除所述集群外的所述其它集群分别对应的IP地址;An IP address obtaining subunit, configured to obtain IP addresses corresponding to the other clusters except the cluster;

发送子单元,用于向各所述IP地址对应的集群均发送所述设备发现报文。The sending subunit is configured to send the device discovery message to the clusters corresponding to each of the IP addresses.

可选的,所述判定单元具体为当接收到所述其它集群根据所述设备发现报文由对应所述IP地址返回的所述设备响应报文时,判定所述IP地址对应的集群接受所述统一管理平台的管理的单元。Optionally, the determining unit is specifically to determine that the cluster corresponding to the IP address accepts the Describes the management unit of the unified management platform.

可选的,该管理系统还包括:Optionally, the management system also includes:

存入展示单元,用于将返回所述设备响应报文的集群对应的IP地址存入所述统一管理平台的数据库中,并在所述统一管理平台的管理界面上进行列表展示。The storing and displaying unit is used to store the IP addresses corresponding to the clusters that return the device response messages into the database of the unified management platform, and display them in a list on the management interface of the unified management platform.

本申请所提供的一种多集群的管理方法,通过按预设选取方式从至少两个集群中选取一个集群,并在所述集群上设置统一管理平台;利用所述统一管理平台向除所述集群外的其它集群发送设备发现报文;当接收到所述其它集群根据所述设备发现报文返回的设备响应报文时,判定所述其它集群接受所述统一管理平台的管理。A multi-cluster management method provided by the present application selects one cluster from at least two clusters according to a preset selection method, and sets a unified management platform on the cluster; Other clusters outside the cluster send a device discovery message; when receiving a device response message returned by the other cluster according to the device discovery message, it is determined that the other cluster accepts the management of the unified management platform.

显然,本申请所提供的技术方案,将统一管理平台设置在任一现有集群中,通过向其它集群发送设备发现报文,并在接收到返回的设备响应报文时,判定该其它集群同意接受该统一管理平台的管理。该管理方法无需额外增设管理服务器、升级改造成本较小,在出现异常时可以在其它集群中灵活切换管理端,能够显著提高管理多集群的灵活性、节省部署成本。本申请同时还提供了一种多集群的管理系统,具有上述有益效果,在此不再赘述。Obviously, in the technical solution provided by this application, the unified management platform is set in any existing cluster, by sending device discovery messages to other clusters, and when receiving the returned device response messages, it is determined that the other clusters agree to accept The unified management platform management. This management method does not need to add additional management servers, and the cost of upgrading and transformation is relatively small. When an exception occurs, the management terminal can be flexibly switched in other clusters, which can significantly improve the flexibility of managing multiple clusters and save deployment costs. At the same time, the present application also provides a multi-cluster management system, which has the above-mentioned beneficial effects and will not be repeated here.

附图说明Description of drawings

为了更清楚地说明本申请实施例或现有技术中的技术方案,下面将对实施例或现有技术描述中所需要使用的附图作简单地介绍,显而易见地,下面描述中的附图仅仅是本申请的实施例,对于本领域普通技术人员来讲,在不付出创造性劳动的前提下,还可以根据提供的附图获得其他的附图。In order to more clearly illustrate the technical solutions in the embodiments of the present application or the prior art, the following will briefly introduce the drawings that need to be used in the description of the embodiments or the prior art. Obviously, the accompanying drawings in the following description are only It is an embodiment of the present application, and those skilled in the art can also obtain other drawings according to the provided drawings without creative work.

图1为本申请实施例所提供的一种多集群的管理方法的流程图;FIG. 1 is a flowchart of a multi-cluster management method provided by an embodiment of the present application;

图2为传统多集群管理软件系统架构的示意图;Fig. 2 is the schematic diagram of traditional multi-cluster management software system architecture;

图3为本申请实施例所提供的另一种多集群的管理方法的流程图;FIG. 3 is a flowchart of another multi-cluster management method provided by the embodiment of the present application;

图4为本申请实施例所提供的一种多集群的管理系统的结构框图;FIG. 4 is a structural block diagram of a multi-cluster management system provided by an embodiment of the present application;

图5为本申请实施例所提供的一种多集群的管理系统的结构示意图;FIG. 5 is a schematic structural diagram of a multi-cluster management system provided by an embodiment of the present application;

图6为本申请实施例所提供的一种多集群的管理系统中报文报送和反馈的流程示意图。FIG. 6 is a schematic flowchart of message reporting and feedback in a multi-cluster management system provided by an embodiment of the present application.

具体实施方式detailed description

本申请的核心是提供一种多集群的管理方法及系统,其无需额外增设管理服务器、升级改造成本较小,在出现异常时可以在其它集群中灵活切换管理端,能够显著提高管理多集群的灵活性、节省部署成本。The core of this application is to provide a multi-cluster management method and system, which does not require additional management servers, and the cost of upgrading and transformation is relatively small. When an abnormality occurs, the management terminal can be flexibly switched in other clusters, which can significantly improve the efficiency of managing multi-clusters. Flexibility, saving deployment costs.

为使本申请实施例的目的、技术方案和优点更加清楚,下面将结合本申请实施例中的附图,对本申请实施例中的技术方案进行清楚、完整地描述,显然,所描述的实施例是本申请一部分实施例,而不是全部的实施例。基于本申请中的实施例,本领域普通技术人员在没有做出创造性劳动前提下所获得的所有其它实施例,都属于本申请保护的范围。In order to make the purposes, technical solutions and advantages of the embodiments of the present application clearer, the technical solutions in the embodiments of the present application will be clearly and completely described below in conjunction with the drawings in the embodiments of the present application. Obviously, the described embodiments It is a part of the embodiments of this application, not all of them. Based on the embodiments in this application, all other embodiments obtained by persons of ordinary skill in the art without making creative efforts belong to the scope of protection of this application.

以下结合图1,图1为本申请实施例所提供的一种多集群的管理方法的流程图。Referring to FIG. 1 below, FIG. 1 is a flow chart of a multi-cluster management method provided by an embodiment of the present application.

其具体包括以下步骤:It specifically includes the following steps:

S101:按预设选取方式从至少两个集群中选取一个集群,并在所述集群上设置统一管理平台;S101: Select a cluster from at least two clusters according to a preset selection method, and set a unified management platform on the cluster;

本步骤旨在按照预设选取方式从至少两个集群中选取其中任一集群,并通过在该集群的管理节点上设置统一的管理平台来对其它集群进行统一管理。其中,该预设选取方式可以实际情况、基于某些原则来选择,例如,最近原则、性能原则以及其它特殊的需要等等,此处并不做具体限定。This step aims to select any one of the at least two clusters according to a preset selection method, and perform unified management of other clusters by setting a unified management platform on the management node of the cluster. Wherein, the preset selection method may be selected based on actual conditions and certain principles, for example, the nearest principle, the performance principle, and other special needs, etc., which are not specifically limited here.

本实施建立在一个存在有多集群的管理环境下,在现有技术中,如图2所示,图2为传统多集群管理软件系统架构的示意图,其使用一个独立服务器部署管理软件,进而管理多套集群。对多集群的管理采用了单独设立一个管理服务器来统一进行管理的方式,但是这样一来,由于管理权限太过集中、且额外的管理服务器会明显增加运行成本,一旦该管理服务器出现异常或因故障导致无法正常工作,就会同时丧失对全部集群的管理,可能带来严重的经济损失和不可挽回的数据丢失情况。This implementation is based on a management environment with multiple clusters. In the prior art, as shown in Figure 2, Figure 2 is a schematic diagram of the traditional multi-cluster management software system architecture. Multiple sets of clusters. The management of multiple clusters adopts the method of setting up a separate management server for unified management, but in this way, because the management authority is too concentrated, and the additional management server will significantly increase the operating cost, once the management server is abnormal or due to Failure to work properly will result in the loss of management of the entire cluster at the same time, which may cause serious economic losses and irreparable data loss.

针对此技术缺陷,本实施例通过不增加额外的管理服务器,而是在多个集群中按预设方式选取一个集群,并在其上的管理节点部署管理应用,并通过后续的管理操作以达到对其它集群的管理。In response to this technical defect, this embodiment does not add an additional management server, but selects a cluster in a preset manner among multiple clusters, and deploys management applications on the management nodes on it, and through subsequent management operations to achieve Management of other clusters.

S102:利用所述统一管理平台向除所述集群外的其它集群发送设备发现报文;S102: Using the unified management platform to send a device discovery message to other clusters except the cluster;

在S101的基础上,本步骤旨在利用部署的管理应用向除部署了该管理应用的其它集群发送设备发现报文。On the basis of S101, this step aims to use the deployed management application to send device discovery messages to clusters other than the deployed management application.

此时,我们可以假设整个环境下存在三个集群,分别按照先后顺序命名得到1#集群、2#集群以及3#集群,并同时假设将该管理应用部署在1#集群的管理节点上。At this point, we can assume that there are three clusters in the entire environment, named 1# cluster, 2# cluster, and 3# cluster respectively in sequence, and at the same time assume that the management application is deployed on the management node of 1# cluster.

其中,可以通过对现有的多集群环境加以略微的改造来实现这一功能,例如,在1#集群的管理节点上增加一个设备发现模块,该模块通常以守护进程的方式运行在该管理节点上,并可以在整个环境部署完成后,如果希望通过该管理应用实现对2#集群和3#集群的统一管理,则可以通过该设备发现模块向2#集群和3#集群发送设备发现报文,以待是否能收到由该2#集群和3#集群根据该发现命令行返回的反馈命令。Among them, this function can be realized by slightly modifying the existing multi-cluster environment, for example, adding a device discovery module to the management node of the 1# cluster, which usually runs on the management node as a daemon process After the deployment of the entire environment is completed, if you want to realize the unified management of 2# cluster and 3# cluster through this management application, you can send device discovery messages to 2# cluster and 3# cluster through this device discovery module , to wait for whether the feedback command returned by the 2# cluster and the 3# cluster according to the discovery command line can be received.

通常情况下,也需要在2#集群和3#集群上增加一个相应的监控模块,以便于根据接收到的设备发现报文结合指令来判断是否发送相应的反馈命令。2#集群和3#集群只有在同意接受1#集群上管理节点的统一管理时,才会返回该反馈命令。Usually, it is also necessary to add a corresponding monitoring module on the 2# cluster and the 3# cluster, so as to judge whether to send the corresponding feedback command according to the received device discovery message combined with the instruction. The 2# cluster and the 3# cluster will only return the feedback command when they agree to accept the unified management of the management node on the 1# cluster.

当然,该设备发现报文和该反馈命令具体以什么样的方式体现出来、该设备发现模块的具体组成的方式多种多样,例如,设备发现报文和反馈命令可以为一个数据包和经过处理的新数据包;也可以是一个专属格式类型的报文和反馈报文等等,此处并不做具体限定,应视实际情况中所采用的具体设备型号、管理应用的识别格式以及其它影响因素在综合选择。Of course, there are various ways in which the device discovery message and the feedback command are embodied, and the specific composition of the device discovery module. For example, the device discovery message and the feedback command can be a data packet and processed It can also be a special format type of message and feedback message, etc., which are not specifically limited here. It should be based on the specific device model used in the actual situation, the identification format of the management application, and other influences. Factors in comprehensive selection.

同时,该设备发现报文时是通过怎样的形式和传输路径到达2#集群和3#集群,具体实现方式很多,例如借助两者之间的IP地址或其它路径信息,此处并不做具体限定。At the same time, what form and transmission path does the device use to find the message to reach the 2# cluster and the 3# cluster? There are many specific implementation methods, such as using the IP address or other path information between the two. limited.

S103:所述其它集群是否根据所述设备发现报文返回设备响应报文;S103: Whether the other cluster returns a device response message according to the device discovery message;

在S102的基础上,本步骤旨在判断部署了管理应用的1#集群的管理节点是否收到了与设备发现报文对应的设备相应报文,并以此在后续步骤中判定2#集群和3#集群是否接受1#集群的统一管理。On the basis of S102, the purpose of this step is to determine whether the management node of the 1# cluster where the management application is deployed has received the device corresponding message corresponding to the device discovery message, and to determine the 2# cluster and 3# cluster in subsequent steps. #Whether the cluster accepts the unified management of the 1# cluster.

与S102中描述的类似,2#集群和3#集群即便在接受1#集群的统一管理,要通过什么样的路径和方式返回一个怎样的设备响应报文,方式很多,此处并不做具体限定,应视实际情况中所采用的具体设备型号、管理应用的识别格式以及其它影响因素在综合选择。Similar to what is described in S102, even if the 2# cluster and the 3# cluster are under the unified management of the 1# cluster, there are many ways and methods to return a device response message, which will not be detailed here The limit should be comprehensively selected according to the specific device model used in the actual situation, the identification format of the management application, and other influencing factors.

S104:判定所述其它集群接受所述统一管理平台的管理。S104: Determine that the other clusters are managed by the unified management platform.

本步骤建立在S103中接收到了2#集群和/或3#集群根据设备相应报文返回的设备响应报文的情况下,此时,判定返回该设备响应报文的那个集群接受了1#集群的统一管理。This step is established in S103 when the device response message returned by the 2# cluster and/or the 3# cluster is received according to the corresponding message of the device. At this time, it is determined that the cluster that returns the device response message has accepted the 1# cluster unified management.

进一步的,在接受了1#集群的统一管理后,还可以根据发送设备发现报文或设备响应报文的具体方式和路径,将该方式或路径加入该管理应用的管理列表中,并进行展示也方便管理员对其进行管理。Further, after accepting the unified management of the 1# cluster, according to the specific method and path of sending the device discovery message or device response message, the method or path can be added to the management list of the management application and displayed It is also convenient for the administrator to manage it.

基于上述技术方案,本申请实施例提供的一种多集群的管理方法,将统一管理平台设置在任一现有集群中,通过向其它集群发送设备发现报文,并在接收到返回的设备响应报文时,判定该其它集群同意接受该统一管理平台的管理。该管理方法无需额外增设管理服务器、升级改造成本较小,在出现异常时可以在其它集群中灵活切换管理端,能够显著提高管理多集群的灵活性、节省部署成本。Based on the above technical solution, the embodiment of the present application provides a multi-cluster management method. The unified management platform is set in any existing cluster, by sending device discovery messages to other clusters, and receiving the returned device response messages When it is determined that the other cluster agrees to accept the management of the unified management platform. This management method does not need to add additional management servers, and the cost of upgrading and transformation is relatively small. When an exception occurs, the management terminal can be flexibly switched in other clusters, which can significantly improve the flexibility of managing multiple clusters and save deployment costs.

以下结合图3,图3为本申请实施例所提供的另一种固态硬盘创建多namespace的方法的流程图。Referring to FIG. 3 below, FIG. 3 is a flow chart of another method for creating multiple namespaces for a solid state disk provided in an embodiment of the present application.

本实施例是针对上一实施例中除S101以外的部分所做出的一个具体限定,其它步骤与上一实施例大体相同,相同部分可参见上一实施例相关部分,在此不再赘述。This embodiment is a specific limitation made for the part except S101 in the previous embodiment. Other steps are generally the same as the previous embodiment. For the same parts, please refer to the relevant part of the previous embodiment, which will not be repeated here.

其具体包括以下步骤:It specifically includes the following steps:

S201:获取除所述集群外的所述其它集群分别对应的IP地址;S201: Obtain IP addresses respectively corresponding to the other clusters except the cluster;

本步骤通过部署在1#集群的管理节点上的管理应用获取到其它集群的路径信息,诸如IP地址这一类最常见的路径特征和识别路径,此处选择用最常见的IP地址来作为对应IP的代表信息。In this step, the management application deployed on the management node of the 1# cluster obtains the path information of other clusters, such as the most common path characteristics and identification paths such as IP addresses. Here, the most common IP address is selected as the corresponding Representative information of IP.

S202:向各所述IP地址对应的集群均发送所述设备发现报文;S202: Send the device discovery message to the clusters corresponding to each of the IP addresses;

S203:所述其它集群是否从所述IP地址返回所述设备响应报文;S203: Whether the other cluster returns the device response message from the IP address;

S202和S203旨在利用在S201中获取到的其它集群的IP地址向2#集群和3#集群发送UDP格式的设备发现报文,该设备发现报文时通过增加在1#集群的管理节点上设备发现模块实现的,相应的,通过增加在2#集群和3#集群管理节点上的监控模块来根据下达的指令做出是否发送UDP格式的设备响应报文。S202 and S203 are designed to use the IP addresses of other clusters obtained in S201 to send UDP-format device discovery messages to 2# clusters and 3# clusters. The device discovery module realizes, correspondingly, by adding the monitoring module on the 2# cluster and the 3# cluster management node to make whether to send the device response message in UDP format according to the issued instruction.

S204:所述IP地址对应的集群接受所述统一管理平台的管理;S204: The cluster corresponding to the IP address accepts the management of the unified management platform;

若部署在1#集群的管理节点上的管理应用接收到返回的设备响应报文,则根据返回设备响应报文的IP地址将该IP地址对应的集群加入管理应用,即表明该IP地址对应的集群接受了该管理应用的统一管理。If the management application deployed on the management node of the 1# cluster receives the returned device response message, it will add the cluster corresponding to the IP address to the management application according to the IP address of the returned device response message, indicating that the IP address corresponds to the The cluster accepts the unified management of the management application.

S205:将返回所述设备响应报文的集群对应的IP地址存入所述统一管理平台的数据库中,并在所述统一管理平台的管理界面上进行列表展示。S205: Store the IP address corresponding to the cluster that returns the device response message into the database of the unified management platform, and display it in a list on the management interface of the unified management platform.

本步骤与S104步骤描述的内容大体相同,只不过具体为将IP地址存入统一管理应用的数据库中,并呈现在管理界面上。This step is substantially the same as that described in step S104, except that the IP address is stored in the database of the unified management application and displayed on the management interface.

基于上述技术方案,本申请实施例提供的一种多集群的管理方法,将统一管理平台按预设方式设置在任一现有集群的管理节点上,并通过增加的设备发现模块和监控模块实现向其它集群发送设备发现报文,和返回设备响应报文,并在接收到设备响应报文时,判定该其它集群同意接受该统一管理平台的管理。该管理方法无需额外增设管理服务器、升级改造成本较小,在出现异常时可以在其它集群中灵活切换管理端,能够显著提高管理多集群的灵活性、节省部署成本。Based on the above technical solution, the embodiment of the present application provides a multi-cluster management method, which sets the unified management platform on the management node of any existing cluster according to the preset method, and realizes to Other clusters send device discovery messages and return device response messages, and when receiving device response messages, determine that the other clusters agree to accept the management of the unified management platform. This management method does not need to add additional management servers, and the cost of upgrading and transformation is relatively small. When an exception occurs, the management terminal can be flexibly switched in other clusters, which can significantly improve the flexibility of managing multiple clusters and save deployment costs.

因为情况复杂,无法一一列举进行阐述,本领域技术人员应能意识到更具本申请提供的基本方法原理结合实际情况可以存在很多的例子,在不付出足够的创造性劳动下,应均在本申请的保护范围内。Because of the complexity of the situation, it is impossible to list and explain them one by one. Those skilled in the art should be able to realize that there may be many examples in combination with the basic method principles provided by the application and the actual situation. within the scope of protection applied for.

下面请参见图4,图4为本申请实施例所提供的一种多集群的管理系统的结构框图。Referring to FIG. 4 below, FIG. 4 is a structural block diagram of a multi-cluster management system provided by an embodiment of the present application.

该管理系统可以包括:The management system can include:

统一管理平台设置单元100,用于按预设选取方式从至少两个集群中选取一个集群,并在所述集群上设置统一管理平台;A unified management platform setting unit 100, configured to select a cluster from at least two clusters according to a preset selection method, and set a unified management platform on the cluster;

设备发现报文发送单元200,用于利用所述统一管理平台向除所述集群外的其它集群发送设备发现报文;A device discovery message sending unit 200, configured to use the unified management platform to send a device discovery message to other clusters except the cluster;

判定单元300,用于当接收到所述其它集群根据所述设备发现报文返回的设备响应报文时,判定所述其它集群接受所述统一管理平台的管理。The judging unit 300 is configured to, when receiving the device response message returned by the other cluster according to the device discovery message, determine that the other cluster accepts the management of the unified management platform.

其中,该设备发现报文发送单元200包括:Wherein, the device discovery message sending unit 200 includes:

IP地址获取子单元,用于获取除所述集群外的所述其它集群分别对应的IP地址;An IP address obtaining subunit, configured to obtain IP addresses corresponding to the other clusters except the cluster;

发送子单元,用于向各所述IP地址对应的集群均发送所述设备发现报文。The sending subunit is configured to send the device discovery message to the clusters corresponding to each of the IP addresses.

其中,该判定单元300具体为当接收到所述其它集群根据所述设备发现报文由对应所述IP地址返回的所述设备响应报文时,判定所述IP地址对应的集群接受所述统一管理平台的管理的单元。Wherein, the determining unit 300 specifically determines that the cluster corresponding to the IP address accepts the unified A unit of management that manages the platform.

进一步的,该管理系统还包括:Furthermore, the management system also includes:

存入展示单元,用于将返回所述设备响应报文的集群对应的IP地址存入所述统一管理平台的数据库中,并在所述统一管理平台的管理界面上进行列表展示。The storing and displaying unit is used to store the IP addresses corresponding to the clusters that return the device response messages into the database of the unified management platform, and display them in a list on the management interface of the unified management platform.

以上各单元可以结合下图5和图6所描述的一个具体例子来进行阐述:Each of the above units can be explained in conjunction with a specific example described in Figure 5 and Figure 6 below:

如图5所示,图5为本申请所提供的一种多集群的管理系统的结构示意图。采用本申请所提供的方案进行管理软件的部署,在三个集群中选取1#集群,在其管理节点上部署管理软件。在其他集群上分别部署监控模块,该监控模块负责接收统一管理平台的设备发现模块发送的设备发现报文,并返回相应的设备响应报文;为1#集群上的管理软件增加设备发现模块,作为统一管理平台,向指定IP地址发送设备发现报文,并负责接收其他集群的设备响应报文,同时按照IP标识将其他集群信息保存在数据库中,在统一管理平台的管理界面上进行展示,方便平台管理各个集群。As shown in FIG. 5 , FIG. 5 is a schematic structural diagram of a multi-cluster management system provided by the present application. Use the scheme provided by this application to deploy the management software, select the 1# cluster among the three clusters, and deploy the management software on its management nodes. Deploy monitoring modules on other clusters, which are responsible for receiving device discovery messages sent by the device discovery module of the unified management platform, and returning corresponding device response messages; adding a device discovery module to the management software on the 1# cluster, As a unified management platform, it sends device discovery messages to the specified IP address, and is responsible for receiving device response messages from other clusters. At the same time, it saves other cluster information in the database according to the IP identifier and displays them on the management interface of the unified management platform. It is convenient for the platform to manage each cluster.

如图6所示,图6为本申请所提供的一种多集群的管理系统中的报文报送和反馈的流程示意图。设备发现模块向指定IP地址发送设备发现报文,部署在集群管理节点上的监听模块,接收到设备发现报文后,将集群自身的若干信息,例如集群类型,运行状态等信息组织成设备响应报文,返回给设备发现模块,设备发现模块即可根据IP地址标识,将集群信息保存在数据库中。As shown in FIG. 6 , FIG. 6 is a schematic flowchart of message reporting and feedback in a multi-cluster management system provided by the present application. The device discovery module sends a device discovery message to the specified IP address, and the monitoring module deployed on the cluster management node, after receiving the device discovery message, organizes some information about the cluster itself, such as cluster type, operating status, etc., into a device response The message is returned to the device discovery module, and the device discovery module can store the cluster information in the database according to the IP address identification.

说明书中各个实施例采用递进的方式描述,每个实施例重点说明的都是与其他实施例的不同之处,各个实施例之间相同相似部分互相参见即可。对于实施例公开的装置而言,由于其与实施例公开的方法相对应,所以描述的比较简单,相关之处参见方法部分说明即可。Each embodiment in the description is described in a progressive manner, each embodiment focuses on the difference from other embodiments, and the same and similar parts of each embodiment can be referred to each other. As for the device disclosed in the embodiment, since it corresponds to the method disclosed in the embodiment, the description is relatively simple, and for the related information, please refer to the description of the method part.

专业人员还可以进一步意识到,结合本文中所公开的实施例描述的各示例的单元及算法步骤,能够以电子硬件、计算机软件或者二者的结合来实现,为了清楚地说明硬件和软件的可互换性,在上述说明中已经按照功能一般性地描述了各示例的组成及步骤。这些功能究竟以硬件还是软件方式来执行,取决于技术方案的特定应用和设计约束条件。专业技术人员可以对每个特定的应用来使用不同方法来实现所描述的功能,但是这种实现不应认为超出本申请的范围。Professionals can further realize that the units and algorithm steps of the examples described in conjunction with the embodiments disclosed herein can be implemented by electronic hardware, computer software or a combination of the two. In order to clearly illustrate the possible Interchangeability, in the above description, the components and steps of each example have been generally described according to their functions. Whether these functions are executed by hardware or software depends on the specific application and design constraints of the technical solution. Those skilled in the art may use different methods to implement the described functions for each specific application, but such implementation should not be regarded as exceeding the scope of the present application.

本文中应用了具体个例对本申请的原理及实施方式进行了阐述,以上实施例的说明只是用于帮助理解本申请的方法及其核心思想。应当指出,对于本技术领域的普通技术人员来说,在不脱离本申请原理的前提下,还可以对本申请进行若干改进和修饰,这些改进和修饰也落入本申请权利要求的保护范围内。In this paper, specific examples are used to illustrate the principles and implementation methods of the present application, and the descriptions of the above embodiments are only used to help understand the methods and core ideas of the present application. It should be pointed out that those skilled in the art can make some improvements and modifications to the application without departing from the principles of the application, and these improvements and modifications also fall within the protection scope of the claims of the application.

还需要说明的是,在本说明书中,诸如第一和第二等之类的关系术语仅仅用来将一个实体或者操作与另一个实体或操作区分开来,而不一定要求或者暗示这些实体或操作之间存在任何这种实际的关系或者顺序。而且,术语“包括”、“包含”或者其任何其它变体意在涵盖非排他性的包含,从而使得包括一系列要素的过程、方法、物品或者设备不仅包括那些要素,而且还包括没有明确列出的其它要素,或者是还包括为这种过程、方法、物品或者设备所固有的要素。在没有更多限制的情况下,由语句“包括一个……”限定的要素,并不排除在包括要素的过程、方法、物品或者设备中还存在另外的相同要素。It should also be noted that in this specification, relative terms such as first and second are only used to distinguish one entity or operation from another entity or operation, and do not necessarily require or imply that these entities or operations There is no such actual relationship or order between the operations. Furthermore, the term "comprises", "comprises" or any other variation thereof is intended to cover a non-exclusive inclusion such that a process, method, article, or apparatus comprising a set of elements includes not only those elements, but also includes elements not expressly listed. other elements of or also include elements inherent in such a process, method, article, or apparatus. Without further limitations, an element defined by the phrase "comprising a ..." does not preclude the presence of additional identical elements in the process, method, article, or apparatus that includes the element.

Claims (8)

1.一种多集群的管理方法,其特征在于,包括:1. A multi-cluster management method, characterized in that, comprising: 按预设选取方式从至少两个集群中选取一个集群,并在所述集群上设置统一管理平台;Selecting a cluster from at least two clusters according to a preset selection method, and setting a unified management platform on the cluster; 利用所述统一管理平台向除所述集群外的其它集群发送设备发现报文;Using the unified management platform to send device discovery messages to clusters other than the cluster; 当接收到所述其它集群根据所述设备发现报文返回的设备响应报文时,判定所述其它集群接受所述统一管理平台的管理。When receiving the device response message returned by the other cluster according to the device discovery message, it is determined that the other cluster accepts the management of the unified management platform. 2.根据权利要求1所述的下载方法,其特征在于,利用所述统一管理平台向除所述集群外的其它集群发送设备发现报文,包括:2. The download method according to claim 1, characterized in that, using the unified management platform to send device discovery messages to clusters other than the cluster includes: 获取除所述集群外的所述其它集群分别对应的IP地址;Obtaining IP addresses respectively corresponding to the other clusters except the cluster; 向各所述IP地址对应的集群均发送所述设备发现报文。Sending the device discovery message to the clusters corresponding to each of the IP addresses. 3.根据权利要求2所述的下载方法,其特征在于,当接收到所述其它集群根据所述设备发现报文返回的设备响应报文时,判定所述其它集群接受所述统一管理平台的管理,包括:3. The download method according to claim 2, characterized in that, when receiving the device response message returned by the other clusters according to the device discovery message, it is determined that the other clusters accept the unified management platform. management, including: 当接收到所述其它集群根据所述设备发现报文由对应所述IP地址返回的所述设备响应报文时,判定所述IP地址对应的集群接受所述统一管理平台的管理。When receiving the device response message corresponding to the IP address returned by the other clusters according to the device discovery message, it is determined that the cluster corresponding to the IP address accepts the management of the unified management platform. 4.根据权利要求3所述的方法,其特征在于,在接收到所述其它集群根据所述设备发现报文返回的设备响应报文后,还包括:4. The method according to claim 3, further comprising: after receiving the device response message returned by the other clusters according to the device discovery message: 将返回所述设备响应报文的集群对应的IP地址存入所述统一管理平台的数据库中,并在所述统一管理平台的管理界面上进行列表展示。The IP addresses corresponding to the clusters that return the device response message are stored in the database of the unified management platform, and displayed in a list on the management interface of the unified management platform. 5.一种多集群的管理系统,其特征在于,包括:5. A multi-cluster management system, comprising: 统一管理平台设置单元,用于按预设选取方式从至少两个集群中选取一个集群,并在所述集群上设置统一管理平台;A unified management platform setting unit, used to select a cluster from at least two clusters according to a preset selection method, and set a unified management platform on the cluster; 设备发现报文发送单元,用于利用所述统一管理平台向除所述集群外的其它集群发送设备发现报文;A device discovery message sending unit, configured to use the unified management platform to send device discovery messages to clusters other than the cluster; 判定单元,用于当接收到所述其它集群根据所述设备发现报文返回的设备响应报文时,判定所述其它集群接受所述统一管理平台的管理。A judging unit, configured to, when receiving a device response message returned by the other cluster according to the device discovery message, determine that the other cluster accepts the management of the unified management platform. 6.根据权利要求5所述的管理系统,其特征在于,所述设备发现报文发送单元包括:6. The management system according to claim 5, wherein the device discovery message sending unit comprises: IP地址获取子单元,用于获取除所述集群外的所述其它集群分别对应的IP地址;An IP address obtaining subunit, configured to obtain IP addresses corresponding to the other clusters except the cluster; 发送子单元,用于向各所述IP地址对应的集群均发送所述设备发现报文。The sending subunit is configured to send the device discovery message to the clusters corresponding to each of the IP addresses. 7.根据权利要求6所述的管理系统,其特征在于,所述判定单元具体为当接收到所述其它集群根据所述设备发现报文由对应所述IP地址返回的所述设备响应报文时,判定所述IP地址对应的集群接受所述统一管理平台的管理的单元。7. The management system according to claim 6, wherein the determining unit is specifically, when receiving the device response message returned by the other cluster according to the device discovery message corresponding to the IP address , a unit that determines that the cluster corresponding to the IP address accepts the management of the unified management platform. 8.根据权利要求7所述的管理系统,其特征在于,还包括:8. The management system according to claim 7, further comprising: 存入展示单元,用于将返回所述设备响应报文的集群对应的IP地址存入所述统一管理平台的数据库中,并在所述统一管理平台的管理界面上进行列表展示。The storing and displaying unit is used to store the IP addresses corresponding to the clusters that return the device response messages into the database of the unified management platform, and display them in a list on the management interface of the unified management platform.
CN201710632441.7A 2017-07-28 2017-07-28 A kind of management method and system of many clusters Pending CN107196814A (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN201710632441.7A CN107196814A (en) 2017-07-28 2017-07-28 A kind of management method and system of many clusters

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN201710632441.7A CN107196814A (en) 2017-07-28 2017-07-28 A kind of management method and system of many clusters

Publications (1)

Publication Number Publication Date
CN107196814A true CN107196814A (en) 2017-09-22

Family

ID=59884402

Family Applications (1)

Application Number Title Priority Date Filing Date
CN201710632441.7A Pending CN107196814A (en) 2017-07-28 2017-07-28 A kind of management method and system of many clusters

Country Status (1)

Country Link
CN (1) CN107196814A (en)

Cited By (4)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN108881412A (en) * 2018-05-31 2018-11-23 郑州云海信息技术有限公司 Explore of Unified Management Ideas, system, equipment and the storage medium of distributed storage cluster
CN110247812A (en) * 2019-07-22 2019-09-17 深信服科技股份有限公司 A kind of more cluster management methods, device, system and associated component
CN110417894A (en) * 2019-07-30 2019-11-05 中国工商银行股份有限公司 Storage cluster deployment system and method
CN111382690A (en) * 2020-03-05 2020-07-07 南京理工大学 Vehicle re-identification method based on multi-loss fusion model

Citations (5)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN1441569A (en) * 2002-02-27 2003-09-10 华为技术有限公司 Concentrated network equipment managing method
US20040059830A1 (en) * 2002-09-17 2004-03-25 Sockeye Networks, Inc. Network address space clustering employing topological groupings, distance measurements and structural generalization
CN101621385A (en) * 2008-06-30 2010-01-06 Tcl集团股份有限公司 Method for managing intelligent device group
CN101702721A (en) * 2009-10-26 2010-05-05 北京航空航天大学 A Reconfigurable Method for Multi-Cluster System
CN101877714A (en) * 2009-11-30 2010-11-03 英业达股份有限公司 Integrated server

Patent Citations (5)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN1441569A (en) * 2002-02-27 2003-09-10 华为技术有限公司 Concentrated network equipment managing method
US20040059830A1 (en) * 2002-09-17 2004-03-25 Sockeye Networks, Inc. Network address space clustering employing topological groupings, distance measurements and structural generalization
CN101621385A (en) * 2008-06-30 2010-01-06 Tcl集团股份有限公司 Method for managing intelligent device group
CN101702721A (en) * 2009-10-26 2010-05-05 北京航空航天大学 A Reconfigurable Method for Multi-Cluster System
CN101877714A (en) * 2009-11-30 2010-11-03 英业达股份有限公司 Integrated server

Cited By (6)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN108881412A (en) * 2018-05-31 2018-11-23 郑州云海信息技术有限公司 Explore of Unified Management Ideas, system, equipment and the storage medium of distributed storage cluster
CN108881412B (en) * 2018-05-31 2020-09-04 郑州云海信息技术有限公司 Unified management method, system, device and storage medium for distributed storage cluster
CN110247812A (en) * 2019-07-22 2019-09-17 深信服科技股份有限公司 A kind of more cluster management methods, device, system and associated component
CN110417894A (en) * 2019-07-30 2019-11-05 中国工商银行股份有限公司 Storage cluster deployment system and method
CN110417894B (en) * 2019-07-30 2022-01-07 中国工商银行股份有限公司 Storage cluster deployment system and method
CN111382690A (en) * 2020-03-05 2020-07-07 南京理工大学 Vehicle re-identification method based on multi-loss fusion model

Similar Documents

Publication Publication Date Title
US11936724B2 (en) Configuring service mesh networking resources for dynamically discovered peers or network functions
JP6332774B2 (en) Network function virtualized NFV failure management apparatus, device, and method
CN105024855A (en) Distributed cluster management system and method
CN112416969B (en) Parallel task scheduling system in distributed database
WO2022127504A1 (en) Network element management method and apparatus, and storage medium
CN101257406B (en) Method and system for discovering net elements
CN113141405B (en) Service access method, middleware system, electronic device, and storage medium
CN107196814A (en) A kind of management method and system of many clusters
CN107210924A (en) Method and apparatus for configuring communication system
WO2011114623A1 (en) System structure managing device, method of managing system structure, and program
CN107589955A (en) A kind of upgrade method and system of double CMC firmware versions
CN114565502A (en) GPU resource management method, scheduling method, device, electronic equipment and storage medium
CN114900449A (en) Resource information management method, system and device
CN114244654B (en) URL forwarding method, device, equipment and computer storage medium
CN106873918A (en) Storage method to set up and device in a kind of virtualization system
CN104410511A (en) Server management method and system
EP2421291A1 (en) Terminal for device management and method for initiating management session thereof
CN103685405B (en) Network service system and the method updating firmware thereof
CN102239665A (en) Method and device for managing business
WO2021175105A1 (en) Connection method and apparatus, device, and storage medium
CN107566182A (en) The adapting method and system of a kind of NFS
CN104734886A (en) Business server management method, device and system
EP2552050A2 (en) Methods for handling multiple device management (dm) server addresses in a dm account management object (mo)
CN115567400A (en) Whole cabinet management method, device, equipment and medium
CN102111783A (en) Primary subcommand rollback method and terminal

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: 20170922

RJ01 Rejection of invention patent application after publication