CN110166355B - Message forwarding method and device - Google Patents

Message forwarding method and device Download PDF

Info

Publication number
CN110166355B
CN110166355B CN201810150716.8A CN201810150716A CN110166355B CN 110166355 B CN110166355 B CN 110166355B CN 201810150716 A CN201810150716 A CN 201810150716A CN 110166355 B CN110166355 B CN 110166355B
Authority
CN
China
Prior art keywords
forwarding
forwarding plane
plane
module
forwarding module
Prior art date
Legal status (The legal status is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the status listed.)
Active
Application number
CN201810150716.8A
Other languages
Chinese (zh)
Other versions
CN110166355A (en
Inventor
吴昊
雷霆
陆楷
Current Assignee (The listed assignees may be inaccurate. Google has not performed a legal analysis and makes no representation or warranty as to the accuracy of the list.)
Huawei Technologies Co Ltd
Original Assignee
Huawei 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 Huawei Technologies Co Ltd filed Critical Huawei Technologies Co Ltd
Priority to CN201810150716.8A priority Critical patent/CN110166355B/en
Publication of CN110166355A publication Critical patent/CN110166355A/en
Application granted granted Critical
Publication of CN110166355B publication Critical patent/CN110166355B/en
Active legal-status Critical Current
Anticipated expiration legal-status Critical

Links

Images

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
    • H04L45/00Routing or path finding of packets in data switching networks
    • H04L45/28Routing or path finding of packets in data switching networks using route fault recovery
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04LTRANSMISSION OF DIGITAL INFORMATION, e.g. TELEGRAPHIC COMMUNICATION
    • H04L45/00Routing or path finding of packets in data switching networks
    • H04L45/302Route determination based on requested QoS
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04LTRANSMISSION OF DIGITAL INFORMATION, e.g. TELEGRAPHIC COMMUNICATION
    • H04L45/00Routing or path finding of packets in data switching networks
    • H04L45/56Routing software
    • H04L45/563Software download or update
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04LTRANSMISSION OF DIGITAL INFORMATION, e.g. TELEGRAPHIC COMMUNICATION
    • H04L49/00Packet switching elements
    • H04L49/70Virtual switches

Landscapes

  • Engineering & Computer Science (AREA)
  • Computer Networks & Wireless Communication (AREA)
  • Signal Processing (AREA)
  • Information Transfer Between Computers (AREA)

Abstract

The embodiment of the application discloses a message forwarding method and device, and relates to the technical field of communication. The reliability of the virtual switch for forwarding the data message can be improved, and the complexity of the realization of service software is reduced. The method can comprise the following steps: the first forwarding plane receives and forwards the data message; and under the condition that the preset condition is met, the second forwarding plane starts to receive and forward the data message, and the first forwarding plane stops receiving and forwarding the message.

Description

Message forwarding method and device
Technical Field
The present application relates to the field of communications technologies, and in particular, to a method and an apparatus for forwarding a packet.
Background
A Virtual Switch (vswitch) runs on each server as a software Switch, and connects all Virtual machines on the server, as shown in fig. 1, where the server includes the vswitch, at least one Virtual machine, and a physical port. The vswitch is connected with the virtual machine 1 through a port 1, connected with the virtual machine 2 through a port 2 and connected with the virtual machine 3 through a port 3; port 4 connects physical ports, which are ports through which the server communicates with external networks. vswitch provides basic two-three layer forwarding for services between virtual machines, and between virtual machines and external networks. When vswitch software is upgraded or vswitch fails, data forwarding is stopped, so that the virtual machine cannot communicate, and service interruption is caused.
When vswitch software is upgraded or vswitch is out of order, in order to ensure that services in the virtual machines are not affected, one solution in the prior art is to actively migrate all the virtual machines on the server before the vswitch software is upgraded. As shown in fig. 2, before the vswitch software of the server 1 is upgraded, the virtual machine 1, the virtual machine 2, and the virtual machine 3 on the server 1 are respectively migrated to the server 2, and the vswitch on the server 2 takes over the vswitch operation on the server 1, so as to forward the messages for the services among the virtual machine 1, the virtual machine 2, and the virtual machine 3, and between the virtual machine and the external network. The method has the disadvantages that when the vswitch is upgraded, the virtual machine migration needs to be triggered artificially, and a certain number of backup server hosts need to be prepared; in addition, this method cannot solve network interruption caused by vswitch burst failure.
Another solution in the prior art is to deploy each service in virtual machines of different servers, and implement active-standby redundancy of a service layer by each service. As shown in fig. 2, the virtual machine 1, the virtual machine 2, and the virtual machine 3 on the server 1 are primary virtual machines, the virtual machine 1, the virtual machine 2, and the virtual machine 3 on the server 2 are standby virtual machines, and each service implements real-time primary and standby redundancy of the two virtual machines on the server 1 and the server 2. If vswitch on server 1 fails or needs to be upgraded, the virtual machine on server 2 can be quickly backed up without affecting the service. The method has the disadvantages that each service or application realizes the main backup, which leads to complex development and deployment of the service; data synchronization or backup needs to be realized between the main service and the standby service, and the system overhead is large.
Disclosure of Invention
The embodiment of the application provides a message forwarding method and device, which can improve the reliability of forwarding a data message by a vswitch, reduce the influence of vswitch failure or software upgrading on a virtual machine service, and reduce the complexity of service software implementation.
In order to achieve the above purpose, the embodiment of the present application adopts the following technical solutions:
in a first aspect, the present application provides a method and an apparatus for forwarding a packet.
In a possible design, the application provides a message forwarding method, which is applied to a server, where the server includes a vswitch that includes a first forwarding plane and a second forwarding plane. The method can comprise the following steps: the first forwarding plane receives and forwards the data message; and under the condition that the preset condition is met, the second forwarding plane starts to receive and forward the data message, and the first forwarding plane stops receiving and forwarding the message. Based on the technical scheme, in the operation process of the server, the first forwarding plane serves as a main forwarding plane to receive and forward the data message, the first forwarding plane stops receiving and forwarding the message under the condition that a preset condition is met, the second forwarding plane is switched to the main forwarding plane from a standby forwarding plane, and the data message starts to be received and forwarded. In this way, the following beneficial effects are facilitated to be achieved: the reliability of the data message forwarded by the vswitch can be improved, and the influence of vswitch failure or software upgrading on the virtual machine service is reduced. In addition, in the running process of the server, the service software does not need to be backed up in real time, so that the complexity of realizing the service software is reduced.
Correspondingly, the application also provides a message forwarding device, which can realize the message forwarding method of the first aspect. For example, the apparatus may be a server, which may implement the above method by software, hardware, or by hardware executing corresponding software.
In one possible design, the apparatus may include a processor and a memory. The processor is configured to enable the apparatus to perform the corresponding functions in the method of the first aspect. The memory is for coupling to the processor and holds the necessary program instructions and data for the device. The apparatus may further comprise a communication interface for supporting communication between the apparatus and other network elements. The communication interface may be a transceiver.
In one possible design, the apparatus may include: the system comprises a first forwarding module and a second forwarding module. The first forwarding module is used for receiving and forwarding the data message; the second forwarding module is used for starting to receive and forward the data message under the condition of meeting the preset condition; the first forwarding module is further configured to stop receiving and forwarding the message when a preset condition is met. The beneficial effects of this technical solution can refer to the method provided in the first aspect, and are not described herein again.
Based on any one of the above-mentioned technical solutions, in a possible design, the preset condition includes a failure of the first forwarding plane, or completion of upgrading of the second forwarding plane. Under the condition that the first forwarding plane fails or the vswitch software is upgraded, the second forwarding plane can be triggered to be switched from the standby forwarding plane to the active forwarding plane, and the data message begins to be received and forwarded. Of course, in a specific implementation, the condition for switching the second forwarding plane from the standby forwarding plane to the active forwarding plane is not limited to this.
Under the condition that the first forwarding plane fails, the first forwarding plane stops receiving and forwarding the message; and the second forwarding plane starts to receive and forward the data message when determining that the first forwarding plane has a fault.
Under the condition that the upgrading of the second forwarding plane is completed, the second forwarding plane determines that the upgrading of the second forwarding plane is completed, and then starts to receive and forward the data message; and the first forwarding plane stops receiving and forwarding the message when determining that the second forwarding plane is upgraded.
Based on any one of the technical solutions provided above, in a possible implementation manner, the method for determining, by the second forwarding plane, that the first forwarding plane fails includes: and if the second forwarding plane does not receive the heartbeat message sent by the first forwarding plane within the preset time, determining that the first forwarding plane fails.
Based on any one of the technical solutions provided above, in a possible implementation manner, the method for the second forwarding plane to determine that the upgrade of the second forwarding plane is completed includes: and if the second forwarding plane determines that the running state of the second forwarding plane is updated to be normal, the second forwarding plane is determined to be upgraded.
Based on any one of the technical solutions provided above, in a possible implementation manner, the method for determining, by the first forwarding plane, that the upgrade of the second forwarding plane is completed includes:
the first method is as follows: the vswitch also comprises a control plane, and the first forwarding plane receives a second upgrading instruction sent by the control plane and determines that the second forwarding plane is upgraded; and the second upgrading instruction is used for indicating the first forwarding plane to carry out software upgrading.
The second method comprises the following steps: the first forwarding plane receives first upgrading completion indication information sent by the second forwarding plane, and then the second forwarding plane is determined to be upgraded; and the first upgrading completion indication information is used for indicating that the second forwarding plane is upgraded.
Based on any one of the technical solutions provided above, in a possible design, the service configurations of the first forwarding plane and the second forwarding plane are the same, and the forwarding table entries of the first forwarding plane and the second forwarding plane are the same. In the technical scheme, the service configuration of the main forwarding plane and the standby forwarding plane is the same, and the forwarding table entries of the main forwarding plane and the standby forwarding plane are the same. Under the condition that the primary forwarding plane is unavailable, the standby forwarding plane can be quickly switched to the primary forwarding plane, so that the data message forwarding function of the vswitch is uninterrupted, and the service of the virtual machine is not interrupted.
The present application also provides a computer storage medium having stored thereon computer program instructions which, when run on a computer, cause the computer to perform the method of any of the above aspects.
The present application also provides a computer program product which, when run on a computer, causes the computer to perform the method of any of the above aspects.
Any one of the computer storage media, the computer program product, or the chip system provided above is used for executing the corresponding method provided above, and therefore, the beneficial effects that can be achieved by the computer storage media, the computer program product, or the chip system can refer to the beneficial effects of the corresponding schemes in the corresponding methods provided above, and are not described herein again.
Drawings
FIG. 1 is a schematic diagram of a server in the prior art;
fig. 2 is a schematic diagram of a packet forwarding method in the prior art;
fig. 3 is a schematic structural diagram of a server to which the technical solution provided by the embodiment of the present application is applied;
fig. 4 is a first schematic flow chart of a message forwarding method according to an embodiment of the present application;
fig. 5 is a second flowchart of a message forwarding method according to an embodiment of the present application;
fig. 6 is a third schematic flowchart of a packet forwarding method according to an embodiment of the present application;
fig. 7 is a first schematic structural diagram of a packet forwarding device according to an embodiment of the present application;
fig. 8 is a schematic structural diagram of a message forwarding apparatus according to an embodiment of the present application.
Detailed Description
The following describes in detail a message forwarding method and a message forwarding apparatus provided in the embodiments of the present application with reference to the accompanying drawings.
The term "plurality" herein means two or more. The terms "first" and "second" herein are used to distinguish between different objects, and are not used to describe a particular order of objects. For example, the first forwarding plane and the second forwarding plane are only used for distinguishing different forwarding planes, and the sequence of the forwarding planes is not limited. The term "and/or" herein is merely an association describing an associated object, meaning that three relationships may exist, e.g., a and/or B, may mean: a exists alone, A and B exist simultaneously, and B exists alone.
The technical solution provided by the embodiment of the present application may be applied to the server shown in fig. 3, and the server may include one or more processors. For example, the processor may be an X86 processor, an Advanced Reduced Instruction Set Computer (RISC) Machines (ARM) processor, or other type of processor. The server may be connected to external devices through an input/output (I/O) bus and interface. Buses may include Universal Serial Bus (USB), PCI Express, InfiniBand, Fibre Channel (FC), and other I/O buses. External interfaces include Serial Advanced Technology Attachment (SATA), Serial Attached Small Computer System Interface (SAS), Serial port, and other external interfaces. The bus is connected to one or more network card devices. Each network card device includes one or more network ports. The network card device couples the server to the Ethernet network, so that the server participates in the processing system of the network message. The Network card device may be implemented using a Switch chip (Switch) or other Application Specific Integrated Circuit (ASIC), a general central processing unit (cpu), an embedded Processor, a Network Processor (NP), a Digital Signal Processor (DSP), a Field Programmable Gate Array (FPGA), other processing and computing units, and any combination thereof. The server may be connected to zero, one, or multiple storage devices through a SAS, SATA, or other interface. The server may also be connected to zero, one, or more remote logical storage devices via InfiniBand, FC, or other bus technologies, as well as fibre Channel over Ethernet (FCoE), Small Computer System Interface (Internet Computer System Interface, Internet, iSCSI), or other converged technologies. The storage device holds the operating system, application programs, and data needed for the server to run. The server may also include an output device and an input device. An output device is in communication with the processor and may display information in a variety of ways. For example, the output device may be a Liquid Crystal Display (LCD), a Light Emitting Diode (LED) display device, a Cathode Ray Tube (CRT) display device, a projector (projector), or the like. The input device is in communication with the processor and may receive user input in a variety of ways. For example, the input device may be a mouse, a keyboard, a touch screen device, or a sensing device, among others. The server may also connect to other I/O devices or acceleration devices through InfiniBand, FC, or other bus technologies, as well as FCoE, iSCSI, or other converged technologies. The server in the present application may be a general-purpose server, or a special-purpose device, or may be any other computing device capable of providing computing and processing capabilities, and the embodiments of the present application are not limited in particular.
Wherein at least one virtual machine and a virtual switch run on the processor. A virtual machine is one or more virtual machine instances that a server runs on a business demand. Each server may include a plurality of virtual machine instances, each virtual machine instance provides at least one service, each virtual machine instance includes one or more virtual network cards, and runs a required virtual network function and a virtual network card driving and buffering management module. The virtual switch is responsible for realizing the message switching function between the virtual machines and the network. In some implementations, the virtual switch is connected to a virtual network card of the virtual machine through a pure software implemented virtual Port, such as a Test Access Port (TAP), a Virtio network interface, and other software virtual ports. In other implementations, the virtual switch can offload message switching functions to the network card embedded switch, handling only the necessary control plane functions and/or flow header packet forwarding. In some implementations, the virtual switch runs in a non-Software Defined Network (SDN) environment, implementing only traditional functions such as bridging, routing, etc.; in other implementations, virtual switches are run in an SDN environment, and forwarding rules are installed into such virtual switches through a centralized network controller. In some implementations, the virtual switch is implemented by a virtual machine hypervisor; in other implementations, the virtual switch is implemented by a third party offering.
The virtual switch comprises a control plane, at least two forwarding planes and a plurality of virtual ports, wherein the virtual switch is respectively connected with each virtual machine through the plurality of virtual ports, and at least one virtual port is connected with the network card equipment to realize communication connection among the virtual machines and between the virtual machines and an external network; the control plane is used for controlling and managing each instance in the virtual switch, for example, issuing service configuration for the forwarding plane, configuring forwarding table items, performing data synchronization, and the like; the forwarding plane is used for receiving and forwarding the data message of each virtual machine. It should be noted that the server shown in fig. 3 is only used for example, and those skilled in the art should understand that in the specific implementation process, the server may also include other units, and other instances may also be included in the virtual switch.
As shown in fig. 3, the virtual switch includes a forwarding plane 1 and a forwarding plane 2; in the virtual switch provided in the embodiment of the present application, the forwarding plane 1 and the forwarding plane 2 are in a master-slave relationship, and in a normal operation process of the virtual switch, one forwarding plane is used as a master forwarding plane, and the other forwarding plane is used as a standby forwarding plane, for example, the forwarding plane 1 is the master forwarding plane, and the forwarding plane 2 is the standby forwarding plane. The active forwarding plane receives and forwards the data message from each virtual port of the virtual switch, and the standby forwarding plane does not receive and forward the data message from each virtual port of the virtual switch.
The control plane ensures that the service configuration of the main forwarding plane and the standby forwarding plane is consistent, and the forwarding table entries of the main forwarding plane and the standby forwarding plane are consistent. The Service configuration parameters may include QoS (Quality of Service) parameters, security group parameters, Interface configuration, and other information; the forwarding table entry is information for guiding the processing and flow direction of the data packet, and for example, the forwarding table entry may include a Media Access Control (MAC) table, an Address Resolution Protocol (ARP) table, a routing table, or an openflow table. After the initialization of the virtual switch is completed, the control plane sends the same service configuration information to the main forwarding plane and the standby forwarding plane, and sends the same forwarding table entry to the main forwarding plane and the standby forwarding plane, and in the operation process of the virtual switch, if the service configuration information or the forwarding table entry changes, the control plane simultaneously updates the main forwarding plane and the standby forwarding plane.
An embodiment of the present application provides a packet forwarding method, which is applied to a server shown in fig. 3, and as shown in fig. 4, the method may include S101 to S103:
s101, the first forwarding plane receives and forwards the data message.
The first forwarding plane receives and forwards the data message; the second forwarding plane does not forward the data message; the first forwarding surface is a main forwarding surface; the second forwarding surface is a standby forwarding surface.
In one implementation, the first forwarding plane and the second forwarding plane respectively maintain an identity field for marking whether the forwarding plane is the active forwarding plane or the standby forwarding plane. Illustratively, the first forwarding surface is forwarding surface 1 in fig. 3, and the second forwarding surface is forwarding surface 2 in fig. 3. The hair-forwarding surface 1 is a main hair-forwarding surface; the hair-forwarding face 2 is a standby hair-forwarding face. The identity field of the forwarding plane 1 is primary, and the identity field of the forwarding plane 2 is standby. Forwarding plane 1 receives and forwards data packets from the virtual port of vswitch.
Illustratively, the forwarding plane 1 receives the data packet sent by the virtual machine 1 from the virtual port 1, forwards the data packet to the virtual port 4, and sends the data packet to the external network.
The forwarding plane 2 and the forwarding plane 1 have the same service configuration, and the forwarding table entries of the forwarding plane 2 and the forwarding plane 1 are also the same. The forwarding plane 2 does not receive data packets from any port.
S102, the second forwarding plane starts to receive and forward the data message.
Under the condition that a preset condition is met, the first forwarding surface and the second forwarding surface are subjected to active-standby switching; the second forwarding plane starts to receive and forward the data message; the second forwarding plane is switched to the active forwarding plane.
Illustratively, under the condition that a preset condition is met, the forwarding plane 2 is switched to be a primary forwarding plane, and the identity field is updated to be primary; forwarding plane 2 starts receiving and forwarding data packets from the virtual port of vswitch. Illustratively, the forwarding plane 2 receives the data packet sent by the virtual machine 1 from the port 1, forwards the data packet to the virtual port 4, and sends the data packet to the external network.
Optionally, the preset condition may include that the first forwarding plane fails and the second forwarding plane is upgraded; and under the condition that the first forwarding plane fails or the second forwarding plane is upgraded, the first forwarding plane and the second forwarding plane are subjected to active-standby switching. Certainly, the preset condition may also include other preset conditions, for example, the server receives a main/standby switching command issued by the user; this is not limited in the embodiments of the present application.
S103, the first forwarding plane stops receiving and forwards the data message.
Under the condition that a preset condition is met, the first forwarding surface and the second forwarding surface are subjected to active-standby switching; and the first forwarding plane is switched to the standby forwarding plane, and the first forwarding plane stops receiving and forwarding the data message. Illustratively, in the case that the preset condition is satisfied, the forwarding plane 1 is switched to the standby forwarding plane, and the identity field is updated to standby.
Optionally, there is no inevitable execution sequence between step S102 and step S103 in this embodiment, and step S102 may be executed first, and then step S103 may be executed; step S103 may be executed first, and then step S102 may be executed; steps S102 and S103 may also be executed simultaneously, which is not specifically limited in this embodiment. Under some preset conditions, for example, when the first forwarding plane fails, the first forwarding plane stops receiving and forwarding the data message, the second forwarding plane is switched from the standby forwarding plane to the main forwarding plane, and then the second forwarding plane starts receiving and forwarding the data message; under other preset conditions, for example, the second forwarding plane is upgraded, the second forwarding plane is switched from the standby forwarding plane to the main forwarding plane, the data message starts to be received and forwarded, and the first forwarding plane stops receiving and forwarding the data message; therefore, the first forwarding plane is determined to stop receiving and forwarding the data message first or the second forwarding plane starts receiving and forwarding the data message first according to actual conditions, so that the probability that the first forwarding plane and the second forwarding plane cannot receive and forward the data message is reduced in the operation process of the vswitch, and the stability of the vswitch is improved.
It should be noted that, after the second forwarding plane is switched from the standby forwarding plane to the active forwarding plane, the first forwarding plane and the second forwarding plane may be switched again between the standby forwarding plane and the active forwarding plane when a preset condition is met, where the second forwarding plane is switched from the active forwarding plane to the standby forwarding plane, and the first forwarding plane is switched from the standby forwarding plane to the active forwarding plane. For example, the second forwarding plane receives and forwards the data packet; and if the second forwarding plane fails, the first forwarding plane is switched from the standby forwarding plane to the active forwarding plane, and the data message begins to be received and forwarded. The first forwarding plane and the second forwarding plane can be switched between the main and standby modes for many times under the condition that the preset conditions are met.
Further, after the primary and standby switching of the first forwarding plane and the second forwarding plane is performed each time, the control plane may send the same service configuration information to the first forwarding plane and the second forwarding plane again, and send the same forwarding table entry to the first forwarding plane and the second forwarding plane, so that the first forwarding plane and the second forwarding plane both use the latest service configuration information and the latest forwarding table entry.
According to the message forwarding method provided by the embodiment of the application, under the condition that the primary forwarding plane fails or the vswitch software is upgraded, the standby forwarding plane is switched to the primary forwarding plane and is responsible for receiving and forwarding the message; compared with the prior art, the method for actively migrating the virtual machine before upgrading the vswitch software or backing up the virtual machine service in real time in the running process of the server, the message forwarding method provided by the embodiment of the application can reduce the complexity of service software implementation, improve the reliability of the vswitch and reduce the influence of vswitch fault or software upgrading on the virtual machine service under the condition that the data message forwarding function of the vswitch is not interrupted.
The actions of the first forwarding plane or the second forwarding plane in steps S101 to S103 may be executed by the processor in the server shown in fig. 3 calling the application program code stored in the storage device, which is not limited in this embodiment.
Next, the first embodiment will be described by taking a case where the first forwarding plane fails as an example, and the second embodiment will be described by taking a case where the second forwarding plane is upgraded.
Example one
The message forwarding method provided in the first embodiment may be applied to the server shown in fig. 3, where the first forwarding plane is a forwarding plane 1, and the second forwarding plane is a forwarding plane 2. As shown in fig. 5, the message forwarding method provided in this embodiment may include S201 to S204:
s201, the first forwarding plane receives and forwards the data message.
The first forwarding plane is a primary forwarding plane, receives and forwards the data message, and the identity field is primary.
And S202, the first forwarding plane fails.
And stopping receiving and forwarding the message when the first forwarding plane fails.
And S203, the second forwarding plane determines that the first forwarding plane fails.
In one implementation, the second forwarding plane determines whether the first forwarding plane fails according to a heartbeat message sent by the first forwarding plane.
In the normal operation process of vswitch, the first forwarding surface and the second forwarding surface send heartbeat messages to each other in a preset time period, for example, every 1s, the first forwarding surface and the second forwarding surface send a heartbeat message to each other respectively; the heartbeat message comprises identity information, and the identity information is used for indicating that the message sender is a main forwarding plane or a standby forwarding plane. And the first forwarding plane or the second forwarding plane determines the identity information in the heartbeat message sent by the first forwarding plane or the second forwarding plane according to the locally maintained identity field, and if the locally maintained identity field is primary, the identity information in the heartbeat message is primary.
And if the second forwarding plane does not receive the heartbeat message sent by the first forwarding plane within the preset time, determining that the first forwarding plane fails. The preset time may be set according to a preset time period for sending the heartbeat message, for example, if the preset time period for sending the heartbeat message is 10ms, the preset time is set to 30 ms; this is not limited in the embodiments of the present application.
And S204, the second forwarding plane starts to receive and forward the data message.
And after the second forwarding plane determines that the first forwarding plane has a fault, the second forwarding plane is switched to be the primary forwarding plane, receives and forwards the data message, and updates the maintained identity field to be the primary.
In the message forwarding method provided by the embodiment of the application, under the condition that the primary forwarding plane fails, the standby forwarding plane is switched to the primary forwarding plane and is responsible for receiving and forwarding the message; compared with the prior art, the method for backing up the virtual machine service in real time or failing to migrate the virtual machine before the sudden failure in the operation process of the server, the message forwarding method provided by the embodiment of the application can execute the main-standby switching of the forwarding plane in time after the main forwarding plane fails, so that the data message forwarding function of the vswitch is not interrupted; the reliability of the vswitch is improved, and the complexity of service software implementation is reduced.
Example two
The message forwarding method provided in the second embodiment may be applied to the server shown in fig. 3, where the first forwarding plane is a forwarding plane 1, and the second forwarding plane is a forwarding plane 2. During the operation of the server, an upgrade command of a user can be received through the input device in fig. 3, and the processor upgrades the software version of vswitch. The second forwarding plane is a standby forwarding plane, and the control plane and the second forwarding plane of the vswitch are upgraded firstly without forwarding data messages; after upgrading, the second forwarding plane is switched to the main forwarding plane; and the first forwarding plane is switched to a standby forwarding plane, and then the first forwarding plane is upgraded. Therefore, the data message forwarding is not interrupted in the software version upgrading process of the vswitch, and the service of the virtual machine is not influenced. As shown in fig. 6, the message forwarding method provided in this embodiment may include S301 to S305:
s301, the first forwarding plane receives and forwards the data message.
The first forwarding plane is a primary forwarding plane, receives and forwards the data message, and the identity field is primary.
S302, the second forwarding plane determines that the second forwarding plane is upgraded.
Illustratively, in fig. 3, a vswitch running on a processor receives an upgrade command issued by a user through an input device, where the upgrade command is used to instruct to perform software upgrade on the vswitch, and includes a software version number.
In one implementation mode, after receiving an upgrade command, a control plane of the vswitch upgrades the control plane according to a software version number in the upgrade command, and sends a first upgrade instruction to a second forwarding plane; the first upgrade instruction is used for instructing the second forwarding plane to perform software upgrade, and the first upgrade instruction comprises a software version number. And the second forwarding surface receives the first upgrading instruction, updates the running state of the second forwarding surface into upgrading, and carries out software upgrading according to the software version number in the first upgrading instruction. And the second forwarding plane is upgraded, the running state is updated to be normal, and the second forwarding plane is determined to be upgraded.
And S303, the second forwarding plane starts to receive and forward the data message.
And after the second forwarding plane determines that the second forwarding plane is upgraded, switching the standby forwarding plane to the primary forwarding plane, starting to receive and forward the data message, and updating the maintained identity field to be primary.
S304, the first forwarding plane determines that the upgrading of the second forwarding plane is completed.
The first forwarding plane determining that the upgrade of the second forwarding plane is complete may include the following several ways. Certainly, the determining, by the first forwarding plane, that the upgrade of the second forwarding plane is completed may also include other implementation manners, which is not limited in this embodiment of the present application.
The first method is as follows:
after the second forwarding plane is upgraded, sending a first upgrading completion instruction to the control plane, wherein the first upgrading completion instruction is used for indicating that the second forwarding plane is upgraded; the control plane receives a first upgrading completion instruction sent by the second forwarding plane, judges whether the control plane software upgrading is completed or not, and sends a second upgrading instruction to the first forwarding plane if the control plane software upgrading is determined to be completed, wherein the second upgrading instruction is used for indicating the first forwarding plane to carry out software upgrading and comprises a software version number. And the first forwarding plane receives a second upgrading instruction sent by the control plane, and then the second forwarding plane is determined to be upgraded.
The second method comprises the following steps:
after the second forwarding plane is upgraded, sending a first upgrade completion instruction to the control plane, and sending first upgrade completion indication information to the first forwarding plane, wherein the first upgrade completion indication information is used for indicating that the second forwarding plane is upgraded; and the first forwarding plane receives the first upgrading completion indication information sent by the second forwarding plane, and then the second forwarding plane is determined to be upgraded.
S305, the first forwarding plane stops receiving and forwards the data message.
If the first forwarding plane determines that the second forwarding plane is upgraded, the primary forwarding plane is switched to the standby forwarding plane, the receiving and forwarding of the data message are stopped, and the maintained identity field is updated to be standby.
Further, the first forwarding plane performs software upgrading according to the software version number in the second upgrading instruction.
In an implementation manner, corresponding to the first manner in S304, the first forwarding plane receives a second upgrade instruction sent by the control plane, updates the running state to upgrade, and performs software upgrade according to a software version number in the second upgrade instruction. And the first forwarding plane is upgraded, and the running state is updated to be normal. The first forwarding plane sends a second upgrading completion instruction to the control plane, and the second upgrading completion instruction is used for indicating that the upgrading of the first forwarding plane is completed; and after receiving the second upgrade completion instruction sent by the first forwarding plane, the control plane returns an upgrade completion command to the user through the output device in fig. 3. In this implementation, after the control plane and the second forwarding plane software are upgraded, the second forwarding plane has already started to receive and forward the data packet; the control plane informs the first forwarding plane of software upgrading, and the first forwarding plane stops receiving and forwarding the data message after receiving the upgrading instruction and performs software upgrading. The control plane uniformly controls the software upgrading process, and the control plane, the first forwarding plane and the second forwarding plane are ensured to carry out software upgrading in sequence.
In an implementation manner, corresponding to the second manner in S304, the control plane receives a first upgrade completion instruction sent by the second forwarding plane, determines whether the control plane software upgrade is completed, and sends a second upgrade instruction to the first forwarding plane if it is determined that the control plane upgrade is completed, where the second upgrade instruction is used to instruct the first forwarding plane to perform software upgrade, where the second upgrade instruction includes a software version number. And the first forwarding plane receives a second upgrading instruction sent by the control plane, updates the running state into upgrading, and upgrades the software according to the software version number in the second upgrading instruction. And the first forwarding plane is upgraded, and the running state is updated to be normal. The first forwarding plane sends a second upgrading completion instruction to the control plane, and the second upgrading completion instruction is used for indicating that the upgrading of the first forwarding plane is completed; and after receiving the second upgrade completion instruction sent by the first forwarding plane, the control plane returns an upgrade completion command to the user through the output device in fig. 3. In this implementation, after the second forwarding plane is upgraded, the control plane is notified that the local forwarding plane is upgraded, and the first forwarding plane is notified that the local forwarding plane is upgraded; the control plane can inform the first forwarding plane to start the software upgrading process after determining that the control plane and the second forwarding plane are upgraded; after receiving the first upgrade completion indication information of the second forwarding plane, the first forwarding plane determines that the second forwarding plane is upgraded, and then the first forwarding plane can stop receiving and forwarding the data message, so that the first forwarding plane and the second forwarding plane are prevented from receiving and forwarding the data message; and after receiving a second upgrading instruction of the control plane, the first forwarding plane starts to carry out software upgrading. The method and the device can avoid the situation that the first forwarding plane and the second forwarding plane both receive and forward the data message, and can ensure that the first forwarding plane starts to perform software upgrading after the software upgrading processes of the control plane and the second forwarding plane are finished.
According to the message forwarding method provided by the embodiment of the application, under the condition of upgrading vswitch software, a control plane and a standby forwarding plane are upgraded first, and after the standby forwarding plane is upgraded, the standby forwarding plane is switched to a main forwarding plane and is responsible for receiving and forwarding messages, and then the original main forwarding plane is upgraded; compared with the prior art, the method for actively migrating the virtual machine before upgrading the vswitch software or backing up the virtual machine service in real time in the running process of the server is provided, the message forwarding method provided by the embodiment of the application can not interrupt the data message forwarding function in the vswitch software upgrading process, improves the vswitch reliability, and reduces the complexity of realizing the service software.
The scheme provided by the embodiment of the application is mainly introduced from the perspective of the server. It is understood that the server includes hardware structures and/or software modules for performing the respective functions in order to implement the above-described functions. Those of skill in the art would readily appreciate that the various illustrative elements and algorithm steps described in connection with the embodiments disclosed herein may be implemented as hardware or combinations of hardware and computer software. Whether a function is performed as hardware or computer software drives hardware depends upon the particular application and design constraints imposed on the solution. Skilled artisans may implement the described functionality in varying ways for each particular application, but such implementation decisions should not be interpreted as causing a departure from the scope of the present application.
In the embodiment of the present application, the server may be divided into the functional modules according to the above method example, for example, each functional module may be divided corresponding to each function, or two or more functions may be integrated into one processing module. The integrated module can be realized in a hardware mode, and can also be realized in a software functional module mode. It should be noted that, in the embodiment of the present application, the division of the module is schematic, and is only one logic function division, and there may be another division manner in actual implementation. The following description will be given taking the example of dividing each functional module corresponding to each function.
Fig. 7 is a schematic logic structure diagram of a message forwarding apparatus 700 according to an embodiment of the present application. As shown in fig. 7, the message forwarding apparatus 700 includes a first forwarding module 701 and a second forwarding module 702. The first forwarding module 701 may be configured to perform S101 and S103 in fig. 4, may also be configured to perform S201 and S202 in fig. 5, may also be configured to perform S301, S304 and S305 in fig. 6, and/or perform other steps described in this application. The second forwarding module 702 may be configured to perform S102 in fig. 4, may also be configured to perform S203 and S204 in fig. 5, may also be configured to perform S302 and S303 in fig. 6, and/or perform other steps described in this application.
All relevant contents of each step related to the above method embodiment may be referred to the functional description of the corresponding functional module, and are not described herein again.
In the present embodiment, the apparatus 700 is presented in the form of dividing each functional module in an integrated manner. A "module" herein may refer to a particular ASIC, a circuit, a processor and a memory device executing one or more software or firmware programs, an integrated logic circuit, and/or other components that can provide the described functionality.
In a simple embodiment, those skilled in the art will appreciate that the apparatus 700 may take the form shown in FIG. 3.
For example, the processor in fig. 3 may invoke a computer stored in the storage device to execute the instructions, so that the apparatus 700 executes the message forwarding method in the foregoing method embodiment.
Specifically, the functions/implementation processes of the first forwarding module 701 and the second forwarding module 702 in fig. 7 may be implemented by the processor in fig. 3 calling a computer executing instruction stored in the storage device.
Alternatively, when the apparatus 700 is a chip or a circuit, the storage device may be a storage unit in the chip or the circuit, such as a register, a cache, and the like. Of course, when the apparatus 700 is a server, the storage device may be a storage unit located outside the chip in the server, and this is not particularly limited in this embodiment of the application.
Since the apparatus provided in the embodiment of the present application may be used to execute the message forwarding method, the technical effect obtained by the apparatus may refer to the method embodiment, and will not be described herein again.
The embodiment of the application also provides a message forwarding device, which can be a server or other computer equipment. Fig. 8 shows a schematic structural diagram of a message forwarding apparatus, and as shown in fig. 8, a message forwarding apparatus 800 includes a processor 801, a memory 802, an I/O (Input/Output) interface 803, and a bus 804. The processor 801, the memory 802, and the I/O interface 803 are communicatively connected to each other by a bus 804.
In one embodiment of the present application, the processor 801 may be configured to perform, for example, S101-S103 in the method shown in FIG. 4, S201-S204 in the method shown in FIG. 5, and S301-S305 in the method shown in FIG. 6. The processor 801 may be a processor specially designed for performing the above steps and/or operations, or may be a processor that performs the above steps and/or operations by reading and executing instructions stored in the memory 802, and the processor 801 may need to use data stored in the memory 802 in the process of performing the above steps and/or operations.
It should be noted that, in a specific implementation process, the message forwarding apparatus 800 may further include other hardware devices, which are not listed herein.
All relevant contents of each step related to the above method embodiment may be referred to the functional description of the corresponding functional module, and are not described herein again.
It will be apparent to those skilled in the art that all or part of the steps of the above method may be performed by hardware associated with program instructions, and the program may be stored in a computer readable storage medium such as ROM, RAM, optical disk, etc.
Embodiments of the present application also provide a storage medium, which may include a memory 802.
Optionally, an embodiment of the present application further provides a chip system, where the chip system includes a processor, and is used to support a server to implement the message forwarding method. In one possible design, the system-on-chip further includes a memory. The memory is used for storing program instructions and data necessary for the server. Of course, the memory may not be in the system-on-chip. The chip system may be formed by a chip, and may also include a chip and other discrete devices, which is not specifically limited in this embodiment of the present application.
For the explanation and beneficial effects of the related content in any one of the above-mentioned apparatuses, reference may be made to the corresponding method embodiments provided above, and details are not repeated here.
In the above embodiments, the implementation may be wholly or partially realized by software, hardware, firmware, or any combination thereof. When implemented using a software program, may be implemented in whole or in part in the form of a computer program product. The computer program product includes one or more computer instructions. The procedures or functions described in accordance with the embodiments of the present application are all or partially generated upon loading and execution of computer program instructions on a computer. The computer may be a general purpose computer, a special purpose computer, a network of computers, or other programmable device. The computer instructions may be stored on a computer readable storage medium or transmitted from one computer readable storage medium to another, for example, from one website, computer, server, or data center to another website, computer, server, or data center via wire (e.g., coaxial cable, fiber optic, Digital Subscriber Line (DSL)) or wireless (e.g., infrared, wireless, microwave, etc.). The computer-readable storage medium can be any available medium that can be accessed by a computer or can comprise one or more data storage devices, such as a server, a data center, etc., that can be integrated with the medium. The usable medium may be a magnetic medium (e.g., floppy disk, hard disk, magnetic tape), an optical medium (e.g., DVD), or a semiconductor medium (e.g., Solid State Disk (SSD)), among others.
While the present application has been described in connection with various embodiments, other variations to the disclosed embodiments can be understood and effected by those skilled in the art in practicing the claimed application, from a review of the drawings, the disclosure, and the appended claims. In the claims, the word "comprising" does not exclude other elements or steps, and the word "a" or "an" does not exclude a plurality. A single processor or other unit may fulfill the functions of several items recited in the claims. The mere fact that certain measures are recited in mutually different dependent claims does not indicate that a combination of these measures cannot be used to advantage.
Although the present application has been described in conjunction with specific features and embodiments thereof, it will be evident that various modifications and combinations can be made thereto without departing from the spirit and scope of the application. Accordingly, the specification and figures are merely exemplary of the present application as defined in the appended claims and are intended to cover any and all modifications, variations, combinations, or equivalents within the scope of the present application. It will be apparent to those skilled in the art that various changes and modifications may be made in the present application without departing from the spirit and scope of the application. Thus, if such modifications and variations of the present application fall within the scope of the claims of the present application and their equivalents, the present application is intended to include such modifications and variations as well.

Claims (13)

1. A message forwarding method is applied to a server, and is characterized in that the server comprises a virtual switch, wherein the virtual switch comprises a first forwarding plane and a second forwarding plane; the method comprises the following steps:
the first forwarding plane receives and forwards the data message;
under the condition that a preset condition is met, the second forwarding plane starts to receive and forward data messages, and the first forwarding plane stops receiving and forwarding messages;
the service configuration of the first forwarding plane and the service configuration of the second forwarding plane are the same, and the forwarding table entries of the first forwarding plane and the second forwarding plane are the same;
the preset condition comprises the fault of the first forwarding plane or the completion of the upgrading of the second forwarding plane.
2. The method according to claim 1, wherein when the preset condition includes a failure of the first forwarding plane, the second forwarding plane starts receiving and forwarding data packets, and the first forwarding plane stops receiving and forwarding packets, specifically including:
when the first forwarding plane fails, the first forwarding plane stops receiving and forwarding the message;
and the second forwarding plane determines that the first forwarding plane fails, and the second forwarding plane starts to receive and forward the data message.
3. The method of claim 2, wherein the second forwarding plane determining that the first forwarding plane is faulty comprises:
and if the second forwarding surface does not receive the heartbeat message sent by the first forwarding surface within the preset time, determining that the first forwarding surface fails.
4. The method according to claim 1, wherein when the preset condition includes that the second forwarding plane is upgraded, the second forwarding plane starts to receive and forward the data packet, and the first forwarding plane stops receiving and forwarding the packet, specifically comprising:
the second forwarding plane determines that the second forwarding plane is upgraded, and the second forwarding plane starts to receive and forward the data message;
and the first forwarding plane determines that the second forwarding plane is upgraded, and the first forwarding plane stops receiving and forwarding the message.
5. The method of claim 4, wherein the second forwarding plane determining that the second forwarding plane upgrade is complete comprises:
and if the second forwarding plane determines that the running state of the second forwarding plane is updated to be normal, determining that the second forwarding plane is upgraded.
6. The method of claim 4, wherein the first forwarding plane determining that the second forwarding plane upgrade is complete comprises:
the vswitch further comprises a control plane, and if the first forwarding plane receives a second upgrading instruction sent by the control plane, it is determined that the second forwarding plane is upgraded; the second upgrading instruction is used for indicating the first forwarding plane to carry out software upgrading;
or, the first forwarding plane receives first upgrade completion indication information sent by the second forwarding plane, and then determines that the second forwarding plane is upgraded; the first upgrade completion indication information is used for indicating that the upgrade of the second forwarding plane is completed.
7. A message forwarding apparatus, comprising:
the first forwarding module is used for receiving and forwarding the data message;
the second forwarding module is used for starting to receive and forward the data message under the condition of meeting the preset condition;
the first forwarding module is further configured to stop receiving and forwarding the message when a preset condition is met;
the service configurations of the first forwarding module and the second forwarding module are the same, and the forwarding table entries of the first forwarding module and the second forwarding module are the same;
the preset condition comprises the fault of the first forwarding module or the completion of the upgrading of the second forwarding module.
8. The apparatus of claim 7, wherein in the event that the preset condition comprises a failure of the first forwarding module,
the first forwarding module is specifically configured to stop receiving and forwarding a message if the first forwarding module fails;
the second forwarding module is specifically configured to determine whether the first forwarding module fails;
the second forwarding module is further specifically configured to start receiving and forwarding a data packet if it is determined that the first forwarding module fails.
9. The apparatus according to claim 8, wherein the second forwarding module determines whether the first forwarding module fails, specifically including:
and if the second forwarding module does not receive the heartbeat message sent by the first forwarding module within the preset time, determining that the first forwarding module fails.
10. The apparatus of claim 7, wherein if the preset condition includes that the upgrade of the second forwarding module is completed,
the second forwarding module is specifically configured to determine whether the second forwarding module is upgraded;
the second forwarding module is further configured to start receiving and forwarding a data packet if it is determined that the second forwarding module is upgraded;
the first forwarding module is specifically configured to determine whether the second forwarding module is upgraded;
the first forwarding module is further configured to stop receiving and forwarding the packet if it is determined that the second forwarding module is upgraded.
11. The apparatus according to claim 10, wherein the determining, by the second forwarding module, that the upgrade of the second forwarding module is completed includes:
the second forwarding module is configured to determine whether an operation state of the second forwarding module is updated;
and if the second forwarding module determines that the running state of the second forwarding module is updated to be normal, determining that the second forwarding module is upgraded.
12. The apparatus according to claim 10, wherein the determining, by the first forwarding module, that the upgrade of the second forwarding module is completed includes:
the device also comprises a control module, wherein the first forwarding module is used for determining that the second forwarding module finishes upgrading if receiving a second upgrading instruction sent by the control module; the second upgrading instruction is used for instructing the first forwarding module to carry out software upgrading;
or, the first forwarding module is configured to determine that the second forwarding module is upgraded if the first upgrade completion indication information sent by the second forwarding module is received; the first upgrade completion indication information is used for indicating that the upgrade of the second forwarding module is completed.
13. A computer-readable storage medium, on which a computer program is stored which, when executed by a processor, causes the method of any one of claims 1 to 6 to be performed.
CN201810150716.8A 2018-02-13 2018-02-13 Message forwarding method and device Active CN110166355B (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN201810150716.8A CN110166355B (en) 2018-02-13 2018-02-13 Message forwarding method and device

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN201810150716.8A CN110166355B (en) 2018-02-13 2018-02-13 Message forwarding method and device

Publications (2)

Publication Number Publication Date
CN110166355A CN110166355A (en) 2019-08-23
CN110166355B true CN110166355B (en) 2021-06-22

Family

ID=67635485

Family Applications (1)

Application Number Title Priority Date Filing Date
CN201810150716.8A Active CN110166355B (en) 2018-02-13 2018-02-13 Message forwarding method and device

Country Status (1)

Country Link
CN (1) CN110166355B (en)

Families Citing this family (7)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN110505097B (en) * 2019-08-28 2023-05-12 深信服科技股份有限公司 Forwarding plane upgrading method and device, electronic equipment and storage medium
CN111654384A (en) * 2019-09-27 2020-09-11 中兴通讯股份有限公司 Main/standby switching method, BRAS (broadband remote Access Server) equipment and storage medium
CN112953735B (en) * 2019-11-26 2023-05-02 中国电信股份有限公司 Network service device and network service method
CN111683022B (en) * 2020-08-12 2020-11-27 广东省新一代通信与网络创新研究院 White box switch, method for upgrading forwarding function of white box switch and readable storage medium
CN114531337A (en) * 2020-10-31 2022-05-24 华为技术有限公司 Broadband connection method and device
CN114760193A (en) * 2020-12-29 2022-07-15 华为技术有限公司 Main/standby negotiation method and device
CN113821310B (en) * 2021-11-19 2022-05-06 阿里云计算有限公司 Data processing method, programmable network card device, physical server and storage medium

Citations (5)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN102084340A (en) * 2009-04-28 2011-06-01 思科技术公司 Traffic forwarding for virtual machines
CN103763367A (en) * 2014-01-17 2014-04-30 浪潮(北京)电子信息产业有限公司 Method and system for designing distributed virtual network in cloud calculating data center
CN106470121A (en) * 2016-08-30 2017-03-01 锐捷网络股份有限公司 The upgrade method of virtual switch unit VSU system, device and VSU system
CN106817259A (en) * 2017-01-18 2017-06-09 杭州迪普科技股份有限公司 The upgrade method and device of VSM systems
CN107493180A (en) * 2016-06-13 2017-12-19 阿里巴巴集团控股有限公司 The upgrade method and device of a kind of virtual switch

Family Cites Families (2)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US8654630B2 (en) * 2010-03-19 2014-02-18 Brocade Communications Systems, Inc. Techniques for link redundancy in layer 2 networks
US9231892B2 (en) * 2012-07-09 2016-01-05 Vmware, Inc. Distributed virtual switch configuration and state management

Patent Citations (5)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN102084340A (en) * 2009-04-28 2011-06-01 思科技术公司 Traffic forwarding for virtual machines
CN103763367A (en) * 2014-01-17 2014-04-30 浪潮(北京)电子信息产业有限公司 Method and system for designing distributed virtual network in cloud calculating data center
CN107493180A (en) * 2016-06-13 2017-12-19 阿里巴巴集团控股有限公司 The upgrade method and device of a kind of virtual switch
CN106470121A (en) * 2016-08-30 2017-03-01 锐捷网络股份有限公司 The upgrade method of virtual switch unit VSU system, device and VSU system
CN106817259A (en) * 2017-01-18 2017-06-09 杭州迪普科技股份有限公司 The upgrade method and device of VSM systems

Non-Patent Citations (1)

* Cited by examiner, † Cited by third party
Title
基于虚拟交换机的虚拟机监管系统的设计与实现;王凯;《中国优秀硕士学位论文全文数据库--信息科技辑》;20150315(第03期);全文 *

Also Published As

Publication number Publication date
CN110166355A (en) 2019-08-23

Similar Documents

Publication Publication Date Title
CN110166355B (en) Message forwarding method and device
US9122653B2 (en) Migrating virtual machines across sites
US8274881B2 (en) Altering access to a fibre channel fabric
US10686890B2 (en) Keep-alive scheduler in a network device
US7870191B2 (en) Computing system and method of changing I/O configuration thereof
CN102238093B (en) Service interruption prevention method and device
US9298566B2 (en) Automatic cluster-based failover handling
US20220294806A1 (en) Integrity verified paths between entities in a container-orchestration system
US11777804B2 (en) Automatic system provisioning for NVME-over-fabric storage
WO2018137520A1 (en) Service recovery method and apparatus
US11799753B2 (en) Dynamic discovery of service nodes in a network
CN103746855A (en) Method and device for processing abnormal events in telecom cloud
JP5531487B2 (en) Server system and server system management method
EP3582442A1 (en) Method, remote device and computer-readable medium for reselecting principal core device
US20200382405A1 (en) Detecting and managing relocation of network communication endpoints in a distributed computing environment
EP3974989A1 (en) Link state setting method and device for virtual network interface card, and storage medium
CN112596371A (en) Control card switching method and device, electronic equipment and storage medium
CN107360015B (en) Method and device for switching shared storage
CN109428821B (en) Server, method for managing routing of mutual backup device and storage medium
EP4002811A1 (en) Data synchronization method and apparatus
CN116010307A (en) Server resource allocation system, method and device
CN112799602B (en) Online capacity expansion method for cloud hard disk
WO2021244500A1 (en) Backup state determination method, apparatus and system
CN116074187A (en) Main-standby link switching method and device, electronic equipment and storage medium
CN107783855B (en) Fault self-healing control device and method for virtual network element

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
GR01 Patent grant
GR01 Patent grant