CN110580235B - SAS expander communication method and device - Google Patents
SAS expander communication method and device Download PDFInfo
- Publication number
- CN110580235B CN110580235B CN201810585747.6A CN201810585747A CN110580235B CN 110580235 B CN110580235 B CN 110580235B CN 201810585747 A CN201810585747 A CN 201810585747A CN 110580235 B CN110580235 B CN 110580235B
- Authority
- CN
- China
- Prior art keywords
- expander
- sas
- link
- address
- serial port
- 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
Links
Images
Classifications
-
- G—PHYSICS
- G06—COMPUTING OR CALCULATING; COUNTING
- G06F—ELECTRIC DIGITAL DATA PROCESSING
- G06F13/00—Interconnection of, or transfer of information or other signals between, memories, input/output devices or central processing units
- G06F13/38—Information transfer, e.g. on bus
- G06F13/42—Bus transfer protocol, e.g. handshake; Synchronisation
- G06F13/4204—Bus transfer protocol, e.g. handshake; Synchronisation on a parallel bus
- G06F13/4234—Bus transfer protocol, e.g. handshake; Synchronisation on a parallel bus being a memory bus
-
- G—PHYSICS
- G06—COMPUTING OR CALCULATING; COUNTING
- G06F—ELECTRIC DIGITAL DATA PROCESSING
- G06F13/00—Interconnection of, or transfer of information or other signals between, memories, input/output devices or central processing units
- G06F13/38—Information transfer, e.g. on bus
- G06F13/42—Bus transfer protocol, e.g. handshake; Synchronisation
- G06F13/4265—Bus transfer protocol, e.g. handshake; Synchronisation on a point to point bus
-
- G—PHYSICS
- G06—COMPUTING OR CALCULATING; COUNTING
- G06F—ELECTRIC DIGITAL DATA PROCESSING
- G06F2213/00—Indexing scheme relating to interconnection of, or transfer of information or other signals between, memories, input/output devices or central processing units
- G06F2213/0028—Serial attached SCSI [SAS]
Landscapes
- Engineering & Computer Science (AREA)
- Theoretical Computer Science (AREA)
- Physics & Mathematics (AREA)
- General Engineering & Computer Science (AREA)
- General Physics & Mathematics (AREA)
- Information Transfer Systems (AREA)
Abstract
The application provides a communication method and a device of an SAS expander, which are applied to a first expander of a disk expansion cabinet, wherein the disk expansion cabinet comprises the first expander and a second expander, a serial port link and an SAS link exist between the first expander and the second expander, and the method comprises the following steps: mutually transmitting the SAS address of the second expander through the serial port link, and marking the SAS link as available after mutual transmission is completed; and receiving a management command issued by a controller of the main control cabinet, and forwarding the management command to the second expander through the SAS link marked as available. According to the technical scheme, the problem that normal communication cannot be achieved between the expanders due to writing errors when expanders in the disk expansion cabinet are produced and replaced is avoided, and maintainability of the disk expansion cabinet is greatly improved.
Description
Technical Field
The present application relates to the field of computer technologies, and in particular, to a SAS expander communication method and apparatus.
Background
In a dual control System, the states of two controllers (Storage processors, SPs) in the same main control cabinet (SPU) must be consistent, and the state information of two SAS (Serial Attached Small Computer System Interface) expanders (expanders, EPs) in a Disk expansion cabinet (Disk shell Unit, DSU) connected to the main control cabinet must also be consistent.
The state of the expanders in the same disk enclosure is usually kept consistent by Firmware of the disk enclosure itself. After receiving a management command issued by a controller of the master control cabinet, any expander in the disk expansion cabinet needs to forward the management command to other expanders to realize synchronization of state information.
Disclosure of Invention
In view of this, the present application provides a SAS expander communication method and apparatus, so as to implement efficient and reliable communication between expanders in a disk expansion cabinet.
Specifically, the method is realized through the following technical scheme:
a communication method of an SAS expander is applied to a first expander of a disk expansion cabinet, wherein the disk expansion cabinet comprises the first expander and a second expander, and a serial port link and an SAS link exist between the first expander and the second expander; the method comprises the following steps:
mutually transmitting the SAS address of the second expander through the serial port link, and marking the SAS link as available after mutual transmission is completed;
and receiving a management command issued by a controller of the main control cabinet, and forwarding the management command to the second expander through the SAS link marked as available.
An SAS expander communication device is applied to a first expander of a disk expansion cabinet, wherein the disk expansion cabinet comprises the first expander and a second expander, and a serial port link and an SAS link exist between the first expander and the second expander; the method comprises the following steps:
a transmitting unit, configured to transmit an SAS address of the transmitting unit to the second expander through the serial link, and mark the SAS link as available after the mutual transmission is completed;
and the forwarding unit is used for receiving a management command issued by a controller of the main control cabinet and forwarding the management command to the second expander through the SAS link marked as available.
In the technical scheme of the application, a serial port link and an SAS link exist between a first expander and a second expander of a disk expansion cabinet, the first expander and the second expander mutually transmit the SAS address of the first expander through the serial port link, and the SAS link is marked as available after the mutual transmission is finished; after receiving a management command issued by a master control cabinet, the first expander forwards the management command to the second expander through the SAS link marked as available;
since the first expander and the second expander can mutually transmit the SAS addresses thereof through the serial port link, the subsequent communication can be completed based on the SAS link; therefore, when the expanders in the disk expansion cabinet are produced and replaced, SAS addresses of other expanders in the disk expansion cabinet do not need to be written into each expander, the problem that normal communication between the expanders cannot be carried out due to writing errors is avoided, and the maintainability of the disk expansion cabinet is greatly improved.
Drawings
FIG. 1 is a prior art network architecture diagram of a SAS domain;
FIG. 2 is a network architecture diagram of a SAS domain as shown herein;
FIG. 3 is a flow chart of a SAS expander communication method illustrated herein;
FIG. 4 is a flow chart of another SAS expander communication method illustrated herein;
FIG. 5 is a block diagram of an embodiment of a SAS expander communication device shown herein;
fig. 6 is a hardware block diagram of a SAS expander communication device shown in the present application.
Detailed Description
In order to make the technical solutions in the embodiments of the present invention better understood and make the above objects, features and advantages of the embodiments of the present invention more comprehensible, the following description of the prior art and the technical solutions in the embodiments of the present invention with reference to the accompanying drawings is provided.
Referring to fig. 1, which is a network architecture diagram of an SAS domain in the prior art, as shown in fig. 1, two controllers in a master control cabinet are respectively connected with two expanders in a disk expansion cabinet through SAS links, and two expanders in the disk expansion cabinet are connected through SAS links. Based on the communication rules of the SAS protocol, when EP1 transmits data to EP2, EP1 must know the SAS address of EP2 in advance; EP2, in turn, sends data to EP1, and the SAS address of EP1 must also be known in advance.
Wherein the SAS address of the expander, similar to the MAC address of a computer network card, is globally unique and is used to identify each expander, and is written into the expander by the manufacturer at the time of expander production.
In order to implement the technical scheme, when the disk expansion cabinet is produced, the SAS address of EP1 needs to be written into the configuration information of EP2, and the SAS address of EP2 needs to be written into the configuration information of EP 1.
However, in the process of writing the SAS address, there may be a risk that SAS addresses written by two expanders in the same disk expansion cabinet by opposite expanders are not matched, so that normal communication between the two expanders cannot be performed.
In addition, when any expander in the disk expansion cabinet is replaced due to a hardware failure, the SAS address of the correct opposite-end expander needs to be manually written into the replaced expander and the original normal expander, and this process also has a possibility of errors, which results in that normal communication between the two expanders cannot be performed.
Therefore, in the prior art, in order to realize communication between disk expansion cabinets, SAS addresses of other expanders need to be manually written into each expander in the disk expansion cabinet, and normal communication between the expanders cannot be realized possibly due to writing errors; moreover, the maintainability of the scheme is low, and normal communication between expanders can not be realized due to errors of written SAS addresses when a failed expander is replaced subsequently.
In order to solve the above problems, in the technical scheme of the application, the expanders in the disk expansion cabinet are not only connected through an SAS link, but also connected through a serial port link; the expanders transmit their SAS addresses to each other via serial links, so that each expander can communicate based on the received SAS address. In the application, SAS addresses of other expanders do not need to be manually written into the expanders, the problem that normal communication among the expanders in the disk expansion cabinet cannot be achieved due to writing errors is solved, and the maintainability of the disk expansion cabinet is greatly improved.
Referring to FIG. 2, a network architecture diagram of a SAS domain is shown. As shown in fig. 2, two controllers in the main control cabinet are respectively connected with two expanders in the disk expansion cabinet through SAS links; a serial port link and an SAS link exist between two expanders in the disk expander.
As an embodiment, the serial link is led out from a serial control chip integrated on an SAS Expander chip in EP1, and is connected to the serial control chip integrated on the SAS Expander chip in EP2 through a back plate of the disk expansion cabinet.
The SAS link is led out by a PHY (physical layer) chip on the SAS Expander chip in EP1, passes through a back plate of the disk expansion cabinet and is connected with the PHY chip on the SAS Expander chip in EP 2. The number of PHY chips on EP1 at both ends of the SAS link is the same as the number of PHY chips on EP 2.
Referring to fig. 3, a flowchart of a SAS expander communication method shown in the present application is applied to a first expander of a disk expansion cabinet, and the method includes the following steps:
step 301: and mutually transmitting the SAS address of the second expander through the serial port link, and marking the SAS link as available after mutual transmission is completed.
The disk expansion cabinet includes a first expander and a second expander, and certainly, the disk expansion cabinet may further include more expanders. Here, the first expander and the second expander both refer to any expander in the disk expansion cabinet, which are named for convenience of description only and do not limit the present application.
A serial port link and an SAS link exist between the first expander and the second expander. If the above-mentioned disk expansion cabinet only includes two expanders, the connection mode can refer to the architecture diagram shown in fig. 2. If the disk expansion cabinet comprises at least three expanders, each expander and other expander supports have a serial port link and an SAS link.
In one illustrated embodiment, a first expander may periodically send a get address request to a second expander over a serial link. The period duration may be preconfigured based on the actual application environment, for example, the period duration may be 0.5 seconds.
Of course, the first expander also receives the address obtaining request sent by the second expander through the serial port link. At this time, the first expander may send its SAS address to the second expander through the serial link.
And after receiving the address acquisition request sent by the first expander, the second expander returns the SAS address of the second expander through the serial port link. The first expander receives the SAS address of the second expander through the serial link, may store the SAS address, and stops sending the address acquisition request to the second expander.
Further, if the request for obtaining the address sent by the second expander is not received within the preset first time period, it may be determined that the SAS address of the first expander is already saved by the second expander, and in this case, if the SAS address of the second expander is already saved by the first expander, the SAS link with the second expander may be marked as available. The first time period may be preconfigured based on the actual application environment, for example, the first time period may be 2 seconds.
In another embodiment shown, the first extender may periodically send a get address request and a heartbeat message to the second extender over the serial link. Wherein the heartbeat message indicates that the expander is in a running state.
After receiving the SAS address returned by the second expander through the serial link, the first expander may store the SAS address, and stop sending the address acquisition request to the second expander, but only periodically send heartbeat information to the second expander.
Similarly, the second expander periodically sends an address acquisition request and heartbeat information to the first expander through the serial port link, and stops sending the address acquisition request after the first expander returns the SAS address of the first expander, and then periodically sends heartbeat information to the second expander. Likewise, the cycle duration may be preconfigured based on the actual application environment.
Further, if the heartbeat-only messages are received n consecutive times, it may be determined that the second expander already holds the SAS address of the first expander, in which case the SAS link with the second expander may be marked as available if the first expander already holds the SAS address of the second expander. Where n is a positive integer not less than 1, for example, n may be 1, 2, 3, or 4 … …. In such an embodiment, the first extender measures the duration by the number of heartbeat messages received.
In this embodiment, if the heartbeat message sent by the second expander is not received within the preset second time period, it may be determined that the second expander is not in the operating state. In this case, it makes no sense to communicate with the second expander over the SAS link, and thus, the first expander may mark the SAS link with the second expander as unavailable.
Further, the first expander may periodically send an address acquisition request and a heartbeat message to the second expander through the serial port link.
By this means, the first expander can mutually transmit its SAS address with the second expander in time after the second expander is restored to the operating state.
In the embodiment of the application, the first expander and the second expander mutually transmit their SAS addresses through the serial port link, and can communicate through the SAS link after the SAS link is marked as available. See the description below for details.
Step 302: and receiving a management command issued by a controller of the main control cabinet, and forwarding the management command to the second expander through the SAS link marked as available.
To more clearly illustrate the flow of the management commands processed by the first expander and the second expander, reference is made to fig. 4, which is a flow chart illustrating another SAS expander communication method described herein. Fig. 4 illustrates a processing flow by taking a disk expansion cabinet including two expanders as an example, and thus, the first expander is the "home-end expander" in fig. 4, and the second expander is the "opposite-end expander" in fig. 4 with respect to the first expander.
The following describes the flow of the management command processed by the first expander and the second expander with reference to fig. 4.
First, a first extender receives a management command issued by a controller of a main Control cabinet, where the management command may include an Enclosure Control diagnostic page in a SCSI (Small Computer System Interface) protocol.
The first expander may then check whether the second expander is in place.
As an embodiment, the first extender and the second extender respectively include a CPLD (Complex Programmable Logic Device) chip, and the CPLD chip on the first extender is connected to the CPLD chip on the second extender. When the second expander is not in place, the CPLD chip on the first expander can detect a high-level signal; and when the second expander is in place, the CPLD chip on the first expander can detect a low-level signal. Thus, the first expander can determine whether the second expander is in place.
As another embodiment, the CPLD chips on the first expander and the second expander may also be replaced by FPGA (Field-Programmable Gate Array) chips, and the implementation manner is similar. For these two implementation manners, reference may be made to the prior art, and details are not described herein.
On one hand, if the second expander is not in place, the first expander does not need to send a management command to the second expander through the SAS link, and can directly execute the management command and send an execution result to the controller after the execution is completed. After the first expander executes the management command, the state information of the first expander can be updated.
On the other hand, if the second expander is in place, the first expander may check if the SAS link with the second expander is available. There are two cases at this time:
(1) if the SAS link is not available, the first expander may send the first error message directly to the controller without executing a management command. Wherein the first error information characterizes an unavailability of a SAS link between the first expander and the second expander.
(2) The SAS link is available, the first expander may send the management command to the second expander via the SAS link, so that the second expander returns a response message via the SAS link after executing the management command.
The first extender may begin timing after sending the management command to the second extender. Further, it is determined whether the second extender responds to a timeout.
Specifically, if a response message returned by the second expander is not received within a preset timeout period after the management command is sent to the second expander through the SAS link, it may be determined that the response of the second expander is timeout. Wherein the timeout may be preconfigured based on the actual application environment. The response message may include a process success message indicating that the process management command is successful, and a process failure message indicating that the process management command is failed.
In this case, the first expander may transmit the second error information to the controller. Wherein the second error information characterizes a second expander response timeout.
In addition, if a response message returned by the second extender is received within the timeout period, it may be determined that the response of the second extender is not timed out, and at this time, the first extender may check whether the response message is a processing success message.
On one hand, if the response message is a processing success message, the first extender may execute the management command and return an execution result to the controller after the processing is completed. At this time, the first expander and the second expander both execute the management command, and thus both update their own state information.
On the other hand, if the response message is a processing failure message, the first extender may transmit third error information to the controller. Wherein the third error information indicates that the second expander failed to execute the management command.
And at this point, the introduction of the flow of the management command processing by the first expander and the second expander of the disk expansion cabinet is finished.
If the disk expansion cabinet comprises a plurality of expanders, the expander receiving the management command issued by the controller needs to take other expanders as second expanders to execute the operation. And the management command is executed only after none of the other expanders are in place and all expanders in place return a processing success message.
The first expander of the disk expansion cabinet may also receive a state acquisition command issued by the controller of the main control cabinet, where the state acquisition command may include an closure Status diagnostic page in the SCSI protocol. The first expander needs to return the state information of the main expander of the disk expansion cabinet to the controller.
Wherein, each expander in the disk expansion cabinet needs to synchronize state information with the main expander. Each expander in the disk expansion cabinet can select one expander as a main expander through an election mechanism, and a specific implementation manner can refer to the prior related art, which is not described herein again.
After receiving the state acquisition command, the first expander can first determine whether the first expander is a main expander of the disk expansion cabinet.
On the one hand, if the controller is the main expander, the controller can directly send the state information of the controller.
On the other hand, if not the primary expander itself, a status acquisition request may be sent to the primary expander over the SAS link marked as available to return status information by the primary expander. Such as: if only the first expander and the second expander exist in the disk expansion cabinet, after the first expander determines that the first expander is not the main expander, the state acquisition request can be sent to the second expander.
After receiving the state information returned by the main expander, the first expander may update its own state information (if the state information is consistent, the state information does not need to be updated) based on detecting whether the state information is consistent with the own state information, and then send the state information to the controller of the main control cabinet.
And at this point, the flow introduction of the state acquisition command processed by the expander of the disk expansion cabinet is finished.
In summary, in the technical solution of the present application, a serial port link and an SAS link exist in the first expander and the second expander of the disk expansion cabinet so far; the first expander and the second expander can mutually transmit own SAS addresses through the serial port link, and mark the SAS link as available after mutual transmission is completed;
further, after receiving a management command issued by a controller of the master control cabinet, the first expander may forward the management command to the second expander through the SAS link marked as available;
since the first expander and the second expander can mutually transmit the SAS addresses thereof through the serial port link, the subsequent communication can be completed based on the SAS link; therefore, when the expanders in the disk expansion cabinet are produced and replaced, SAS addresses of other expanders in the disk expansion cabinet do not need to be written into each expander, the problem that normal communication between the expanders cannot be carried out due to writing errors is avoided, and the maintainability of the disk expansion cabinet is greatly improved.
Embodiments of SAS expander communication devices are also provided herein, corresponding to embodiments of SAS expander communication methods described above.
Referring to FIG. 5, a block diagram of one embodiment of a SAS expander communication device is shown.
As shown in fig. 5, the SAS expander communication device 50 includes:
a transmitting unit 510, configured to transmit an own SAS address to and from the second expander through the serial link, and mark the SAS link as available after the mutual transmission is completed.
A forwarding unit 520, configured to receive a management command issued by a controller of a master control cabinet, and forward the management command to the second expander through the SAS link marked as available.
In this example, the transmitting unit 510 is further configured to:
periodically sending an address acquisition request to the second expander through the serial port link;
receiving the SAS address of the second expander through the serial port link, storing the SAS address, and stopping sending the address acquisition request to the second expander;
and if the address acquisition request sent by the second expander is not received within a preset first time period and the SAS address of the second expander is stored, marking the SAS link as available.
In this example, the transmitting unit 510 is further configured to:
periodically sending an address acquisition request and a heartbeat message to the second expander through the serial port link;
if the heartbeat message is received only for n times continuously and the SAS address of the second expander is saved, marking the SAS link as available; wherein n is a positive integer not less than 1.
In this example, the transmitting unit 510 is further configured to:
if the heartbeat message sent by the second expander is not received within a preset second time length, marking the SAS link as unavailable;
and periodically sending an address acquisition request and a heartbeat message to the second expander through the serial port link.
In this example, the forwarding unit 520 is further configured to:
receiving a management command issued by a controller of a main control cabinet, and checking whether the second expander is in place;
if the second expander is in place, checking whether a SAS link with the second expander is available;
if the SAS link is available, the management command is sent to the second expander through the SAS link, so that the second expander returns a response message through the SAS link after executing the management command;
checking whether the response message is a processing success message, if so, executing the management command, and returning an execution result to the controller.
In this example, the forwarding unit 520 is further configured to:
if the SAS link is not available, sending first error information to the controller; wherein the first error information characterizes that a SAS link between the first expander and the second expander is unavailable.
In this example, the forwarding unit 520 is further configured to:
if the response message returned by the second expander is not received within the preset timeout after the management command is sent to the second expander through the SAS link, sending second error information to the controller; wherein the second error information characterizes the second expander response timeout.
In this example, the forwarding unit 520 is further configured to:
receiving a state acquisition command issued by a controller of the master control cabinet;
judging whether the expansion cabinet is a main expander of the disk expansion cabinet;
if not, sending a state acquisition request to the primary expander through the SAS link marked as available so as to return state information by the primary expander;
and updating the state information of the master control cabinet based on the state information, and sending the state information to the controller of the master control cabinet.
The embodiment of the SAS expander communication device can be applied to an expander. The device embodiments may be implemented by software, or by hardware, or by a combination of hardware and software. The software implementation is taken as an example, and is formed by reading corresponding computer program instructions in the nonvolatile memory into the memory for operation through the processor of the expander in which the software implementation is used as a logical device. From a hardware aspect, as shown in fig. 6, the SAS expander communication device according to the present application is a hardware structure diagram of an expander in which the SAS expander communication device is located, except for the processor, the memory, the network interface, and the nonvolatile memory shown in fig. 6, an expander in which the device is located in an embodiment may also include other hardware according to an actual function of the SAS expander communication device, which is not described again.
The implementation process of the functions and actions of each unit in the above device is specifically described in the implementation process of the corresponding step in the above method, and is not described herein again.
For the device embodiments, since they substantially correspond to the method embodiments, reference may be made to the partial description of the method embodiments for relevant points. The above-described embodiments of the apparatus are merely illustrative, and the units described as separate parts may or may not be physically separate, and parts displayed as units may or may not be physical units, may be located in one place, or may be distributed on a plurality of network units. Some or all of the modules can be selected according to actual needs to achieve the purpose of the scheme of the application. One of ordinary skill in the art can understand and implement it without inventive effort.
The above description is only exemplary of the present application and should not be taken as limiting the present application, as any modification, equivalent replacement, or improvement made within the spirit and principle of the present application should be included in the scope of protection of the present application.
Claims (8)
1. A communication method of an SAS expander is applied to a first expander of a disk expansion cabinet, wherein the disk expansion cabinet comprises the first expander and a second expander, and a serial port link and an SAS link exist between the first expander and the second expander; it is characterized by comprising:
periodically sending an address acquisition request to the second expander through the serial port link;
receiving the SAS address of the second expander through the serial port link, storing the SAS address, and stopping sending the address acquisition request to the second expander;
if the address acquisition request sent by the second expander is not received within a preset first time period and the SAS address of the second expander is stored, marking the SAS link as available;
receiving an address acquisition request sent by the second expander through the serial port link, and sending an SAS address of the serial port link to the second expander through the serial port link;
and receiving a management command issued by a controller of the main control cabinet, and forwarding the management command to the second expander through the SAS link marked as available.
2. The method of claim 1, wherein periodically sending a get address request to the second expander over the serial link comprises:
periodically sending an address acquisition request and a heartbeat message to the second expander through the serial port link;
if the address acquisition request sent by the second expander is not received within the preset first time period and the SAS address of the second expander is already stored, marking the SAS link as available, including:
if the heartbeat message is received only for n times continuously and the SAS address of the second expander is saved, marking the SAS link as available; wherein n is a positive integer not less than 1.
3. The method of claim 2, further comprising:
if the heartbeat message sent by the second expander is not received within a preset second time length, marking the SAS link as unavailable;
and periodically sending an address acquisition request and a heartbeat message to the second expander through the serial port link.
4. The method of claim 1, wherein the receiving of the management command from the controller of the master cabinet and forwarding the management command to the second expander through the SAS link marked as available comprises:
receiving a management command issued by a controller of a main control cabinet, and checking whether the second expander is in place;
if the second expander is in place, checking whether a SAS link with the second expander is available;
if the SAS link is available, the management command is sent to the second expander through the SAS link, so that the second expander returns a response message through the SAS link after executing the management command;
checking whether the response message is a processing success message, if so, executing the management command, and returning an execution result to the controller.
5. The method of claim 4, further comprising:
if the SAS link is not available, sending first error information to the controller; wherein the first error information characterizes that a SAS link between the first expander and the second expander is unavailable.
6. The method of claim 4, further comprising:
if the response message returned by the second expander is not received within the preset timeout after the management command is sent to the second expander through the SAS link, sending second error information to the controller; wherein the second error information characterizes the second expander response timeout.
7. The method of claim 1, further comprising:
receiving a state acquisition command issued by a controller of the master control cabinet;
judging whether the expansion cabinet is a main expander of the disk expansion cabinet;
if not, sending a state acquisition request to the primary expander through the SAS link marked as available so as to return state information by the primary expander;
and updating the state information of the master control cabinet based on the state information, and sending the state information to the controller of the master control cabinet.
8. An SAS expander communication device is applied to a first expander of a disk expansion cabinet, wherein the disk expansion cabinet comprises the first expander and a second expander, and a serial port link and an SAS link exist between the first expander and the second expander; it is characterized by comprising:
a transmission unit, configured to periodically send an address acquisition request to the second expander through the serial port link;
receiving the SAS address of the second expander through the serial port link, storing the SAS address, and stopping sending the address acquisition request to the second expander;
if the address acquisition request sent by the second expander is not received within a preset first time period and the SAS address of the second expander is stored, marking the SAS link as available;
receiving an address acquisition request sent by the second expander through the serial port link, and sending an SAS address of the serial port link to the second expander through the serial port link;
and the forwarding unit is used for receiving a management command issued by a controller of the main control cabinet and forwarding the management command to the second expander through the SAS link marked as available.
Priority Applications (1)
| Application Number | Priority Date | Filing Date | Title |
|---|---|---|---|
| CN201810585747.6A CN110580235B (en) | 2018-06-08 | 2018-06-08 | SAS expander communication method and device |
Applications Claiming Priority (1)
| Application Number | Priority Date | Filing Date | Title |
|---|---|---|---|
| CN201810585747.6A CN110580235B (en) | 2018-06-08 | 2018-06-08 | SAS expander communication method and device |
Publications (2)
| Publication Number | Publication Date |
|---|---|
| CN110580235A CN110580235A (en) | 2019-12-17 |
| CN110580235B true CN110580235B (en) | 2021-04-27 |
Family
ID=68809565
Family Applications (1)
| Application Number | Title | Priority Date | Filing Date |
|---|---|---|---|
| CN201810585747.6A Active CN110580235B (en) | 2018-06-08 | 2018-06-08 | SAS expander communication method and device |
Country Status (1)
| Country | Link |
|---|---|
| CN (1) | CN110580235B (en) |
Families Citing this family (8)
| Publication number | Priority date | Publication date | Assignee | Title |
|---|---|---|---|---|
| CN111159080B (en) * | 2019-12-31 | 2021-11-12 | 加弘科技咨询(上海)有限公司 | Case management system and management method |
| CN111475378B (en) * | 2020-03-27 | 2022-10-28 | 苏州浪潮智能科技有限公司 | Monitoring method, device and equipment for Expander |
| CN113760184B (en) * | 2021-07-28 | 2023-08-25 | 苏州浪潮智能科技有限公司 | A unified storage chassis topology information collection method and device |
| CN113672537B (en) * | 2021-09-03 | 2022-10-11 | 无锡众星微系统技术有限公司 | SATA (Serial advanced technology attachment) equipment hot plug management method and device |
| CN113868009A (en) * | 2021-10-20 | 2021-12-31 | 南昌逸勤科技有限公司 | Automatic repairing method, equipment and storage medium of SAS expander |
| CN118427130B (en) * | 2024-07-01 | 2024-09-24 | 杭州华澜微电子股份有限公司 | SAS expander, arbitration method and device thereof, and SAS transmission subsystem |
| CN118982993B (en) * | 2024-07-31 | 2025-08-05 | 广东东勤科技有限公司 | SAS base address determination method, device, equipment, storage medium and program product |
| CN118656333B (en) * | 2024-08-20 | 2024-12-20 | 苏州元脑智能科技有限公司 | Storage device communication architecture, method, system, computer device and storage medium |
Citations (3)
| Publication number | Priority date | Publication date | Assignee | Title |
|---|---|---|---|---|
| CN102325163A (en) * | 2011-07-18 | 2012-01-18 | 福建星网锐捷网络有限公司 | Routing updating method, device and relevant equipment |
| CN104969204A (en) * | 2013-09-05 | 2015-10-07 | 株式会社日立制作所 | Storage system and storage control method |
| CN107577630A (en) * | 2017-08-30 | 2018-01-12 | 武汉市敏控科技有限公司 | A kind of expansion module automatic addressing system |
Family Cites Families (2)
| Publication number | Priority date | Publication date | Assignee | Title |
|---|---|---|---|---|
| US7058749B2 (en) * | 2003-11-13 | 2006-06-06 | Dell Products L.P. | System and method for communications in serial attached SCSI storage network |
| US10452576B2 (en) * | 2016-06-24 | 2019-10-22 | Avago Technologies International Sales Pte. Limited | NVMe drive detection from a SAS/SATA connector |
-
2018
- 2018-06-08 CN CN201810585747.6A patent/CN110580235B/en active Active
Patent Citations (3)
| Publication number | Priority date | Publication date | Assignee | Title |
|---|---|---|---|---|
| CN102325163A (en) * | 2011-07-18 | 2012-01-18 | 福建星网锐捷网络有限公司 | Routing updating method, device and relevant equipment |
| CN104969204A (en) * | 2013-09-05 | 2015-10-07 | 株式会社日立制作所 | Storage system and storage control method |
| CN107577630A (en) * | 2017-08-30 | 2018-01-12 | 武汉市敏控科技有限公司 | A kind of expansion module automatic addressing system |
Also Published As
| Publication number | Publication date |
|---|---|
| CN110580235A (en) | 2019-12-17 |
Similar Documents
| Publication | Publication Date | Title |
|---|---|---|
| CN110580235B (en) | SAS expander communication method and device | |
| US11809291B2 (en) | Method and apparatus for redundancy in active-active cluster system | |
| US7814479B2 (en) | Simultaneous download to multiple targets | |
| US7996715B2 (en) | Multi nodal computer system and method for handling check stops in the multi nodal computer system | |
| CN117687664A (en) | Online upgrade configuration method and device for DSP | |
| JP5868563B1 (en) | Control device and unit for distributed control system | |
| US8996770B2 (en) | Integrated link calibration and multi-processor topology discovery | |
| CN108959026A (en) | A kind of method of accurate monitoring RAID card | |
| JPWO2007097040A1 (en) | Information processing apparatus control method, information processing apparatus | |
| CN106789495B (en) | A single-controller master-slave network bus controller online switching method | |
| JP2001005720A (en) | Shared memory access management device | |
| JP2007334668A (en) | Memory dumping method, cluster system, node constituting the system, and program | |
| CN115437976A (en) | Bus control method and system | |
| CN112433968B (en) | A controller sharing synchronization method and device | |
| CN210380890U (en) | Communication system and SIS system of Modbus equipment | |
| US7568121B2 (en) | Recovery from failure in data storage systems | |
| CN102457547A (en) | Upgrading method for storage area network equipment of multiple controllers | |
| CN112346922B (en) | Server device and communication protocol method thereof | |
| CN117873797B (en) | Digital circuit chip fault confirmation method and related device | |
| JP4864755B2 (en) | Data processing system and diagnostic method | |
| CN113760627B (en) | Method and device for controlling interface debugging in bus by adopting response mechanism | |
| JP3743381B2 (en) | Inter-host processing synchronization method | |
| US20200159918A1 (en) | Computer system and device management method | |
| CN120045498A (en) | SPI slave communication method, apparatus, readable storage medium and computer program product | |
| JP4258372B2 (en) | Common memory management method |
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 |