CN101662397B - Method for automatically detecting and transferring sharing IP address of redundant computer group - Google Patents

Method for automatically detecting and transferring sharing IP address of redundant computer group Download PDF

Info

Publication number
CN101662397B
CN101662397B CN2009101949643A CN200910194964A CN101662397B CN 101662397 B CN101662397 B CN 101662397B CN 2009101949643 A CN2009101949643 A CN 2009101949643A CN 200910194964 A CN200910194964 A CN 200910194964A CN 101662397 B CN101662397 B CN 101662397B
Authority
CN
China
Prior art keywords
address
share
computer
network interface
interface card
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.)
Active
Application number
CN2009101949643A
Other languages
Chinese (zh)
Other versions
CN101662397A (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.)
Casco Signal Ltd
Original Assignee
Casco Signal 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 Casco Signal Ltd filed Critical Casco Signal Ltd
Priority to CN2009101949643A priority Critical patent/CN101662397B/en
Publication of CN101662397A publication Critical patent/CN101662397A/en
Application granted granted Critical
Publication of CN101662397B publication Critical patent/CN101662397B/en
Active legal-status Critical Current
Anticipated expiration legal-status Critical

Links

Images

Abstract

The invention relates to a method for automatically detecting and transferring a sharing IP address of a redundant computer group. The method comprises the following steps: detecting the effectiveness of the sharing IP address; detecting the effectiveness of a physical channel of an alternate target network card; and transferring the sharing IP address to the target network card from the network card of the ineffective physical channel. Compared with the prior art, the invention has the following advantages of automatically detecting and transferring the sharing IP address of the redundant computer under the conditions that the network safety is not lowered and the network load is increased a little, and ensuring the reliability of the system.

Description

