Looking for breakthrough ideas for innovation challenges? Try Patsnap Eureka!

Link switching method and system

A link switching and link technology, applied in the Linux field, can solve problems such as IO path failure, and achieve the effect of improving IO efficiency

Active Publication Date: 2015-11-11
INSPUR BEIJING ELECTRONICS INFORMATION IND
View PDF5 Cites 2 Cited by
  • Summary
  • Abstract
  • Description
  • Claims
  • Application Information

AI Technical Summary

Problems solved by technology

Storage is an indispensable hardware product for servers. In current IO applications, the failure of the IO path between the server and storage is a frequent problem, which brings a lot of inconvenience to normal IO operations. How to quickly solve the problem when the IO path fails? Effectively switching between multiple links is an urgent problem for those skilled in the art

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
  • Link switching method and system
  • Link switching method and system
  • Link switching method and system

Examples

Experimental program
Comparison scheme
Effect test

Embodiment Construction

[0036] In order to facilitate the understanding of those skilled in the art, the present invention will be further described below in conjunction with the accompanying drawings, which cannot be used to limit the protection scope of the present invention.

[0037] Today, with the rapid development of linux technology, almost all servers use the linux operating system. Storage is an indispensable hardware product for servers, and multipath multipath software is a key part of maintaining the path between servers and storage, and it is responsible for data distribution and load balancing. Implement operations such as device mapping and path deletion. Such as figure 1 As shown, the multipath multipath software is divided into the upper user mode multipath tool layer, multipath kernel layer, SCSI protocol layer and Qlogic driver layer. Each layer has its own division of labor. After processing the information collected by each layer, it informs other layers how to operate, so as t...

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 relates to a link switching method and system. The switching method comprises: a link state is detected in real time at a Qlogic layer; when occurrence of a fault is detected at the link, a netlink mechanism is triggered and fault information is sent to a socket that is established in advance in the Qlogic layer; the socket is detected in real time by a daemon thread that is established in advance and the fault information is received; according to a link switching instruction contained by the fault information, a new link is selected at a multipath tool layer; after the new link selection is completed, a first notification message for switching the link with the fault into the new link is sent; on the basis of the first notification message, an interrupted IO block is pointed to the new link at a multiplepath inner nuclear layer and a second notification message for link switching is sent to an SCSI layer; and according to the second notification message, the link switching is executed at the SCSI layer. On the basis of the scheme, the IO efficiency can be effectively improved.

Description

technical field [0001] The invention relates to the field of linux, in particular to a link switching method and system. Background technique [0002] Today, with the rapid development of linux technology, almost all servers use the linux operating system. Storage is an indispensable hardware product for servers. In current IO applications, the failure of the IO path between the server and storage is a frequent problem, which brings a lot of inconvenience to normal IO operations. How to quickly solve the problem when the IO path fails? Effectively switching between multiple links is a problem that those skilled in the art need to solve urgently. Contents of the invention [0003] In order to solve the above problems, the present invention proposes a link switching method and system, which can effectively improve IO efficiency. [0004] In order to achieve the above object, the present invention proposes a link switching method, the method comprising: [0005] Real-time ...

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
Patent Type & Authority Applications(China)
IPC IPC(8): G06F11/07
Inventor 武毅
Owner INSPUR BEIJING ELECTRONICS INFORMATION IND
Who we serve
  • R&D Engineer
  • R&D Manager
  • IP Professional
Why Patsnap Eureka
  • Industry Leading Data Capabilities
  • Powerful AI technology
  • Patent DNA Extraction
Social media
Patsnap Eureka Blog
Learn More
PatSnap group products