MLAG double-master anomaly repair method and device, electronic equipment and storage medium

A repair method and main equipment technology, applied to electrical components, transmission systems, etc., can solve problems such as low repair efficiency and high labor costs

Pending Publication Date: 2022-01-18
MAIPU COMM TECH CO LTD
View PDF0 Cites 0 Cited by
  • Summary
  • Abstract
  • Description
  • Claims
  • Application Information

AI Technical Summary

Problems solved by technology

[0009] The purpose of the embodiment of the present application is to provide a method, device, electronic equipment and storage medium for repairing MLAG dual-master abnormality, so as

Method used

the structure of the environmentally friendly knitted fabric provided by the present invention; figure 2 Flow chart of the yarn wrapping machine for environmentally friendly knitted fabrics and storage devices; image 3 Is the parameter map of the yarn covering machine
View more

Image

Smart Image Click on the blue labels to locate them in the text.
Viewing Examples
Smart Image
  • MLAG double-master anomaly repair method and device, electronic equipment and storage medium
  • MLAG double-master anomaly repair method and device, electronic equipment and storage medium
  • MLAG double-master anomaly repair method and device, electronic equipment and storage medium

Examples

Experimental program
Comparison scheme
Effect test

Embodiment 1

[0036] In order to solve the problem of low repair efficiency and high labor cost for MLAG "dual-master" abnormalities that can only be repaired by manual intervention, the embodiment of this application provides a method for repairing MLAG dual-master abnormalities. see figure 1 as shown, figure 1 It is a schematic flowchart of a MLAG dual-master anomaly repair method provided in the embodiment of this application, including:

[0037] S101: When the keepalive link recovers, receive current role information of the peer device through the keepalive link.

[0038] It should be understood that see figure 2 As shown, in the MLAG technology, there will be a master device and a slave device in the MLAG domain, and the two devices will be regarded as a whole to provide services for the device A outside the MLAG domain.

[0039] The MLAG dual-master anomaly repair method provided in the embodiment of the present application can be applied to each device in the MLAG domain at the s...

Embodiment 2

[0067] On the basis of the first embodiment, this embodiment takes a specific recovery situation as an example to further illustrate this application.

[0068] First, see image 3 As shown, it is assumed that the peer-link and keepalive links of the master device and slave device in the MLAG are normal initially, and the MLAG environment runs stably.

[0069]When the MLAG slave device detects a peer-link failure, the MLAG slave device will obtain its status from SLAVE to Suspend. At this time, the MLAG slave device will Error-Down its own MLAG port to avoid MLAG dual-master exceptions. .

[0070] When the failure of the keepalive link is continuously detected and the connection is disconnected, the MLAG slave device will be upgraded to the master (the status of the MLAG slave device will change from Suspend to Master-Alone, and the status of both devices in the MLAG domain is Master. -Alone state), and then delay the recovery of the Error-Down port according to the preset de...

Embodiment 3

[0080] Based on the same inventive concept, an MLAG dual-master anomaly repair device 400 is also provided in the embodiment of the present application. see Figure 4 as shown, Figure 4 shows the use of figure 1 The method shown is the MLAG dual-master anomaly fixer. It should be understood that the specific functions of the device 400 may refer to the above description, and to avoid repetition, detailed description is appropriately omitted here. The device 400 includes at least one software function module that can be stored in a memory in the form of software or firmware or solidified in an operating system of the device 400 . specifically:

[0081] see Figure 4 As shown, the apparatus 400 is applied to each device in the MLAG domain, and includes: a receiving module 401 , an acquiring module 402 , a determining module 403 and a switching module 404 . in:

[0082] The receiving module 401 is configured to receive the current role information of the peer device throu...

the structure of the environmentally friendly knitted fabric provided by the present invention; figure 2 Flow chart of the yarn wrapping machine for environmentally friendly knitted fabrics and storage devices; image 3 Is the parameter map of the yarn covering machine
Login to view more

PUM

No PUM Login to view more

Abstract

The invention provides an MLAG double-master abnormity repairing method and device, electronic equipment and a storage medium, and the method comprises the steps: receiving the current role information of opposite-end equipment through a keepalive link when the keepalive link is recovered; acquiring current role information of the equipment; if both the current role information of the opposite-end equipment and the current role information of the equipment are represented as master equipment, determining the selected role information of the equipment according to the historical role information of the equipment; and if the selected role information of the equipment is the slave equipment, switching the equipment to the slave equipment. According to the scheme, when the MLAG double-master problem exists, automatic role switching is realized through the historical role information of the equipment, so that automatic repair of MLAG double-master abnormity is realized, the labor investment is reduced, the repair efficiency is improved, and the cost is reduced.

Description

technical field [0001] The present application relates to the technical field of inter-device link aggregation groups, and in particular, relates to a method, device, electronic equipment and storage medium for repairing MLAG dual-master anomalies. Background technique [0002] With the gradual increase of data center visits and higher requirements for network reliability, the virtualization technology of switches is also gradually developing. [0003] The stacking technology virtualizes multiple physical switches into one virtual switch, which has the advantages of increasing bandwidth, improving reliability, simplifying network topology, and enabling unified management of two devices. [0004] The subsequent development of MLAG (Multi-Chassis Link Aggregation Group, cross-device link aggregation group) technology has higher reliability based on the advantages of stacking (improving link reliability from the single board level to the device level) Level), is a new technolo...

Claims

the structure of the environmentally friendly knitted fabric provided by the present invention; figure 2 Flow chart of the yarn wrapping machine for environmentally friendly knitted fabrics and storage devices; image 3 Is the parameter map of the yarn covering machine
Login to view more

Application Information

Patent Timeline
no application Login to view more
IPC IPC(8): H04L41/0663H04L43/0823
CPCH04L41/0663H04L43/0823
Inventor 聂帮强郭明权
Owner MAIPU COMM TECH CO LTD
Who we serve
  • R&D Engineer
  • R&D Manager
  • IP Professional
Why Eureka
  • Industry Leading Data Capabilities
  • Powerful AI technology
  • Patent DNA Extraction
Social media
Try Eureka
PatSnap group products