A kind of sharing IP address of redundant computer group detects the method for transfer automatically
Technical field
The present invention relates to the method for IP address detected and transfer, relate in particular to the method that a kind of sharing IP address of redundant computer group detects transfer automatically.
Background technology
In the Distributed Computer System of high reliability, often there is computer redundant more than two or two to carry out identical work, when a computer glitch, just substitute with another computer.Redundant computer group has two kinds of working methods usually: cold standby and Hot Spare.In the cold standby working method, whenever having only wherein, a computer is called main frame in work; Other computer then shuts down or dormancy, is called standby host; When main frame breaks down, then start or wake an available standby host up and substitute its work, at this moment, this standby host renames as main frame, and main frame originally then renames as standby host.In the Hot Spare working method, whenever have two computers at least in concurrent working, but have only wherein computer output result, this has the computer of output to be called main frame; Other computer is called standby host; When main frame broke down, then another standby host that is moving substituted its output, and at this moment, this standby host renames as main frame, and original main frame renames as standby host owing to cutting off output.With respect to the cold standby working method, still less thereby have higher reliability active/standby machine switching time of Hot Spare working method.
In the redundant computer group of Hot Spare; Any computer all possibly become main frame; Communicate with miscellaneous equipment outside the redundant computer group, promptly the responsible computer that communicates with miscellaneous equipment outside the redundant computer group of redundant computer group is uncertain.Or rather, the responsible network interface card that communicates with miscellaneous equipment outside the redundant computer group of redundant computer group is uncertain.General like this have two kinds of processing methods:
First method is to increase a prepositive communication computer, and this prepositive communication computer substitutes redundant computer group and miscellaneous equipment communicates.Concrete implementation is: which platform computer prepositive communication computer can determine or discern is main frame; It is transmitted to miscellaneous equipment to the main frame data sent; And be transmitted to main frame and standby host to the miscellaneous equipment data sent, thereby be main frame to current any the platform computer of miscellaneous equipment shielding.Miscellaneous equipment not with the redundant computer group direct communication, only communicate with fixing prepositive communication computer, need not consider that therefore active/standby machine switches, and simplifies and handles.But in this method, prepositive communication computer in case break down, will cause system unavailable as single nonredundancy computer, and therefore, the reliability of system will reduce.
Second method is that all computers all are connected on the same network with miscellaneous equipment in the redundant computer group, directly communicates between them.Concrete implementation is: in the redundant computer group, have only main frame to send data to miscellaneous equipment through network, standby host does not send data to miscellaneous equipment; When miscellaneous equipment will send data to the redundant computer group time, then send to data main frame or all computers of redundant computer group.In this method, the sendaisle number of miscellaneous equipment increases on the one hand, and on the other hand, it is not transparent concerning miscellaneous equipment that the inside of redundant computer group is formed, and therefore, the availability of system will reduce.
In fact; In Distributed Computer System; Often need carry out redundancy to computer with transparent way, the redundant computer group subsystem of promptly being made up of two and above computer is still communicated as single computer and other computer or subsystem.So, on the basis of second method, be improved to the third method.In the third method, all computers still all are connected on the same network with miscellaneous equipment in the redundant computer group, but by a share I P address be responsible for and miscellaneous equipment between communicate.Concrete implementation is: each computer of redundant computer group is all shared same IP address; This share I P address possible configuration on any computer, generally is configured on the main frame in redundant computer group; When redundant computer group will send data to miscellaneous equipment, then with this share I P address as sending the address, send to miscellaneous equipment; When miscellaneous equipment will send data to the redundant computer group time, then with this share I P address as receiver address, send data to redundant computer group.In this method, in conjunction with the advantage of preceding two kinds of methods, and there is not the shortcoming of preceding two kinds of methods, guarantee the reliabilty and availability of system.But this method has a crucial part to be exactly: after breaking down in the physical channel, network interface card place of configuration share I P address; Should in time transfer to the share I P address on another piece network interface card, and this part network interface card is often on the computer of another in redundant computer group.
Does so how detecting the physical channel break down? Common way is based on the ICMP agreement, promptly periodically sends the ICMP packet, replys if confiscate, and thinks that then the physical channel breaks down.But, send the ICMP packet for a long time, continuously, in large quantities, form " ICMP storm " easily, make the cpu resource of destination host labor, often cause systemic breakdown.This has increased the communication load of system on the one hand, if ICMP is not filtered on the other hand then receive network attack easily and cause the fail safe, reliability of system not to ensure.
Summary of the invention
The object of the invention is exactly in order to overcome the defective that above-mentioned prior art exists, to provide a kind of sharing IP address of redundant computer group to detect the method for transfer automatically.
The object of the invention can be realized through following technical scheme:
A kind of sharing IP address of redundant computer group detects the method for transfer automatically, it is characterized in that, this method may further comprise the steps:
(1) validity to the share I P address detects;
(2) validity to physical channel, candidate's purpose network interface card place detects;
(3) transfer to the purpose network interface card to the share I P address from the network interface card of the physical channel of inefficacy.
The validity to the share I P address in the described step (1) detects and comprises:
(a1) computer of the current configuration share I P address validity to the share I P address is detected;
(a2) validity of the current computer that does not dispose the share I P address to the share I P address is detected.
The computer of current configuration share I P address is detected the validity of share I P address in the described step (a1) may further comprise the steps:
(a1-1) computer of current configuration share I P address; If in preset time, receive from other computer application message as receiver address with the share I P address, the computer of so current configuration share I P address thinks that the share I P address is effective;
(a1-2) computer of current configuration share I P address; If in preset time, do not receive from other computer application message as receiver address with the share I P address, the computer of so current configuration share I P address thinks that the share I P address lost efficacy;
(a1-3) computer of current configuration share I P address; If think that the share I P address lost efficacy, then delete the share I P address from the network interface card at its place, if this network interface card only disposed an IP address originally; It is the share I P address; Then should be this network interface card other predetermined IP address is set, after this, this computer also just becomes the computer that does not dispose the share I P address.
The current computer that does not dispose the share I P address is detected the validity of share I P address in the described step (a2) may further comprise the steps:
(a2-1) the current computer that does not dispose the share I P address; If in preset time, receive with the share I P address as send the address from other computer application message, the so current computer that does not dispose the share I P address thinks that the share I P address is effective;
(a2-2) the current computer that does not dispose the share I P address; If in preset time, do not receive with the share I P address as send the address from other computer application message, the so current computer that does not dispose the share I P address thinks that the share I P address lost efficacy.
The validity to physical channel, candidate's purpose network interface card place in the described step (2) detects and may further comprise the steps:
(b1) the current computer that does not dispose the share I P address detects and can often carry out the validity of physical channel, this machine network interface card place, also can be just to carry out after the share I P address lost efficacy thinking;
(b2) the current computer that does not dispose the share I P address; If in preset time, on this machine network interface card, do not receive from other computer application message, the so current computer that does not dispose the share I P address thinks that this network interface card belongs to physical channel and lost efficacy;
(b3) the current computer that does not dispose the share I P address; If in preset time, on this machine network interface card, receive from other computer application message, the so current computer that does not dispose the share I P address thinks that this physical channel, network interface card place is effective;
(b4) the current computer that does not dispose the share I P address; If think that this machine network interface card belongs to the physical channel and lost efficacy; Wait for another scheduled time so again; If in this scheduled time, on this network interface card, still do not receive any message from other computer, the so current computer that does not dispose the share I P address thinks that this physical channel, network interface card place is effective.
Transferring to the purpose network interface card to the share I P address from the network interface card of the physical channel of losing efficacy and may further comprise the steps in the described step (3):
(c1) the current computer that does not dispose the share I P address, if think that the share I P address lost efficacy, and physical channel, the network interface card of this machine place is effectively, so this network interface card as candidate's share I P address the purpose network interface card that will transfer to;
(c2) the current computer that does not dispose the share I P address; If think that the share I P address lost efficacy; And this machine have the candidate the share I P address the purpose network interface card that will transfer to; The message that then other computer sends " application share I P address " in redundant computer group if do not receive " share I that refuses an application P address " message in the given time, disposes the share I P address so on candidate's purpose network interface card; Be that the share I P address is transferred on this candidate's the purpose network interface card, this computer also just becomes the computer of configuration share I P address;
(c3) the current computer that does not dispose the share I P address; Send after the message of " application share I P address " at other computer in redundant computer group; If receive the message of " application share I P address " that other computer is sent at the fixed time; Should reply the message of " share I that refuses an application P address " so to this computer; If receive the message of " application share I P address " that other computer is sent at the fixed time, do not reply the message of " share I that refuses an application P address " so to this computer;
(c4) computer of current configuration share I P address if receive the message of " application share I P address " that other computer is sent, is replied the message of " share I that refuses an application P address " so to this computer.
Described step (c2) if in receive " share I that refuses an application P address " message in the given time, explain that other computer applies for the share I P address or disposed the share I P address than this machine is more Zao; If just receive " share I that refuses an application P address " message at the fixed time, explain that so other computer is than the more late application of this machine share I P address.
" scheduled time " in the described step (c3) greater than the message of " application share I P address " from sending to the time that the recipient receives, and less than the message of " application share I P address " two times from time of sending to the recipient and receiving.
Described other computer is other computer in miscellaneous equipment and/or the redundant computer group outside the redundant computer group.
Compared with prior art, the present invention has the following advantages:
Make full use of application message and do not increased additional message; And " the application share I P address " message and " share I that the refuses an application P address " message that possibly increase that " transferring to the purpose network interface card to the share I P address from the network interface card of the physical channel of inefficacy " process, is increased is just thought just to occur when the share I P address is in failure state.Therefore work as system communication just often, do not increase network load, when the share I P address was in failure state, the network load that is increased was few.Not reducing internet security, seldom increasing under the situation of network load, redundant computer share I P address is detected automatically and shifts, guaranteed the reliability of system.
Description of drawings
Fig. 1 is the view that a kind of sharing IP address of redundant computer group of the present invention detects the method for transfer automatically.
Embodiment
Below in conjunction with specific embodiment the present invention is further specified.
Embodiment
As shown in Figure 1, the state of state machine has:
S1: this machine network interface card configuration share I P address is effective;
S2: this machine network interface card configuration share I P address lost efficacy;
S3: this machine network interface card does not dispose the share I P address;
S4: other computer configuration share I P address is effective;
S5: other computer configuration share I P address lost efficacy;
S6: lost efficacy in physical channel, this machine network interface card place;
S7: physical channel, this machine network interface card place is effective;
S8: this machine network interface card is as candidate's purpose network interface card;
S9: " share I that refuses an application P address " message of waiting for other computer;
S10: the conduct of this machine network interface card is as the purpose network interface card;
S11: the interim state between incident e13 and incident e14;
S12: " share I that the refuses an application P address " message that continues to wait for other computer;
S13: the interim state between incident e15 and incident e16.
The incident of state machine has:
E1: in preset time, receive application message as receiver address from other computer (outside the redundant computer group in miscellaneous equipment and/or the redundant computer group other computer) with the share I P address;
E2: in preset time, do not receive application message as receiver address from other computer (outside the redundant computer group in miscellaneous equipment and/or the redundant computer group other computer) with the share I P address;
E3: delete the share I P address from the network interface card at its place;
E4: in preset time, receive with the share I P address as the application message that sends the address from other computer (outside the redundant computer group in miscellaneous equipment and/or the redundant computer group other computer);
E5: in preset time, do not receive with the share I P address as the application message that sends the address from other computer (outside the redundant computer group in miscellaneous equipment and/or the redundant computer group other computer);
E6: in preset time, on this machine network interface card, do not receive application message from other computer (outside the redundant computer group in miscellaneous equipment and/or the redundant computer group other computer);
E7: in preset time, on this machine network interface card, receive application message from other computer (outside the redundant computer group in miscellaneous equipment and/or the redundant computer group other computer);
E8: wait for another scheduled time again, if in this scheduled time, on this network interface card, still do not receive any message from other computer (outside the redundant computer group in miscellaneous equipment and/or the redundant computer group other computer);
E9: this network interface card as candidate's share I P address the purpose network interface card that will transfer to;
E10: other computer sends the message of " application share I P address " in redundant computer group;
E11: do not receive " share I that refuses an application P address " message in the given time;
E12: configuration share I P address on candidate's purpose network interface card;
E13: the message of receiving " application share I P address " that other computer is sent at the fixed time;
E14: the message of replying " share I that refuses an application P address " to this computer;
E15: the message of receiving " application share I P address " that other computer is sent;
E16: the message of replying " share I that refuses an application P address " to this computer;
E17: receive " share I that refuses an application P address " message in the given time;
E18: receive with the share I P address as the application message that sends the address from other computer (outside the redundant computer group in miscellaneous equipment and/or the redundant computer group other computer).
For each share I P address; Every computer all detects and shifts the share I P address respectively in the redundant computer group; Be that the automatic detection that moves of each computer and the software program of transfer are identical, all move according to the state machine model shown in the accompanying drawing 1:
1, state S1 (this machine network interface card configuration share I P address is effective)
Assumed initial state is S1, promptly on the current network interface card that just is being configured in this computer of the share I P address of redundant computer group, and is effective.
(1) when incident e1 takes place; When promptly in preset time, receiving the application message from other computer (outside the redundant computer group in miscellaneous equipment and/or the redundant computer group other computer) as receiver address with the share I P address; This computer thinks that the share I P address remains effectively, and it is constant therefore to keep state S1.
(2) when incident e2 takes place; When promptly in preset time, not receiving the application message from other computer (outside the redundant computer group in miscellaneous equipment and/or the redundant computer group other computer) as receiver address with the share I P address; This computer thinks that the share I P address lost efficacy, and therefore is transformed into state S2 (this machine network interface card configuration share I P address lost efficacy) by state S1.
(3) when incident e15 takes place; When promptly receiving the message of " application share I P address " that other computer sends (this occur in often this computer just entered into state S1 soon other computer think that also the share I P address is to take place under the situation about losing efficacy), this computer should send " share I that refuses an application P address " message, i.e. trigger event e16 to this computer; But still it is constant to keep state S1; But in Fig. 1, in order to draw conveniently, after incident e15 takes place; Incident e16 introduces an interim state S13 before taking place, and state S13 is state S1 exactly in fact.
2, state S2 (this machine network interface card configuration share I P address lost efficacy)
When state 1 (this machine network interface card configuration share I P address is effective), behind the incident of generation e2, just be transformed into state S2, promptly this computer thinks that the share I P address that on this machine network interface card, disposes lost efficacy.Therefore to delete the share I P address from the network interface card at its place, i.e. trigger event e3.The share I P address is after this machine network interface card deletion, and this computer has also just become and do not disposed the computer of share I P address, has promptly got into state 3 (this machine network interface card does not dispose the share I P address).
3, state S3 (this machine network interface card does not dispose the share I P address)
State S3 is converted through incident e3 by state S2.
Getting the hang of behind the S3, will check constantly whether incident e4, e18 take place on the one hand, will check the validity of physical channel, this machine network interface card place on the other hand, promptly is generation incident e6 or incident e7 on earth.
(1) when incident e4 takes place; Promptly in preset time, receive with the share I P address as send the address from the application message of other computer (outside the redundant computer group in miscellaneous equipment and/or the redundant computer group other computer) time (this often occurs in other computer and has successfully disposed after the share I P address); This computer thinks that the share I P address is effectively, thereby is transformed into state S4 (other computer configuration share I P address is effective) by state S3.
(2) when incident e6 takes place; When promptly in preset time, on this machine network interface card, not receiving the application message from other computer (outside the redundant computer group in miscellaneous equipment and/or the redundant computer group other computer); This computer thinks that this machine network interface card belongs to the physical channel and lost efficacy, and promptly is transformed into state S6 (losing efficacy in physical channel, this machine network interface card place) by state S3.
(3) when incident e7 takes place; When promptly in preset time, on this machine network interface card, receiving the application message from other computer (outside the redundant computer group in miscellaneous equipment and/or the redundant computer group other computer); This computer thinks that physical channel, this machine network interface card place is effectively, promptly is transformed into state S7 (physical channel, this machine network interface card place is effective) by state S3.
(4) when incident e18 takes place; Promptly receive with the share I P address as send the address from the application message of other computer (outside the redundant computer group in miscellaneous equipment and/or the redundant computer group other computer) time; This computer thinks that the share I P address is effective (but being to be configured on the network interface card of other computer), therefore is transformed into state S4 (other computer configuration share I P address is effective) by state S3 immediately.
4, state S4 (other computer configuration share I P address is effective)
State S4 is by being come by other state exchange because of incident e4, incident e18.Under state S4, have two kinds of incidents (incident e4 and incident e5) and take place:
(1) when incident e4 takes place; Promptly in preset time, receive with the share I P address as send the address from the application message of other computer (outside the redundant computer group in miscellaneous equipment and/or the redundant computer group other computer) time; This computer thinks that the share I P address that is configured on other computer remains effectively, and it is constant therefore to keep state S4.
(2) when incident e5 takes place; Promptly in preset time, do not receive with the share I P address as send the address from the application message of other computer (outside the redundant computer group in miscellaneous equipment and/or the redundant computer group other computer) time; This computer thinks that the share I P address that is configured on other computer lost efficacy, and therefore is transformed into state S5 (other computer configuration share I P address lost efficacy) by state S4.
5, state S5 (other computer configuration share I P address lost efficacy)
State S5 is converted because of incident e5 by state S4.The function class of function of under state S5, carrying out and execution under state S3 (this machine network interface card does not dispose the share I P address) has not seemingly just been given unnecessary details here.
6, state S6 (losing efficacy in physical channel, this machine network interface card place)
State S6 is converted because of incident e6 by state S3, state S5.Under state S6; Then whether waiting event e8 takes place; Promptly wait for another scheduled time again, in this scheduled time, on this network interface card, still do not receive any message from other computer (outside the redundant computer group in miscellaneous equipment and/or the redundant computer group other computer).When whether waiting event e8 took place, incident e18 might take place.
(1) when incident e8 takes place, think that then physical channel, this machine network interface card place is effectively, therefore be transformed into state S7 (physical channel, this machine network interface card place is effective) by state S6.
(2) when incident e18 takes place; Promptly receive with the share I P address as send the address from the application message of other computer (outside the redundant computer group in miscellaneous equipment and/or the redundant computer group other computer) time; This computer has been thought other computer configuration share I P address; And the share I P address is effectively, therefore, is transformed into state S4 (other computer configuration share I P address is effective) by state S6.
7, state S7 (physical channel, this machine network interface card place is effective)
State S7 is converted because of incident e7 by state S3, state S5, also can be converted because of incident e8 by state S6.Under state S7, this computer should this network interface card as candidate's share I P address the purpose network interface card that will transfer to, i.e. trigger event e9.Enter into S8 (this machine network interface card is as candidate's purpose network interface card) by state S7 then.
8, state S8 (this machine network interface card is as candidate's purpose network interface card)
State S8 is converted because of incident e9 by state S7.Under state S8, should be in redundant computer group other computer message of sending " application share I P address ", promptly trigger event e10 is transformed into state S9 (waiting for " share I that refuses an application P address " message of other computer) then.So state S8 also can be considered to the interim state between incident e9 and the incident 10.
9, state S9 (waiting for " share I that refuses an application P address " message of other computer)
State S9 is converted because of incident e10 by state S8.Under state S9, have four kinds of incidents and take place: incident e11, incident e13, incident e17, incident e18:
(1) when incident e11 takes place, when promptly not receiving " share I that refuses an application P address " message in the given time, the purpose network interface card that this computer will be transferred to this machine network interface card as the share I P address.At this moment, the S10 (this machine network interface card is as the purpose network interface card) that gets the hang of.
(2) when incident e13 takes place; Promptly in that (this scheduled time generally sends to the time that the recipient receives greater than message from transmit leg at the fixed time; But send to the twice of the time that the recipient receives from transmit leg less than message) when receiving the message of " application share I P address " that other computer is sent afterwards; At this moment want trigger event e14, promptly reply the message of " share I that refuses an application P address " to this computer.S12 (continuing to wait for " share I that refuses an application P address " message of other computer) then gets the hang of.Draw for ease among Fig. 1, an interim state S11 is set between incident e13 and incident e14.
(3) when incident e17 takes place, when receiving " share I that refuses an application P address " message in the given time, this computer just is transformed into state S3 (this machine network interface card does not dispose the share I P address) by state S9.
(4) when incident e18 takes place; Promptly receive with the share I P address as send the address from the application message of other computer (outside the redundant computer group in miscellaneous equipment and/or the redundant computer group other computer) time; This computer has been thought other computer configuration share I P address; And the share I P address is effectively, therefore, is transformed into state S4 (other computer configuration share I P address is effective) by state S9.
10, state S10 (this machine network interface card is as the purpose network interface card)
State S10 is converted because of incident e11 by state S9, state S12.Under state S10, this computer is trigger event e12 immediately, and promptly configuration share I P address on candidate's purpose network interface card enters into state S1 (this machine network interface card configuration share I P address is effective) then.
11, state S11
In state S9, having described state S11 is the interim state between incident e13 and the incident e14.
12, state S12 (continuing to wait for " share I that refuses an application P address " message of other computer)
State S12 by state S9 because of incident e13 is transformed into interim state S11, be transformed because of incident e14 again.State S12 and state S9 are similar, and unique difference is exactly when incident e13 takes place, and being left intact, it is constant still to keep state S12.
13, state S13
In state S1, having described state S13 is the interim state between incident e15 and the incident e16.

Claims (7)

1. a sharing IP address of redundant computer group detects the method for transfer automatically, it is characterized in that this method may further comprise the steps:
(1) validity to the share I P address detects;
(2) validity to physical channel, candidate's purpose network interface card place detects;
(3) transfer to the purpose network interface card to the share I P address from the network interface card of the physical channel of inefficacy;
The validity to physical channel, candidate's purpose network interface card place in the described step (2) detects and may further comprise the steps:
(b1) the current computer that does not dispose the share I P address detects the validity of physical channel, this machine network interface card place and often carries out, or just carries out after the share I P address lost efficacy thinking;
(b2) the current computer that does not dispose the share I P address; If in preset time, on this machine network interface card, do not receive from other computer application message, the so current computer that does not dispose the share I P address thinks that this network interface card belongs to physical channel and lost efficacy;
(b3) the current computer that does not dispose the share I P address; If in preset time, on this machine network interface card, receive from other computer application message, the so current computer that does not dispose the share I P address thinks that this physical channel, network interface card place is effective;
(b4) the current computer that does not dispose the share I P address; If think that this machine network interface card belongs to the physical channel and lost efficacy; Wait for another scheduled time so again; If in this scheduled time, on this network interface card, still do not receive any message from other computer, the so current computer that does not dispose the share I P address thinks that this physical channel, network interface card place is effective;
Transferring to the purpose network interface card to the share I P address from the network interface card of the physical channel of losing efficacy and may further comprise the steps in the described step (3):
(c1) the current computer that does not dispose the share I P address, if think that the share I P address lost efficacy, and physical channel, the network interface card of this machine place is effectively, so this network interface card as candidate's share I P address the purpose network interface card that will transfer to;
(c2) the current computer that does not dispose the share I P address; If think that the share I P address lost efficacy; And this machine have the candidate the share I P address the purpose network interface card that will transfer to; The message that then other computer sends " application share I P address " in redundant computer group if do not receive " share I that refuses an application P address " message in the given time, disposes the share I P address so on candidate's purpose network interface card; Be that the share I P address is transferred on this candidate's the purpose network interface card, this computer also just becomes the computer of configuration share I P address;
(c3) the current computer that does not dispose the share I P address; Send after the message of " application share I P address " at other computer in redundant computer group; If receive the message of " application share I P address " that other computer is sent at the fixed time; Should reply the message of " share I that refuses an application P address " so to this computer; If receive the message of " application share I P address " that other computer is sent at the fixed time, do not reply the message of " share I that refuses an application P address " so to this computer;
(c4) computer of current configuration share I P address if receive the message of " application share I P address " that other computer is sent, is replied the message of " share I that refuses an application P address " so to this computer.
2. sharing IP address of redundant computer group according to claim 1 detects the method for transfer automatically, it is characterized in that, the validity to the share I P address in the described step (1) detects and comprises:
(a1) computer of the current configuration share I P address validity to the share I P address is detected;
(a2) validity of the current computer that does not dispose the share I P address to the share I P address is detected.
3. sharing IP address of redundant computer group according to claim 2 detects the method for transfer automatically; It is characterized in that the computer of current configuration share I P address is detected the validity of share I P address in the described step (a1) may further comprise the steps:
(a1-1) computer of current configuration share I P address; If in preset time, receive from other computer application message as receiver address with the share I P address, the computer of so current configuration share I P address thinks that the share I P address is effective;
(a1-2) computer of current configuration share I P address; If in preset time, do not receive from other computer application message as receiver address with the share I P address, the computer of so current configuration share I P address thinks that the share I P address lost efficacy;
(a1-3) computer of current configuration share I P address; If think that the share I P address lost efficacy, then delete the share I P address from the network interface card at its place, if this network interface card only disposed an IP address originally; It is the share I P address; Then should be this network interface card other predetermined IP address is set, after this, this computer also just becomes the computer that does not dispose the share I P address.
4. sharing IP address of redundant computer group according to claim 2 detects the method for transfer automatically; It is characterized in that the current computer that does not dispose the share I P address is detected the validity of share I P address in the described step (a2) may further comprise the steps:
(a2-1) the current computer that does not dispose the share I P address; If in preset time, receive with the share I P address as send the address from other computer application message, the so current computer that does not dispose the share I P address thinks that the share I P address is effective;
(a2-2) the current computer that does not dispose the share I P address; If in preset time, do not receive with the share I P address as send the address from other computer application message, the so current computer that does not dispose the share I P address thinks that the share I P address lost efficacy.
5. sharing IP address of redundant computer group according to claim 1 detects the method for transfer automatically; It is characterized in that; Described step (c2) if in receive " share I that refuses an application P address " message in the given time, explain that other computer applies for the share I P address or disposed the share I P address than this machine is more Zao; If just receive " share I that refuses an application P address " message at the fixed time, explain that so other computer is than the more late application of this machine share I P address.
6. sharing IP address of redundant computer group according to claim 1 detects the method for transfer automatically; It is characterized in that; " scheduled time " in the described step (c3) greater than the message of " application share I P address " from sending to the time that the recipient receives, and less than the message of " application share I P address " two times from time of sending to the recipient and receiving.
7. detect the method for transfer according to claim 1,3 or 4 described sharing IP address of redundant computer group automatically, it is characterized in that, described other computer is other computer in miscellaneous equipment and/or the redundant computer group outside the redundant computer group.
CN2009101949643A 2009-09-01 2009-09-01 Method for automatically detecting and transferring sharing IP address of redundant computer group Active CN101662397B (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN2009101949643A CN101662397B (en) 2009-09-01 2009-09-01 Method for automatically detecting and transferring sharing IP address of redundant computer group

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN2009101949643A CN101662397B (en) 2009-09-01 2009-09-01 Method for automatically detecting and transferring sharing IP address of redundant computer group

Publications (2)

Publication Number Publication Date
CN101662397A CN101662397A (en) 2010-03-03
CN101662397B true CN101662397B (en) 2012-11-14

Family

ID=41790203

Family Applications (1)

Application Number Title Priority Date Filing Date
CN2009101949643A Active CN101662397B (en) 2009-09-01 2009-09-01 Method for automatically detecting and transferring sharing IP address of redundant computer group

Country Status (1)

Country Link
CN (1) CN101662397B (en)

Families Citing this family (2)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN107104859B (en) * 2017-06-30 2021-05-18 联想(北京)有限公司 Method and device for detecting network card of electronic equipment
CN111314148B (en) 2020-02-26 2021-06-01 卡斯柯信号有限公司 Redundant network IP intelligent switching method and system based on redundant computer

Citations (4)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
WO2004028102A1 (en) * 2002-09-19 2004-04-01 Cisco Technology, Inc Ip redundancy with improved failover notification
CN1607772A (en) * 2003-10-14 2005-04-20 华为技术有限公司 Method for realizing data transfer backup through address interpretation protocol messages
CN101047487A (en) * 2007-04-24 2007-10-03 中控科技集团有限公司 Method and system for solving equipment redundant in industrial control network
CN101051951A (en) * 2006-05-29 2007-10-10 华为技术有限公司 Method and device for securing server connection reliability

Patent Citations (4)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
WO2004028102A1 (en) * 2002-09-19 2004-04-01 Cisco Technology, Inc Ip redundancy with improved failover notification
CN1607772A (en) * 2003-10-14 2005-04-20 华为技术有限公司 Method for realizing data transfer backup through address interpretation protocol messages
CN101051951A (en) * 2006-05-29 2007-10-10 华为技术有限公司 Method and device for securing server connection reliability
CN101047487A (en) * 2007-04-24 2007-10-03 中控科技集团有限公司 Method and system for solving equipment redundant in industrial control network

Also Published As

Publication number Publication date
CN101662397A (en) 2010-03-03

Similar Documents

Publication Publication Date Title
EP2798782B1 (en) Technique for handling a status change in an interconnect node
EP3142011B9 (en) Anomaly recovery method for virtual machine in distributed environment
CN106533805B (en) Micro-service request processing method, micro-service controller and micro-service architecture
CN103201982A (en) Managing MAC moves with secure port groups
CN102006188B (en) Path back switching method and device in transport network
CN110581852A (en) Efficient mimicry defense system and method
CN103051534A (en) Message processing method and device
CN103139818A (en) Method, system, area of effect (AOE), always on line (AOG) and terminal of maintaining long connection in acquisition of signal (AOS)
CN101989933A (en) Method and system for failure detection
CN102970167A (en) Method for detecting faults of network nodes in cluster system, network node and system
CN102591717A (en) Method, device and system for processing service information of access device and virtual device
CN104580107A (en) Hostile attack detection method and controller
CN101662397B (en) Method for automatically detecting and transferring sharing IP address of redundant computer group
CN107645502A (en) A kind of message detecting method and device
CN103607360A (en) Message processing method, line card and switching equipment
CN103763137A (en) Device configuration connection protective method, system and device
US11159608B2 (en) Method and control node for managing cloud resources in a communications network
CN103051482A (en) Method for isolating and restoring port based on FC (Fiber Channel) switchboard
CN105790985A (en) Data switching method, first device, second device and device
CN102957565A (en) Method and device for processing conflicts of plurality of main equipment
CN101175315B (en) Method and system for updating control mobile station
CN101662351B (en) Method for communication of thermal backup redundant computer with other equipment by redundant network
CN101835205B (en) A kind of wireless terminal and Wireless Internet access method
KR20150104435A (en) Method of performing transition of operation mode for a routing processor
CN103368909A (en) A communication equipment control layer protection apparatus and a communication equipment control layer protection method

Legal Events

Date Code Title Description
C06 Publication
PB01 Publication
C10 Entry into substantive examination
SE01 Entry into force of request for substantive examination
C14 Grant of patent or utility model
GR01 Patent grant