CN103905250A - Method for optimizing and managing cluster state - Google Patents

Method for optimizing and managing cluster state Download PDF

Info

Publication number
CN103905250A
CN103905250A CN201410106962.5A CN201410106962A CN103905250A CN 103905250 A CN103905250 A CN 103905250A CN 201410106962 A CN201410106962 A CN 201410106962A CN 103905250 A CN103905250 A CN 103905250A
Authority
CN
China
Prior art keywords
cluster
state
resource
host node
group
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
CN201410106962.5A
Other languages
Chinese (zh)
Other versions
CN103905250B (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 CN201410106962.5A priority Critical patent/CN103905250B/en
Publication of CN103905250A publication Critical patent/CN103905250A/en
Application granted granted Critical
Publication of CN103905250B publication Critical patent/CN103905250B/en
Active legal-status Critical Current
Anticipated expiration legal-status Critical

Links

Images

Landscapes

  • Data Exchanges In Wide-Area Networks (AREA)

Abstract

The invention provides a method for optimizing and managing a cluster state. The method is suitable for management of states, including cluster states, group states and resource states, of large-scale high-availability clusters, and especially suitable for environment with high requirements for the bandwidth and response time. Only resource state update logic is maintained, group state update and a cluster state update function are eliminated, and setting of the group states and the cluster states is completely contained in the resource state update logic. Meanwhile, limitations of cluster IPs are eliminated, and cluster processing logic is optimized.

Description

A kind of method of optimum management cluster state
 
technical field
the present invention relates to computer realm, relate in particular to high availability cluster management, a kind of specifically method of optimum management cluster state.
Background technology
In high availability cluster management, condition managing is very important, because it is trigger condition and final processing of activities, whether cluster can keep high availability, depends on to a great extent correctness and the promptness of condition managing.And in normal cluster activity, be no matter start and stop cluster or, start and stop group and resource, a lot of resources is triggered in capital, and the state of group and cluster upgrades, and the people who often contacts high availability cluster can find, now state upgrades most of bandwidth that accounted for, and even can delay normal cluster activity.When cluster has abnormal generation, the state of cluster upgrades can have influence on cluster equally for abnormal processing speed.
Therefore, how can effectively reduce cluster state renewal and just seem especially important for high availability cluster management.In addition generally all can be for mark host node in original cluster management, and set up separately a cluster IP, this is for some condition managings obstacle to some extent, also can cause certain puzzlement for user, because in major applications scene, due in Intranet environment, therefore IP is very valuable resource, if can remove the requirement of cluster IP, just saved IP resource.
Summary of the invention
The present invention uses a kind of cluster resource management method of optimization, improves cluster management efficiency, has reduced bandwidth consumption, and clear condition managing logic.The method mainly comprises the following aspects:
(1) cluster state structure
Cluster state structure is identical with existing high availability cluster condition managing logic, has a cluster state value and two status lists, is respectively group status list and resource status list.
(2) more new logic of state
For simplification state upgrades, a more new logic of reservation of resource state, cancellation group state upgrades and cluster state renewal function, and group state and cluster state setting are completely contained in resource status more in new logic.Although increased the logic of wall scroll resource status processing herein, owing to having reduced the more sum of newer command of state, so many resources have been saved in state renewal generally.
A) single resource state upgrades
When start and stop resource or single resource report are abnormal, directly trigger node and send the more newer command of this resource status, after host node is received, upgrade local resource status list, and upgrade this resource place group status list and cluster state.
B) group state upgrades
After the operation of start and stop group, XM returns to host node resource startup situation, and host node upgrades resource status list and cluster state successively according to returning.
(3) synchronous regime
Equally, in order to ensure the high availability of cluster, in cluster, all nodes must be shared each resource, the group state of cluster.Therefore host node is being handled after resource status renewal, need to be synchronized to every other node in cluster, now synchronous state also just has resource status, in cluster, each node is collected more new state of resource status, in like manner upgrade local resource state, and in internal logic renewal group state and cluster state.
(4) state obtains
Outside obtains state and connects host node access cluster state by control desk, according to concrete visiting demand, directly returns according to local cluster status list.
(5) cancel cluster IP
Cluster IP is for mark host node, but due to when all cluster resources are during in halted state, cluster IP still exists, and this has conflict with this method according to resource status mark cluster state, and often, has taken a valuable Intranet IP,
If therefore want to utilize the method for optimization cluster state management in this paper, just need to cancel the setting of cluster IP.Here be only the setting that need to cancel cluster IP, the setting of host node still exists, and knows host node and exists, and after decision-making egress, notify control desk to know between node, connects host node obtain cluster information so that outside.
Compared with prior art, the beneficial effect producing is in the present invention:
The method of an optimum management cluster state is provided, had so both saved bandwidth, ensured the communication efficiency of cluster, simplified again processing logic, reduced the probability that program is made mistakes, but also cancelled the setting of cluster IP, saved IP resource.Improve cluster management efficiency, reduced bandwidth consumption, and clear condition managing logic, the condition managing logic of optimization and provide path easily for cluster management without the management method of cluster IP.Optimize the condition managing of high availability cluster management software, improve the efficiency of management and reduce bandwidth occupancy.
Brief description of the drawings
Accompanying drawing 1 is that state of the present invention upgrades/obtain flow chart.
Embodiment
the present invention uses a kind of cluster resource management method of optimization, improves cluster management efficiency, has reduced bandwidth consumption, and clear condition managing logic.The method mainly comprises several aspects:
(1) cluster state structure
Cluster state structure is identical with existing high availability cluster condition managing logic, has a cluster state value and two status lists, is respectively group status list and resource status list.
(2) more new logic of state
For simplification state upgrades, a more new logic of reservation of resource state, cancellation group state upgrades and cluster state renewal function, and group state and cluster state setting are completely contained in resource status more in new logic.Although increased the logic of wall scroll resource status processing herein, owing to having reduced the more sum of newer command of state, so many resources have been saved in state renewal generally.
A) single resource state upgrades
When start and stop resource or single resource report are abnormal, directly trigger node and send the more newer command of this resource status, after host node is received, upgrade local resource status list, and upgrade this resource place group status list and cluster state.
B) group state upgrades
After the operation of start and stop group, XM returns to host node resource startup situation, and host node upgrades resource status list and cluster state successively according to returning.
(3) synchronous regime
Equally, in order to ensure the high availability of cluster, in cluster, all nodes must be shared each resource, the group state of cluster.Therefore host node is being handled after resource status renewal, need to be synchronized to every other node in cluster, now synchronous state also just has resource status, in cluster, each node is collected more new state of resource status, in like manner upgrade local resource state, and in internal logic renewal group state and cluster state.
(4) state obtains
Outside obtains state and connects host node access cluster state by control desk, according to concrete visiting demand, directly returns according to local cluster status list.
(5) cancel cluster IP
Cluster IP is for mark host node, but due to when all cluster resources are during in halted state, cluster IP still exists, and this has conflict with this method according to resource status mark cluster state, and often, has taken a valuable Intranet IP,
If therefore want to utilize the method for optimization cluster state management in this paper, just need to cancel the setting of cluster IP.Here be only the setting that need to cancel cluster IP, the setting of host node still exists, and knows host node and exists, and after decision-making egress, notify control desk to know between node, connects host node obtain cluster information so that outside.

