The present invention relates to a method and device for monitoring a partition of the cluster system, the invention of application service configuration through each node of the partition of the cluster system, so that each application services are staggered backup processing on the node, to ensure that each application services are the main service in preparation; deployed on each node for cluster system sysmoni real time database corresponding to node configuration information storage cluster system, at the same time on each node deployment for managing node elements at all levels according to the configuration information of appmanager services; the application process of application services to register the corresponding node on the appmanager service at startup, and status information sent to the timing of their own, to realize the application of node service process monitoring. The invention realizes the comprehensive monitoring of the running state of the cluster system, greatly improves the transparency of the operation of the cluster system, and enhances the reliability of the cluster system.
【技术实现步骤摘要】
本专利技术涉及一种分区集群系统的监测方法及装置,属于软件系统设计
技术介绍
随着科技的发展,各种信息量也在爆炸式的增长,同时人们对这些信息的监控需求也在不断增大,海量数据监视成为了当今的热点,为了解决这个问题,分布式集群监控系统就应运而生。但是,人们在解决了如何采集这些海量数据的问题后,如何管理并监视分布式集群系统成为了一个难题,如何保证集群系统的强壮性、可靠性并透明化的了解系统的运行状态成为了目前的迫切需求。
技术实现思路
本专利技术的目的是提供一种分区集群系统的监测方法及装置,以实现对分区集群系统运行状态的全面实时监测。本专利技术为解决上述技术问题而提供一种分区集群系统的监测方法,该监测方法包括以下步骤:1)对分区集群系统的每个节点进行应用服务配置,使每个应用服务在节点上都是交错备份处理的,以保证每个应用服务都有主备服务存在;2)在集群系统每个节点上部署用于存储集群系统对应节点配置信息的sysmoni实时库,同时在每个节点上部署用于根据配置信息来管理节点各级元素的appmanager服务;3)每个应用服务的应用进程在启动时向对应节点上的appmanager服务进行注册,并定时向其发送自身的状态信息,以实现对各节点应用服务进程的监视。分区集群系统中各节点的appmanager服务根据预定义优先级确定一个主appmanager服务,其它为从appmanager服务,主appmanager服务会根据初始配置信息,将各个应用服务的主备角色发送给从appmanager服务,使每个应用都会有一个主角色一个备角色,从appmanager服务定时将本节点的应用 ...
【技术保护点】
一种分区集群系统的监测方法,其特征在于,该监测方法包括以下步骤:1)对分区集群系统的每个节点进行应用服务配置,使每个应用服务在节点上都是交错备份处理的,以保证每个应用服务都有主备服务存在;2)在集群系统每个节点上部署用于存储集群系统对应节点配置信息的sysmoni实时库,同时在每个节点上部署用于根据配置信息来管理节点各级元素的appmanager服务;3)每个应用服务的应用进程在启动时向对应节点上的appmanager服务进行注册,并定时向其发送自身的状态信息,以实现对各节点应用服务进程的监视。
【技术特征摘要】
1.一种分区集群系统的监测方法,其特征在于,该监测方法包括以下步骤:1)对分区集群系统的每个节点进行应用服务配置,使每个应用服务在节点上都是交错备份处理的,以保证每个应用服务都有主备服务存在;2)在集群系统每个节点上部署用于存储集群系统对应节点配置信息的sysmoni实时库,同时在每个节点上部署用于根据配置信息来管理节点各级元素的appmanager服务;3)每个应用服务的应用进程在启动时向对应节点上的appmanager服务进行注册,并定时向其发送自身的状态信息,以实现对各节点应用服务进程的监视。2.根据权利要求1所述的分区集群系统的监测方法,其特征在于,分区集群系统中各节点的appmanager服务根据预定义优先级确定一个主appmanager服务,其它为从appmanager服务,主appmanager服务会根据初始配置信息,将各个应用服务的主备角色发送给从appmanager服务,使每个应用都会有一个主角色一个备角色,从appmanager服务定时将本节点的应用状态信息发送给主appmanager服务。3.根据权利要求2所述的分区集群系统的监测方法,其特征在于,所述主appmanager服务和从appmanager服务之间采用心跳报文进行通信。4.根据权利要求3所述的分区集群系统的监测方法,其特征在于,当备appmanager服务超过设定时间没有心跳时,主appmanager服务将该节点上原来处理的应用主服务切换到其它相应节点上处理;当主appmanager服务超过设定时间没有心跳时,根据预先的优先级配置信息,选取其它从appmanager服务优先级较高的作为新的主appmanager服务,并将原来主appmanager服务上处理的应用主服务切换到其它相应节点上处理。5.根据权利要求2所述的分区集群系统的监测方法,其特征在于,当某个节点的资源占用率超过设定值时,主appman...
【专利技术属性】
技术研发人员:王建章,余海溶,罗开明,康振全,刘岩,张新坡,张妮,
申请(专利权)人:许继集团有限公司,国家电网公司,许昌许继软件技术有限公司,
类型:发明
国别省市:河南;41
还没有人留言评论。发表了对其他浏览者有用的留言会获得科技券。