CN113965613A - Dual-computer hot standby processing method, device, equipment and machine readable storage medium - Google Patents

Dual-computer hot standby processing method, device, equipment and machine readable storage medium Download PDF

Info

Publication number
CN113965613A
CN113965613A CN202111148627.8A CN202111148627A CN113965613A CN 113965613 A CN113965613 A CN 113965613A CN 202111148627 A CN202111148627 A CN 202111148627A CN 113965613 A CN113965613 A CN 113965613A
Authority
CN
China
Prior art keywords
rbm
equipment
sctp connection
opposite
sctp
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.)
Withdrawn
Application number
CN202111148627.8A
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.)
New H3C Security Technologies Co Ltd
Original Assignee
New H3C Security Technologies 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 New H3C Security Technologies Co Ltd filed Critical New H3C Security Technologies Co Ltd
Priority to CN202111148627.8A priority Critical patent/CN113965613A/en
Publication of CN113965613A publication Critical patent/CN113965613A/en
Withdrawn legal-status Critical Current

Links

Images

Classifications

    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04LTRANSMISSION OF DIGITAL INFORMATION, e.g. TELEGRAPHIC COMMUNICATION
    • H04L67/00Network arrangements or protocols for supporting network services or applications
    • H04L67/14Session management
    • H04L67/141Setup of application sessions
    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06FELECTRIC DIGITAL DATA PROCESSING
    • G06F11/00Error detection; Error correction; Monitoring
    • G06F11/07Responding to the occurrence of a fault, e.g. fault tolerance
    • G06F11/14Error detection or correction of the data by redundancy in operation
    • G06F11/1402Saving, restoring, recovering or retrying
    • G06F11/1446Point-in-time backing up or restoration of persistent data
    • G06F11/1458Management of the backup or restore process
    • G06F11/1464Management of the backup or restore process for networked environments
    • 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

Landscapes

  • Engineering & Computer Science (AREA)
  • Computer Networks & Wireless Communication (AREA)
  • Signal Processing (AREA)
  • Theoretical Computer Science (AREA)
  • Quality & Reliability (AREA)
  • Physics & Mathematics (AREA)
  • General Engineering & Computer Science (AREA)
  • General Physics & Mathematics (AREA)
  • Hardware Redundancy (AREA)

Abstract

The present disclosure provides a dual-computer hot standby processing method, device, equipment and machine readable storage medium, the method includes: initiating an SCTP connection request to an opposite-end RBM device, and establishing SCTP connection with the opposite-end RBM device responding to the SCTP connection request; checking the consistency of configuration information of a local RBM device and an opposite-end RBM device through an SCTP connection channel; and synchronizing the configuration information of the local RBM equipment and the opposite-end RBM equipment through the SCTP connection channel according to the check result. According to the technical scheme, the RBM backup channel between the RBM equipment is established through the SCTP, the configuration information of the main RBM equipment and the configuration information of the standby RBM equipment are synchronized by using the SCTP channel, and the delivery of the messages on other streams related to one stream cannot be blocked due to the loss of a certain message on one stream.

Description

