CN103945016B - A kind of method and system of Dynamic Host Configuration Protocol server master-slave redundancy - Google Patents
A kind of method and system of Dynamic Host Configuration Protocol server master-slave redundancy Download PDFInfo
- Publication number
- CN103945016B CN103945016B CN201410145280.5A CN201410145280A CN103945016B CN 103945016 B CN103945016 B CN 103945016B CN 201410145280 A CN201410145280 A CN 201410145280A CN 103945016 B CN103945016 B CN 103945016B
- Authority
- CN
- China
- Prior art keywords
- configuration protocol
- dynamic host
- host configuration
- server
- protocol server
- 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
Links
- 238000000034 method Methods 0.000 title claims abstract description 32
- 230000008569 process Effects 0.000 claims description 7
- 230000009191 jumping Effects 0.000 description 5
- 230000004888 barrier function Effects 0.000 description 3
- 230000008859 change Effects 0.000 description 3
- 230000009471 action Effects 0.000 description 2
- 230000005540 biological transmission Effects 0.000 description 2
- 238000010586 diagram Methods 0.000 description 2
- 230000001360 synchronised effect Effects 0.000 description 2
- 230000006870 function Effects 0.000 description 1
- 230000002452 interceptive effect Effects 0.000 description 1
- 238000012423 maintenance Methods 0.000 description 1
- 230000007246 mechanism Effects 0.000 description 1
- 239000002699 waste material Substances 0.000 description 1
Abstract
Description
Claims (8)
- A kind of 1. method of Dynamic Host Configuration Protocol server redundancy, which is characterized in that the method includes:Main Dynamic Host Configuration Protocol server and spare Dynamic Host Configuration Protocol server start, and the main Dynamic Host Configuration Protocol server and spare Dynamic Host Configuration Protocol server are with sharing IP Location pond;If main Dynamic Host Configuration Protocol server work, main Dynamic Host Configuration Protocol server cooperate with spare Dynamic Host Configuration Protocol server to obtain standby server list;Main Dynamic Host Configuration Protocol server takes the spare DHCP on the standby server list synchronization of acquisition to the standby server list Business device;After main Dynamic Host Configuration Protocol server breaks down, switched over and sentenced by the spare Dynamic Host Configuration Protocol server in the standby server list It is disconnected, switched by the spare Dynamic Host Configuration Protocol server for meeting switching condition and continue to work based on the IP address pond for main Dynamic Host Configuration Protocol server;Wherein, after main Dynamic Host Configuration Protocol server breaks down, the spare Dynamic Host Configuration Protocol server for receiving the standby server list exists The corresponding standby server of standby server list lookup minimum IP address, judges whether itself is the standby server, if It is then main Dynamic Host Configuration Protocol server by itself switching to be;If standby server switching for main Dynamic Host Configuration Protocol server fail, then by standby server list in addition to the standby server Standby server standby server list lookup minimum the corresponding standby server of IP address, until the spare clothes that find Business device successful switch is nothing in main Dynamic Host Configuration Protocol server or standby server list for the standby server of lookup;Main Dynamic Host Configuration Protocol server provides the DHCP leases file generated in service process, DHCP history after work for dhcp client Lease cache file;When main Dynamic Host Configuration Protocol server is in standby server list, DHCP leases file and the DHCP history lease caching for judging to obtain It, will be standby in updated content synchronization to newest standby server list after at least one in file three changes Use Dynamic Host Configuration Protocol server;After the spare Dynamic Host Configuration Protocol server switching in standby server list is main Dynamic Host Configuration Protocol server, also based on DHCP leases text Part, the work of DHCP history leases cache file.
- 2. the method as described in claim 1, which is characterized in that the main Dynamic Host Configuration Protocol server collaboration standby server obtains spare Server list, including:Main Dynamic Host Configuration Protocol server fixed time broadcast heartbeat packet;The spare Dynamic Host Configuration Protocol server for receiving the heartbeat packet of main Dynamic Host Configuration Protocol server broadcast returns to unicast heartbeat to main Dynamic Host Configuration Protocol server Packet;If main Dynamic Host Configuration Protocol server receives the unicast heartbeat packet returned from spare Dynamic Host Configuration Protocol server, by the spare DHCP service Device is stored into standby server list;If main DHCP is returned in preset time without receiving to come to spare Dynamic Host Configuration Protocol server existing in standby server list The unicast heartbeat packet returned, then delete corresponding spare Dynamic Host Configuration Protocol server from the standby server list.
- 3. the method as described in claim 1, which is characterized in that the spare Dynamic Host Configuration Protocol server switching is main Dynamic Host Configuration Protocol server Afterwards, it further includes:The virtual ip address that the main Dynamic Host Configuration Protocol server before the binding switching of main Dynamic Host Configuration Protocol server after switching uses.
- 4. method as claimed in claim 2, which is characterized in that the method further includes:If main Dynamic Host Configuration Protocol server does not work, spare Dynamic Host Configuration Protocol server foundation includes the available server list of own IP address, and Broadcast heartbeat packet;The standby server is received after the heartbeat packet that other standby servers are broadcasted, to broadcast the heartbeat packet it is spare Server returns to unicast heartbeat packet;If standby server receives the unicast heartbeat packet returned from other spare Dynamic Host Configuration Protocol server, by this other it is spare Dynamic Host Configuration Protocol server is stored into the available server list;Spare Dynamic Host Configuration Protocol server judges itself in the corresponding spare Dynamic Host Configuration Protocol server of available server list lookup minimum IP address Whether it is the spare Dynamic Host Configuration Protocol server, if it is, being main Dynamic Host Configuration Protocol server by itself switching;If standby server switching for main Dynamic Host Configuration Protocol server fail, then by available server list in addition to the standby server Standby server available server list lookup minimum the corresponding standby server of IP address, until the spare clothes that find Device successful switch be engaged in as main Dynamic Host Configuration Protocol server;After the heartbeat packet for receiving main Dynamic Host Configuration Protocol server fixed time broadcast, spare Dynamic Host Configuration Protocol server is gone off the air heartbeat packet, to the master Dynamic Host Configuration Protocol server returns to unicast heartbeat packet.
- 5. a kind of Dynamic Host Configuration Protocol server redundant system, which is characterized in that taken the system comprises main Dynamic Host Configuration Protocol server and with main DHCP Business device shares the spare Dynamic Host Configuration Protocol server in IP address pond, wherein,The main Dynamic Host Configuration Protocol server, for spare Dynamic Host Configuration Protocol server after it starts and works, to be cooperateed with to obtain standby server row Table;By the spare Dynamic Host Configuration Protocol server in the standby server list synchronization of acquisition to the standby server list;The spare Dynamic Host Configuration Protocol server, for main Dynamic Host Configuration Protocol server to be cooperateed with to obtain standby server list;Receive main DHCP service The standby server list that device is sent;And after main Dynamic Host Configuration Protocol server breaks down, by spare in standby server list Dynamic Host Configuration Protocol server switches over judgement, when meeting switching condition, switches and continues for main Dynamic Host Configuration Protocol server based on the IP address Pond works, wherein,The spare Dynamic Host Configuration Protocol server, for after judging that main Dynamic Host Configuration Protocol server breaks down, by receiving the spare clothes Be engaged in device list spare Dynamic Host Configuration Protocol server in the corresponding standby server of standby server list lookup minimum IP address, judge from Whether body is the standby server, if it is, being main Dynamic Host Configuration Protocol server by itself switching;And judging standby server Switch when failing for main Dynamic Host Configuration Protocol server, continued by the standby server in standby server list in addition to the standby server In the corresponding standby server of IP address of standby server list lookup minimum, until the standby server successful switch found Be in main Dynamic Host Configuration Protocol server or standby server list without for lookup standby server;The main Dynamic Host Configuration Protocol server is additionally operable to after work provide generation DHCP leases letter in service process for dhcp client Breath, DHCP history lease cache files;And it is gone through in standby server list, DHCP leases information and the DHCP for judging to obtain After at least one in history lease cache file three changes, by updated content synchronization to newest standby server Spare Dynamic Host Configuration Protocol server in list;Spare Dynamic Host Configuration Protocol server in the standby server list is additionally operable to switching as after main Dynamic Host Configuration Protocol server, based on DHCP Lease file and the work of DHCP history leases cache file.
- 6. system as claimed in claim 5, which is characterized in that main Dynamic Host Configuration Protocol server cooperates with acquisition standby with spare Dynamic Host Configuration Protocol server With server list, including:Main Dynamic Host Configuration Protocol server, for fixed time broadcast heartbeat packet;Receive the unicast heartbeat packet returned from spare Dynamic Host Configuration Protocol server Afterwards, which is stored into standby server list;If it is not received by preset time from spare clothes Be engaged in the unicast heartbeat packet that existing spare Dynamic Host Configuration Protocol server returns in device list, then by for spare Dynamic Host Configuration Protocol server from described It is deleted in standby server list;Spare Dynamic Host Configuration Protocol server after receiving the heartbeat packet of main Dynamic Host Configuration Protocol server broadcast, returns single to main Dynamic Host Configuration Protocol server Broadcast heartbeat packet.
- 7. system as claimed in claim 5, which is characterized in thatThe standby server is additionally operable to itself switching after main Dynamic Host Configuration Protocol server, to bind the main Dynamic Host Configuration Protocol server before switching The virtual ip address used.
- 8. system as claimed in claim 6, which is characterized in thatThe spare Dynamic Host Configuration Protocol server is additionally operable to after judging that main Dynamic Host Configuration Protocol server does not work, and is established comprising own IP address Available server list, and broadcast heartbeat packet;It receives after the heartbeat packet that other standby servers are broadcasted, it should to broadcast The standby server of heartbeat packet returns to unicast heartbeat packet;If receive the unicast heartbeat returned from other spare Dynamic Host Configuration Protocol server Packet, then store other spare Dynamic Host Configuration Protocol server into the available server list;In available server list lookup minimum The corresponding spare Dynamic Host Configuration Protocol server of IP address, judges whether itself is the spare Dynamic Host Configuration Protocol server, if it is, itself is switched For main Dynamic Host Configuration Protocol server;And after judging standby server switching for the failure of main Dynamic Host Configuration Protocol server, then by available server Standby server in list in addition to the standby server is corresponding standby in the IP address of available server list lookup minimum With server, until the standby server successful switch found is main Dynamic Host Configuration Protocol server;It is wide to receive main Dynamic Host Configuration Protocol server timing After the heartbeat packet broadcast, spare Dynamic Host Configuration Protocol server is gone off the air heartbeat packet, and unicast heartbeat packet is returned to the main Dynamic Host Configuration Protocol server.
Priority Applications (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
CN201410145280.5A CN103945016B (en) | 2014-04-11 | 2014-04-11 | A kind of method and system of Dynamic Host Configuration Protocol server master-slave redundancy |
Applications Claiming Priority (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
CN201410145280.5A CN103945016B (en) | 2014-04-11 | 2014-04-11 | A kind of method and system of Dynamic Host Configuration Protocol server master-slave redundancy |
Publications (2)
Publication Number | Publication Date |
---|---|
CN103945016A CN103945016A (en) | 2014-07-23 |
CN103945016B true CN103945016B (en) | 2018-07-06 |
Family
ID=51192496
Family Applications (1)
Application Number | Title | Priority Date | Filing Date |
---|---|---|---|
CN201410145280.5A Active CN103945016B (en) | 2014-04-11 | 2014-04-11 | A kind of method and system of Dynamic Host Configuration Protocol server master-slave redundancy |
Country Status (1)
Country | Link |
---|---|
CN (1) | CN103945016B (en) |
Families Citing this family (8)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN105791251B (en) * | 2014-12-26 | 2019-02-05 | 中国移动通信集团公司 | A kind of network service moving method, device and router |
CN104506654B (en) * | 2015-01-08 | 2019-04-19 | 中国联合网络通信集团有限公司 | Cloud computing system and Dynamic Host Configuration Protocol server backup method |
CN105007233B (en) * | 2015-07-13 | 2018-02-27 | 互联网域名系统北京市工程研究中心有限公司 | A kind of method that distribution address is loaded based on Dynamic Host Configuration Protocol server cluster |
CN107291580A (en) * | 2017-05-04 | 2017-10-24 | 复旦大学 | MATLAB software system and method |
CN107995327B (en) * | 2017-12-22 | 2020-07-28 | 盛科网络(苏州)有限公司 | Method for sharing information between DHCP servers in real time based on DHCP message |
CN110365930B (en) * | 2018-04-11 | 2021-07-30 | 视联动力信息技术股份有限公司 | Data processing method and device |
CN109507866A (en) * | 2018-12-07 | 2019-03-22 | 天津津航计算技术研究所 | A kind of double-machine redundancy system and method based on network address drift technology |
CN112769600B (en) * | 2020-12-29 | 2022-08-30 | 新华三技术有限公司 | DHCP escape method, device, equipment and machine readable storage medium |
Family Cites Families (14)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN101060391A (en) * | 2007-05-16 | 2007-10-24 | 华为技术有限公司 | Master and spare server switching method and system and master server and spare server |
CN101090309A (en) * | 2007-07-18 | 2007-12-19 | 杭州华三通信技术有限公司 | Method for implementing DHCP service redundant and DHCP server |
CN101309167B (en) * | 2008-06-27 | 2011-04-20 | 华中科技大学 | Disaster allowable system and method based on cluster backup |
CN101330531B (en) * | 2008-07-31 | 2011-01-19 | 杭州华三通信技术有限公司 | Method for processing DHCP address allocation and DHCP relay |
CN101465862A (en) * | 2009-01-09 | 2009-06-24 | 北京星网锐捷网络技术有限公司 | Method and device for processing switch of authentication business, network appliance and communication system |
CN101695049A (en) * | 2009-11-10 | 2010-04-14 | 杭州华三通信技术有限公司 | Method and device for processing businesses in monitoring system |
CN102064951A (en) * | 2009-11-18 | 2011-05-18 | 中兴通讯股份有限公司 | Method for implementing master and standby DHCP servers |
CN102098354B (en) * | 2011-02-28 | 2014-09-10 | 北京星网锐捷网络技术有限公司 | Method and server for allocating dynamic host configuration protocol (DHCP) addresses |
CN102404146B (en) * | 2011-11-17 | 2014-10-29 | 福建星网锐捷网络有限公司 | Master-slave switching method, network device and DHCP server |
CN102572014B (en) * | 2012-03-07 | 2015-12-02 | 华为终端有限公司 | Message treatment method, device and system |
US20140006568A1 (en) * | 2012-06-28 | 2014-01-02 | Alcatel-Lucent Canada, Inc. | Prioritization based on ip pool and subnet by dhcp |
CN103067206B (en) * | 2012-12-28 | 2016-07-06 | 无锡博欧节能科技有限公司 | Internet of Things is across the distributed full-automatic heat standby server switched system of machine room |
CN103248724A (en) * | 2013-04-19 | 2013-08-14 | 中国(南京)未来网络产业创新中心 | SDN (Software-Defined Networking) controller-based DHCP (Dynamic Host Configuration Protocol) broadcast processing method |
CN103560922A (en) * | 2013-11-18 | 2014-02-05 | 北京特立信电子技术股份有限公司 | Disaster recovery method and system |
-
2014
- 2014-04-11 CN CN201410145280.5A patent/CN103945016B/en active Active
Also Published As
Publication number | Publication date |
---|---|
CN103945016A (en) | 2014-07-23 |
Similar Documents
Publication | Publication Date | Title |
---|---|---|
CN103945016B (en) | A kind of method and system of Dynamic Host Configuration Protocol server master-slave redundancy | |
CN101330531B (en) | Method for processing DHCP address allocation and DHCP relay | |
EP2654268B1 (en) | Address allocation processing method and apparatus | |
EP2648114B1 (en) | Method, system, token conreoller and memory database for implementing distribute-type main memory database system | |
CN105471995B (en) | Extensive Web service group of planes high availability implementation method based on SOA | |
CN101090309A (en) | Method for implementing DHCP service redundant and DHCP server | |
CN102244690B (en) | Address allocation method and system of dynamic host configuration protocol (DHCP) as well as client side and servers of same | |
EP2843910A1 (en) | Address allocation method, device, and system | |
CN101471898B (en) | Protection method, system and virtual access edge node for access network | |
CN104601959A (en) | Video monitoring system and method for rapidly accessing web camera | |
CA2560625A1 (en) | Highly-available blade-based distributed computing system | |
CN109005045A (en) | Active and standby service system and host node fault recovery method | |
EP2888863B1 (en) | Method and apparatus for configuring dhcp client | |
CN110620694B (en) | Client online recovery method and device, electronic equipment and storage medium | |
CN113169895A (en) | N +1 redundancy for virtualization services with low latency failover | |
CN106612339A (en) | Domain name updating method, system and main DNS (Domain Name System) server | |
CN104506372A (en) | Method and system for realizing host-backup server switching | |
CN101217477B (en) | A method, device and router to realize DHCP lease smoothing switching in VRRP backup group | |
CN101577723B (en) | Method for preventing neighbor discovery protocol message attack and device | |
JP2003348136A (en) | Router setting method | |
CN101079800B (en) | A method and system for improving P2P network stability | |
CN111404978B (en) | Data storage method and cloud storage system | |
CN104158694B (en) | The hot spare method and device of DHCPv6 servers | |
CN115499414A (en) | Address allocation method and device | |
CN115460160A (en) | Network communication method, system, storage medium and switch based on Full-Mesh networking |
Legal Events
Date | Code | Title | Description |
---|---|---|---|
C06 | Publication | ||
PB01 | Publication | ||
C10 | Entry into substantive examination | ||
SE01 | Entry into force of request for substantive examination | ||
ASS | Succession or assignment of patent right |
Owner name: INST OF MICROELECTRONICS, C. A. S Free format text: FORMER OWNER: JIANGSU INTERNET OF THINGS RESEARCH + DEVELOMENT CO., LTD. Effective date: 20150624 |
|
C41 | Transfer of patent application or patent right or utility model | ||
TA01 | Transfer of patent application right |
Effective date of registration: 20150624 Address after: 100029 Beijing city Chaoyang District Beitucheng West Road No. 3 Applicant after: Institute of Microelectronics, Chinese Academy of Sciences Address before: 214135 Jiangsu province Wuxi city Wuxi District Road No. 200 China Linghu Sensor Network International Innovation Park building C Applicant before: JIANGSU R & D CENTER FOR INTERNET OF THINGS |
|
C41 | Transfer of patent application or patent right or utility model | ||
TA01 | Transfer of patent application right |
Effective date of registration: 20160113 Address after: 214135 Jiangsu Wuxi District Road No. 200 China Linghu Sensor Network International Innovation Park C building 10 floor Applicant after: JIANGSU ZHONGKE YILIAN COMMUNICATION TECHNOLOGY Co.,Ltd. Address before: 100029 Beijing city Chaoyang District Beitucheng West Road No. 3 Applicant before: Institute of Microelectronics, Chinese Academy of Sciences |
|
GR01 | Patent grant | ||
GR01 | Patent grant | ||
PP01 | Preservation of patent right |
Effective date of registration: 20230905 Granted publication date: 20180706 |
|
PP01 | Preservation of patent right | ||
PD01 | Discharge of preservation of patent |
Date of cancellation: 20240119 Granted publication date: 20180706 |
|
PD01 | Discharge of preservation of patent |