CN107888491A - HSB standby systems and the AC double hot standby methods based on two layers of networking VRRP agreements - Google Patents

HSB standby systems and the AC double hot standby methods based on two layers of networking VRRP agreements Download PDF

Info

Publication number
CN107888491A
CN107888491A CN201710828419.XA CN201710828419A CN107888491A CN 107888491 A CN107888491 A CN 107888491A CN 201710828419 A CN201710828419 A CN 201710828419A CN 107888491 A CN107888491 A CN 107888491A
Authority
CN
China
Prior art keywords
standby
hsb
hot
module
group
Prior art date
Legal status (The legal status is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the status listed.)
Pending
Application number
CN201710828419.XA
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.)
SHANGHAI BAUD DATA COMMUNICATION CO Ltd
Original Assignee
SHANGHAI BAUD DATA COMMUNICATION 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 SHANGHAI BAUD DATA COMMUNICATION CO Ltd filed Critical SHANGHAI BAUD DATA COMMUNICATION CO Ltd
Priority to CN201710828419.XA priority Critical patent/CN107888491A/en
Publication of CN107888491A publication Critical patent/CN107888491A/en
Pending legal-status Critical Current

Links

Classifications

    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04LTRANSMISSION OF DIGITAL INFORMATION, e.g. TELEGRAPHIC COMMUNICATION
    • H04L45/00Routing or path finding of packets in data switching networks
    • H04L45/22Alternate routing
    • 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/0663Performing the actions predefined by failover planning, e.g. switching to standby network elements
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04LTRANSMISSION OF DIGITAL INFORMATION, e.g. TELEGRAPHIC COMMUNICATION
    • H04L67/00Network arrangements or protocols for supporting network services or applications
    • H04L67/01Protocols
    • H04L67/10Protocols in which an application is distributed across nodes in the network
    • H04L67/1095Replication or mirroring of data, e.g. scheduling or transport for data synchronisation between network nodes

Abstract

The invention discloses HSB standby systems and the AC double hot standby methods based on two layers of networking VRRP agreements, whole scheme is formed with HSB Service, HSB Group and HSB, wherein HSB Service manage AC clusters, HSB Group realize vrrp examples and dual link backup, and group all apid are notified to be responsible for batch backup to corresponding hsb, HSB and back up in realtime.This case can effectively solve the problem that AC two-node cluster hot backup problems, and it is managed collectively the backup policy on AC by HSB modules, and be supplied to the various interfaces of each module, service, establish backup path to other AC.

Description