Dual-computer hot standby processing method, device, equipment and machine readable storage medium
Technical Field
The present disclosure relates to the field of communications technologies, and in particular, to a dual-computer hot standby processing method, apparatus, device, and machine-readable storage medium.
Background
RBM, Remote Backup Group, Remote Backup management; SCTP, Stream Control Transmission Protocol; FW, FireWall.
With the rapid development of cloud computing, enterprises can conveniently access a cloud computing network to acquire resources such as servers, storage, applications and the like, so that the investment cost for constructing IT infrastructure is reduced, and the informatization process is greatly accelerated. The virtual firewall is provided for solving the network resource access control in the virtual computing environment, and solves the network security problem in the virtual environment which cannot be dealt with by the traditional firewall to a certain extent. In the cloud computing network, a dual-computer hot standby state of a main standby backup mode is formed between two firewalls, so that the reliability is improved, and service interruption caused by the failure of one device is prevented.
How to ensure the reliability of the network, especially the uninterrupted transmission of the services in the virtualization environment, becomes a problem that must be solved in the network construction. The gateway device is generally deployed at the exit of the network, and the traffic between the internal and external networks is processed and forwarded through the device. For traditional network devices (such as switches and routers), uninterrupted transmission of services can be ensured only by making redundancy of a two-layer network and backup of routing table entries. In a virtualized environment, the problem that two virtual firewalls span a three-layer network needs to be considered in the dual-machine deployment of the virtual firewalls, and the two virtual firewalls generally cannot be directly connected with the main device and the standby device through a physical interface. Secondly, when the dual-machine deployment is performed, the consistency of the service table item information and the key configuration information between the two devices needs to be ensured. The dual-computer hot standby function provides a special backup channel through the RBM, and is used for backing up state information and configuration information such as conversation and the like between two devices. The method is currently used for bearing information needing interaction between two devices, uses TCP as a transport layer protocol, uses the TCP connection as a control channel to carry out command interaction after the TCP connection is established, and uses a two-layer link as a data channel, and directly carries out transparent transmission on a data message without encapsulating an IP message header so as to solve the problem of hot standby of key information. However, in such TCP connections, a byte loss anywhere in a single byte stream will block the delivery of all data thereafter on the connection until the loss is repaired, relying on a single control channel to detect the availability of the RBM channel, and resulting in poor reliability.
Disclosure of Invention
In view of the above, the present disclosure provides a dual-computer hot standby processing method and apparatus, an electronic device, and a machine-readable storage medium, so as to solve the problem of poor reliability of the RBM backup channel.
The specific technical scheme is as follows:
the present disclosure provides a dual-computer hot standby processing method, which is applied to RBM equipment, and the method includes: initiating an SCTP connection request to an opposite-end RBM device, and establishing SCTP connection with the opposite-end RBM device responding to the SCTP connection request; checking the consistency of configuration information of a local RBM device and an opposite-end RBM device through an SCTP connection channel; and synchronizing the configuration information of the local RBM equipment and the opposite-end RBM equipment through the SCTP connection channel according to the check result.
As a technical solution, the initiating an SCTP connection request to an opposite-end RBM device, and establishing an SCTP connection with the opposite-end RBM device that responds to the SCTP connection request includes: and initiating an SCTP connection request to the RBM equipment at the opposite end, wherein the local RBM equipment at least uses two addresses, and establishes a path with at least two addresses of the RBM equipment at the opposite end responding to the SCTP connection request respectively to form coupling of at least four paths.
As a technical solution, one of the at least four coupled paths is used to synchronize configuration information with an opposite-end RBM device, and if the currently used path fails, the currently used path is preferentially switched to a path with a fixed local RBM device address.
As a technical solution, if all of the at least four paths fail due to failure, the local RBM device is disconnected from the peer RBM device.
The present disclosure also provides a dual-computer hot standby processing apparatus, which is applied to RBM equipment, and the apparatus includes: the SCTP connection module is used for responding to the SCTP connection request and establishing SCTP connection with the RBM equipment of the opposite terminal; the checking module is used for checking the consistency of the configuration information of the local RBM equipment and the opposite-end RBM equipment through the SCTP connecting channel; and the synchronization module is used for synchronizing the configuration information of the local RBM equipment and the opposite-end RBM equipment through the SCTP connection channel according to the checking result.
As a technical solution, the initiating an SCTP connection request to an opposite-end RBM device, and establishing an SCTP connection with the opposite-end RBM device that responds to the SCTP connection request includes: and initiating an SCTP connection request to the RBM equipment at the opposite end, wherein the local RBM equipment at least uses two addresses, and establishes a path with at least two addresses of the RBM equipment at the opposite end responding to the SCTP connection request respectively to form coupling of at least four paths.
As a technical solution, one of the at least four coupled paths is used to synchronize configuration information with an opposite-end RBM device, and if the currently used path fails, the currently used path is preferentially switched to a path with a fixed local RBM device address.
As a technical solution, if all of the at least four paths fail due to failure, the local RBM device is disconnected from the peer RBM device.
The present disclosure also provides an electronic device, which includes a processor and a machine-readable storage medium, where the machine-readable storage medium stores machine-executable instructions capable of being executed by the processor, and the processor executes the machine-executable instructions to implement the aforementioned dual-computer hot-standby processing method.
The present disclosure also provides a machine-readable storage medium storing machine-executable instructions that, when invoked and executed by a processor, cause the processor to implement the aforementioned dual hot-standby processing method.
The technical scheme provided by the disclosure at least brings the following beneficial effects:
and establishing an RBM backup channel between RBM equipment through SCTP, and synchronizing configuration information of the main RBM equipment and the standby RBM equipment by using the SCTP channel, so that the delivery of messages on other streams related to one stream cannot be blocked by the loss of a certain message on one stream.
Drawings
In order to more clearly illustrate the embodiments of the present disclosure or the technical solutions in the prior art, the drawings needed to be used in the description of the embodiments of the present disclosure or the prior art will be briefly described below, it is obvious that the drawings in the following description are only some embodiments described in the present disclosure, and other drawings can be obtained by those skilled in the art according to the drawings of the embodiments of the present disclosure.
Fig. 1 is a flowchart of a dual-server hot-standby processing method according to an embodiment of the disclosure;
fig. 2 is a structural diagram of a dual-processor hot-standby processing apparatus according to an embodiment of the present disclosure;
fig. 3 is a hardware configuration diagram of an electronic device in an embodiment of the present disclosure.
Detailed Description
The terminology used in the embodiments of the present disclosure is for the purpose of describing particular embodiments only and is not intended to be limiting of the disclosure. As used in this disclosure and the claims, the singular forms "a", "an", and "the" are intended to include the plural forms as well, unless the context clearly indicates otherwise. It should also be understood that the term "and/or" as used herein is meant to encompass any and all possible combinations of one or more of the associated listed items.
It is to be understood that although the terms first, second, third, etc. may be used herein to describe various information in the embodiments of the present disclosure, such information should not be limited by these terms. These terms are only used to distinguish one type of information from another. For example, first information may also be referred to as second information, and similarly, second information may also be referred to as first information, without departing from the scope of the present disclosure. Depending on the context, moreover, the word "if" as used may be interpreted as "at … …" or "when … …" or "in response to a determination".
In one scheme, the dual-computer hot standby function provides a special backup Channel through an RBM, a Control Channel (Control Channel) of the dual-computer hot standby function uses a TCP as a transport layer protocol, and after a TCP connection is established, a main device and a standby device interact with an RBM message through the RBM Channel; and the Data Channel (Data Channel) uses a two-layer transparent transmission mode, and the driving module directly transmits the Data message to the opposite end without packaging an IP head. In the cloud security field, the virtual FW dual-computer system is basically impossible to connect in a manner similar to physical connection, so that communication is inevitably required to be carried out through encapsulation of a bearing layer, the existing data channel message format has no IP message header, and the direct processing is driven between directly connected physical walls and can be normally used; however, in cloud security applications, a virtual firewall may need to span multiple virtual networks, and it is impossible to directly drive processing between layers, so that a manner of directly transmitting data through a data channel is very limited, and improvement is needed. The single control channel of the scheme has limitations, the control channel adopts a TCP protocol, the types of the messages which can be transmitted comprise an operation state message of a remote backup group, a consistency check message, a message of synchronous configuration information and the like, if the TCP protocol of the control channel is blocked or vibrates, the dual-computer hot standby system cannot work normally and is changed into two isolated systems, namely the two isolated systems are unstable and are easy to cause problems, and the data channel can only transmit hot standby or transparent two-layer messages and cannot participate in the forwarding of the control messages, so the single control channel has great limitations. In the aspects of reliability and fault detection of the scheme, a fault of a certain device in the dual-computer system is judged only by depending on the detection of a single control channel, false alarm is easily caused if port oscillation occurs, and secondly, the current dual-computer state, namely link fault or failure of opposite-end equipment and the like, cannot be accurately judged basically if the single control channel fails. This approach has design deficiencies.
In view of the above, the present disclosure provides a dual-computer hot standby processing method and apparatus, an electronic device, and a machine-readable storage medium, so as to solve the problem of poor reliability of the RBM backup channel.
Specifically, the technical scheme is as follows.
In one embodiment, the present disclosure provides a dual-computer hot-standby processing method, applied to an RBM device, the method including: initiating an SCTP connection request to an opposite-end RBM device, and establishing SCTP connection with the opposite-end RBM device responding to the SCTP connection request; checking the consistency of configuration information of a local RBM device and an opposite-end RBM device through an SCTP connection channel; and synchronizing the configuration information of the local RBM equipment and the opposite-end RBM equipment through the SCTP connection channel according to the check result.
Specifically, as shown in fig. 1, the method comprises the following steps:
step S11, initiating an SCTP connection request to an opposite-end RBM device, and establishing SCTP connection with the opposite-end RBM device responding to the SCTP connection request;
step S12, checking the consistency of the configuration information of the local RBM equipment and the opposite-end RBM equipment through the SCTP connection channel;
and step S13, synchronizing the configuration information of the local RBM equipment and the opposite-end RBM equipment through the SCTP connection channel according to the checking result.
And establishing an RBM backup channel between RBM equipment through SCTP, and synchronizing configuration information of the main RBM equipment and the standby RBM equipment by using the SCTP channel, so that the delivery of messages on other streams related to one stream cannot be blocked by the loss of a certain message on one stream.
In one embodiment, the initiating an SCTP connection request to an opposite-end RBM device and establishing an SCTP connection with the opposite-end RBM device responding to the SCTP connection request includes: and initiating an SCTP connection request to the RBM equipment at the opposite end, wherein the local RBM equipment at least uses two addresses, and establishes a path with at least two addresses of the RBM equipment at the opposite end responding to the SCTP connection request respectively to form coupling of at least four paths.
In one embodiment, one of the at least four coupled paths is used to synchronize configuration information with the opposite-end RBM device, and if the currently used path fails, the currently used path is preferentially switched to the path with the unchanged address of the local RBM device.
In one embodiment, if all of the at least four paths fail, the local RBM device is decoupled from the peer RBM device.
The embodiment provided by the present disclosure is described by taking an example in which the main RBM device is a local RBM device and the standby RBM device is an opposite-end RBM device. The main RBM equipment and the standby RBM equipment are connected through a plurality of physical links or a plurality of cross-three-layer network channels, and the SCTP runs on the plurality of links and is used for realizing the backup of key configuration information and service table items between the two equipment. Both endpoints of the SCTP protocol determine a association, and both SCTP endpoints of a SCTP association can be configured with multiple IP addresses, such that there are multiple paths between the two endpoints of a single association. Taking the case that the main RBM device uses two IP addresses a1 and a2 and the standby RBM device uses two IP addresses B1 and B2 as an example, the IP addresses configured for SCTP connection on the main RBM device and the standby RBM device are both accessed to the same VLAN, so that four link paths can be established, and thus a coupling includes four paths (Path0, Path1, Path2, and Path3), where one Path can be configured as a preferred Path, such as preferred Path 0. The SCTP packet sent by the master RBM device transport address AQ is sent to the standby RBM device B1 through the preferred Path 0. When the preferred Path fails, the SCTP may automatically switch to another standby Path, and preferentially switch to a Path with a constant transport address on the primary RBM device, for example, switch to a Path1 between a1 and B2, and switch the transport address of the local endpoint again.
The SCTP is used to complete the state consistency detection and the backup of key information between the main equipment and the standby equipment, the RBM module is responsible for collecting the running state and the table items of the characteristics of each module of the safety equipment,
and establishing the SCTP coupling, wherein when an RBM coupling channel is established, the equipment compares the configured maximum value IP _ Max1 of all IP address groups of the local terminal with the maximum value IP _ Max2 of the IP address group of the opposite terminal, the equipment with a larger IP _ Max address is used as a Server, and the equipment with a smaller IP _ Max address is used as a Client. The Client initiates an SCTP connection request to the Server to establish a plurality of SCTP channel paths of the linkage RBM module.
When the dual-computer configuration automatic backup function is started, the RBM module can carry out dual-computer state consistency detection through the SCTP coupling channel. The RBM detects whether the configuration information of the two devices is consistent through the SCTP coupling channel interaction consistency check message, and is used for preventing the situation that the service is not communicated after the main/standby switching due to the inconsistency of the configuration information of the two devices. When the configuration information is inconsistent, the device sends log information to prompt an administrator to perform manual synchronization of the configuration information. The master device and the slave device send consistency check request messages to the slave device and collect the abstract of the self-related module configuration information. After receiving the consistency check request, the standby equipment collects the abstract of the configuration information of the relevant module of the standby equipment, and then encapsulates the abstract into a consistency check message and returns the consistency check message to the main equipment. And after receiving the consistency check message returned by the standby equipment, the main equipment compares the abstract of the configuration information of the main equipment with the abstract of the configuration information of the standby equipment, and if the comparison result is inconsistent, the main equipment outputs the log information.
When the dual-computer configuration automatic backup function is started, the RBM module can perform real-time backup and batch backup through the SCTP coupling channel. The real-time backup, that is, the configuration information newly added, deleted or modified on the main device is backed up to the standby device in real time, so as to ensure the consistency of the changed configuration information on the main device and the standby device. The batch backup is that all the key configuration information on the main device is backed up to the standby device, and the configuration inconsistent with that on the main device is deleted on the standby device, so that the key configuration information is ensured to be completely consistent on the main device and the standby device. After the automatic backup function of the configuration information is started, the main device immediately carries out one-time batch backup on the existing key configuration information, and then newly added, deleted or modified configuration information is backed up in real time. After the automatic backup function of the configuration information is started, the equipment is triggered to perform batch backup when the SCTP coupling is successfully established for the first time, the equipment is restarted or the process is restarted.
Based on the SCTP coupling path, the service table entry information generated on the main equipment can be backed up to the standby equipment in real time, and the problem of service interruption caused by the missing of the service table entry on the standby equipment when the main equipment and the standby equipment are switched is avoided. For each dynamically generated connection, a session entry corresponds to the device that needs to perform state detection on the packet. The main device creates a plurality of session table items in the process of processing the service; and the standby equipment does not pass through the message, so that a session table entry is not created. The real-time backup function of the service table entry is realized through the SCTP coupling path, the main device can backup the session table entry to the standby device in real time, and after the main device and the standby device are switched, the subsequent service message which is connected can keep the service uninterrupted by matching the session table entry backed up. The safety business table item for basically supporting hot standby comprises the following steps: session table entries, session association table entries, NAT port block table entries and service table entries generated by each security service module itself.
The multiple link channels monitor the connectivity of the links based on the keep-alive mechanism of the SCTP protocol itself. When the keep-alive mechanism of the SCTP detects that the link is disconnected, the RBM connection channel is disconnected; if one SCTP channel has keep-alive channel, then RBM channel works normally and sends the log of link failure of other channels. If all SCTP protocol paths fail, the coupling between the two ends can fail and be disconnected. Therefore, the link detection mechanism based on the SCTP multi-protocol coupling path has higher reliability and higher accuracy than the existing single-channel detection scheme.
In an embodiment, the present disclosure also provides a dual-machine hot-standby processing apparatus, as shown in fig. 2, applied to an RBM device, the apparatus including: the connection module 21 is configured to initiate an SCTP connection request to an opposite-end RBM device, and establish an SCTP connection with the opposite-end RBM device that responds to the SCTP connection request; the checking module 22 is configured to check consistency of configuration information of the local RBM device and the peer RBM device through the SCTP connection channel; and the synchronizing module 23 is configured to synchronize configuration information of the local RBM device and the peer RBM device through the SCTP connection channel according to the check result.
In one embodiment, the initiating an SCTP connection request to an opposite-end RBM device and establishing an SCTP connection with the opposite-end RBM device responding to the SCTP connection request includes: and initiating an SCTP connection request to the opposite-end RBM equipment, wherein the local RBM equipment establishes a path with at least two addresses of the opposite-end RBM equipment responding to the SCTP connection request respectively by using the at least two addresses, and forms coupling of at least four paths.
In one embodiment, one of the at least four coupled paths is used to synchronize configuration information with the opposite-end RBM device, and if the currently used path fails, the currently used path is preferentially switched to the path with the unchanged address of the local RBM device.
In one embodiment, if all of the at least four paths fail, the local RBM device is decoupled from the peer RBM device.
The device embodiments are the same or similar to the corresponding method embodiments and are not described herein again.
In an embodiment, the present disclosure provides an electronic device, including a processor and a machine-readable storage medium, where the machine-readable storage medium stores machine-executable instructions capable of being executed by the processor, and the processor executes the machine-executable instructions to implement the foregoing dual-computer hot-standby processing method, and from a hardware level, a schematic diagram of a hardware architecture may be as shown in fig. 3.
In one embodiment, the present disclosure provides a machine-readable storage medium having stored thereon machine-executable instructions that, when invoked and executed by a processor, cause the processor to implement the aforementioned dual hot-standby processing method.
Here, a machine-readable storage medium may be any electronic, magnetic, optical, or other physical storage device that can contain or store information such as executable instructions, data, and so forth. For example, the machine-readable storage medium may be: a RAM (random Access Memory), a volatile Memory, a non-volatile Memory, a flash Memory, a storage drive (e.g., a hard drive), a solid state drive, any type of storage disk (e.g., an optical disk, a dvd, etc.), or similar storage medium, or a combination thereof.
The systems, devices, modules or units described in the above embodiments may be implemented by a computer chip or an entity, or by a product with certain functions. A typical implementation device is a computer, which may take the form of a personal computer, laptop computer, cellular telephone, camera phone, smart phone, personal digital assistant, media player, navigation device, email messaging device, game console, tablet computer, wearable device, or a combination of any of these devices.
For convenience of description, the above devices are described as being divided into various units by function, and are described separately. Of course, the functionality of the various elements may be implemented in the same one or more software and/or hardware implementations in practicing the disclosure.
As will be appreciated by one skilled in the art, embodiments of the present disclosure may be provided as a method, system, or computer program product. Accordingly, the present disclosure may take the form of an entirely hardware embodiment, an entirely software embodiment or an embodiment combining software and hardware aspects. Furthermore, embodiments of the present disclosure may take the form of a computer program product embodied on one or more computer-usable storage media (including, but not limited to, disk storage, CD-ROM, optical storage, and so forth) having computer-usable program code embodied therein.
The present disclosure is described with reference to flowchart illustrations and/or block diagrams of methods, apparatus (systems), and computer program products according to embodiments of the disclosure. It will be understood that each flow and/or block of the flow diagrams and/or block diagrams, and combinations of flows and/or blocks in the flow diagrams and/or block diagrams, can be implemented by computer program instructions. These computer program instructions may be provided to a processor of a general purpose computer, special purpose computer, embedded processor, or other programmable data processing apparatus to produce a machine, such that the instructions, which execute via the processor of the computer or other programmable data processing apparatus, create means for implementing the functions specified in the flowchart flow or flows and/or block diagram block or blocks.
Furthermore, these computer program instructions may also be stored in a computer-readable memory that can direct a computer or other programmable data processing apparatus to function in a particular manner, such that the instructions stored in the computer-readable memory produce an article of manufacture including instruction means which implement the function specified in the flowchart flow or flows and/or block diagram block or blocks.
These computer program instructions may also be loaded onto a computer or other programmable data processing apparatus to cause a series of operational steps to be performed on the computer or other programmable apparatus to produce a computer implemented process such that the instructions which execute on the computer or other programmable apparatus provide steps for implementing the functions specified in the flowchart flow or flows and/or block diagram block or blocks.
As will be appreciated by one skilled in the art, embodiments of the present disclosure may be provided as a method, system, or computer program product. Accordingly, the present disclosure may take the form of an entirely hardware embodiment, an entirely software embodiment or an embodiment combining software and hardware aspects. Furthermore, the present disclosure may take the form of a computer program product embodied on one or more computer-usable storage media (which may include, but is not limited to, disk storage, CD-ROM, optical storage, and the like) having computer-usable program code embodied therein.
The above description is only an embodiment of the present disclosure, and is not intended to limit the present disclosure. Various modifications and variations of this disclosure will be apparent to those skilled in the art. Any modification, equivalent replacement, improvement, etc. made within the spirit and principle of the present disclosure should be included in the scope of the claims of the present disclosure.

