CN103902427A - Out-band hard disk status obtaining method - Google Patents

Out-band hard disk status obtaining method Download PDF

Info

Publication number
CN103902427A
CN103902427A CN201410087057.XA CN201410087057A CN103902427A CN 103902427 A CN103902427 A CN 103902427A CN 201410087057 A CN201410087057 A CN 201410087057A CN 103902427 A CN103902427 A CN 103902427A
Authority
CN
China
Prior art keywords
bmc
expander
ipmb
disk state
request
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.)
Granted
Application number
CN201410087057.XA
Other languages
Chinese (zh)
Other versions
CN103902427B (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
Inspur 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 Inspur Electronic Information Industry Co Ltd filed Critical Inspur Electronic Information Industry Co Ltd
Priority to CN201410087057.XA priority Critical patent/CN103902427B/en
Publication of CN103902427A publication Critical patent/CN103902427A/en
Application granted granted Critical
Publication of CN103902427B publication Critical patent/CN103902427B/en
Active legal-status Critical Current
Anticipated expiration legal-status Critical

Links

Images

Landscapes

  • Debugging And Monitoring (AREA)

Abstract

The invention discloses an out-band hard disk status obtaining method. According to the out-band hard disk status obtaining method, a remote host, a BMC, an Expander and a hard disk are included, the remote host has access to the BMC through an LAN or a Serial interface, the Expander is connected with the hard disk through an sas and an sata, the BMC is physically connected with the Expander through the I2C, and an IPMB protocol is adopted for data communication; when data are requested for, the BMC is used as a Master for carrying out a Write operation, and the Expander is used as a Slave for carrying out a Read operation; when the data are returned, the Expander is used as the Master for carrying out the Write operation, and the BMC is used as the Slave for carrying out the Read operation. The Expander is physically connected with the BMC through the I2C which is a frequently-used communication mode so as to transmit the status of the hard disk out, and then effective remote monitoring is carried out through the BMC. The out-band hard disk status obtaining method is used for monitoring the status of the hard disk in a remote or out-band mode.

Description

A kind of with outside obtain the method for disk state
Technical field
The present invention relates to the running state monitoring field of server, storage class equipment, provide a kind of long-range/method of out of band supervision hard disk running status.
Technical background
System running state monitoring is an important technology in server, field of storage, industry generally adopts BMC(substrate controller) such as CPU state, power supply, fan, mainboard temperature etc. are carried out unified out-of-band supervision survey and controlled, this monitor mode can independently, not be subject to the carrying out of operating system domination, and distance supervisor adopts IPMI protocol access BMC to carry out remote monitoring.
And not yet form unified standard for the monitoring of disk state, and also there is no on the one hand a kind of mode of effective out of band supervision disk state, there is no on the other hand a kind of scheme of Remote Acquisitioning disk state; At data capacity, sharply under the present situation of dilatation, user further strengthens the needs of data safety and reliability, and the necessity of disk state monitoring more and more comes into one's own; So it is extremely urgent to form a kind of standard with outer and remote monitoring disk state.
IPMI(intelligent platform control interface) agreement is server, memory device running state monitoring provides sound assurance, BMC(substrate controller) provide out-of-band supervision pipe as the embedded chip of operation IPMI agreement, remote access solution, its peripheral interface comprises Serial, LAN, KCS, I2C, GPIO etc., can be to CPU, mainboard, internal memory, the equipment such as fan effectively detect and control, but hard disk does not obtain effective out of band supervision as the important equipment of server, this is mainly because hard disk main communication interfaces is ATA, SATA, SAS etc., with BMC cannot direct communication, and the Expander(hard disk extender of widespread use at present) not only hard disk is had to real-time monitoring capacity, also possess the communication interfaces such as I2C, this has just ensured that Expander can connect BMC by this conventional communication mode of I2C physically disk state is transmitted out, and then carries out effective remote monitoring by BMC.
Summary of the invention
The technical problem to be solved in the present invention is: provide a kind of with outside obtain the method for disk state.
The technical solution adopted in the present invention is:
A kind of with outside obtain the method for disk state, comprise distance host, BMC, Expander and hard disk, wherein, distance host is by LAN or Serial interface accessing BMC, and Expander connects hard disk by sas, sata, and BMC is physically connected by I2C with Expander, in order to guarantee data integrity and function consistance, in data communication, adopt IPMB agreement, when request msg, BMC carries out Write operation as Master, and Expander carries out Read operation as Slave; When data are returned, Expander carries out Write operation as Master, and BMC carries out Read operation as Slave.
Described method communication logic is as follows: distance host is initiated disk state request by issuing IPMI CMD, BMC sends request information to Expander by I2C, after Expander identification solicited message, access HDD and obtain disk state, then Expander returns to BMC by I2C by disk state information, and BMC identifies corresponding disk state and data are returned to distance host after obtaining and replying.
Described communication logic concrete steps are as follows:
1) distance host, as the promoter of communication request, issues IPMI CMD access BMC request feedback disk state information by LAN or Serial interface;
2) BMC receives after IPMI CMD request instruction, resolves this request instruction discovery distance host and wishes to obtain hard disk information, and BMC sends IPMB CMD by I2C interface to Expander subsequently, request Expander reduction into possession disk state information;
3) Expander receives after IPMB CMD request instruction, resolves and identify disk state request message, obtains disk state information (as Present, Rebuild, Fail etc.) with rear to each hard disk transmission SCSI instruction; And by the disk state information packet of I2C interface reply IPMB form;
4) BMC receives the IPMB response message that Expander sends, and carries out the identification of disk state information, and disk state information exchange is crossed to IPMI replies to long-range Host;
5) distance host is resolved after obtaining status information accordingly, knows the state (Present, Rebuild, Fail etc.) of each hard disk.
This has just completed disk state request process one time.
Described method implementation is as follows:
1) the I2C lane interconnect that the I2C passage of physically BMC being specified and Expander specify;
2) BMC FW completes the IPMI CMD exploitation with disk state request function, and the IPMI CMD of OEM should be able to initiate IPMB request of data, and can obtain IPMB data recovery;
3) BMC FW completes the design of IPMB hard disk request message data layout; Expander FW completes the design of IPMB disk state information-reply data layout; According to IPMI Specification require clear and definite NetFn, Command, BMC Address, Expander Address, the each field implication of disk state information, and keep the data layout consistance of BMC and Expander both sides;
4) Expander FW sets up IPMB message sink and reply task, first waits for the arrival of IPMB packet, when receiving after IPMB message, carries out the identification of IPMB request message, and enters disk state message processing facility; Then calling the software interface that obtains disk state gets disk state and comprises Present, Rebuild, Failed; Follow disk state Information encapsulation in IPMB packet, send this IPMB response message to BMC;
5) BMC FW obtains after IPMB data recovery, parses corresponding disk state information, and replies to by IPMI CMD the Host that initiates IPMI CMD request.
Beneficial effect of the present invention is:
Adopt the inventive method, make Expander connect BMC by this conventional communication mode of I2C physically disk state is transmitted out, and then carry out effective remote monitoring by BMC, provide a kind of long-range/method of out of band supervision hard disk running status.
Brief description of the drawings
Fig. 1 is hardware connection diagram of the present invention;
Fig. 2 is communication logic schematic diagram of the present invention;
Wherein: Remote Host: distance host, Expander: hard disk extender, BMC: substrate controller, IPMI: intelligent platform control interface.
Embodiment
With reference to the accompanying drawings, by embodiment, the present invention is further described:
As Fig. 1, a kind of with outside obtain the method for disk state, comprise distance host, BMC, Expander and hard disk, wherein, distance host is by LAN or Serial interface accessing BMC, Expander connects hard disk by sas, sata, BMC is physically connected by I2C with Expander, in order to guarantee data integrity and function consistance, adopts IPMB agreement in data communication, when request msg, BMC carries out Write operation as Master, and Expander carries out Read operation as Slave; When data are returned, Expander carries out Write operation as Master, and BMC carries out Read operation as Slave.
As Fig. 2, described method communication logic is as follows: distance host is initiated disk state request by issuing IPMI CMD, BMC sends request information to Expander by I2C, after Expander identification solicited message, access HDD and obtain disk state, then Expander returns to BMC by I2C by disk state information, and BMC identifies corresponding disk state and data are returned to distance host after obtaining and replying.
Described communication logic concrete steps are as follows:
1) distance host, as the promoter of communication request, issues IPMI CMD access BMC request feedback disk state information by LAN or Serial interface;
2) BMC receives after IPMI CMD request instruction, resolves this request instruction discovery distance host and wishes to obtain hard disk information, and BMC sends IPMB CMD by I2C interface to Expander subsequently, request Expander reduction into possession disk state information;
3) Expander receives after IPMB CMD request instruction, resolves and identify disk state request message, obtains disk state information (as Present, Rebuild, Fail etc.) with rear to each hard disk transmission SCSI instruction; And by the disk state information packet of I2C interface reply IPMB form;
4) BMC receives the IPMB response message that Expander sends, and carries out the identification of disk state information, and disk state information exchange is crossed to IPMI replies to long-range Host;
5) distance host is resolved after obtaining status information accordingly, knows the state (Present, Rebuild, Fail etc.) of each hard disk.
This has just completed disk state request process one time.
Described method implementation is as follows:
1) the I2C lane interconnect that the I2C passage of physically BMC being specified and Expander specify;
2) BMC FW completes the IPMI CMD exploitation with disk state request function, and the IPMI CMD of OEM should be able to initiate IPMB request of data, and can obtain IPMB data recovery;
3) BMC FW completes the design of IPMB hard disk request message data layout; Expander FW completes the design of IPMB disk state information-reply data layout; According to IPMI Specification require clear and definite NetFn, Command, BMC Address, Expander Address, the each field implication of disk state information, and keep the data layout consistance of BMC and Expander both sides;
4) Expander FW sets up IPMB message sink and reply task, first waits for the arrival of IPMB packet, when receiving after IPMB message, carries out the identification of IPMB request message, and enters disk state message processing facility; Then calling the software interface that obtains disk state gets disk state and comprises Present, Rebuild, Failed; Follow disk state Information encapsulation in IPMB packet, send this IPMB response message to BMC;
5) BMC FW obtains after IPMB data recovery, parses corresponding disk state information, and replies to by IPMI CMD the Host that initiates IPMI CMD request.

