Nothing Special   »   [go: up one dir, main page]

CN107276828A - A kind of dispatching method and device of cluster interior joint - Google Patents

A kind of dispatching method and device of cluster interior joint Download PDF

Info

Publication number
CN107276828A
CN107276828A CN201710617532.3A CN201710617532A CN107276828A CN 107276828 A CN107276828 A CN 107276828A CN 201710617532 A CN201710617532 A CN 201710617532A CN 107276828 A CN107276828 A CN 107276828A
Authority
CN
China
Prior art keywords
cluster
node
original configuration
nodes
numbering
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
CN201710617532.3A
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 CN201710617532.3A priority Critical patent/CN107276828A/en
Publication of CN107276828A publication Critical patent/CN107276828A/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
    • H04L41/06Management of faults, events, alarms or notifications
    • H04L41/0654Management of faults, events, alarms or notifications using network fault recovery
    • H04L41/0668Management of faults, events, alarms or notifications using network fault recovery by dynamic selection of recovery network elements, e.g. replacement by the most appropriate element after failure
    • 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/06Management of faults, events, alarms or notifications
    • H04L41/069Management of faults, events, alarms or notifications using logs of notifications; Post-processing of notifications

Landscapes

  • Engineering & Computer Science (AREA)
  • Computer Networks & Wireless Communication (AREA)
  • Signal Processing (AREA)
  • Information Retrieval, Db Structures And Fs Structures Therefor (AREA)

Abstract

Include the invention discloses a kind of dispatching method of cluster interior joint, the step of this method:The node in cluster is numbered in prescribed way;When the original configuration nodes break down in cluster, the destination node that numbering in other nodes meets given requirements is regard as latest configuration node.Compared to node scheduling method complicated in the prior art, this method is advantageous in that, reduces the execution content of dispatching method, it is to avoid because complicated dispatching method influences the node scheduling speed of cluster, improve the overall execution efficiency of cluster.Further, since dispatching method is simple, so excessive cluster resource will not be taken when performing the scheduling operation of node, the overall performance of cluster has been ensured.In addition, the dispatching device of cluster interior joint equally has the effect above.

Description

