CN102571960A - Method and device for monitoring high-availability cluster state - Google Patents

Method and device for monitoring high-availability cluster state Download PDF

Info

Publication number
CN102571960A
CN102571960A CN2012100083217A CN201210008321A CN102571960A CN 102571960 A CN102571960 A CN 102571960A CN 2012100083217 A CN2012100083217 A CN 2012100083217A CN 201210008321 A CN201210008321 A CN 201210008321A CN 102571960 A CN102571960 A CN 102571960A
Authority
CN
China
Prior art keywords
cluster
state
node
cluster state
message
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
CN2012100083217A
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.)
Inspur Beijing Electronic Information Industry Co Ltd
Original Assignee
Inspur Beijing 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 Beijing Electronic Information Industry Co Ltd filed Critical Inspur Beijing Electronic Information Industry Co Ltd
Priority to CN2012100083217A priority Critical patent/CN102571960A/en
Publication of CN102571960A publication Critical patent/CN102571960A/en
Pending legal-status Critical Current

Links

Images

Landscapes

  • Debugging And Monitoring (AREA)

Abstract

The invention discloses a method and device for monitoring a high-availability cluster state. The method comprises the following steps: acquiring the alteration of the cluster state by a management node in a cluster according to a received notification that the states of nodes of the cluster are changed, and updating the locally recorded cluster state; and informing the cluster state to other nodes in the cluster. According to the method and the device for monitoring the high-availability cluster state, all nodes in the cluster can keep the same cluster state, and thereby, the quick migration of functions among the nodes in the cluster is realized, whereas misoperations cannot be caused by state misjudgement, and meanwhile, the cluster state acquired from any one node in the cluster by a cluster user can be unique.

Description

