CN101382872B - Double-control storage and switch control method for SAS and SATA signal by detecting heartbeat - Google Patents

Double-control storage and switch control method for SAS and SATA signal by detecting heartbeat Download PDF

Info

Publication number
CN101382872B
CN101382872B CN2008101578668A CN200810157866A CN101382872B CN 101382872 B CN101382872 B CN 101382872B CN 2008101578668 A CN2008101578668 A CN 2008101578668A CN 200810157866 A CN200810157866 A CN 200810157866A CN 101382872 B CN101382872 B CN 101382872B
Authority
CN
China
Prior art keywords
sas
controller
aamux
control
multiplexer
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
CN2008101578668A
Other languages
Chinese (zh)
Other versions
CN101382872A (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.)
Inspur Electronic Information Industry Co Ltd
Original Assignee
Langchao Electronic Information Industry 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 Langchao Electronic Information Industry Co Ltd filed Critical Langchao Electronic Information Industry Co Ltd
Priority to CN2008101578668A priority Critical patent/CN101382872B/en
Publication of CN101382872A publication Critical patent/CN101382872A/en
Application granted granted Critical
Publication of CN101382872B publication Critical patent/CN101382872B/en
Active legal-status Critical Current
Anticipated expiration legal-status Critical

Links

Images

Abstract

The invention provides a dual-control storage switching control method for SAS and SATA signals by detecting heart beat. The method comprises the steps that an SAS controller 1, an SAS controller 2 and a CPLD chip are arranged in dual-control storage; the working states of the two controller are mutually judged by detecting the heart beat of each other; the two controllers are respectively connected with more than 8 SATA disks; each disk switches the SAS and SATA signals by a multiplexer AAMUX chip; the CPLD chip is connected with and controls more than 16 SATA disks and switches the signals timely by detecting the heart beat of the two controllers via control signals; and the management of the disk arrays that are managed by a host controller out of order is taken over by a host controller that works normally, thus ensuring that the equipment works and runs continuously.

Description

A kind ofly SAS is carried out two bank switching control methods of controlling with the SATA signal by detecting heartbeat
Technical field
The invention provides a kind of Computer Applied Technology, specifically a kind of SAS and SATA signal method for handover control can realize that the hard disk of SAS and SATA signal switching controls and two control storage is taken over switching.
Background technology
SAS has very remarkable advantages in the disk array storage, because the compatible SATA of SAS interface protocol allows to adopt SAS and two kinds of drivers of SATA so the advantage of SAS maximum is its back plate design and protocol interface in same system.Because the SATA hard disk more has the popularity and the price advantage of application, can use the SATA drive that price advantage is arranged in the SAS array stores, even mix and the needed different driving device of coupling related application type, this is a kind of advantage to the user.
Summary of the invention
The present invention is exactly in conjunction with above aspect, realizes SAS and SATA signal switching controls, SAS control can be managed use the SATA hard disk; Provide a kind of hard disk of two control storages to take over the solution of switching simultaneously, utilize two initiatively multiplexers, two console controllers all can be by single SAS of SAS interface independent access or SATA memory device separately, and the hard disks of realizing two control storages are taken over and switched.
Method of the present invention realizes in the following manner, in two control storages, SAS controller 1 is set, SAS controller 2, CPLD chip and AAMUX multiplexer, judge the other side's duty between two controllers mutually by heartbeat detection, two controllers have the SAS interface more than 8 respectively, each SAS interface of controller respectively connects an AAMUX multiplexer, and by a corresponding SATA hard disk of this AAMUX multiplexer connection, the CPLD chip detects the heartbeat of two controllers in real time, by the switching of AAMUX multiplexer control SAS and SATA signal, it is as follows to detect controlled step in good time:
1) when SATA hard disk duty just often, two control softwares can be sent out control signal corresponding and give CPLD, CPLD control AAMUX chip carries out the switching of SAS and SATA signal, two control softwares send the multiplexer AAMUX chip that control signal corresponding administers for SAS controller 1, SAS controller 2 separately, and multiplexer AAMUX chip switches two controllers and administers being connected of hard disk separately;
2) when the dual controller heartbeat detection is found side's operation irregularity, two control softwares transmit control signal to CPLD, close being connected of unusual controller and multiplexer AAMUX chip its administration, and being connected of that open normal controller and multiplexer AAMUX chip unusual controller administration, make normal controller be connected to the multiplexer AAMUX chip of unusual controller administration, hard disk is worked on.
The invention has the beneficial effects as follows: in two control storages, owing to failure and other reasons causes a console controller can't operate as normal, thereby the disk that causes its management can't continue to use, adopt method of the present invention can realize the hard disk adapter switching of two control storages, the hard disk array of out of order host computer control management switched to the console controller of operate as normal manage, just can guarantee equipment non-stop run and operation.
Description of drawings
Fig. 1 carries out the structural representation of two control method for handover control by detecting heartbeat to SAS and SATA signal.
Embodiment
By detecting heartbeat SAS and SATA signal are carried out the following detailed explanation of two control method for handover control do to of the present invention with reference to accompanying drawing.
SAS has very remarkable advantages in the disk array storage, the SATA hard disk has the popularity and the price advantage of application, and the present invention is exactly in conjunction with both advantages, realizes SAS and SATA signal switching controls, the SAS controller can be managed use the SATA hard disk.
As shown in Figure 1, in two control storages, two SAS controllers are arranged, judge the other side's duty between 2, two controllers of controller 1 and controller by heartbeat detection mutually.Be connected to 16 SATA hard disks altogether in two control storages, each hard disk is received on two controllers by an AAMUX chip (multiplexer can carry out the switching of SAS and SATA signal).Have a CPLD chip to connect these 16 of controls, and CPLD there is a control signal to receive the heartbeat detection of two controllers.
If when connecing the SATA hard disk, two control softwares can be sent out control signal corresponding and give CPLD, and CPLD control AAMUX chip carries out the switching of SAS and SATA signal.
Embodiment
For better realizing two control storages, increase work efficiency, during normal operating conditions, 8 hard disks of each controller management, (as controller 1 management hard disk 1-8, controller 2 management hard disks 9-15), two control softwares are sent out control signal corresponding AAMUX chip, then AAMUX chip 1-8 is turned off controller 2 and they be connected, and AAMUX chip 9-15 is turned off controller 1 and they be connected.
When the dual controller heartbeat detection is found side's operation irregularity, as controller 1 operate as normal, when finding controller 2 operation irregularities, two control softwares transmit control signal to CPLD, turn off being connected of controller 2 and AAMUX chip 9-15, and open being connected of controller 1 and AAMUX chip 9-15, make controller 1 take over hard disk 9-15, work on.