A kind of dispatching method and device of cluster interior joint
Technical field
The present invention relates to clustering design field, the more particularly to a kind of dispatching method and device of cluster interior joint.
Background technology
Instantly be in big data, in the epoch of cloud computing, it is necessary to which the data bulk calculated is more and more huger, therefore User has more harsh requirement for the software and hardware all requirements in data processing cluster.
Because the node in cluster is chronically in the implementation procedure of data processing, hardware or software aspects can occur unavoidably Failure, when in cluster be used for control cluster interior joint work configuration node break down when, it is necessary to as early as possible by malfunctioning node Transfer, by using normal node as configuration node with ensure cluster normal work and user to the normal behaviour of cluster Make.The problem of in order to solve above-mentioned, the dispatching method that there is the clustering fault transfer of a variety of solution clustering faults in the prior art, But the design of these dispatching methods is universal complex, that not only dispatches is less efficient, and needs when being scheduled to take Part system resource, and then cause the performance of system also to decrease.
As can be seen here there is provided a kind of dispatching method of cluster interior joint to reduce the complexity of dispatching method, Jin Erti The transfer efficiency of high malfunctioning node, and system resource overhead is saved, it is those skilled in the art's urgent problem to be solved.
The content of the invention
It is an object of the invention to provide a kind of dispatching method and device of cluster interior joint, it is to avoid is performing node scheduling behaviour As when take excessive cluster resource, ensured the overall performance of cluster.
In order to solve the above technical problems, the present invention provides a kind of dispatching method of cluster interior joint, including:
The node in cluster is numbered in prescribed way;
When the original configuration nodes break down in cluster, numbering in other nodes is met to the target section of given requirements Point is used as latest configuration node.
It is preferred that, when the original configuration nodes break down in cluster, this method further comprises:
Original configuration node is removed from cluster.
It is preferred that, when the original configuration nodes break down in cluster, this method further comprises:
The fault message of original configuration node is write into journal file.
It is preferred that, numbering in other nodes is being met to the nodes of given requirements as after latest configuration node, the party Method further comprises:
Whether failure judgement is recovered;
If it is, the node after fault recovery is rejoined in cluster.
It is preferred that, after the node after by fault recovery is rejoined in cluster, this method further comprises:
Line renumbering is entered to the node after fault recovery according to regulation mode.
It is preferred that, the node in cluster is numbered in prescribed way, is specially:
The node in cluster is numbered by the order being added in cluster.
It is preferred that, given requirements are specially that the numbering of node is minimum in the cluster.
In addition, the present invention also provides a kind of dispatching device of cluster interior joint, including:
Numbering module, for the node in cluster to be numbered in prescribed way;
Fault processing module, for when the original configuration nodes break down in cluster, symbol will to be numbered in other nodes The destination node for closing given requirements is used as latest configuration node.
It is preferred that, the device further comprises:
Knot-removal module, for original configuration node to be removed from cluster.
It is preferred that, the device further comprises:
Daily record writing module, for the fault message of original configuration node to be write into journal file.
The dispatching method of cluster interior joint provided by the present invention, according to the prescribed manner of user for the node in cluster It is numbered, when the original configuration node in cluster breaks down, numbering in other nodes of cluster had been met into user both The node of provisioning request is used as the latest configuration node for taking over cluster.Compared to node scheduling side complicated in the prior art Method, this method is advantageous in that, reduce the execution content of dispatching method, it is to avoid due to complicated dispatching method influence cluster Node scheduling speed, improves the overall execution efficiency of cluster.Further, since dispatching method is simple, so section will not performed Excessive cluster resource is taken during the scheduling operation of point, the overall performance of cluster has been ensured.In addition, the present invention also provides a kind of collection The dispatching device of group's interior joint, corresponding with above-mentioned method, beneficial effect is as described above.
Brief description of the drawings
In order to illustrate the embodiments of the present invention more clearly, the required accompanying drawing used in embodiment will be done simply below Introduce, it should be apparent that, drawings in the following description are only some embodiments of the present invention, for ordinary skill people For member, on the premise of not paying creative work, other accompanying drawings can also be obtained according to these accompanying drawings.
Fig. 1 is a kind of flow chart of the dispatching method of cluster interior joint provided in an embodiment of the present invention;
Fig. 2 is the flow chart of the dispatching method of another cluster interior joint provided in an embodiment of the present invention;
Fig. 3 is a kind of dispatching device structure chart of cluster interior joint provided in an embodiment of the present invention.
Embodiment
Below in conjunction with the accompanying drawing in the embodiment of the present invention, the technical scheme in the embodiment of the present invention is carried out clear, complete Site preparation is described, it is clear that described embodiment is only a part of embodiment of the invention, rather than whole embodiments.Based on this Embodiment in invention, those of ordinary skill in the art are not under the premise of creative work is made, and what is obtained is every other Embodiment, belongs to the scope of the present invention.
The core of the present invention is to provide a kind of dispatching method and device of cluster interior joint, it is to avoid performing node scheduling behaviour As when take excessive cluster resource, ensured the overall performance of cluster.
In order that those skilled in the art more fully understand the present invention program, with reference to the accompanying drawings and detailed description The present invention is described in further detail.
Embodiment one
Fig. 1 is a kind of flow chart of the dispatching method of cluster interior joint provided in an embodiment of the present invention.Fig. 1 is refer to, is collected The specific steps of the dispatching method of group's interior joint include:
Step S10:The node in cluster is numbered in prescribed way.
The node in cluster is numbered by the coding rule set by user for this step, in order to follow-up logical The corresponding node of numbering selection.It should be noted that coding rule should be set according to actual conditions and user preferences, herein Do not limit.
Step S11:When the original configuration nodes break down in cluster, numbering in other nodes is met into given requirements Destination node be used as latest configuration node.
It is understood that when the original configuration node failure in cluster, it is necessary to select other nodes to make in the cluster For newest configuration node.And be that numbering in cluster is met to the nodes of user's given requirements as newest in this step Configuration node, this have the advantage that, the calculating carried out during selection latest configuration node and deterministic process are simplified, and then contract The short execution time of node scheduling, improve the efficiency of selection latest configuration node.It should be noted that matching somebody with somebody in the present invention It is to other nodes are configured and managed in cluster host node to put node.
The dispatching method of cluster interior joint provided by the present invention, according to the prescribed manner of user for the node in cluster It is numbered, when the original configuration node in cluster breaks down, numbering in other nodes of cluster had been met into user both The node of provisioning request as adapter cluster latest configuration node.Compared to node scheduling method complicated in the prior art, sheet Method is advantageous in that, reduce the execution content of dispatching method, it is to avoid because complicated dispatching method influences the node of cluster Schedule speed, improves the overall execution efficiency of cluster.Further, since dispatching method is simple, so node will not performed Excessive cluster resource is taken during scheduling operation, the overall performance of cluster has been ensured.
Embodiment two
Fig. 2 is the flow chart of the dispatching method of another cluster interior joint provided in an embodiment of the present invention.Step in Fig. 2 S10-S11 is identical with Fig. 1, will not be repeated here.
As shown in Fig. 2 as a preferred embodiment, when the original configuration nodes break down in cluster, being somebody's turn to do Method further comprises:
Step S20:Original configuration node is removed from cluster.
It is understood that needing at once to carry out the node solution of failure when original configuration nodes break down. And the purpose in this step removing original configuration node from cluster is, it is to avoid the original configuration node when solving failure Influence the whole work efficiency of cluster or trigger failure new in cluster.
As shown in Fig. 2 as a preferred embodiment, when the original configuration nodes break down in cluster, being somebody's turn to do Method further comprises:
Step S21:The fault message of original configuration node is write into journal file.
, can be by the event of original configuration node in order to ensure that user can quickly solve the abnormality of original configuration node Hinder information write-in journal file, and then user can in journal file the understanding original configuration node of system fault message, And corresponding troubleshooting can be carried out, and then reduce the time overhead of fault recovery.
As shown in Fig. 2 as a preferred embodiment, numbering in other nodes to be met to the node of given requirements After latest configuration node, this method further comprises:
Step S22:Whether failure judgement is recovered, if it is, performing step S23.
Step S23:Node after fault recovery is rejoined in cluster.
It is understood that the purpose that is added to the node again in cluster is to allow the node after node failure recovery Proceed the work of cluster, therefore the node can share the workload of cluster interior joint, and then mitigate the work pressure of cluster Power, improves the operating efficiency of cluster.
As shown in Fig. 2 as a preferred embodiment, being rejoined in the node after by fault recovery in cluster Afterwards, this method further comprises:
Step S24:Line renumbering is entered to the node after fault recovery according to regulation mode.
In this step, it is for the purpose that the node after fault recovery enters line renumbering, using the node as can The quantity of schedulable node in the alternate node of newest control node, increase cluster is chosen as, and then adds cluster entirety Fault-resistant ability.
In addition, on the basis of above-described embodiment, as a preferred embodiment, in prescribed way in cluster Node is numbered, and is specially:
The node in cluster is numbered by the order being added in cluster.
It is understood that present embodiment is by a relatively simple feasible node serial number mode, certain user is also Can according to specific needs, the numbering of User- defined Node is not specifically limited herein.
In addition, on the basis of above-described embodiment, as a preferred embodiment, given requirements are specially node Numbering is minimum in the cluster.
It should be noted that choose the node that minimum is numbered in cluster as latest configuration node, simply it is all it is set will The method for seeking a kind of middle simple possible, user can also provide the given requirements of other suitable practical applications to realize latest configuration The selection of node, is not limited herein.
For the understanding become apparent to above-described embodiment, illustrated below by concrete scene:
There are four nodes A, B, C, D in cluster, each corresponding numbering nodeid is respectively 1,2,3,4 to four nodes. Node A numberings nodeid is 1, is original configuration node.When node A, which breaks down, exits cluster progress fault recovery, system The node for selecting numbering nodeid minimum, i.e. the node B that numbering nodeid is 2 is as latest configuration node to take over whole collection Group.After the completion of node A fault recovery, rejoin in cluster, the mode that system is numbered in sequence is carried out to node A Renumber, now node A numbering nodeid is 5, and when occurring configuration node failure again, overall execution mode is with such Push away.
Embodiment three
Hereinbefore the embodiment for the dispatching method of cluster interior joint is described in detail, and the present invention is also provided A kind of dispatching device of cluster interior joint corresponding with this method, due to the embodiment and the embodiment of method part of device part Mutually correspondence, therefore device part embodiment refer to method part embodiment description, wouldn't repeat here.
Fig. 3 is a kind of dispatching device structure chart of cluster interior joint provided in an embodiment of the present invention.The embodiment of the present invention is carried The dispatching device of the cluster interior joint of confession, is specifically included:
Numbering module 10, for the node in cluster to be numbered in prescribed way.
Fault processing module 11, for that when the original configuration nodes break down in cluster, will be numbered in other nodes Meet the destination node of given requirements as latest configuration node.
The dispatching device of cluster interior joint provided by the present invention, according to the prescribed manner of user for the node in cluster It is numbered, when the original configuration node in cluster breaks down, numbering in other nodes of cluster had been met into user both The node of provisioning request is used as the latest configuration node for taking over cluster.Compared to node scheduling side complicated in the prior art Method, the present apparatus is advantageous in that, reduce the execution content of dispatching method, it is to avoid due to complicated dispatching method influence cluster Node scheduling speed, improves the overall execution efficiency of cluster.Further, since dispatching method is simple, so section will not performed Excessive cluster resource is taken during the scheduling operation of point, the overall performance of cluster has been ensured.
On the basis of embodiment three, the device also includes:
Knot-removal module, for original configuration node to be removed from cluster.
On the basis of embodiment three, the device also includes:
Daily record writing module, for the fault message of original configuration node to be write into journal file.
The dispatching method and device of a kind of cluster interior joint provided by the present invention are described in detail above.Explanation The embodiment of each in book is described by the way of progressive, what each embodiment was stressed be it is different from other embodiment it Place, between each embodiment identical similar portion mutually referring to.For device disclosed in embodiment, due to itself and reality Apply that method disclosed in example is corresponding, so description is fairly simple, related part is referring to method part illustration.It should refer to Go out, for those skilled in the art, under the premise without departing from the principles of the invention, can also be to the present invention Some improvement and modification are carried out, these are improved and modification is also fallen into the protection domain of the claims in the present invention.
It should also be noted that, in this manual, such as first and second or the like relational terms be used merely to by One entity or operation make a distinction with another entity or operation, and not necessarily require or imply these entities or operation Between there is any this actual relation or order.Moreover, term " comprising ", "comprising" or its any other variant meaning Covering including for nonexcludability, so that process, method, article or equipment including a series of key elements not only include that A little key elements, but also other key elements including being not expressly set out, or also include be this process, method, article or The intrinsic key element of equipment.In the absence of more restrictions, the key element limited by sentence "including a ...", is not arranged Except also there is other identical element in the process including the key element, method, article or equipment.