Claims (1)

1. a method for optimum management cluster state, is characterized in that the method relates generally to 2 parts, the one, and all cluster actions all only trigger resource status change, and the 2nd, cancel cluster IP on host node and arrange;
The method chief component is as follows:
1) still have three kinds of states, but only reservation of resource state triggers, group state and cluster state are processed and are all present in resource status processing logic inside;
2), the interior all nodes of cluster must be shared each resource, the group state of cluster; Therefore host node is being handled after resource status renewal, need to be synchronized to every other node in cluster, now synchronous state also just has resource status, in cluster, each node is collected more new state of resource status, in like manner upgrade local resource state, and in internal logic renewal group state and cluster state;
3), outside obtains state and connects host node access cluster state by control desk, according to concrete visiting demand, directly return according to local cluster status list;
4), cancel cluster IP, only retain host node mark, this mark needs extra notice control desk.
CN201410106962.5A 2014-03-21 2014-03-21 A kind of method of optimum management cluster state Active CN103905250B (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN201410106962.5A CN103905250B (en) 2014-03-21 2014-03-21 A kind of method of optimum management cluster state

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN201410106962.5A CN103905250B (en) 2014-03-21 2014-03-21 A kind of method of optimum management cluster state

Publications (2)

Publication Number Publication Date
CN103905250A true CN103905250A (en) 2014-07-02
CN103905250B CN103905250B (en) 2018-02-23

Family

ID=50996407

Family Applications (1)

Application Number Title Priority Date Filing Date
CN201410106962.5A Active CN103905250B (en) 2014-03-21 2014-03-21 A kind of method of optimum management cluster state

Country Status (1)

Country Link
CN (1) CN103905250B (en)

Citations (6)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US20030018927A1 (en) * 2001-07-23 2003-01-23 Gadir Omar M.A. High-availability cluster virtual server system
US20040128385A1 (en) * 2002-12-31 2004-07-01 International Business Machines Corporation Method and apparatus for managing resource contention in a multisystem cluster
CN101115242A (en) * 2007-08-30 2008-01-30 中兴通讯股份有限公司 Method and device for preventing group updating message congestion of digital cluster system
CN102571960A (en) * 2012-01-12 2012-07-11 浪潮(北京)电子信息产业有限公司 Method and device for monitoring high-availability cluster state
CN102855157A (en) * 2012-07-19 2013-01-02 浪潮电子信息产业股份有限公司 Method for comprehensively scheduling load of servers
CN103279386A (en) * 2013-06-09 2013-09-04 浪潮电子信息产业股份有限公司 Method for achieving high availability of computer operation scheduling system

Patent Citations (6)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US20030018927A1 (en) * 2001-07-23 2003-01-23 Gadir Omar M.A. High-availability cluster virtual server system
US20040128385A1 (en) * 2002-12-31 2004-07-01 International Business Machines Corporation Method and apparatus for managing resource contention in a multisystem cluster
CN101115242A (en) * 2007-08-30 2008-01-30 中兴通讯股份有限公司 Method and device for preventing group updating message congestion of digital cluster system
CN102571960A (en) * 2012-01-12 2012-07-11 浪潮(北京)电子信息产业有限公司 Method and device for monitoring high-availability cluster state
CN102855157A (en) * 2012-07-19 2013-01-02 浪潮电子信息产业股份有限公司 Method for comprehensively scheduling load of servers
CN103279386A (en) * 2013-06-09 2013-09-04 浪潮电子信息产业股份有限公司 Method for achieving high availability of computer operation scheduling system

Also Published As

Publication number Publication date
CN103905250B (en) 2018-02-23

Similar Documents

Publication Publication Date Title
US10506047B2 (en) Dynamically subscribing to management information and method and system for dispensing thereof
US20170048123A1 (en) System for controlling switch devices, and device and method for controlling system configuration
US9231849B2 (en) Apparatus and method for controlling virtual switches
WO2014024863A1 (en) Load distribution method taking into account each node in multi-level hierarchy
US9361151B2 (en) Controller system with peer-to-peer redundancy, and method to operate the system
CN101652977A (en) On-demand propagation of routing information in distributed computing system
CN102521044A (en) Distributed task scheduling method and system based on messaging middleware
CN105337780B (en) A kind of server node configuration method and physical node
US20240097985A1 (en) Information processing method based on internet of things device, related device and storage medium
CN110719311B (en) Distributed coordination service method, system and computer readable storage medium
Lumpkins The internet of things meets cloud computing [standards corner]
US11411799B2 (en) Scalable statistics and analytics mechanisms in cloud networking
JP2009251780A (en) System, method and program for distributed event detection
CN107171892B (en) Cross-platform data communication method and system based on QT
CN105592127A (en) Application management system for cloud computing environment
CN106605213B (en) System for supporting with intermittent connectivity, corresponding local device and corresponding cloud computing platform
CN103546572A (en) Cloud storage device and multi-cloud storage networking system and method
CN103441927A (en) Message processing method and device
CN104486111A (en) 1553B data bus system network management method
US10462194B2 (en) Minimizing productivity loss in a collaborative sharing environment
CN103905250A (en) Method for optimizing and managing cluster state
EP2942711B1 (en) Dynamic generation of proxy connections
CN105577310A (en) Synchronization method for task partitioning and communication scheduling in time trigger network
CN112621738A (en) Robot control method, electronic device, and computer-readable storage medium
CN110311803B (en) Method and device for realizing software defined network, computer equipment and storage medium

Legal Events

Date Code Title Description
C06 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.