HSB standby systems and the AC double hot standby methods based on two layers of networking VRRP agreements
Technical field
The present invention relates to system double-machine standby technology, and in particular to AC double-machine standby technologies.
Background technology
Hot standby (or High Availabitity) based on the two-server in high-availability system is refered in particular in two-node cluster hot backup, because of two machine High Availabitities At home using more, therefore two-node cluster hot backup of gaining the name, two-shipper High Availabitity are divided into by the switching mode in work:Main-standby mode (Active-Standby modes) and double host modes (Active-Active modes).
Main-standby mode refers to that a server is in the state of activation (i.e. Active states) of certain business, another Platform server is in the stand-by state (i.e. Standby states) of the business.
And double host modes refer to two kinds of different business activestandby state (i.e. Active- each other on two-server respectively Standby and Standby-Active states).
In existing AC two-node cluster hot backups scheme, it can only realize that an AC uses a VRRP group, more VRRP can not be corresponded to Group so that it is hot standby to realize multigroup hot standby function, it can not realize and utilize advantage multigroup VRRP.
The content of the invention
For the problems of existing AC double-machine standby technologies, it is necessary to a kind of new AC two-node cluster hot backup schemes.
Therefore, the technical problems to be solved by the invention are to provide a kind of HSB standby systems and based on two layers of networking VRRP The AC double hot standby methods of agreement, realize that an AC corresponds to more VRRP groups, realize the AC two-node cluster hot backups of high reliability.
In order to solve the above-mentioned technical problem, HSB standby systems provided by the invention, including:
HSB service (Hot Spare service) module, for the backup policy being managed collectively on AC, for the master of application program Standby synchrodata provides passage, buffer service;
HSB group (Hot Spare group) module, there is provided corresponding backup policy group, each backup policy group are interior with identical Backup policy;
HSB (hot standby control storehouse) module, is embedded in application program, establishes backup path to other AC, it is standby to carry out batch Part or/and back up in realtime.
Further, the Hot Spare service module can externally be concerned about vrrp active-standby switch action, with integrate this AC with Active and standby related institute is stateful, acts, data.
Further, the Hot Spare service module is in the process space, by socket passages, with other application module or Person's kernel module, establish communication;Cache for the current hot standby state of each module, hot standby data simultaneously, and notify to other The Hot Spare service module of AC in hot standby group, between establishing different AC, the exchange channels of each application module.
Further, the Hot Spare service module is by reading AC ip addresses, same hour hands corresponding to Hot Spare group module To all AC, control passage is all established, the state of the local all hot standby control library modules of interaction, port in the control passage Number.
Further, the Hot Spare group module carries out vrrp examples or/and dual link backup, and by Vrrp group's All APid are notified to corresponding Hot Spare group module.
Further, the Hot Spare group module stores the listening port of HSB application programs, Hot Spare in database Service module corresponds to the listening port of application program, hsb entirely in hot standby group Hot Spare service module corresponding to other AC prison Listen the set of port.
Further, the Hot Spare group module mainly includes groupid, and apid ... }, AC ip;
Wherein, groupid, apid and AC ip are 32 bit length integers, and AC ip are active and standby AC ip, and the entry supplies Hot standby control library module and Hot Spare service module are called by sql.
Further, the hot standby control library module dynamic base, realizes hot standby control library module relevant interface so that should It can be established and joined with the Hot Spare service module of AC where application program by the dynamic base with program or kernel application System, transmission state and data.
Further, it is described it is hot standby control library module by UDP port number be two hot standby each other AC in each process Between establish synchronizing channel.
In order to solve the above-mentioned technical problem, the AC two-node cluster hot backup sides provided by the invention based on two layers of networking VRRP agreements Method, its corresponding relation gathered by binding vrrp groups and ap, by vrrp activestandby state, be AC it is hot standby provide it is active and standby according to According to;It is that the hot standby offers of AC are multigroup hot standby by multigroup vrrp.
Further, the AC double hot standby methods include:
Active and standby negotiation;Active and standby negotiation is carried out by VRRP or dual link capwap agreements by Hot Spare group module;
Active-standby switch notifies;After active-standby switch, hot standby control library module is notified by Hot Spare service module, then by Hot standby control library module notifies each module, application program call back function is adjusted back, to allow the application to obtain current data Corresponding Hot Spare group module active-standby switch message;
Data syn-chronization;The backup path established by hot standby control library module carries out data syn-chronization.
Further, between two hot standby each other AC, Ap is reached the standard grade, Ap is offline, terminal is reached the standard grade, terminal authentication, terminal from Line, database synchronization, state transformation synchronizes caused by active-standby switch event.
Scheme provided by the invention can effectively solve the problem that AC two-node cluster hot backup problems, and it is managed collectively AC by HSB modules On backup policy, and be supplied to the various interfaces of each module, service, establish backup path to other AC.
The server that two-node cluster hot backup scheme provided by the invention can take precautions against caused by individual equipment failure interrupts, and keeps away Having exempted from Single Point of Faliure causes whole network service to interrupt.
Two-node cluster hot backup scheme price material benefit provided by the invention, disposes a set of redundant network more, and two-node cluster hot backup scheme needs By main control device redundancy or load balancing, what cost will be cheap is more.
Two-node cluster hot backup scheme provided by the invention can be implemented hot standby in far distance, and two service equipments are will not be by To the limitation of cable length, server can be so allowed more for flexibility, and can preferably improve security.
Brief description of the drawings
The present invention is further illustrated below in conjunction with the drawings and specific embodiments.
Fig. 1 is the logic diagram of HSB standby systems in the present invention;
Fig. 2 is the general principle figure of AC two-node cluster hot backups in the present invention;
Fig. 3 is graph of a relation of the AC two-node cluster hot backups module in AC systems in the present invention;
Fig. 4 is the flow chart that AC active-standby switch is carried out in the present invention;
Fig. 5 is the flow chart that the hot standby startups of Vrrp are carried out in the present invention;
Fig. 6 is the flow chart that HSB Group establish AP associations in the present invention;
Fig. 7 is the flow chart that each module is hot standby in the present invention.
Embodiment
In order that the technical means, the inventive features, the objects and the advantages of the present invention are easy to understand, tie below Conjunction is specifically illustrating, and the present invention is expanded on further.
It is hot standby to be to be able to complete two tasks:Based on hot standby load balancing and master-slave redundancy.So as in a mould Block work is abnormal, can be directly switch to corresponding redundant module and work on.
Here redundant module is general not in same physical machine, be also not precluded within certainly in same physical machine can Row.
Conventional three kinds of forms of backup:1+1 is hot standby, multimachine load balancing, N+1 cold standbys.
In order to solve the problems of prior art well, the hot reserve scheme that this programme provides, data are carried out Storehouse static configuration and each module, which work, to be configured, and needs to consider configuration in configuration synchronously, can independently go out AP configuration.
Meanwhile this programme provide hot reserve scheme can compatible vrrp is hot standby, dual link is hot standby, AC clusters, application cluster, The logic requirement of N+1 cold standbies, thus asked effectively to solve existing application module exception, equipment complete machine exception, Network Abnormal etc. Topic.
Referring to Fig. 1, it show the composition logic diagram of the HSB standby systems of this programme offer.
As seen from the figure, this HSB standby systems are mainly by HSB service (Hot Standby Service, Hot Spare clothes Business), HSB group (Hot Standby Group, Hot Spare group) and HSB (application program embeds hot standby control storehouse) it is mutual Coordinate and form.
HSB service:The backup policy being responsible on unified management AC.
The HSB service provide passage, buffer service for the active and standby synchrodata of application program.Can externally it close simultaneously Heart vrrp active-standby switch etc. is acted, and this AC stateful to active and standby related institute, action, data can be integrated so as to realize.
HSB group:Backup policy group is provided, the backup policy in each group is identical.For carrying out vrrp examples Or/and dual link backup, and all APid in Vrrp group are notified to corresponding HSB.
HSB:Backup path is established to carry out batch backup or/and back up in realtime.
The HSB is supplied to the various interfaces of each scheduler module, service, and establishes backup path to other AC.
When carrying out AC two-node cluster hot backups configuration based on the HSB standby systems, application distribution formula passage causes each scheduler module There are the passage of oneself and opposite end AC scheduler module to connect so that efficiency highest when intermodule synchronizes, and intermodule Coupling is minimum.
Here established by UDP port number between passage, unified before foundation by HSB service come port number Planning.
In addition, it is necessary to which the event of synchronous regime is included such as when carrying out AC two-node cluster hot backups configuration based on the HSB standby systems Under:
1.Ap reaches the standard grade (non-HSB notices);
2.Ap offline (non-HSB notices);
3. terminal is reached the standard grade (non-HSB notices);
4. terminal authentication (non-HSB notices);
5. terminal is offline (non-HSB notices);
6. database synchronization;
7. active-standby switch.
The HSB backup scenarios formed accordingly can realize in load balancing well, distinguish in logic it is active and standby each other, it is multigroup Differentiation;I.e. if hot standby be divided into multigroup hot standby, that is, there are ap set A and B, they reach the standard grade on ac1 and ac2 respectively, while again Each other as backup ac, then the function of load balancing is completed, again can be active and standby each other.
Detailed description below once, the implementation of AC two-node cluster hot backups is carried out based on above-mentioned HSB standby systems.
It is mutual between hot standby internal module during based on HSB standby systems to carry out AC two-node cluster hot backups configuration referring to Fig. 2 Logic relation picture.
As seen from the figure, this AC two-node cluster hot backups are mainly matched somebody with somebody by tri- HSB Service, HSB Group, HSB hot standby modules Close and realize.
HSB Service therein are responsible for AC clusters, it is hot standby be divided into it is multigroup hot standby, by multigroup hot standby all ac being related to, Referred to as ac clusters, that is, there are ap set A and B, they reach the standard grade on ac1 and ac2 respectively, while again each other as backup ac, then The function of load balancing is completed, again can be active and standby each other;And hsb service are used for coordinating the pass between each active and standby group System.
HSB Service are specifically used for being managed collectively hot standby data, and one HSB Service of operation enters in an equipment Journey.
HSB Service, for all AC, are built firstly the need of AC ip addresses corresponding to the reading HSB Group from configuration Found corresponding control passage.The local all HSB of interaction state, port number information in the control passage, thus help this The HSB of machine finds the HSB port numbers of opposite end, so that HSB establishes communication tunnel (i.e. synchronizing channel or backup path).
HSB Group are responsible for vrrp examples and dual link backup, and group all apid are notified to corresponding hsb.
In database, the listening port of HSB application programs is stored, hsb service correspond to the monitoring end of application program Mouthful, the set of hsb service listening port corresponding to other ac during hsb (hot standby) is whole hot standby group.
The HSB Group are hot standby institutional framework configurations, are existed in database.It mainly includes groupid, Apid ... }, AC ip.
Wherein, groupid, apid and AC ip are 32 bit length integers, and AC ip are active and standby AC ip, and the entry supplies HSB and HSB Service are called by sql.
HSB is responsible for batch backup and backed up in realtime.
This programme realizes hsb relevant interfaces using dynamic base, so that application program or kernel application energy Enough established and contacted by the hsb service of this set dynamic base and Ac where application program, with transmission state and data.
HSB is hot standby entity, and it specifically carries out Path Setup, and the passage is that HSB Service establish communication port, is kept Heartbeat, synchronization, notice etc..
The HSB, it is necessary to take current version, compatible minimum version, is achieved in upgraded version when establishing passage When, compatibility can be realized.
Referring to Fig. 3, it show in the AC two-node cluster hot backup schemes based on such scheme structure hot standby module in AC systems Graph of a relation.
Thus, the corresponding HSB Sync passage of each application, can lay the first stone for cluster, can also avoid socket The mutual data isolation of aspect.
Consistency check callback, primarily to what the dependence for solving each module proposed.It is note to need flow The calling order of each module of volume, after active-standby switch, call each module in sequence, each module oneself as desired, inspection Look into dependence, data consistency.Here Callback is application module to the embedded storehouse of hsb applications, the call back function of registration, For various message, data transfer during will be hot standby to application module.
AP reaches the standard grade callback, and notice AP reaches the standard grade.
It is standby to rise main callback, notify standby rise of each module to lead.
The main standby callback of drop, notify that the main drop of each module is standby.
Synchronous success callback, notify each module synchronization success.
Synchronization failure callback, each module synchronization is notified to fail.
Batch synchronization information callback, batch synchronization information.
Unit information synchronization callback, synchronization unit information.
Consistency check callback, is disposably checked.
In the AC two-node cluster hot backup schemes formed accordingly, by it is active and standby consult, active-standby switch notifies, data syn-chronization this three patrol greatly Function is collected to realize AC two-node cluster hot backups.
1) active and standby negotiation
Give vrrp either dual link capwap or other possible can consult active and standby agreement.
After the startup of Hsb systems, the VRRP groups between good related AC will be configured, active and standby negotiation is completed by VRRP agreements. So that Hsb service are realized by being concerned about vrrp negotiation result and are caused hsb group and vrrp group to realize active and standby shape The Complete Synchronization of state.
2) active-standby switch notifies
, it is necessary to notify to each module after active-standby switch, have and HSB is notified by HSB Service, then notified respectively by HSB Module, call back function.
Hot standby group of standby system prevailing relationship vrrp, the switching of hot standby state.When being in main for hot standby group of vrrp, Hsb service are notified that the hsb control blocks of application program, start to pass to backup ac by data, hsb is passed data to After hsb service, hsb servcie obtain the hsb which ac is the data should be sent on by inquiring about hsb group Service, and send;When switching to standby for hot standby group of vrrp, the hsb service on the ac are notified that application program Hsb control blocks are, it is necessary to receive the main group of data passed over.
3) data syn-chronization
Based on the synchronizing channel of the HSB intermodules established, each intermodule, which is sent, needs synchronous data, and transfers to HSB to bear Duty encapsulation is sent.
The running of the AC two-node cluster hot backup schemes illustratively formed accordingly below.
First, active-standby switch acts
1. main AC is restarted;
Restart in the event of AC, then standby HSB needs to do following action:
Standby HSB:A last data is collected, if there is no back bag in certain time, or link would break, then deletes number According to.
The action that each module needs to do is:Standby AC is notified before switching, does not do any action.
2. standby rise master;
Thus, first carry out standby rise to lead, carrying out consistency check, thus can improve switching efficiency;
Wherein, consistency check is fault-tolerant by considering inside each module oneself.If desired for care terminal table, then have in list item , it is necessary to do data inspection in the case of dependence, it is defined by main table.
It is standby to rise main, it is necessary to which sending masterslave switchover notice to corresponding AP to apcom from HSB (needs by hsb Servcie, by the communication port between ac and ap, generally capwap, issued to ap and standby rise main notification message), on AP Each module is done consistency check and reported.
3. main drop is standby
1) main HSBService notifies each module HSB that main drop is standby, then notifies each module, call back function by HSB.
2) after HSB receives HSB Service notification message, all HSB transmit queues are emptied, each module is closed current Group state machine.
4. data syn-chronization
Data block is synchronous, synchronous apid.
The Synchronization Control block HSB of each module is, it is necessary to give isochronous data transfers to HSB service, each data should There are a synchronous id, this id to be used for identifying which active and standby group the control block belong to.This No. id should select apid, this Sample hsb service can find the corresponding relation with active and standby group in hsb group by apid.
Global data is, it is necessary to be synchronized to all related AC, then fills in apid as 0.
There are following several situations, processing mode differences of the hsb to corresponding data:
1) main HSB receives outgoing data
Module will need synchronous object number to be put into queue, and marks additions and deletions and change.
If ginseng has GROUPid or apid, HSB to search AC addresses and port numbers (channel number) corresponding to them and sent out Bag.
Giving out a contract for a project needs to encapsulate version information, data block number.Data block number can be the key of each module chained list of oneself.
And return to transmission result
2) standby HSB receives outgoing data
Abandon
3) main HSB receives the data that preparation is sent
If data message, then discarding reports an error
If control message, then confirm to send window
4) standby HSB receives the data of main transmission
Notification module have received data
Notify that main AC data receivers are normal, returned data block number, return to key values.
5. backup link is established
The port numbers that HSB Service, HSB Service synchronously communicate between various HSB to each HSB, be easy to HSB it Between interconnect.HSB Service need, by the HSB in each HSB GROUP, as synchronization object, to establish synchronization link.
HSB, wherein need to set HSB Sync, be HSB can with it is corresponding need synchronous HSB between, establish same Walk link.
6.AC active-standby switch-HSB
As shown in figure 4, the flow that this programme carries out AC active-standby switch is as follows:
Ap gets AC addresses and domain zoneid and corresponding priority from dhcp option43, it is then determined that current ink Activestandby state.
Capwap reaches the standard grade, or is capwap dual link active-standby switch.
HSB Sevice search which HSB Group the AP belongs to, if not finding HSB Group, flow terminates, if looking for Arrive, it is vrrp or dual link to judge current group, is that vrrp then obtains active and standby information from vrrp, is that dual link then waits capwap Determine active and standby.
Then HSB Group state is updated, if HSB Group states do not change, flow terminates, and is notified if changing HSB activestandby states change.It is standby that Vrrp flows can just trigger main drop at this moment, and each module is notified that main drop is standby, and each module is closed works as Preceding Group state machine (realizes what upper whole state machine should be open, but corresponding group object need not in fact Change state).
If standby liter master, each module is notified standby liter master, and (state machine should be just open originally for each module status machine recovery , simply corresponding groupid object does not need state change).
The hot standby Booting sequences of 7.Vrrp
As shown in figure 5, the flow that this programme carries out the hot standby startups of Vrrp is as follows:
After AC starts, start VRRP, equipment acquiescence is standby, and current state is determined eventually through vrrp messages.
If in current group, the equipment is main, and notice capwap, portal, each module of database are currently main;
If in current group, the equipment is standby, the main AC currently organized related versions compatibility is obtained, if incompatible Report an error, compatible then notify current group of each module, the equipment is standby, and each module prepares to receive synchrodata.
8.HSB Group establish AP associations.
As shown in fig. 6, the flow that this programme HSB Group establish AP associations is as follows:
The corresponding HSB group of Vrrp group, the AP that capwap reaches the standard grade on main equipment, then for the HSB group's AP gathers.
, it is necessary to judge after AP reaches the standard grade, and set is synchronized to for upper.
One AP of dual link turns into a group, and HSB oneself is synchronous, the AC of another link need it is synchronous this Group information.
Thus just distribution AP to different HSB group groups, if vrrp, then should be configure on group write Dead group id, if dual link, it should also be when configuration, all AP be configured to and write dead single group id.So that all AP have group id.
9. each module is hot standby
As shown in fig. 7, the hot standby flow of each module is as follows in this programme:
If HSB uses CAPWAP binary channels without using VRRP, then when setting, it is only necessary to set an AP A group is set to, each HSB is monitored with a socket, corresponds to one group of opposite end AC to send, destination slogan is all Identical.
After configuration modification, HSB Group configurations are read, calculate opposite end AC passage reference count, then start heartbeat (1. HSB ID keep-alive informations 2. are reported to report all hsb sync channel status), starting HSB Sync, (1. start HSB Sync Listen 2. establishes to all opposite end AC HSB Sync connects 3. 1 separate threads for the operation channel status of packet receiving 4. Machine), overtime thread and waiting list are initialized, judges whether that guarantor is continuous, if not protecting continuous, startup receiving thread, into packet receiving flow; Start and send thread (if not protecting continuous, then be single thread, if protecting what is continued, then can be multithreading).
Then thread waiting signal, package is sent, signal is continued waiting for if not protecting and continuing, continued if protecting, into packet receiving flow.
General principle, principal character and the advantages of the present invention of the present invention has been shown and described above.The technology of the industry Personnel are it should be appreciated that the present invention is not limited to the above embodiments, and the simply explanation described in above-described embodiment and specification is originally The principle of invention, without departing from the spirit and scope of the present invention, various changes and modifications of the present invention are possible, these changes Change and improvement all fall within the protetion scope of the claimed invention.The claimed scope of the invention by appended claims and its Equivalent thereof.