Claims (4)

1. a band obtains the method for disk state outward, comprise distance host, BMC, Expander and hard disk, it is characterized in that: distance host is by LAN or Serial interface accessing BMC, Expander connects hard disk by sas, sata, BMC is physically connected by I2C with Expander, in data communication, adopt IPMB agreement, when request msg, BMC carries out Write operation as Master, and Expander carries out Read operation as Slave; When data are returned, Expander carries out Write operation as Master, and BMC carries out Read operation as Slave.
According to claim 1 a kind of with outside obtain the method for disk state, it is characterized in that, described method communication logic is as follows: distance host is initiated disk state request by issuing IPMI CMD, BMC sends request information to Expander by I2C, after Expander identification solicited message, access HDD and obtain disk state, then Expander returns to BMC by I2C by disk state information, and BMC identifies corresponding disk state and data are returned to distance host after obtaining and replying.
According to claim 2 a kind of with outside obtain the method for disk state, it is characterized in that, described communication logic concrete steps are as follows:
1) distance host, as the promoter of communication request, issues IPMI CMD access BMC request feedback disk state information by LAN or Serial interface;
2) BMC receives after IPMI CMD request instruction, resolves this request instruction discovery distance host and wishes to obtain hard disk information, and BMC sends IPMB CMD by I2C interface to Expander subsequently, request Expander reduction into possession disk state information;
3) Expander receives after IPMB CMD request instruction, resolves and identify disk state request message, obtains disk state information with rear to each hard disk transmission SCSI instruction; And by the disk state information packet of I2C interface reply IPMB form;
4) BMC receives the IPMB response message that Expander sends, and carries out the identification of disk state information, and disk state information exchange is crossed to IPMI replies to long-range Host;
5) distance host is resolved after obtaining status information accordingly, knows the state of each hard disk.
According to described in claim 1,2 or 3 a kind of with outside obtain the method for disk state, it is characterized in that, described method implementation is as follows:
1) the I2C lane interconnect that the I2C passage of physically BMC being specified and Expander specify;
2) BMC FW completes the IPMI CMD exploitation with disk state request function, and the IPMI CMD of OEM should be able to initiate IPMB request of data, and can obtain IPMB data recovery;
3) BMC FW completes the design of IPMB hard disk request message data layout; Expander FW completes the design of IPMB disk state information-reply data layout; According to IPMI Specification require clear and definite NetFn, Command, BMC Address, Expander Address, the each field implication of disk state information, and keep the data layout consistance of BMC and Expander both sides;
4) Expander FW sets up IPMB message sink and reply task, first waits for the arrival of IPMB packet, when receiving after IPMB message, carries out the identification of IPMB request message, and enters disk state message processing facility; Then calling the software interface that obtains disk state gets disk state and comprises Present, Rebuild, Failed; Follow disk state Information encapsulation in IPMB packet, send this IPMB response message to BMC;
5) BMC FW obtains after IPMB data recovery, parses corresponding disk state information, and replies to by IPMI CMD the Host that initiates IPMI CMD request.
CN201410087057.XA 2014-03-11 2014-03-11 A kind of method with outer acquisition disk state Active CN103902427B (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN201410087057.XA CN103902427B (en) 2014-03-11 2014-03-11 A kind of method with outer acquisition disk state

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN201410087057.XA CN103902427B (en) 2014-03-11 2014-03-11 A kind of method with outer acquisition disk state

Publications (2)

Publication Number Publication Date
CN103902427A true CN103902427A (en) 2014-07-02
CN103902427B CN103902427B (en) 2017-06-30

Family

ID=50993762

Family Applications (1)

Application Number Title Priority Date Filing Date
CN201410087057.XA Active CN103902427B (en) 2014-03-11 2014-03-11 A kind of method with outer acquisition disk state

Country Status (1)

Country Link
CN (1) CN103902427B (en)

Cited By (16)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN104375923A (en) * 2014-11-24 2015-02-25 英业达科技有限公司 Hard disk drive (HDD) running state detection system
CN104461800A (en) * 2014-11-24 2015-03-25 英业达科技有限公司 Hard disk running state detection system
CN104951384A (en) * 2015-06-16 2015-09-30 浪潮电子信息产业股份有限公司 Monitoring system based on NVME SSD, substrate management controller and monitoring method
CN105095054A (en) * 2015-07-21 2015-11-25 浪潮电子信息产业股份有限公司 System and method for BMC to acquire NVME SSD temperature information
CN105446657A (en) * 2015-11-11 2016-03-30 浪潮电子信息产业股份有限公司 Method for monitoring RAID card
CN105487621A (en) * 2015-12-09 2016-04-13 英业达科技有限公司 Electronic device
CN105529045A (en) * 2015-12-02 2016-04-27 英业达科技有限公司 Lamp signal control system for nonvolatile memory solid state disk
CN106921547A (en) * 2017-01-25 2017-07-04 华为技术有限公司 The apparatus and method of management equipment
CN106959935A (en) * 2017-03-13 2017-07-18 郑州云海信息技术有限公司 A kind of method that compatible I2C communications communicate with IPMB
CN107291581A (en) * 2017-06-21 2017-10-24 郑州云海信息技术有限公司 A kind of outband management method and device of solid state hard disc
CN108847997A (en) * 2018-04-03 2018-11-20 郑州云海信息技术有限公司 A kind of method and device thereof communicated by api interface
CN108959005A (en) * 2018-06-29 2018-12-07 深圳市同泰怡信息技术有限公司 Hard disk management-control method and server with Expander backboard
CN110175146A (en) * 2019-04-13 2019-08-27 深圳市同泰怡信息技术有限公司 Hard disk information acquisition methods and the device for obtaining hard disk information
CN110941580A (en) * 2019-10-31 2020-03-31 苏州浪潮智能科技有限公司 Method for reading information and serial small computer system interface SAS expander
CN111008113A (en) * 2019-12-20 2020-04-14 苏州浪潮智能科技有限公司 SAS-Expander test method and tool
CN114691586A (en) * 2022-05-26 2022-07-01 阿里巴巴(中国)有限公司 Server, data transmission method and out-of-band management chip

Citations (4)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN101577698A (en) * 2008-05-09 2009-11-11 中兴通讯股份有限公司 System with external intelligent management server and method for monitoring server and processing commands
US20120110389A1 (en) * 2010-10-29 2012-05-03 Inventec Corporation Method for obtaining storage device state signal by using bmc
CN102467425A (en) * 2010-11-05 2012-05-23 英业达股份有限公司 Method for acquiring storage device failure signal by utilizing baseboard management controller
CN103473166A (en) * 2013-08-27 2013-12-25 中国航天科工集团第二研究院七〇六所 Small embedded-type system board card monitoring system

Patent Citations (4)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN101577698A (en) * 2008-05-09 2009-11-11 中兴通讯股份有限公司 System with external intelligent management server and method for monitoring server and processing commands
US20120110389A1 (en) * 2010-10-29 2012-05-03 Inventec Corporation Method for obtaining storage device state signal by using bmc
CN102467425A (en) * 2010-11-05 2012-05-23 英业达股份有限公司 Method for acquiring storage device failure signal by utilizing baseboard management controller
CN103473166A (en) * 2013-08-27 2013-12-25 中国航天科工集团第二研究院七〇六所 Small embedded-type system board card monitoring system

Cited By (22)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN104461800A (en) * 2014-11-24 2015-03-25 英业达科技有限公司 Hard disk running state detection system
CN104375923A (en) * 2014-11-24 2015-02-25 英业达科技有限公司 Hard disk drive (HDD) running state detection system
CN104951384A (en) * 2015-06-16 2015-09-30 浪潮电子信息产业股份有限公司 Monitoring system based on NVME SSD, substrate management controller and monitoring method
CN104951384B (en) * 2015-06-16 2017-10-03 浪潮电子信息产业股份有限公司 A kind of monitoring system based on NVME SSD hard disks, baseboard management controller and monitoring method
CN105095054A (en) * 2015-07-21 2015-11-25 浪潮电子信息产业股份有限公司 System and method for BMC to acquire NVME SSD temperature information
CN105446657A (en) * 2015-11-11 2016-03-30 浪潮电子信息产业股份有限公司 Method for monitoring RAID card
CN105446657B (en) * 2015-11-11 2018-06-19 浪潮电子信息产业股份有限公司 Method for monitoring RAID card
CN105529045A (en) * 2015-12-02 2016-04-27 英业达科技有限公司 Lamp signal control system for nonvolatile memory solid state disk
CN105487621A (en) * 2015-12-09 2016-04-13 英业达科技有限公司 Electronic device
CN106921547A (en) * 2017-01-25 2017-07-04 华为技术有限公司 The apparatus and method of management equipment
CN106959935B (en) * 2017-03-13 2020-08-04 苏州浪潮智能科技有限公司 Method compatible with I2C communication and IPMB communication
CN106959935A (en) * 2017-03-13 2017-07-18 郑州云海信息技术有限公司 A kind of method that compatible I2C communications communicate with IPMB
CN107291581A (en) * 2017-06-21 2017-10-24 郑州云海信息技术有限公司 A kind of outband management method and device of solid state hard disc
CN108847997A (en) * 2018-04-03 2018-11-20 郑州云海信息技术有限公司 A kind of method and device thereof communicated by api interface
CN108959005A (en) * 2018-06-29 2018-12-07 深圳市同泰怡信息技术有限公司 Hard disk management-control method and server with Expander backboard
CN110175146A (en) * 2019-04-13 2019-08-27 深圳市同泰怡信息技术有限公司 Hard disk information acquisition methods and the device for obtaining hard disk information
CN110941580A (en) * 2019-10-31 2020-03-31 苏州浪潮智能科技有限公司 Method for reading information and serial small computer system interface SAS expander
CN110941580B (en) * 2019-10-31 2021-07-27 苏州浪潮智能科技有限公司 Method for reading information and serial small computer system interface SAS expander
CN111008113A (en) * 2019-12-20 2020-04-14 苏州浪潮智能科技有限公司 SAS-Expander test method and tool
CN111008113B (en) * 2019-12-20 2022-11-29 苏州浪潮智能科技有限公司 SAS-Expander test method and tool
CN114691586A (en) * 2022-05-26 2022-07-01 阿里巴巴(中国)有限公司 Server, data transmission method and out-of-band management chip
CN114691586B (en) * 2022-05-26 2022-10-04 阿里巴巴(中国)有限公司 Server, data transmission method and out-of-band management chip

Also Published As

Publication number Publication date
CN103902427B (en) 2017-06-30

Similar Documents

Publication Publication Date Title
CN103902427A (en) Out-band hard disk status obtaining method
WO2016037501A1 (en) Device management method and apparatus
US8200872B2 (en) Method for deterministic SAS discovery and configuration
KR101725536B1 (en) Device, method and system for operation of a low power phy with a pcie protocol stack
CN105446657B (en) Method for monitoring RAID card
US20160188216A1 (en) Hard Disk and Management Method
US20160080210A1 (en) High density serial over lan managment system
CN107817953B (en) Method and device for accessing hard disk by double-control storage equipment
US10409737B2 (en) Apparatus, system, and method for positionally aware device management bus address assignment
TW201348974A (en) PCIe SMBus slave address self-selection
US20180081558A1 (en) Asynchronous Discovery of Initiators and Targets in a Storage Fabric
US20190384532A1 (en) Method of nvme over fabric raid implementation for read command execution
US10846256B2 (en) Multi-endpoint device sideband communication system
CN103823708B (en) The method and apparatus that virtual machine read-write requests are processed
TWI516942B (en) Assigning addresses to devices on an interconnect
US20130232281A1 (en) Method for optimizing wide port power management in a sas topology
CN106407145A (en) An interface access method and system and a memory card
JP2014154157A5 (en)
CN102819480A (en) Computer and method for monitoring memory thereof
CN103500108A (en) System memory access method, node processor and multi-processor system
TWI612429B (en) Server system and data access method using the same
KR102167393B1 (en) Method and apparatus for monitoring data integrity in shared memory environment
CN113704834B (en) Intelligent destroying method based on Feiteng processor
US9471135B2 (en) Communication control apparatus, information processing apparatus, and information processing system
US20180165031A1 (en) Port modes for storage drives

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