CN116661688B - Service response method and device of SAS storage system - Google Patents

Service response method and device of SAS storage system Download PDF

Info

Publication number
CN116661688B
CN116661688B CN202310588846.0A CN202310588846A CN116661688B CN 116661688 B CN116661688 B CN 116661688B CN 202310588846 A CN202310588846 A CN 202310588846A CN 116661688 B CN116661688 B CN 116661688B
Authority
CN
China
Prior art keywords
hba
slave
physical channel
server
sas
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
CN202310588846.0A
Other languages
Chinese (zh)
Other versions
CN116661688A (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.)
Wuxi Zhongxing Microsystem Technology Co ltd
Original Assignee
Wuxi Zhongxing Microsystem Technology 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 Wuxi Zhongxing Microsystem Technology Co ltd filed Critical Wuxi Zhongxing Microsystem Technology Co ltd
Priority to CN202310588846.0A priority Critical patent/CN116661688B/en
Publication of CN116661688A publication Critical patent/CN116661688A/en
Application granted granted Critical
Publication of CN116661688B publication Critical patent/CN116661688B/en
Active legal-status Critical Current
Anticipated expiration legal-status Critical

Links

Classifications

    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06FELECTRIC DIGITAL DATA PROCESSING
    • G06F3/00Input arrangements for transferring data to be processed into a form capable of being handled by the computer; Output arrangements for transferring data from processing unit to output unit, e.g. interface arrangements
    • G06F3/06Digital input from, or digital output to, record carriers, e.g. RAID, emulated record carriers or networked record carriers
    • G06F3/0601Interfaces specially adapted for storage systems
    • G06F3/0602Interfaces specially adapted for storage systems specifically adapted to achieve a particular effect
    • G06F3/0614Improving the reliability of storage systems
    • G06F3/0617Improving the reliability of storage systems in relation to availability
    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06FELECTRIC DIGITAL DATA PROCESSING
    • G06F3/00Input arrangements for transferring data to be processed into a form capable of being handled by the computer; Output arrangements for transferring data from processing unit to output unit, e.g. interface arrangements
    • G06F3/06Digital input from, or digital output to, record carriers, e.g. RAID, emulated record carriers or networked record carriers
    • G06F3/0601Interfaces specially adapted for storage systems
    • G06F3/0602Interfaces specially adapted for storage systems specifically adapted to achieve a particular effect
    • G06F3/061Improving I/O performance
    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06FELECTRIC DIGITAL DATA PROCESSING
    • G06F3/00Input arrangements for transferring data to be processed into a form capable of being handled by the computer; Output arrangements for transferring data from processing unit to output unit, e.g. interface arrangements
    • G06F3/06Digital input from, or digital output to, record carriers, e.g. RAID, emulated record carriers or networked record carriers
    • G06F3/0601Interfaces specially adapted for storage systems
    • G06F3/0628Interfaces specially adapted for storage systems making use of a particular technique
    • G06F3/0629Configuration or reconfiguration of storage systems
    • G06F3/0635Configuration or reconfiguration of storage systems by changing the path, e.g. traffic rerouting, path reconfiguration
    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06FELECTRIC DIGITAL DATA PROCESSING
    • G06F3/00Input arrangements for transferring data to be processed into a form capable of being handled by the computer; Output arrangements for transferring data from processing unit to output unit, e.g. interface arrangements
    • G06F3/06Digital input from, or digital output to, record carriers, e.g. RAID, emulated record carriers or networked record carriers
    • G06F3/0601Interfaces specially adapted for storage systems
    • G06F3/0668Interfaces specially adapted for storage systems adopting a particular infrastructure
    • G06F3/067Distributed or networked storage systems, e.g. storage area networks [SAN], network attached storage [NAS]
    • YGENERAL TAGGING OF NEW TECHNOLOGICAL DEVELOPMENTS; GENERAL TAGGING OF CROSS-SECTIONAL TECHNOLOGIES SPANNING OVER SEVERAL SECTIONS OF THE IPC; TECHNICAL SUBJECTS COVERED BY FORMER USPC CROSS-REFERENCE ART COLLECTIONS [XRACs] AND DIGESTS
    • Y02TECHNOLOGIES OR APPLICATIONS FOR MITIGATION OR ADAPTATION AGAINST CLIMATE CHANGE
    • Y02DCLIMATE CHANGE MITIGATION TECHNOLOGIES IN INFORMATION AND COMMUNICATION TECHNOLOGIES [ICT], I.E. INFORMATION AND COMMUNICATION TECHNOLOGIES AIMING AT THE REDUCTION OF THEIR OWN ENERGY USE
    • Y02D10/00Energy efficient computing, e.g. low power processors, power management or thermal management