Claims (1)

1. one kind is carried out two control bank switching control methods to SAS with the SATA signal by detecting heartbeat, it is characterized in that in two control storages, SAS controller 1 being set, SAS controller 2, CPLD chip and AAMUX multiplexer, judge the other side's duty between two controllers mutually by heartbeat detection, two controllers have the SAS interface more than 8 respectively, each SAS interface of controller respectively connects an AAMUX multiplexer, and by a corresponding SATA hard disk of this AAMUX multiplexer connection, the CPLD chip detects the heartbeat of two controllers in real time, by the switching of AAMUX multiplexer control SAS and SATA signal, it is as follows to detect controlled step in good time:
1) when SATA hard disk duty just often, two control softwares can be sent out control signal corresponding and give CPLD, CPLD control AAMUX chip carries out the switching of SAS and SATA signal, two control softwares send the multiplexer AAMUX chip that control signal corresponding administers for SAS controller 1, SAS controller 2 separately, and multiplexer AAMUX chip switches two controllers and administers being connected of hard disk separately;
2) when the dual controller heartbeat detection is found side's operation irregularity, two control softwares transmit control signal to CPLD, close being connected of unusual controller and multiplexer AAMUX chip its administration, and being connected of that open normal controller and multiplexer AAMUX chip unusual controller administration, make normal controller be connected to the multiplexer AAMUX chip of unusual controller administration, hard disk is worked on.
CN2008101578668A 2008-10-21 2008-10-21 Double-control storage and switch control method for SAS and SATA signal by detecting heartbeat Active CN101382872B (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN2008101578668A CN101382872B (en) 2008-10-21 2008-10-21 Double-control storage and switch control method for SAS and SATA signal by detecting heartbeat

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN2008101578668A CN101382872B (en) 2008-10-21 2008-10-21 Double-control storage and switch control method for SAS and SATA signal by detecting heartbeat

Publications (2)

Publication Number Publication Date
CN101382872A CN101382872A (en) 2009-03-11
CN101382872B true CN101382872B (en) 2010-07-28

Family

ID=40462733

Family Applications (1)

Application Number Title Priority Date Filing Date
CN2008101578668A Active CN101382872B (en) 2008-10-21 2008-10-21 Double-control storage and switch control method for SAS and SATA signal by detecting heartbeat

Country Status (1)

Country Link
CN (1) CN101382872B (en)

Families Citing this family (17)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN101594383B (en) * 2009-07-09 2012-05-23 浪潮电子信息产业股份有限公司 Method for monitoring service and status of controllers of double-controller storage system
CN102063357A (en) * 2009-11-13 2011-05-18 鸿富锦精密工业(深圳)有限公司 Sas interface testing device
CN102270167A (en) * 2010-06-03 2011-12-07 鸿富锦精密工业(深圳)有限公司 System and method for testing a plurality of hard disk ports of mainboard
CN101957786B (en) * 2010-09-30 2014-08-20 中兴通讯股份有限公司 Method and device for realizing start and fault switching control in dual-control system
CN103246585B (en) * 2013-05-06 2017-04-19 浙江宇视科技有限公司 Storage controller fault detecting method
CN103475695A (en) * 2013-08-21 2013-12-25 华为数字技术(成都)有限公司 Interconnection method and device for storage system
CN103513939B (en) * 2013-10-22 2017-03-15 郑州云海信息技术有限公司 A kind of disk read-write state design method with frequency filter control
CN104077424A (en) * 2014-07-24 2014-10-01 北京京东尚科信息技术有限公司 Method and device for realizing online hot switch of hard disks
CN104407939A (en) * 2014-11-24 2015-03-11 浪潮电子信息产业股份有限公司 Method and device for processing storage pool element data among plurality of controllers
CN104639304A (en) * 2015-02-05 2015-05-20 南京阖云骥联信息科技有限公司 Dual-controller communication system based on internet of vehicles and dual-controller communication method based on internet of vehicles
CN107844440A (en) * 2017-10-26 2018-03-27 郑州云海信息技术有限公司 Single port NVMe SSD access method, device and readable storage medium storing program for executing
CN111198650A (en) * 2018-11-16 2020-05-26 龙芯中科技术有限公司 Control method and device of storage equipment
CN110069381A (en) * 2019-03-20 2019-07-30 山东超越数控电子股份有限公司 A method of Domestic Platform heartbeat detection is realized by CPLD
CN110275680B (en) * 2019-06-24 2020-12-01 浙江大华技术股份有限公司 Double-control double-active storage system
CN110688263B (en) * 2019-09-30 2023-04-11 中国工程物理研究院计算机应用研究所 Application method of hard disk automatic switching device based on FPGA
CN113742142B (en) * 2020-05-27 2024-03-26 华为技术有限公司 Method for managing SATA hard disk by storage system and storage system
CN112131151A (en) * 2020-10-29 2020-12-25 苏州浪潮智能科技有限公司 Server and storage device thereof

Also Published As

Publication number Publication date
CN101382872A (en) 2009-03-11

Similar Documents

Publication Publication Date Title
CN101382872B (en) Double-control storage and switch control method for SAS and SATA signal by detecting heartbeat
KR101506368B1 (en) Active-active failover for a direct-attached storage system
US8812913B2 (en) Method and apparatus for isolating storage devices to facilitate reliable communication
CN105718408B (en) Hot-swappable computing system, computer implemented method and system
US6389546B1 (en) Information storage apparatus including an uniterruptible power supply (UPS) and an interlock control method of the same, comprising
US8527981B2 (en) Storage device and method of instructing to update firmware
US20100235655A1 (en) Method and apparatus for implementing a limited functionality embedded universal serial bus (USB) host controller on a fully functional downstream USB port
US8996775B2 (en) Backplane controller for managing serial interface configuration based on detected activity
US8832347B2 (en) Automatic detection device, system and method for inter-integrated circuit and serial general purpose input/output
JP2003196036A (en) Storage device, information processing device including the same, and recovery method of information storage system
US7279810B2 (en) Storage system and controlling method therefor
CN101634959A (en) Dual redundant fault-tolerant system based on embedded type CPU,
US8095820B2 (en) Storage system and control methods for the same
KR20120030311A (en) Hybrid raid controller having multi pci bus switching
CN110985426B (en) Fan control system and method for PCIE Switch product
CN102376338A (en) Hard disk module
US9207741B2 (en) Storage apparatus, controller module, and storage apparatus control method
CN110688263B (en) Application method of hard disk automatic switching device based on FPGA
US10372186B2 (en) Control device and computer-readable recording medium having stored therein control program
CN101957786B (en) Method and device for realizing start and fault switching control in dual-control system
CN1937562A (en) Optimizing the speed of an fc-al switch domain in a data storage network
US7535832B2 (en) Apparatus and method to set the signaling rate of a switch domain disposed within an information storage and retrieval system
CN107179967B (en) Fault processing method of asymmetric double-active double-control system
CN102298416A (en) Server system
US20090138630A1 (en) Storage system and external volume connection path searching method for storage system

Legal Events

Date Code Title Description
C06 Publication
PB01 Publication
C10 Entry into substantive examination
SE01 Entry into force of request for substantive examination
C14 Grant of patent or utility model
GR01 Patent grant