Claims (10)

1. A dual-computer hot standby processing method is applied to RBM equipment, and the method comprises the following steps:
initiating an SCTP connection request to an opposite-end RBM device, and establishing SCTP connection with the opposite-end RBM device responding to the SCTP connection request;
checking the consistency of configuration information of a local RBM device and an opposite-end RBM device through an SCTP connection channel;
and synchronizing the configuration information of the local RBM equipment and the opposite-end RBM equipment through the SCTP connection channel according to the check result.
2. The method of claim 1, wherein the initiating an SCTP connection request to a peer RBM device and establishing an SCTP connection with the peer RBM device responding to the SCTP connection request comprises:
and initiating an SCTP connection request to the RBM equipment at the opposite end, wherein the local RBM equipment at least uses two addresses, and establishes a path with at least two addresses of the RBM equipment at the opposite end responding to the SCTP connection request respectively to form coupling of at least four paths.
3. The method as recited in claim 2, wherein the configuration information is synchronized with the peer RBM device using one of the at least four coupled paths, and if the currently used path fails, the path is preferentially switched to a path with an unchanged local RBM device address.
4. The method as recited in claim 2, wherein the local RBM device is decoupled from the peer RBM device if all of the at least four paths fail.
5. A dual-computer hot standby processing device is applied to RBM equipment, and the device comprises:
the SCTP connection module is used for responding to the SCTP connection request and establishing SCTP connection with the RBM equipment of the opposite terminal;
the checking module is used for checking the consistency of the configuration information of the local RBM equipment and the opposite-end RBM equipment through the SCTP connecting channel;
and the synchronization module is used for synchronizing the configuration information of the local RBM equipment and the opposite-end RBM equipment through the SCTP connection channel according to the checking result.
6. The apparatus of claim 5, wherein the initiating an SCTP connection request to the peer RBM device and establishing an SCTP connection with the peer RBM device responding to the SCTP connection request comprises:
and initiating an SCTP connection request to the opposite-end RBM equipment, wherein the local RBM equipment establishes a path with at least two addresses of the opposite-end RBM equipment responding to the SCTP connection request respectively by using the at least two addresses, and forms coupling of at least four paths.
7. The apparatus of claim 6, wherein configuration information is synchronized with a peer RBM device using one of the at least four coupled paths, and wherein if a currently used path fails, a switch is preferentially made to a path with an unchanged address of a local RBM device.
8. The apparatus of claim 6, wherein the local RBM device is decoupled from the peer RBM device if all of the at least four paths fail.
9. An electronic device, comprising: a processor and a machine-readable storage medium storing machine-executable instructions executable by the processor to perform the method of any one of claims 1 to 4.
10. A machine-readable storage medium having stored thereon machine-executable instructions which, when invoked and executed by a processor, cause the processor to implement the method of any of claims 1-4.
CN202111148627.8A 2021-09-29 2021-09-29 Dual-computer hot standby processing method, device, equipment and machine readable storage medium Withdrawn CN113965613A (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN202111148627.8A CN113965613A (en) 2021-09-29 2021-09-29 Dual-computer hot standby processing method, device, equipment and machine readable storage medium

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN202111148627.8A CN113965613A (en) 2021-09-29 2021-09-29 Dual-computer hot standby processing method, device, equipment and machine readable storage medium

Publications (1)

Publication Number Publication Date
CN113965613A true CN113965613A (en) 2022-01-21

Family

ID=79463062

Family Applications (1)

Application Number Title Priority Date Filing Date
CN202111148627.8A Withdrawn CN113965613A (en) 2021-09-29 2021-09-29 Dual-computer hot standby processing method, device, equipment and machine readable storage medium

Country Status (1)

Country Link
CN (1) CN113965613A (en)

Citations (6)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN1400777A (en) * 2001-07-30 2003-03-05 华为技术有限公司 Method for making transmission of large capacity signalling message between network equipments and its equipment
CN1859376A (en) * 2005-11-16 2006-11-08 华为技术有限公司 Link backup method based on route
CN101237382A (en) * 2007-01-31 2008-08-06 华为技术有限公司 A method and system and network device for synchronizing user data
CN108810942A (en) * 2017-05-05 2018-11-13 中兴通讯股份有限公司 A kind of communication means, equipment and system
CN110049466A (en) * 2019-04-15 2019-07-23 南京邮电大学 A kind of more IP communication means based on traffic flow isomerism
CN112231153A (en) * 2020-09-30 2021-01-15 新华三信息安全技术有限公司 Equipment switching method and network equipment

Patent Citations (6)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN1400777A (en) * 2001-07-30 2003-03-05 华为技术有限公司 Method for making transmission of large capacity signalling message between network equipments and its equipment
CN1859376A (en) * 2005-11-16 2006-11-08 华为技术有限公司 Link backup method based on route
CN101237382A (en) * 2007-01-31 2008-08-06 华为技术有限公司 A method and system and network device for synchronizing user data
CN108810942A (en) * 2017-05-05 2018-11-13 中兴通讯股份有限公司 A kind of communication means, equipment and system
CN110049466A (en) * 2019-04-15 2019-07-23 南京邮电大学 A kind of more IP communication means based on traffic flow isomerism
CN112231153A (en) * 2020-09-30 2021-01-15 新华三信息安全技术有限公司 Equipment switching method and network equipment

Similar Documents

Publication Publication Date Title
US11223514B2 (en) Method and system of a dynamic high-availability mode based on current wide area network connectivity
US10567340B2 (en) Data center system
CN101557317B (en) Active dialogue backup system, equipment and method in dual-server hot-backup network
US9385944B2 (en) Communication system, path switching method and communication device
CN109672619B (en) Method, device and system for processing message
US7197664B2 (en) Stateless redundancy in a network device
WO2021043086A1 (en) Method, device and system for establishing sbfd session
WO2009023996A1 (en) Method for implementing network interconnect via link aggregation
US20190007302A1 (en) Mechanism for Dual Active Detection Link Monitoring in Virtual Switching System with Hardware Accelerated Fast Hello
CN109495345B (en) BFD processing method and network equipment
CN112491720B (en) Smooth upgrading method and system
TW201824826A (en) Method and apparatus for realizing message mirror image of dynamic flow in cloud network environment
WO2019000953A1 (en) Method, device, and system for implementing mux machine
CN113225252B (en) Establishment method, processing method and related equipment for Bidirectional Forwarding Detection (BFD) session
CN113507431B (en) Message management method, device, equipment and machine-readable storage medium
JP6383232B2 (en) Relay system and switch device
CN108270593B (en) Dual-computer hot backup method and system
EP4149086A1 (en) Data sending method, apparatus and system
US20220417136A1 (en) Pce controlled network reliability
KR20200072941A (en) Method and apparatus for handling VRRP(Virtual Router Redundancy Protocol)-based network failure using real-time fault detection
CN113965613A (en) Dual-computer hot standby processing method, device, equipment and machine readable storage medium
CN108282346B (en) Software upgrading method and device
CN113037622B (en) System and method for preventing BFD from vibrating
CN113452585A (en) Communication method and device
CN113286321B (en) Backup management method, device, equipment and machine readable storage medium

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
WW01 Invention patent application withdrawn after publication

Application publication date: 20220121

WW01 Invention patent application withdrawn after publication