Landscapes

  • Engineering & Computer Science (AREA)
  • Theoretical Computer Science (AREA)
  • Human Computer Interaction (AREA)
  • Physics & Mathematics (AREA)
  • General Engineering & Computer Science (AREA)
  • General Physics & Mathematics (AREA)
  • Computer Networks & Wireless Communication (AREA)
  • Information Retrieval, Db Structures And Fs Structures Therefor (AREA)

Abstract

The invention provides a service response method and a device of an SAS storage system, wherein the method comprises the following steps: receiving a management command of a main server, identifying a topological structure of a storage device at the downstream of the SAS expander, and configuring a routing strategy of the SAS expander to enable the main server to respond to a read-write request of a user to the storage device; establishing SSP connection between a master HBA and a slave HBA physical channel interface, synchronizing the topological structure of the storage device, and mutually transmitting heartbeat information; when the slave HBA does not receive the heartbeat information from the slave HBA, the slave HBA receives the management command of the slave server, and configures the routing strategy of the SAS expander to enable the slave server to take over the read-write request. The technical scheme of the invention provides uninterrupted storage data access service for users, ensures the stable operation of upper layer business, improves the availability of the SAS storage system and improves the terminal experience of the users.

Description

Service response method and device of SAS storage system
Technical Field
The invention belongs to the field of storage systems, and particularly relates to a service response method and device of an SAS storage system.
Background
In the architecture of the server storage system, the HBA (Host Bus Adapter) is usually used as a bridge for connection between the Host and the peripheral storage device, so that the number of the connections of the peripheral storage device of the server can be expanded, the conversion between different interface protocols can be supported, the functions of the server system are enriched, and meanwhile, the application scene of the diversified system is satisfied. As shown in FIG. 1, a typical SAS HBA controller for a storage device adopts a PCIe bus interface common to the server field at the upstream of the HBA, and is compatible with various bus interface forms such as SAS (serial attached SCSI), SATA (serial ATA) and the like at the downstream, so that the design of a peripheral interface of a host system can be simplified, and flexible access of the host system to storage devices in various forms can be provided. From the perspective of a server host, the storage equipment with the protocol interface types such as SAS or SATA can be flexibly accessed through a single type of universal PCIe bus interface, and the requirement difference of different products on performance, cost, scale and reliability is met.
Fig. 1 also illustrates a typical SAS HBA interconnection scenario with an upstream server host and downstream disk devices. The host server is connected with the SAS HBA through a PCIe bus. The SAS HBA may contain one or more SAS controllers therein. Each SAS controller may be directly interconnected with SAS disks via a SAS bus. Each SAS controller may be directly interconnected with SATA disks through a SATA bus. The SAS controller is connected with the multi-stage SAS Expander through an SAS bus to play a role of expanding a storage network, so that a large-scale SAS/SATA disk can be connected, and management of a large-scale disk array is realized.
In certain data service areas, high availability of data storage systems is critical to upper layer business applications. The availability of existing SAS storage systems is greatly impacted by the single point server architecture. Taking fig. 1 as an example, if the main server M is down due to a single point of failure, all SAS and SATA storage devices connected to the downstream end of the entire SAS HBA will not be accessed, so that data access of the storage service is not available, which not only affects user experience, but even causes a disaster that the data storage service cannot be accessed.
Disclosure of Invention
The invention aims to provide a service response method and device of an SAS storage system, which aim to realize uninterrupted storage data access service and solve the problem that data storage service is interrupted due to inaccessible storage equipment caused by single-point server host failure.
According to a first aspect of the present invention, there is provided a service response method of an SAS storage system, including:
receiving a management command of a main server through a main HBA, identifying a topological structure of a storage device at the downstream of a SAS expander, and enabling an access path from the main HBA to the storage device by configuring a routing strategy of the SAS expander so as to enable the main server to respond to a read-write request of a user to the storage device;
establishing an SSP connection between the physical channel interface of the master HBA and the physical channel interface of the slave HBA, synchronizing the identified topological structure of the storage device to a slave server based on the SSP connection, and mutually transmitting heartbeat information between the physical channel interface of the master HBA and the physical channel interface of the slave HBA at a predefined time interval through the SSP connection;
when the physical channel interface of the slave HBA does not receive heartbeat information from the physical channel interface of the master HBA within the predefined time interval, receiving, by the slave HBA, a management command of the slave server, configuring a routing policy of the SAS expander, enabling an access path from the slave HBA to the storage device, and enabling the slave server to take over a read-write request of the user to the storage device.
In a preferred technical solution, before the main server responds to the read-write request of the user to the storage device, the method further includes:
and by configuring a routing policy of the SAS expander, prohibiting an access path from the slave HBA to the storage device, setting the master server in a data access active state, and setting the slave server in a data access prohibited state.
In a preferred technical solution, the establishing the SSP connection between the physical channel interface of the master HBA and the physical channel interface of the slave HBA further includes:
and respectively connecting the physical channel interface of the master HBA and the physical channel interface of the slave HBA to corresponding physical channel interfaces of the SAS expander, and establishing SSP connection between the physical channel interfaces of the master HBA and the slave HBA through routing of the SAS expander.
In a preferred technical solution, before the slave server takes over the read-write request of the user to the storage device, the method further includes:
and by configuring a routing policy of the SAS expander, prohibiting an access path from the master HBA to the storage device, setting the slave server to a data access active state, and setting the master server to a data access prohibited state.
In a preferred technical solution, the physical channel interface of the master HBA and the physical channel interface of the slave HBA transfer topology information and the heartbeat information of the storage device through a VS frame in the SSP connection.
According to a second aspect of the present invention, there is provided a service response apparatus of an SAS storage system, comprising:
an initialization unit, configured to receive a management command of a primary server through a primary HBA, identify a topology structure of a storage device downstream of a SAS expander, and enable an access path from the primary HBA to the storage device by configuring a routing policy of the SAS expander, so that the primary server responds to a read-write request of a user to the storage device;
an HBA connection unit configured to establish an SSP connection between a physical channel interface of the master HBA and a physical channel interface of the slave HBA, synchronize the identified topology structure of the storage device to a slave server based on the SSP connection, and mutually transmit heartbeat information between the physical channel interface of the master HBA and the physical channel interface of the slave HBA at a predefined time interval through the SSP connection;
and the switching unit is used for receiving a management command of the slave server through the slave HBA when the physical channel interface of the slave HBA does not receive heartbeat information of the physical channel interface of the master HBA within the predefined time interval, configuring a routing strategy of the SAS expander, enabling an access path from the slave HBA to the storage device, and enabling the slave server to take over a read-write request of the user to the storage device.
In a preferred embodiment, the initialization unit is further configured to:
and before the master server responds to the read-write request of a user to the storage device, the master server is set in a data access active state and the slave server is set in a data access forbidden state by configuring a routing strategy of the SAS expander to forbid an access path from the slave HBA to the storage device.
In a preferred embodiment, the HBA connection unit is further configured to:
and respectively connecting the physical channel interface of the master HBA and the physical channel interface of the slave HBA to corresponding physical channel interfaces of the SAS expander, and establishing SSP connection between the physical channel interfaces of the master HBA and the slave HBA through routing of the SAS expander.
In a preferred embodiment, the switching unit is further configured to:
before the slave server takes over the read-write request of the user to the storage device, the slave server is set in a data access active state and the master server is set in a data access disabled state by configuring a routing policy of the SAS expander to disable an access path from the master HBA to the storage device.
In a preferred technical solution, the physical channel interface of the master HBA and the physical channel interface of the slave HBA transfer topology information and the heartbeat information of the storage device through a VS frame in the SSP connection.
Compared with the prior art, the technical scheme of the invention is characterized in that the slave server and the slave HBA are additionally arranged on the basis of the master server and the master HBA. The master server and the slave server mutually exclusive share storage device resources on the whole storage system topology through controlling the routing strategy of the extender. By means of dedicated SSP connection between the master HBA and the slave HBA, the slave server monitors periodic heartbeat messages sent by the master server in real time, once the master server is found to generate single-point faults, a routing strategy of the expander is set timely, access rights of storage equipment in the topology of the whole storage system are actively taken over, uninterrupted storage data access service is provided for users, and stable operation of upper-layer business is guaranteed. The scheme of the invention can obviously improve the availability of the whole SAS storage system, avoid interruption of data storage service and improve the terminal experience of users.
Additional features and advantages of the invention will be set forth in the description which follows, and in part will be obvious from the description, or may be learned by practice of the invention. The objectives and other advantages of the invention may be realized and attained by the structure and process particularly pointed out in the written description and claims hereof as well as the appended drawings.
Drawings
In order to more clearly illustrate the embodiments of the present invention or the technical solutions in the prior art, the following description will briefly explain the drawings used in the embodiments or the description of the prior art, and it is obvious that the drawings in the following description are only some embodiments of the present invention, and other drawings can be obtained according to these drawings without inventive effort for a person skilled in the art.
Fig. 1 is a schematic diagram of a connection structure of a typical SAS HBA according to the prior art.
Fig. 2 is an architecture diagram of a high availability SAS storage system in accordance with the present invention.
Fig. 3 is a main flowchart of a traffic response method of the SAS storage system according to the present invention.
Figure 4 is a schematic diagram of a master-slave HBA physical channel connection establishment scheme in accordance with one embodiment of the present invention.
Figure 5 is a schematic diagram of a master-slave HBA physical channel connection establishment scheme in accordance with another embodiment of the present invention.
Detailed Description
In order to make the objects, technical solutions and advantages of the embodiments of the present invention more apparent, the technical solutions of the embodiments of the present invention will be clearly and completely described below with reference to the accompanying drawings in the embodiments of the present invention, and it is apparent that the described embodiments are some embodiments of the present invention, but not all embodiments of the present invention. All other embodiments, which are derived by a person skilled in the art from the embodiments according to the invention without creative efforts, fall within the protection scope of the invention.
Based on the analysis, the invention provides a service response method of an SAS storage system. The method is implemented by the high availability SAS storage system shown in fig. 2. As shown in fig. 2, the server host includes at least two servers, a master server M and a slave server S. The master server M is connected to the master HBA (SAS HBA M) via a PCIe bus, and the slave server S is connected to the slave HBA (SAS HBA S) via a PCIe bus. SAS HBA M and HBA S are connected to SAS Expander F via respective downstream SAS buses. The SAS Expander F internally stores a corresponding routing management policy, and the mutually exclusive sharing of the SAS and SATA device resources is realized by controlling the switching access path, namely supporting the upstream SAS HBA M to access all the downstream SAS and SATA devices and supporting the upstream SAS HBA S to access all the downstream SAS and SATA devices. SAS controllers inside the SAS HBA M and HBA S respectively set a primary PHY (physical channel interface) and a secondary PHY (shown as SAS PHY M and SAS PHY S in fig. 2), and support at least two functions of SSP (Serial SCSI Protocol ) Initiator and SSP Target defined by SAS standard protocol. An SSP type connection (shown as a bidirectional connection C in fig. 2) is established between the PHY M of the SAS HBA M and the PHY S of the HBA S, and information exchange is supported on the connection to transmit or receive a VS (Vendor Specific) frame of the SSP type.
Based on the structure of the high-availability SAS storage system in fig. 2, referring to the flowchart in fig. 3, the service response method of the high-performance SAS storage system provided by the invention includes:
step 101: the method comprises the steps of receiving a management command of a main server through a main HBA, identifying the topological structure of a storage device downstream of a SAS expander, and enabling an access path from the main HBA to the storage device through configuring a routing strategy of the SAS expander so as to enable the main server to respond to a read-write request of a user to the storage device.
The initialization process of the high availability SAS storage system described above is first performed. The master server M transmits an SMP (Serial management protocol of Serial ManagementProtocol, SAS) management command to the SAS Expander F of each stage through the master HBA (SAS HBA M).
The master server M may identify the entire storage topology through SAS HBA M scanning, as well as the end-accessed SAS disk and SATA disk device information. By configuring the routing policy inside SAS Expander F, the access path of SAS HBA M to downstream-end SAS disk and SATA disk devices may be enabled while the access path of SAS HBA S to downstream-end SAS disk and SATA disk devices is disabled.
Step 102: and establishing SSP connection between the physical channel interface of the master HBA and the physical channel interface of the slave HBA, synchronizing the identified topological structure of the storage device to the slave server based on the SSP connection, and mutually transmitting heartbeat information between the physical channel interface of the master HBA and the physical channel interface of the slave HBA at a predefined time interval through the SSP connection.
An SSP connection defined by the SAS standard protocol is established between the physical channel interface PHY M of the SAS HBA M and the physical channel interface PHY S of the SAS HBA S (connection C of fig. 2). On the basis of this connection C, the master server M may transmit the entire storage topology, the end SAS disk, and SATA disk device information identified by the SAS HBA M to the slave server S by transmitting a SSP type VS frame.
For SSP connection C, the present invention, in a preferred embodiment, presents two specific connection implementations. The embodiment of fig. 4 shows a first connection of the invention. Namely, the PHY M and the PHY S are directly interconnected through an SAS type cross cable, and a dedicated SSP type connection is established on a directly connected physical channel. The embodiment of fig. 5 shows a second connection of the invention. Namely, the PHY M and the PHY S are respectively connected to the PHY of the Expander through the SAS type common cable, and a dedicated SSP type connection is established after the PHY M and the PHY S are routed through the Expander.
The two embodiments of physical connection described above differ somewhat in the PHY layer, but are transparent to the applications within the upper master server M and the slave server S. Those skilled in the art will appreciate that a user may flexibly select an appropriate implementation to establish interconnection via SAS cables depending on the field installation environment.
Under a default sequence, the master server M may be first set in a data access active state, and the slave server S may be set in a data access prohibited state accordingly. The master server M responds to various types of storage read-write data requests from the user and periodically sends heartbeat messages I.M over the connection C at predefined time intervals. Meanwhile, the slave server S monitors the heartbeat information I.M on the connection C in real time in the reception direction.
Step 103: when the physical channel interface of the slave HBA does not receive heartbeat information from the physical channel interface of the master HBA within the predefined time interval, receiving, by the slave HBA, a management command of the slave server, configuring a routing policy of the SAS expander, enabling an access path from the slave HBA to the storage device, and enabling the slave server to take over a read-write request of the user to the storage device.
If the slave server S does not receive the heartbeat information I.M from the master server M within the specified time interval, it is determined that the master server M may fail, and the slave server S starts the failure processing, that is, the master-slave switching process.
Specifically, during the failure processing, the slave server S may send an SMP management command to the SAS Expander F through the SAS HBA S, set a routing policy inside the SAS Expander F, suspend the access paths from the SAS HBA M to the downstream end SAS disk and SATA disk devices, and simultaneously enable the access paths from the SAS HBA S to the downstream devices; the slave server S exits the data access forbidden state, enters the data access active state, responds to the request from the user, and takes over the access service of the stored data; the master server M and the slave server S exchange key information including heartbeat and storage system topology, etc., according to the establishment of a specified SSP connection between the PHY M and the PHY S. Accordingly, the main server S exits the data access active state and enters the data access prohibited state.
As an alternative embodiment, in the scenario that the slave server S takes over the access service of the stored data, if it is detected that the master server M and the slave server S recover the previous heartbeat information according to the SSP connection, the access right may be further switched from the slave server S back to the master server M, and the access service of the stored data may be continued to be taken over by the master server M. For example, it may be determined how to take over storage access traffic between multiple servers based on factors such as differences in master-slave server performance, failure states, or network conditions.
Compared with the traditional SAS storage system, the service response method and device of the SAS storage system provided by the invention have the advantages that the slave server S and the slave HBA (SAS HBA S) are additionally arranged on the basis of the master server M and the master HBA (SAS HBA M). The master server M and the slave server S mutually exclusive share SAS and SATA device resources on the entire storage system topology by controlling the routing policies of the Expander. By means of dedicated SSP connection between the master HBA and the slave HBA, the slave server S monitors periodic heartbeat messages sent by the master server M in real time, once the master server M is found to generate single-point faults, a routing strategy of an Expander is set timely, the slave server S actively takes over the SAS and SATA device access rights in the topology of the whole storage system, uninterrupted storage data access service is provided for users, and stable operation of upper-layer business is guaranteed. The scheme of the invention can obviously improve the availability of the whole SAS storage system, avoid interruption of data storage service and improve the terminal experience of users.
Accordingly, the present invention provides in a second aspect a service response device of an SAS storage system, comprising:
an initialization unit, configured to receive a management command of a primary server through a primary HBA, identify a topology structure of a storage device downstream of a SAS expander, and enable an access path from the primary HBA to the storage device by configuring a routing policy of the SAS expander, so that the primary server responds to a read-write request of a user to the storage device;
an HBA connection unit configured to establish an SSP connection between a physical channel interface of the master HBA and a physical channel interface of the slave HBA, synchronize the identified topology structure of the storage device to a slave server based on the SSP connection, and mutually transmit heartbeat information between the physical channel interface of the master HBA and the physical channel interface of the slave HBA at a predefined time interval through the SSP connection;
and the switching unit is used for receiving a management command of the slave server through the slave HBA when the physical channel interface of the slave HBA does not receive heartbeat information of the physical channel interface of the master HBA within the predefined time interval, configuring a routing strategy of the SAS expander, enabling an access path from the slave HBA to the storage device, and enabling the slave server to take over a read-write request of the user to the storage device.
The above device may be implemented by a service response method of an SAS storage system provided by the embodiment of the foregoing aspect, and a specific implementation manner may be referred to the description in the embodiment of the service response method of the SAS storage system, which is not described herein.
It will be appreciated that the storage topologies and interface types, numbers, etc. described in the above embodiments are merely examples. Those skilled in the art may also make and adjust the method steps and storage structures of the above embodiments easily conceivable according to the needs of use, and should not limit the concept of the present invention to the specific structures and steps of the above examples.
While the invention has been described in detail with reference to the foregoing embodiments, it will be appreciated by those skilled in the art that variations may be made in the techniques described in the foregoing embodiments, or equivalents may be substituted for elements thereof; such modifications and substitutions do not depart from the spirit and scope of the technical solutions of the embodiments of the present invention.