A kind of method and device of realizing high available cluster condition monitoring
Technical field
The present invention relates to a kind of high available computers Clustering, relate in particular to method and the device of realizing high available cluster condition monitoring.
Background technology
At present, along with the arrival in cloud epoch, the application of application, the especially highly available cluster system of more computer clusters of stressing of forming by large-scale computer more.
How to guarantee that nodes all in the high available cluster can both correctly react the time of day of cluster, this is a very major issue for cluster.All same cluster state of node maintenance in the cluster can be realized the fast transferring of nodal function in the cluster, and can not cause misoperation because of the erroneous judgement to the cluster state.
Though the unified algorithm of existing realization cluster state has various modes; But all be difficult to be used in the high available cluster; Realize quickly and reliably cluster condition monitoring, and the consistency of state, synchronism be difficult to also accomplish, therefore seriously limited high available cluster The Application of Technology.
Therefore; A kind of method and device of high available cluster condition monitoring need be provided; Can make that all nodes are all safeguarded same cluster state in the cluster, reach strict demand, solve the misoperation problem that causes because of the state erroneous judgement in the cluster with this to state consistency, synchronism.
Summary of the invention
Technical problem to be solved by this invention provides a kind of method and device of realizing high available cluster condition monitoring, can make that all nodes are all safeguarded same cluster state in the cluster.
In order to solve the problems of the technologies described above, the invention provides a kind of method that realizes high available cluster condition monitoring, comprising:
Management node in the cluster is known the cluster Status Change according to the notice that the clustered node state of receiving changes, and upgrades the cluster state of local record; Give other node in the cluster with the cluster state notifying.
Further, this method also comprises:
The cluster state notifying that other node basis in the cluster is received is known the cluster state of renewal, and the cluster state that upgrades is documented in this locality.
Further, the management node in the cluster is known the cluster Status Change according to the notice that the clustered node state of receiving changes, and upgrades the cluster state of local record; Give other node in the cluster with the cluster state notifying, specifically comprise:
Management node is received the notice that the clustered node state changes, and knows the change of cluster state according to the variation of each clustered node state, upgrades the cluster state of local record;
Make up information updating message, and give other node in the cluster with the Notification of Changes of cluster state through this message.
Further, the cluster state notifying that other node basis in the cluster is received is known the cluster state of renewal, and the cluster state that upgrades is documented in this locality, specifically comprises:
Other node in the cluster is resolved this message after receiving the information updating message of reflection cluster state variation;
Know the cluster state of renewal according to the message of resolving, and the cluster state that upgrades is documented in this locality.
In order to solve the problems of the technologies described above, the invention provides a kind of device of realizing high available cluster condition monitoring, comprise interconnective information interaction module and state update module, wherein:
The information interaction module is used for the notice that the clustered node state of receiving changes is exported to the state update module of this node on the cluster management node; The information updating message that this state update module is made up sends to other node in the cluster;
The state update module is used for knowing that according to the notice that the clustered node state changes the cluster state changes on the cluster management node, in the cluster state that upgrades local record, makes up information updating message, and exports to the information interaction module.
Further,
The information interaction module is used for the information updating message of the reflection cluster state variation of receiving is exported to the state update module of this node on other node of cluster;
The state update module is used to resolve the information updating message of input on other node of cluster, know the cluster state of renewal according to this message of resolving, and the cluster state that upgrades is documented in this locality.
The method and the device of the high available cluster condition monitoring of realization provided by the invention; Can guarantee that each node is kept same cluster state in the cluster; Thereby the fast transferring of function and can not cause misoperation between node in the realization cluster because of the erroneous judgement of state; Simultaneously, can guarantee that the cluster user cluster state that any one node obtains from cluster all is unique.
Description of drawings
Fig. 1 is the flow chart of cluster management node updates state embodiment in the method for the high available cluster condition monitoring of realization of the present invention;
Fig. 2 is the flow chart of other node updates state embodiment in the cluster in the method for the high available cluster condition monitoring of realization of the present invention;
Fig. 3 is the structural representation of the device embodiment of the high available cluster condition monitoring of realization of the present invention.
Embodiment
Below in conjunction with accompanying drawing and preferred embodiment technical scheme of the present invention is at length set forth.Should be appreciated that following listed examples only is used for explanation and explains the present invention, and does not constitute the restriction to technical scheme of the present invention.
As shown in Figure 1, be the flow process of cluster management node updates state embodiment in the method for the available cluster condition monitoring of height of the present invention, comprising:
110: management node is received the notice that the clustered node state changes;
120: know the cluster Status Change according to the variation of each clustered node state, upgrade the cluster state of local record;
130: make up information updating message, and this message is sent to all other nodes in the cluster.
Other each node of cluster receives that the handling process after the information updating message that management node sends is as shown in Figure 2, comprising:
210: other node of cluster is resolved this message after receiving the information updating message of reflection cluster state variation;
220: know the cluster state of renewal according to the message of resolving, and the cluster state that upgrades is documented in this locality.
The present invention is directed to said method embodiment, the device embodiment that realizes high available cluster condition monitoring correspondingly also is provided, its structure is as shown in Figure 3, comprising: interconnective information interaction module and state update module, wherein:
The information interaction module is used for the notice that the clustered node state of receiving changes is exported to the state update module of this node on the cluster management node; The information updating message that the state update module is made up sends to all other nodes in the cluster.
The state update module is used for knowing that according to the notice that the clustered node state changes the cluster state changes on the cluster management node, the information updating message that in the cluster state that upgrades local record, makes up, and export to the information interaction module.
The information interaction module is used for the information updating message of the reflection cluster state variation of receiving is exported to the state update module of this node on other node of cluster;
The state update module is used to resolve the information updating message of input on other node of cluster, know the cluster state of renewal according to the message of resolving, and the cluster state that upgrades is documented in this locality.
Management node in the available cluster of height of the present invention sends to other all nodes in the cluster through the message mechanism that makes an immediate response with the state updating message simultaneously according to the action and the state variation timely replacement local cluster state of cluster; After other node in the high available cluster was received the state updating message, the state that makes an immediate response upgraded, and realized the monitoring of cluster state consistency.
Method and apparatus of the present invention can be used in the highly available cluster system; Be intended to guarantee that each node is kept same cluster state in the cluster; To realize in the cluster fast transferring of function between node; Simultaneously, the user can be unique through each state of cluster that any one node in the cluster views, and has solved high available cluster causes misoperation because of the state erroneous judgement problem thus.

Claims (6)

