CN105573895B - A kind of hard disk indication lamp design method based on dual control storage - Google Patents

A kind of hard disk indication lamp design method based on dual control storage Download PDF

Info

Publication number
CN105573895B
CN105573895B CN201510949029.9A CN201510949029A CN105573895B CN 105573895 B CN105573895 B CN 105573895B CN 201510949029 A CN201510949029 A CN 201510949029A CN 105573895 B CN105573895 B CN 105573895B
Authority
CN
China
Prior art keywords
gpio
expander
storage
cpld
signals
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
CN201510949029.9A
Other languages
Chinese (zh)
Other versions
CN105573895A (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.)
Shandong Mass Institute Of Information Technology
Original Assignee
Shandong Mass Institute Of Information Technology
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 Shandong Mass Institute Of Information Technology filed Critical Shandong Mass Institute Of Information Technology
Priority to CN201510949029.9A priority Critical patent/CN105573895B/en
Publication of CN105573895A publication Critical patent/CN105573895A/en
Application granted granted Critical
Publication of CN105573895B publication Critical patent/CN105573895B/en
Active legal-status Critical Current
Anticipated expiration legal-status Critical

Links

Classifications

    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06FELECTRIC DIGITAL DATA PROCESSING
    • G06F11/00Error detection; Error correction; Monitoring
    • G06F11/30Monitoring
    • G06F11/32Monitoring with visual or acoustical indication of the functioning of the machine
    • G06F11/324Display of status information
    • G06F11/325Display of status information by lamps or LED's
    • GPHYSICS
    • G11INFORMATION STORAGE
    • G11BINFORMATION STORAGE BASED ON RELATIVE MOVEMENT BETWEEN RECORD CARRIER AND TRANSDUCER
    • G11B33/00Constructional parts, details or accessories not provided for in the other groups of this subclass
    • G11B33/10Indicating arrangements; Warning arrangements

Landscapes

  • Engineering & Computer Science (AREA)
  • Theoretical Computer Science (AREA)
  • Quality & Reliability (AREA)
  • Physics & Mathematics (AREA)
  • General Engineering & Computer Science (AREA)
  • General Physics & Mathematics (AREA)
  • Circuit Arrangement For Electric Light Sources In General (AREA)
  • Debugging And Monitoring (AREA)

Abstract

The invention discloses a kind of hard disk indication lamp design methods based on dual control storage, the method is by applying two storage expanding modules, SGPIO signals, Swtich_GPIO signals are connected to CPLD by two storage expanding modules simultaneously, realize the heartbeat function of memory extender between two memory extenders by I2C/UART simultaneously, other side's working condition can be known in time, and hard disk indication lamp is by storage expanding module management.Without memory controller controls, the hard disk indication signal that dual control storage can be realized by interaction between storage expanding module correctly performs the present invention, realizes that hard disk indication lamp can work normally when the error occurs when storage link.

Description