Claims (10)

1. a kind of dispatching method of cluster interior joint, it is characterised in that including:
The node in cluster is numbered in prescribed way;
When the original configuration nodes break down in the cluster, numbering described in other nodes is met into given requirements Destination node be used as latest configuration node.
2. according to the method described in claim 1, it is characterised in that when the original configuration nodes break down in the cluster When, this method further comprises:
The original configuration node is removed from the cluster.
3. according to the method described in claim 1, it is characterised in that when the original configuration nodes break down in the cluster When, this method further comprises:
The fault message of the original configuration node is write into journal file.
4. the method according to claims 1 to 3 any one, it is characterised in that described by institute in other nodes State after numbering the node for meeting given requirements as latest configuration node, this method further comprises:
Judge whether the failure is recovered;
If it is, the node after fault recovery is rejoined in the cluster.
5. method according to claim 4, it is characterised in that rejoined in the node by after fault recovery After into the cluster, this method further comprises:
Line renumbering is entered to the node after fault recovery according to the prescribed manner.
6. the method according to claims 1 to 3 any one, it is characterised in that described in prescribed way in cluster Node is numbered, and is specially:
The node in cluster is numbered by the order being added in the cluster.
7. method according to claim 6, it is characterised in that the given requirements are specially the numbering of the node in institute State minimum in cluster.
8. a kind of dispatching device of cluster interior joint, it is characterised in that including:
Numbering module, for the node in cluster to be numbered in prescribed way;
Fault processing module, for when the original configuration nodes break down in the cluster, by institute in other nodes State numbering and meet the destination node of given requirements as latest configuration node.
9. device according to claim 8, it is characterised in that the device further comprises:
Knot-removal module, for the original configuration node to be removed from the cluster.
10. device according to claim 8, it is characterised in that the device further comprises:
Daily record writing module, for the fault message of the original configuration node to be write into journal file.
CN201710617532.3A 2017-07-26 2017-07-26 A kind of dispatching method and device of cluster interior joint Pending CN107276828A (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN201710617532.3A CN107276828A (en) 2017-07-26 2017-07-26 A kind of dispatching method and device of cluster interior joint

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN201710617532.3A CN107276828A (en) 2017-07-26 2017-07-26 A kind of dispatching method and device of cluster interior joint

Publications (1)

Publication Number Publication Date
CN107276828A true CN107276828A (en) 2017-10-20

Family

ID=60079584

Family Applications (1)

Application Number Title Priority Date Filing Date
CN201710617532.3A Pending CN107276828A (en) 2017-07-26 2017-07-26 A kind of dispatching method and device of cluster interior joint

Country Status (1)

Country Link
CN (1) CN107276828A (en)

Cited By (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN109117317A (en) * 2018-11-01 2019-01-01 郑州云海信息技术有限公司 A kind of clustering fault restoration methods and relevant apparatus

Citations (7)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN101582826A (en) * 2009-06-25 2009-11-18 北京洲洋伟业信息技术有限公司 Data transmission method based on dynamic binary tree child-nephew two-channel in internet classroom
CN101895823A (en) * 2010-07-21 2010-11-24 中国人民解放军理工大学 Three-step distributed wireless cooperative multicast/broadcast method
CN102035862A (en) * 2009-09-30 2011-04-27 国际商业机器公司 Configuration node fault transfer method and system in SVC cluster
CN102231681A (en) * 2011-06-27 2011-11-02 中国建设银行股份有限公司 High availability cluster computer system and fault treatment method thereof
CN103580915A (en) * 2013-09-26 2014-02-12 东软集团股份有限公司 Method and device for determining main control node of trunking system
CN105430052A (en) * 2015-10-30 2016-03-23 浪潮(北京)电子信息产业有限公司 Arbitration method and arbitration device for cluster system
CN106790422A (en) * 2016-12-02 2017-05-31 北京锐安科技有限公司 A kind of data buffer storage cluster and data retrieval method for WEB application

Patent Citations (7)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN101582826A (en) * 2009-06-25 2009-11-18 北京洲洋伟业信息技术有限公司 Data transmission method based on dynamic binary tree child-nephew two-channel in internet classroom
CN102035862A (en) * 2009-09-30 2011-04-27 国际商业机器公司 Configuration node fault transfer method and system in SVC cluster
CN101895823A (en) * 2010-07-21 2010-11-24 中国人民解放军理工大学 Three-step distributed wireless cooperative multicast/broadcast method
CN102231681A (en) * 2011-06-27 2011-11-02 中国建设银行股份有限公司 High availability cluster computer system and fault treatment method thereof
CN103580915A (en) * 2013-09-26 2014-02-12 东软集团股份有限公司 Method and device for determining main control node of trunking system
CN105430052A (en) * 2015-10-30 2016-03-23 浪潮(北京)电子信息产业有限公司 Arbitration method and arbitration device for cluster system
CN106790422A (en) * 2016-12-02 2017-05-31 北京锐安科技有限公司 A kind of data buffer storage cluster and data retrieval method for WEB application

Non-Patent Citations (1)

* Cited by examiner, † Cited by third party
Title
李蔚 等: "《信息系统规范化运行管理与实践》", 31 December 2014, 中国环境出版社 *

Cited By (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN109117317A (en) * 2018-11-01 2019-01-01 郑州云海信息技术有限公司 A kind of clustering fault restoration methods and relevant apparatus

Similar Documents

Publication Publication Date Title
US8626936B2 (en) Protocol independent server replacement and replication in a storage area network
CN103761309A (en) Operation data processing method and system
CN106033476A (en) Incremental graphic computing method in distributed computing mode under cloud computing environment
CN105721582A (en) Multi-node file backup system
CN104424048A (en) Data storage method and equipment
CN105516292A (en) Hot standby method of cloud platform of intelligent substation
CN106775993A (en) A kind of physical machine is migrated to the method and system of cloud computing platform
CN113220235B (en) Read-write request processing method, device, equipment and storage medium
CN113114491B (en) Method, device and equipment for constructing network topology
CN103714060A (en) Interrupt-period historical data processing method and front-end collecting sub system equipment
CN106873918A (en) Storage method to set up and device in a kind of virtualization system
CN103441878B (en) The ownership processing method of PE equipment and equipment in VCF network
CN106570775A (en) Power grid fault countermeasure plan combining compilation method and device
CN102111303A (en) Automatic monitoring method and device for unattended system
CN107483238A (en) A kind of blog management method, cluster management node and system
CN105791337B (en) A kind of upgrade method, equipment and group system
CN107276828A (en) A kind of dispatching method and device of cluster interior joint
CN105487946A (en) Fault computer automatic switching method and device
CN106878082A (en) A kind of Microsoft Loopback Adapter thermomigration process and its device
CN104503871A (en) Implementation method based on full-redundancy model of small computer system
CN105528259A (en) Application-level disaster recovery automatic switching control design method
KR101294343B1 (en) Method for Managing Wind Power Control System for High Availability in Wind Farm
CN108011757A (en) A kind of Intelligence network management method and device for power industry
CN105959172B (en) A kind of the redundant network management method and platform of group system
KR101253141B1 (en) Fault Tolerance Service Middleware for Wind Power Generation Control System

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
RJ01 Rejection of invention patent application after publication

Application publication date: 20171020