1. a method that realizes high available cluster condition monitoring is characterized in that, comprising:
Management node in the said cluster is known the cluster Status Change according to the notice that the clustered node state of receiving changes, and upgrades the cluster state of local record; Give other node in the cluster with the cluster state notifying.
2. according to the described method of claim 1, it is characterized in that, also comprise:
The said cluster state notifying that other node basis in the said cluster is received is known the cluster state of renewal, and the cluster state of said renewal is documented in this locality.
3. according to the described method of claim 2, it is characterized in that the management node in the said cluster is known the cluster Status Change according to the notice that the clustered node state of receiving changes, upgrade the cluster state of local record; Give other node in the cluster with the cluster state notifying, specifically comprise:
Said management node is received the notice that said clustered node state changes, and knows the change of cluster state according to the variation of each clustered node state, upgrades the cluster state of local record;
Make up information updating message, and give other node in the said cluster with the Notification of Changes of cluster state through this message.
4. according to the described method of claim 3, it is characterized in that the said cluster state notifying that other node basis in the said cluster is received is known the cluster state of renewal, and the cluster state of said renewal be documented in this locality, specifically comprise:
Other node in the said cluster is resolved this message after receiving the said information updating message of reflection cluster state variation;
Know the cluster state of renewal according to the said message of resolving, and the cluster state of said renewal is documented in this locality.
5. a device of realizing high available cluster condition monitoring is characterized in that, comprises interconnective information interaction module and state update module, wherein:
The information interaction module is used for the notice that the clustered node state of receiving changes is exported to the state update module of this node on the cluster management node; The information updating message that this state update module is made up sends to other node in the cluster;
The state update module is on the cluster management node; Be used for knowing that according to the notice that said clustered node state changes the cluster state changes; In the cluster state that upgrades local record, make up said information updating message, and export to the information interaction module.
6. according to the described device of claim 5, it is characterized in that,
The information interaction module is used for the information updating message of the reflection cluster state variation of receiving is exported to the state update module of this node on other node of cluster;
The state update module is used to resolve the said information updating message of input on other node of cluster, know the cluster state of renewal according to the said message of resolving, and the cluster state that upgrades is documented in this locality.
CN2012100083217A 2012-01-12 2012-01-12 Method and device for monitoring high-availability cluster state Pending CN102571960A (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN2012100083217A CN102571960A (en) 2012-01-12 2012-01-12 Method and device for monitoring high-availability cluster state

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN2012100083217A CN102571960A (en) 2012-01-12 2012-01-12 Method and device for monitoring high-availability cluster state

Publications (1)

Publication Number Publication Date
CN102571960A true CN102571960A (en) 2012-07-11

Family

ID=46416420

Family Applications (1)

Application Number Title Priority Date Filing Date
CN2012100083217A Pending CN102571960A (en) 2012-01-12 2012-01-12 Method and device for monitoring high-availability cluster state

Country Status (1)

Country Link
CN (1) CN102571960A (en)

Cited By (6)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN103595771A (en) * 2013-11-01 2014-02-19 浪潮电子信息产业股份有限公司 Method for controlling and managing parallel service groups in cluster
CN103905250A (en) * 2014-03-21 2014-07-02 浪潮电子信息产业股份有限公司 Method for optimizing and managing cluster state
CN106027623A (en) * 2016-03-14 2016-10-12 中国科学院计算技术研究所 Distributed cluster state management method and system thereof
CN106383771A (en) * 2016-09-29 2017-02-08 郑州云海信息技术有限公司 Host cluster monitoring method and device
CN110011855A (en) * 2019-04-12 2019-07-12 苏州浪潮智能科技有限公司 Distributed type assemblies roll up QoS adjusting method, device, equipment and storage medium
CN114844799A (en) * 2022-05-27 2022-08-02 深信服科技股份有限公司 Cluster management method and device, host equipment and readable storage medium

Citations (4)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US20030074426A1 (en) * 2001-10-11 2003-04-17 International Business Machines Corporation Dynamic cluster versioning for a group
CN1547119A (en) * 2003-12-04 2004-11-17 中国科学院计算技术研究所 Method for constructing large-scale high-availability cluster operating system
CN1725702A (en) * 2004-07-20 2006-01-25 联想网御科技(北京)有限公司 Network safety equipment and assemblied system and method for implementing high availability
CN101873237A (en) * 2010-06-13 2010-10-27 用友软件股份有限公司 Method and system for dynamically maintaining member servers in cluster

Patent Citations (4)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US20030074426A1 (en) * 2001-10-11 2003-04-17 International Business Machines Corporation Dynamic cluster versioning for a group
CN1547119A (en) * 2003-12-04 2004-11-17 中国科学院计算技术研究所 Method for constructing large-scale high-availability cluster operating system
CN1725702A (en) * 2004-07-20 2006-01-25 联想网御科技(北京)有限公司 Network safety equipment and assemblied system and method for implementing high availability
CN101873237A (en) * 2010-06-13 2010-10-27 用友软件股份有限公司 Method and system for dynamically maintaining member servers in cluster

Cited By (8)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN103595771A (en) * 2013-11-01 2014-02-19 浪潮电子信息产业股份有限公司 Method for controlling and managing parallel service groups in cluster
CN103905250A (en) * 2014-03-21 2014-07-02 浪潮电子信息产业股份有限公司 Method for optimizing and managing cluster state
CN103905250B (en) * 2014-03-21 2018-02-23 浪潮电子信息产业股份有限公司 A kind of method of optimum management cluster state
CN106027623A (en) * 2016-03-14 2016-10-12 中国科学院计算技术研究所 Distributed cluster state management method and system thereof
CN106383771A (en) * 2016-09-29 2017-02-08 郑州云海信息技术有限公司 Host cluster monitoring method and device
CN110011855A (en) * 2019-04-12 2019-07-12 苏州浪潮智能科技有限公司 Distributed type assemblies roll up QoS adjusting method, device, equipment and storage medium
CN110011855B (en) * 2019-04-12 2023-01-10 苏州浪潮智能科技有限公司 Distributed cluster volume QoS (quality of service) adjusting method, device, equipment and storage medium
CN114844799A (en) * 2022-05-27 2022-08-02 深信服科技股份有限公司 Cluster management method and device, host equipment and readable storage medium

Similar Documents

Publication Publication Date Title
CN102571960A (en) Method and device for monitoring high-availability cluster state
US9207929B2 (en) Integrated system and firmware update method
CN102981931B (en) Backup method and device for virtual machine
CN105279210B (en) Automatic mode switching in a synchronous replication environment
CN111124277B (en) Deep learning data set caching method, system, terminal and storage medium
CN102291416B (en) A kind of method and system of client and server bi-directional synchronization
CN107302465B (en) PCIe Switch server complete machine management method
US9477735B2 (en) Cloud computing-based data sharing system and method
CN103154927A (en) Device hardware agent
CN105141456A (en) Method for monitoring high-availability cluster resource
CN104199666A (en) Dynamic configuration method and device for application program
US10726042B2 (en) Replication control using eventually consistent meta-data
CN110795503A (en) Multi-cluster data synchronization method and related device of distributed storage system
CN101650741A (en) Method and system for updating index of distributed full-text search in real time
CN107423112B (en) Docker container state real-time synchronization method
CN104506357A (en) High-usability cluster node management method
CN105446657A (en) Method for monitoring RAID card
CN103036719A (en) Cross-regional service disaster method and device based on main cluster servers
CN102289402A (en) Monitoring and managing method based on physical multi-partition computer architecture
CN109600430A (en) A kind of data managing method, system and electronic equipment and storage medium
CN103024065A (en) System configuration management method for cloud storage system
CN102916974A (en) Cluster configuration updating method
US20180232261A1 (en) System and method for optimization and load balancing of computer clusters
CN102622051A (en) State sharing between base and detachable device
CN102681609A (en) power management of base and detachable device

Legal Events

Date Code Title Description
C06 Publication
PB01 Publication
C10 Entry into substantive examination
SE01 Entry into force of request for substantive examination
C12 Rejection of a patent application after its publication
RJ01 Rejection of invention patent application after publication

Application publication date: 20120711