A kind of hard disk indication lamp design method based on dual control storage
Technical field
The present invention relates to hard-disk storage technology fields, and in particular to a kind of hard disk indication lamp design side based on dual control storage Method and module, without memory controller controls, the hard disk that dual control storage can be realized by interaction between storage expanding module refers to Show that signal correctly performs.
Background technology
Whether hard disk indication lamp indicates hard disk operational state normally, if there is write-in/reading of data, position hard disk, Store function realize in play an important role, the display of hard disk indication lamp accurately whether, for the breakdown judge solution of server Certainly play the role of vital.
Hard disk indication lamp is typically to pass through storage control(Storage controller)Management, storage control connection Storage expanding module(SAS Expander), the mesh for connecting more hard disks and reaching massive store is extended by storage expanding module , storage control is from SAS(Serial Attached SCSI)Hard disk operational state is learnt in parsing in signal, passes through SGPIO (The serial GPIO of Serial General Purpose Input/Output)Notification signal analyzing device(CPLD&PSOC etc.), by Analyzing device connection hard disk indication lamp instruction hard disk operational state.
Double storage controllers may be used in high-end multipath server, double storage expanding modules realize the redundancy of storage link Design improves system stability, and hard disk indication lamp in practical application design, is often expanded storage by memory controller controls Open up module, hard disk, SGPIO signal resolution equipment integrated designs(JBOD), and storage control is connected by SAS signals and stored Expansion module, storage link are difficult to the normal switching of hard disk indication lamp when something goes wrong.
Invention content
The technical problem to be solved by the present invention is to:To overcome the problems, such as this, the present invention proposes a kind of based on the hard of dual control storage Disk indicator light design method and module.
The technical solution adopted in the present invention is:
A kind of hard disk indication lamp design method based on dual control storage, the method pass through two storage expanded modes of application SGPIO signals, GPIO signals are connected to CPLD, while between two memory extenders by block, two storage expanding modules simultaneously The heartbeat function of memory extender is realized by I2C/UART, can know other side's working condition in time, hard disk indication lamp is by depositing Store up expansion module management.
Described two storage expanding module Expander 0, Expander 1 are notified respectively by a GPIO signal CPLD, this GPIO signal have pull-up resistor at CPLD ends, and notice CPLD is cut in time when mistake occurs applied to store path itself SGPIO signals source is changed, hard disk indication lamp is avoided the occurrence of and exception occurs.
SGPIO_P signals, GPIO_P signals are connected to CPLD by the storage expanding module Expander 0, described to deposit SGPIO_S signals, GPIO_S signals are connected to CPLD by storage expansion module Expander 1, two storage expanding modules with SGPIO signal decoding processes are linked up between CPLD in the following way:
1) when 0 data link of Expander is working properly, GPIO_P outputs 0;1 data link of Expander works When normal, GPIO_S exports 0, CPLD decoding 0 SGPIO signals of Expander;
2) during 0 data link operation irregularities of Expander, GPIO_P outputs 1;1 data link of Expander works When normal, GPIO_S exports 0, CPLD decoding 1 SGPIO signals of Expander;
3) when 0 data link of Expander is working properly, GPIO_P outputs 0;1 data link of Expander works When abnormal, GPIO_S exports 1, CPLD decoding 0 SGPIO signals of Expander;
4) during 0 data link operation irregularities of Expander, GPIO_P outputs 1;1 data link of Expander works When abnormal, GPIO_S outputs 1 represent entire storage link and have been abnormal.
A kind of hard disk indication lamp module based on dual control storage, the module include 2 SAS Expander chip firmwares With a CPLD chip firmware, wherein Expander chip firmwares can obtain other Expander chip operation shapes in time State simultaneously passes through GPIO and notifies CPLD;CPLD firmwares, while can be according to leading portion by decoding SGPIO signals and exporting lighting Expander chip GPIO potential changes adjustment analytic signal source.
Beneficial effects of the present invention are:
The hard of dual control storage can be realized by interaction between storage expanding module without memory controller controls in the present invention Disk indication signal correctly performs, and realizes that hard disk indication lamp can work normally when the error occurs when storage link.
Description of the drawings
Fig. 1 is dual control storage hard disk indicator light schematic diagram of the present invention.
Specific embodiment
Below according to Figure of description, with reference to specific embodiment, the present invention is further described:
Embodiment 1:
A kind of hard disk indication lamp design method based on dual control storage, the method pass through two storage expanded modes of application SGPIO signals, GPIO signals are connected to CPLD, while between two memory extenders by block, two storage expanding modules simultaneously The heartbeat function of memory extender is realized by I2C/UART, can know other side's working condition in time, is controlled without by storage Device management and control, hard disk indication lamp is by storage expanding module management.
Embodiment 2:
On the basis of embodiment 1, the described two storage expanding module Expander 0 of the present embodiment, Expander 1 divide CPLD is not notified by a GPIO signal, this GPIO signal has pull-up resistor at CPLD ends, is sent out applied to store path itself Notice CPLD switches SGPIO signals source in time during raw mistake, avoids the occurrence of hard disk indication lamp and exception occurs.
Embodiment 3:
As shown in Figure 1, on the basis of embodiment 2, storage expanding module Expander 0 described in the present embodiment will SGPIO_P signals, GPIO_P signals are connected to CPLD, the storage expanding module Expander 1 by SGPIO_S signals, GPIO_S signals are connected to CPLD, and two are linked up the decoding of SGPIO signals in the following way between storage expanding module and CPLD Mode:
1) when 0 data link of Expander is working properly, GPIO_P outputs 0;1 data link of Expander works When normal, GPIO_S exports 0, CPLD decoding 0 SGPIO signals of Expander;
2) during 0 data link operation irregularities of Expander(As power-off/FW delays), GPIO_P outputs 1;Expander When 1 data link is working properly, GPIO_S exports 0, CPLD decoding 1 SGPIO signals of Expander;
3) when 0 data link of Expander is working properly, GPIO_P outputs 0;1 data link of Expander works When abnormal, GPIO_S exports 1, CPLD decoding 0 SGPIO signals of Expander;
4) during 0 data link operation irregularities of Expander(As power-off/FW delays), GPIO_P outputs 1;Expander During 1 data link operation irregularity, GPIO_S outputs 1 represent entire storage link and have been abnormal.
Embodiment 4:
A kind of hard disk indication lamp module based on dual control storage, the module include 2 SAS Expander chip firmwares With a CPLD chip firmware, wherein Expander chip firmwares can obtain other Expander chip operation shapes in time State simultaneously passes through GPIO and notifies CPLD;CPLD firmwares, while can be according to leading portion by decoding SGPIO signals and exporting lighting Expander chip GPIO potential changes adjustment analytic signal source.
Embodiment of above is merely to illustrate the present invention, and not limitation of the present invention, in relation to the common of technical field Technical staff without departing from the spirit and scope of the present invention, can also make a variety of changes and modification, therefore all Equivalent technical solution also belongs to scope of the invention, and scope of patent protection of the invention should be defined by the claims.

