Method and device for restoring switch

A technology for switches and equipment, applied in the computer field, can solve problems such as inconvenience, loss, and interruption of switch services, and achieve the effect of reducing time and manpower and improving backup convenience.

Active Publication Date: 2020-05-19
SUZHOU LANGCHAO INTELLIGENT TECH CO LTD
View PDF3 Cites 6 Cited by
  • Summary
  • Abstract
  • Description
  • Claims
  • Application Information

AI Technical Summary

Problems solved by technology

At present, if the SONiC system is updated or reinstalled, the configuration file will be restored, and the previous f

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
  • Method and device for restoring switch
  • Method and device for restoring switch

Examples

Experimental program
Comparison scheme
Effect test

Embodiment

[0058] The following takes the commonly used data center white box switch SONiC operating system as an example. The SONiC operating system and BMC can be set to allow the NOS configuration file saving function to be enabled. When the function is enabled, every time SONiC saves the existing configuration into the configuration file config_db, SONiC will simultaneously copy the config_db file and transfer the file to the BMC through the data transfer bus. The BMC will also compare whether the config_db file has changed at regular intervals, and the configuration file will be automatically backed up by the BMC if the change occurs.

[0059] If BMC allows NOS configuration file backup, it will receive the configuration file transmitted by SONiC and verify it, otherwise SONiC will report an error. After the verification is completed, the BMC will determine the storage space of its own FLASH. If there is enough space, the backup file will be written into the FLASH. Otherwise, the ol...

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 a method and device for restoring a switch. The method comprises the steps that the switch judges whether BMC backup is started or not when a configuration file is backed up; inresponse to starting of BMC backup, the configuration file is stored in the switch and transmitted to the BMC at the same time; the BMC checks whether the configuration file stored in the switch is changed or not every other threshold time; in response to the change, the BMC copies the changed configuration file into the BMC; and in response to first starting after the switch reinstalls or updates the network operating system, the switch acquires the newly stored configuration file from the BMC to complete restoration of the switch. By using the method provided by the invention, the time andlabor required for recovering a service after a failure can be reduced, and the backup convenience and flexibility of the data center white-box switch and the reliability of the overall operation areimproved.

Description

technical field [0001] The field relates to the field of computers, and more particularly to a method and device for restoring a switch. Background technique [0002] The white box switch has the function of decoupling software, which can reduce costs and improve the flexibility of use. It can build different components and modules for the specific needs of manufacturers, and is welcomed by many manufacturers and data centers. The biggest highlight of the white-brand switch is its strong openness. Therefore, the white-brand switch has more choices in terms of operating systems and software. [0003] With the maturing of SONiC (Software for Open Network in the Cloud) system and more and more applications in the Internet industry, SONIC+white box switch will be the mainstream access for future data centers The development of switches offers more possibilities. Since the SONIC system itself is open source software and has a short development history, there are still various p...

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): H04L29/08H04L12/24
CPCH04L67/30H04L67/1095H04L41/0893H04L41/085H04L41/0661
Inventor 张锡鑫潘洁红
Owner SUZHOU LANGCHAO INTELLIGENT 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