Claims (12)

1.HSB standby systems, it is characterised in that including:
Hot Spare service module, for the backup policy being managed collectively on AC, for application program active and standby synchrodata provide it is logical Road, buffer service;
Hot Spare group module, there is provided corresponding backup policy group, each backup policy group is interior to have identical backup policy;
Hot standby control library module, is embedded in application program, establishes backup path to other AC, carries out batch backup or/and reality When back up.
2. HSB standby systems according to claim 1, it is characterised in that the Hot Spare service module can be externally concerned about Vrrp active-standby switch action, to integrate this AC stateful to active and standby related institute, action, data.
3. HSB standby systems according to claim 1, it is characterised in that the Hot Spare service module in the process space, By socket passages, with other application module or kernel module, communication is established;It is simultaneously the current hot standby shape of each module State, hot standby data cache, and notify the Hot Spare service module to the AC in other hot standby group, between establishing different AC, The exchange channels of each application module.
4. HSB standby systems according to claim 1, it is characterised in that the Hot Spare service module is by reading heat AC ip addresses corresponding to backup group module, while all AC are directed to, control passage is all established, interaction is local in the control passage State, the port numbers of all hot standby control library modules.
5. HSB standby systems according to claim 1, it is characterised in that the Hot Spare group module carries out vrrp examples Or/and dual link backup, and Vrrp group all APid are notified to corresponding Hot Spare group module.
6. HSB standby systems according to claim 1, it is characterised in that the Hot Spare group module is deposited in database The listening port of HSB application programs is stored up, Hot Spare service module corresponds to the listening port of application program, and hsb is entirely in hot standby group The set of the listening port of Hot Spare service module corresponding to other AC.
7. HSB standby systems according to claim 1, it is characterised in that the Hot Spare group module mainly includes Groupid, and apid ... }, AC ip;
Wherein, groupid, apid and AC ip are 32 bit length integers, and AC ip are active and standby AC ip, and the entry heat supply is standby Control library module and Hot Spare service module are called by sql.
8. HSB standby systems according to claim 1, it is characterised in that the hot standby control library module dynamic base, it is real Existing hot standby control library module relevant interface so that application program or kernel application can be by the dynamic bases, and using journey AC Hot Spare service module establishes contact, transmission state and data where sequence.
9. HSB standby systems according to claim 1, it is characterised in that the hot standby control library module passes through udp port Number be two hot standby each other AC in each process between establish synchronizing channel.
10. the AC double hot standby methods based on two layers of networking VRRP agreements, it is characterised in that gathered by binding vrrp groups and ap Corresponding relation, by vrrp activestandby state, being that AC is hot standby provides active and standby foundation;It is the hot standby offers of AC by multigroup vrrp It is multigroup hot standby.
11. AC double hot standby methods according to claim 10, it is characterised in that the AC double hot standby methods include:
Active and standby negotiation;Active and standby negotiation is carried out by VRRP or dual link capwap agreements by Hot Spare group module;
Active-standby switch notifies;After active-standby switch, hot standby control library module is notified by Hot Spare service module, then by hot standby Control library module notifies each module, adjusts back application program call back function, corresponding to allow the application to obtain current data Hot Spare group module active-standby switch message;
Data syn-chronization;The backup path established by hot standby control library module carries out data syn-chronization.
12. the AC double hot standby methods described in claim 10, it is characterised in that between two hot standby each other AC, Ap is reached the standard grade, Ap is offline, terminal is reached the standard grade, terminal authentication, terminal are offline, state transformation caused by database synchronization, active-standby switch event is carried out together Step.
CN201710828419.XA 2017-09-14 2017-09-14 HSB standby systems and the AC double hot standby methods based on two layers of networking VRRP agreements Pending CN107888491A (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN201710828419.XA CN107888491A (en) 2017-09-14 2017-09-14 HSB standby systems and the AC double hot standby methods based on two layers of networking VRRP agreements

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN201710828419.XA CN107888491A (en) 2017-09-14 2017-09-14 HSB standby systems and the AC double hot standby methods based on two layers of networking VRRP agreements

Publications (1)

Publication Number Publication Date
CN107888491A true CN107888491A (en) 2018-04-06

Family

ID=61780653

Family Applications (1)

Application Number Title Priority Date Filing Date
CN201710828419.XA Pending CN107888491A (en) 2017-09-14 2017-09-14 HSB standby systems and the AC double hot standby methods based on two layers of networking VRRP agreements

Country Status (1)

Country Link
CN (1) CN107888491A (en)

Cited By (2)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN109561458A (en) * 2018-11-28 2019-04-02 新华三技术有限公司 A kind of AC backup method and device
CN110333973A (en) * 2018-12-28 2019-10-15 锐捷网络股份有限公司 A kind of method and system of multi-host hot swap

Citations (5)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN101447858A (en) * 2008-01-17 2009-06-03 中兴通讯股份有限公司 Method for realizing synchronous switching of virtual router redundancy protocol in dual-machine hot backup system
CN102137021A (en) * 2011-03-31 2011-07-27 北京傲天动联技术有限公司 Remote redundancy back-up method of access controllers
CN103546308A (en) * 2012-07-17 2014-01-29 中国移动通信集团设计院有限公司 Method, device and system for distributing wireless controller network
CN104185196A (en) * 2013-05-20 2014-12-03 中兴通讯股份有限公司 Wireless controller disaster recovery method and system thereof
CN106790349A (en) * 2016-11-11 2017-05-31 浙江中烟工业有限责任公司 A kind of method that two-node cluster hot backup is realized based on IEEE1394 interfaces

Patent Citations (5)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN101447858A (en) * 2008-01-17 2009-06-03 中兴通讯股份有限公司 Method for realizing synchronous switching of virtual router redundancy protocol in dual-machine hot backup system
CN102137021A (en) * 2011-03-31 2011-07-27 北京傲天动联技术有限公司 Remote redundancy back-up method of access controllers
CN103546308A (en) * 2012-07-17 2014-01-29 中国移动通信集团设计院有限公司 Method, device and system for distributing wireless controller network
CN104185196A (en) * 2013-05-20 2014-12-03 中兴通讯股份有限公司 Wireless controller disaster recovery method and system thereof
CN106790349A (en) * 2016-11-11 2017-05-31 浙江中烟工业有限责任公司 A kind of method that two-node cluster hot backup is realized based on IEEE1394 interfaces

Non-Patent Citations (1)

* Cited by examiner, † Cited by third party
Title
刘源等: "中小企业无线网络灾备设计方案的研究", 《电脑知识与技术》 *

Cited By (4)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN109561458A (en) * 2018-11-28 2019-04-02 新华三技术有限公司 A kind of AC backup method and device
CN109561458B (en) * 2018-11-28 2022-05-27 新华三技术有限公司 AC backup method and device
CN110333973A (en) * 2018-12-28 2019-10-15 锐捷网络股份有限公司 A kind of method and system of multi-host hot swap
CN110333973B (en) * 2018-12-28 2023-04-25 锐捷网络股份有限公司 Multi-machine hot standby method and system

Similar Documents

Publication Publication Date Title
CN103744809B (en) Vehicle information management system double hot standby method based on VRRP
EP1518385B1 (en) Opc server redirection manager
CN108632067B (en) Disaster recovery deployment method, device and system
EP1982447B1 (en) System and method for detecting and recovering from virtual switch link failures
CN102404390B (en) Intelligent dynamic load balancing method for high-speed real-time database
CN100426751C (en) Method for ensuring accordant configuration information in cluster system
CN103117876B (en) The synchronous method and device of user state information
CN101207517B (en) Method for reliability maintenance of distributed enterprise service bus node
CN101163036B (en) Method of implementing two-computer hot backup of network equipment management software
CN105337780B (en) A kind of server node configuration method and physical node
CN106156318B (en) System and method for realizing high availability of multi-node database
CN102880475A (en) Real-time event handling system and method based on cloud computing in computer software system
CN101902360A (en) Method for synchronizing information between master equipment and standby equipment and server
CN104378232A (en) Schizencephaly finding and recovering method and device under main joint and auxiliary joint cluster networking mode
CN110661641B (en) Virtual network function VNF deployment method and device
CN103532753A (en) Double-computer hot standby method based on memory page replacement synchronization
CN110677282B (en) Hot backup method of distributed system and distributed system
CN105721582A (en) Multi-node file backup system
CN109547875A (en) A kind of FC exchange network arbitrary port access design method
CN109194497A (en) Double SRIO Network Backup Systems of software-oriented radio system
CN110704250A (en) Hot backup device of distributed system
CN107888491A (en) HSB standby systems and the AC double hot standby methods based on two layers of networking VRRP agreements
CN105933379A (en) Business processing method, device and system
CN103532764A (en) Multi-machine hot backup method and system
WO1997049034A1 (en) Job taking-over 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

Application publication date: 20180406

RJ01 Rejection of invention patent application after publication