Claims (1)

1. a kind of hard disk indication lamp design method based on dual control storage, it is characterised in that:The method using two by depositing Expansion module is stored up, SGPIO signals, GPIO signals are connected to CPLD by two storage expanding modules simultaneously, while two storages are expanded The heartbeat function of storage expanding module is realized between exhibition module by I2C/UART, can know other side's working condition in time, firmly Disk indicator light is by storage expanding module management;
Described two storage expanding module Expander 0, Expander 1 notify CPLD by a GPIO signal respectively, this GPIO signals have pull-up resistor at CPLD ends, and notice CPLD switches SGPIO in time when mistake occurs applied to store path itself Signal source avoids the occurrence of hard disk indication lamp and exception occurs;
SGPIO_P signals, GPIO_P signals are connected to CPLD by the storage expanding module Expander 0, and the storage is expanded SGPIO_S signals, GPIO_S signals are connected to CPLD by exhibition module Expander 1, two storage expanding modules and CPLD it Between link up SGPIO signal decoding processes in the following way:
1) when 0 data link of Expander is working properly, GPIO_P outputs 0;1 data link of Expander is working properly When, GPIO_S exports 0, CPLD decoding SGPIO_P signals;
2) during 0 data link operation irregularities of Expander, GPIO_P outputs 1;1 data link of Expander is working properly When, GPIO_S exports 0, CPLD decoding SGPIO_S signals;
3) when 0 data link of Expander is working properly, GPIO_P outputs 0;1 data link operation irregularities of Expander When, GPIO_S exports 1, CPLD decoding SGPIO_P signals;
4) during 0 data link operation irregularities of Expander, GPIO_P outputs 1;1 data link operation irregularities of Expander When, GPIO_S outputs 1 represent entire storage link and have been abnormal.
CN201510949029.9A 2015-12-18 2015-12-18 A kind of hard disk indication lamp design method based on dual control storage Active CN105573895B (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN201510949029.9A CN105573895B (en) 2015-12-18 2015-12-18 A kind of hard disk indication lamp design method based on dual control storage

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN201510949029.9A CN105573895B (en) 2015-12-18 2015-12-18 A kind of hard disk indication lamp design method based on dual control storage

Publications (2)

Publication Number Publication Date
CN105573895A CN105573895A (en) 2016-05-11
CN105573895B true CN105573895B (en) 2018-06-19

Family

ID=55884061

Family Applications (1)

Application Number Title Priority Date Filing Date
CN201510949029.9A Active CN105573895B (en) 2015-12-18 2015-12-18 A kind of hard disk indication lamp design method based on dual control storage

Country Status (1)

Country Link
CN (1) CN105573895B (en)

Families Citing this family (6)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN106294077B (en) * 2016-08-31 2019-01-29 浪潮(北京)电子信息产业有限公司 Link expander instrument operating condition monitoring method, system and server
CN106445793A (en) * 2016-10-13 2017-02-22 郑州云海信息技术有限公司 Multi-control storage hard disk running status indicating system and method
CN107688376B (en) * 2017-09-28 2021-03-23 苏州浪潮智能科技有限公司 Hard disk backboard supporting self-adaptive hard disk interface
CN107656857A (en) * 2017-10-12 2018-02-02 郑州云海信息技术有限公司 A kind of NVMeSSD hard disks ignition method and device
CN108733612B (en) * 2018-05-23 2022-02-18 郑州云海信息技术有限公司 Expansion system and expansion method for server hard disk SGPIO signal
CN110162446A (en) * 2019-04-13 2019-08-23 深圳市同泰怡信息技术有限公司 A kind of backboard hard disk ignition method based on BMC

Citations (7)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN101517541A (en) * 2006-10-10 2009-08-26 Lsi公司 System and method for connecting SAS RAID controller device channels across redundant storage subsystems
CN101620558A (en) * 2008-07-01 2010-01-06 环旭电子股份有限公司 General debugging-assistant device
CN102081572A (en) * 2009-11-30 2011-06-01 英业达股份有限公司 Hard disk speed indicating system
CN103475695A (en) * 2013-08-21 2013-12-25 华为数字技术(成都)有限公司 Interconnection method and device for storage system
CN103870367A (en) * 2012-12-07 2014-06-18 鸿富锦精密工业(深圳)有限公司 SAS (Serial Attached SCSI (small computer system interface)) expander automatic switching system and method
CN104461800A (en) * 2014-11-24 2015-03-25 英业达科技有限公司 Hard disk running state detection system
CN105096991A (en) * 2015-08-26 2015-11-25 浪潮电子信息产业股份有限公司 Design of an indicating light capable of rapidly and directly checking the state of a hard disk

Patent Citations (7)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN101517541A (en) * 2006-10-10 2009-08-26 Lsi公司 System and method for connecting SAS RAID controller device channels across redundant storage subsystems
CN101620558A (en) * 2008-07-01 2010-01-06 环旭电子股份有限公司 General debugging-assistant device
CN102081572A (en) * 2009-11-30 2011-06-01 英业达股份有限公司 Hard disk speed indicating system
CN103870367A (en) * 2012-12-07 2014-06-18 鸿富锦精密工业(深圳)有限公司 SAS (Serial Attached SCSI (small computer system interface)) expander automatic switching system and method
CN103475695A (en) * 2013-08-21 2013-12-25 华为数字技术(成都)有限公司 Interconnection method and device for storage system
CN104461800A (en) * 2014-11-24 2015-03-25 英业达科技有限公司 Hard disk running state detection system
CN105096991A (en) * 2015-08-26 2015-11-25 浪潮电子信息产业股份有限公司 Design of an indicating light capable of rapidly and directly checking the state of a hard disk

Also Published As

Publication number Publication date
CN105573895A (en) 2016-05-11

Similar Documents

Publication Publication Date Title
CN105573895B (en) A kind of hard disk indication lamp design method based on dual control storage
CN104239187A (en) Hard disk state indicating device
CN107832199A (en) Hard disk monitoring system based on CPLD
US8843680B2 (en) Storage system having SAS as its backend communication standard
CN102694616B (en) Clock detection circuit, clock circuit and clock exception detection method
US9448735B1 (en) Managing storage device rebuild in data storage systems
US8583863B2 (en) Storage system
KR20100135765A (en) Selecting a dedupulication protocol for a data storage library
JP2005293595A (en) Multi-path redundant storage system architecture and method
US9223658B2 (en) Managing errors in a raid
US10013369B2 (en) Server system with BMC having hard disk drive monitoring function
US8095820B2 (en) Storage system and control methods for the same
CN206515814U (en) A kind of monitoring hard-disk status device
CN109117342A (en) A kind of server and its hard disk health status monitoring system
US8099634B2 (en) Autonomic component service state management for a multiple function component
US20130145209A1 (en) Disk system, data retaining device, and disk device
CN105045336A (en) JBOD (Just Bunch of Disks)
CN103870367A (en) SAS (Serial Attached SCSI (small computer system interface)) expander automatic switching system and method
US9116859B2 (en) Disk array system having a plurality of chassis and path connection method
JP5340411B2 (en) Independent drive power control
KR102495712B1 (en) Methods for switching storage systems and operating modes of storage systems
US11373782B2 (en) Indicator activation over an alternative cable path
US20130219213A1 (en) System and method for recovering data of hard disks of computing device
JP5273185B2 (en) Recording medium control system, recording medium control method, and recording medium control program
US6862691B2 (en) Redundant component system and method for facilitating endsystem functionality

Legal Events

Date Code Title Description
C06 Publication
PB01 Publication
C10 Entry into substantive examination
SE01 Entry into force of request for substantive examination
GR01 Patent grant
GR01 Patent grant