Claims (8)

1. A traffic response method for an SAS storage system, comprising:
receiving a management command of a main server through a main HBA, identifying a topological structure of a storage device at the downstream of a SAS expander, and enabling an access path from the main HBA to the storage device by configuring a routing strategy of the SAS expander so as to enable the main server to respond to a read-write request of a user to the storage device;
establishing an SSP connection between the physical channel interface of the master HBA and the physical channel interface of the slave HBA, synchronizing the identified topological structure of the storage device to the slave server based on the SSP connection, and mutually transmitting heartbeat information between the physical channel interface of the master HBA and the physical channel interface of the slave HBA at a predefined time interval through the SSP connection;
when the physical channel interface of the slave HBA does not receive heartbeat information from the physical channel interface of the master HBA within the predefined time interval, receiving, by the slave HBA, a management command of the slave server, configuring a routing policy of the SAS expander, enabling an access path from the slave HBA to the storage device, so that the slave server takes over a read-write request of the user to the storage device;
before the slave server takes over the read-write request of the user to the storage device, the method further comprises:
disabling an access path from the primary HBA to the storage device by configuring a routing policy of the SAS expander, placing the secondary server in a data access active state, and placing the primary server in a data access disabled state;
wherein the slave server takes over the read-write request of the user to the storage device, further comprising:
the slave server sends an SMP management command to the SAS expander through the slave HBA, sets a routing strategy in the SAS expander, pauses the access paths from the master HBA to the downstream end SAS disk and the SATA disk device, and simultaneously enables the access paths from the slave HBA to the downstream end SAS disk and the SATA disk device; the slave server exits the data access forbidden state, enters the data access active state, responds to a request from a user, and takes over access service of stored data; the master server and the slave server exchange key information including heartbeat and storage system topology according to the SSP connection established between the physical channel interface of the master HBA and the physical channel interface of the slave HBA, and the master server exits the data access active state and enters the data access prohibited state.
2. The traffic response method of a SAS storage system of claim 1 wherein prior to said responding by said host server to a user read-write request to said storage device, further comprising:
and by configuring a routing policy of the SAS expander, prohibiting an access path from the slave HBA to the storage device, setting the master server in a data access active state, and setting the slave server in a data access prohibited state.
3. The traffic response method of the SAS storage system of claim 1 wherein said establishing an SSP connection between the physical channel interface of the master HBA and the physical channel interface of the slave HBA further comprises:
and respectively connecting the physical channel interface of the master HBA and the physical channel interface of the slave HBA to corresponding physical channel interfaces of the SAS expander, and establishing SSP connection of the physical channel interface of the master HBA and the physical channel interface of the slave HBA through routing of the SAS expander.
4. The traffic response method of the SAS storage system of claim 1 wherein the physical channel interface of the master HBA and the physical channel interface of the slave HBA communicate topology information and the heartbeat information of the storage device in the SSP connection through a VS frame.
5. A traffic response device of an SAS storage system, comprising:
an initialization unit, configured to receive a management command of a primary server through a primary HBA, identify a topology structure of a storage device downstream of a SAS expander, and enable an access path from the primary HBA to the storage device by configuring a routing policy of the SAS expander, so that the primary server responds to a read-write request of a user to the storage device;
an HBA connection unit configured to establish an SSP connection between a physical channel interface of the master HBA and a physical channel interface of a slave HBA, synchronize a topology of the identified storage device to a slave server based on the SSP connection, and mutually transmit heartbeat information between the physical channel interface of the master HBA and the physical channel interface of the slave HBA at a predefined time interval through the SSP connection;
a switching unit, configured to, when the physical channel interface of the slave HBA does not receive heartbeat information from the physical channel interface of the master HBA within the predefined time interval, receive, by the slave HBA, a management command of the slave server, configure a routing policy of the SAS expander, enable an access path from the slave HBA to the storage device, so that the slave server takes over a read-write request of the user to the storage device;
the switching unit is further configured to:
before the slave server takes over the read-write request of the user to the storage device, the slave server is set in a data access active state and the master server is set in a data access prohibited state by configuring a routing policy of the SAS expander to prohibit an access path from the master HBA to the storage device;
wherein the slave server takes over the read-write request of the user to the storage device, further comprising:
the slave server sends an SMP management command to the SAS expander through the slave HBA, sets a routing strategy in the SAS expander, pauses the access paths from the master HBA to the downstream end SAS disk and the SATA disk device, and simultaneously enables the access paths from the slave HBA to the downstream end SAS disk and the SATA disk device; the slave server exits the data access forbidden state, enters the data access active state, responds to a request from a user, and takes over access service of stored data; the master server and the slave server exchange key information including heartbeat and storage system topology according to the SSP connection established between the physical channel interface of the master HBA and the physical channel interface of the slave HBA, and the master server exits the data access active state and enters the data access prohibited state.
6. The traffic response device of the SAS storage system of claim 5 wherein the initialization unit is further configured to:
and before the master server responds to the read-write request of a user to the storage device, the master server is set in a data access active state and the slave server is set in a data access forbidden state by configuring a routing strategy of the SAS expander to forbid an access path from the slave HBA to the storage device.
7. The traffic response device of the SAS storage system of claim 5 wherein the HBA connection unit is further configured to:
and respectively connecting the physical channel interface of the master HBA and the physical channel interface of the slave HBA to corresponding physical channel interfaces of the SAS expander, and establishing SSP connection of the physical channel interface of the master HBA and the physical channel interface of the slave HBA through routing of the SAS expander.
8. The traffic response device of the SAS storage system of claim 5 wherein the physical channel interface of the master HBA and the physical channel interface of the slave HBA communicate topology information and the heartbeat information of the storage device in the SSP connection via VS frames.
CN202310588846.0A 2023-05-23 2023-05-23 Service response method and device of SAS storage system Active CN116661688B (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN202310588846.0A CN116661688B (en) 2023-05-23 2023-05-23 Service response method and device of SAS storage system

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN202310588846.0A CN116661688B (en) 2023-05-23 2023-05-23 Service response method and device of SAS storage system

Publications (2)

Publication Number Publication Date
CN116661688A CN116661688A (en) 2023-08-29
CN116661688B true CN116661688B (en) 2023-12-12

Family

ID=87712961

Family Applications (1)

Application Number Title Priority Date Filing Date
CN202310588846.0A Active CN116661688B (en) 2023-05-23 2023-05-23 Service response method and device of SAS storage system

Country Status (1)

Country Link
CN (1) CN116661688B (en)

Families Citing this family (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN118656333B (en) * 2024-08-20 2024-12-20 苏州元脑智能科技有限公司 Storage device communication architecture, method, system, computer device and storage medium

Citations (3)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN101488077A (en) * 2009-02-24 2009-07-22 浪潮电子信息产业股份有限公司 Redundancy magnetic disk control server system
CN104657316A (en) * 2015-03-06 2015-05-27 北京百度网讯科技有限公司 Server
CN115686374A (en) * 2022-11-10 2023-02-03 阿里巴巴(中国)有限公司 Information acquisition method, information acquisition device, storage system, information acquisition device, and storage medium

Family Cites Families (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US10579486B2 (en) * 2016-01-08 2020-03-03 Hitachi, Ltd. Integrated platform, server and failover method

Patent Citations (3)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN101488077A (en) * 2009-02-24 2009-07-22 浪潮电子信息产业股份有限公司 Redundancy magnetic disk control server system
CN104657316A (en) * 2015-03-06 2015-05-27 北京百度网讯科技有限公司 Server
CN115686374A (en) * 2022-11-10 2023-02-03 阿里巴巴(中国)有限公司 Information acquisition method, information acquisition device, storage system, information acquisition device, and storage medium

Also Published As

Publication number Publication date
CN116661688A (en) 2023-08-29

Similar Documents

Publication Publication Date Title
EP2793428B1 (en) Pcie switch-based server system and switching method and device thereof
CN106899518B (en) Resource processing method and device based on Internet data center
US9250989B2 (en) Expander to control multipaths in a storage network
US7890617B2 (en) Method, apparatus and system for serial attached SCSI (SAS) zoning management of a domain using end device grouping
US20120284435A1 (en) Zone group manager virtual phy
CN101557379B (en) Link reconfiguration method for PCIE interface and device thereof
JP2007257180A (en) Network node, switch, and network failure recovery method
WO2017050254A1 (en) Hot backup method, device and system
CN112543922B (en) A method and related device for improving storage system reliability
CN103475695A (en) Interconnection method and device for storage system
US11232006B2 (en) Server system
CN116661688B (en) Service response method and device of SAS storage system
US20160246746A1 (en) Sas configuration management
US10423554B1 (en) Bus arbitration with routing and failover mechanism
US8478900B2 (en) Determining misconnection of an electronic device to a network device using zone information
CN104753707A (en) System maintenance method and network switching equipment
CN114697197A (en) Edge computing devices and methods
EP0858036A2 (en) Fibre channel attached storage architecture
CN107707665A (en) A kind of network storage method, device, system and computer-readable recording medium
CN101145955A (en) Hot backup method, network management and network management system of network management software
US9491132B2 (en) System and method for providing push service for reducing network loads
JP2001346181A (en) Data storage unit sharing device and program recording medium
CN110034951A (en) The failure switching method and iSCSI major heading device of iscsi target device
JP2024541654A (en) STORAGE SYSTEM, DATA PROCESSING METHOD, AND APPARATUS - Patent application
CN113392053B (en) A storage system, a communication method and components

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