System and method for realizing out-of-band interaction of server Expander cards

文档序号:948190 发布日期:2020-10-30 浏览:2次 中文

阅读说明:本技术 实现服务器Expander卡带外交互的系统及方法 (System and method for realizing out-of-band interaction of server Expander cards ) 是由 郭伯亚 于 2020-06-12 设计创作,主要内容包括:本发明提供一种实现服务器Expander卡带外交互的系统及方法,所述系统:远程管理模块通过LAN口与基板管理控制器BMC进行通信,基板管理控制器BMC通过I2C总线与CPLD进行通信,CPLD通过UART总线与Expander芯片进行通信,最终实现远程管理模块带外访问Expander芯片;基板管理控制器BMC通过CPLD监控硬盘状态,当监控到硬盘状态异常时,基板管理控制器BMC通过LAN口通知远程管理模块,并通过CPLD及UART总线与Expander芯片进行通信,获取Expander芯片日志,并将日志存储到FLASH。本发明通过BMC、CPLD、LAN口实现带外与Expander卡信息交互。(The invention provides a system and a method for realizing the out-of-band interaction of a server Expander card, wherein the system comprises the following steps: the remote management module is communicated with a Baseboard Management Controller (BMC) through an LAN port, the BMC is communicated with a CPLD through an I2C bus, the CPLD is communicated with an Expander chip through a UART bus, and finally the remote management module accesses the Expander chip out of band; the baseboard management controller BMC monitors the state of the hard disk through the CPLD, and when the abnormal state of the hard disk is monitored, the baseboard management controller BMC notifies the remote management module through the LAN port, communicates with the Expander chip through the CPLD and the UART bus, acquires an Expander chip log, and stores the log into the FLASH. The invention realizes the information interaction between the out-of-band card and the Expander card through the BMC, the CPLD and the LAN port.)

1. A system for realizing the out-of-band interaction of a server Expander card is characterized by comprising the Expander card (1) and a Baseboard Management Controller (BMC) (2);

the Expander card (1) is provided with a CPLD (3) and an Expander chip (4);

the baseboard management controller BMC (2) is connected with the CPLD (3) through an I2C bus, and the CPLD (3) is connected with the Expander chip (4) through a UART bus and an SGPIO bus;

the baseboard management controller BMC (2) is connected with a LAN port (5) and a FLASH (8), and the LAN port (5) is connected with a remote management module (6);

the remote management module (6) is communicated with a Baseboard Management Controller (BMC) (2) through an LAN (5), the Baseboard Management Controller (BMC) (2) is communicated with a CPLD (3) through an I2C bus, the CPLD (3) is communicated with an Expander chip (4) through a UART bus, and finally the remote management module (6) is accessed to the Expander chip (4) out of band;

the baseboard management controller BMC (2) monitors the state of the hard disk through the CPLD (3), when the abnormal state of the hard disk is monitored, the baseboard management controller BMC (2) informs the remote management module (6) through the LAN port (5), communicates with the Expander chip (4) through the CPLD (3), acquires the log of the Expander chip (4), and stores the log into the FLASH (8).

2. The system for implementing out-of-band interaction of the server Expander card according to claim 1, wherein the baseboard management controller BMC (2), the LAN port (5) and the FLASH (8) are disposed on the motherboard (7).

3. The system for implementing out-of-band interaction of the server Expander card as claimed in claim 2, wherein the Expander chip (4) is connected with a SAS/RAID card through a high-speed SAS cable;

the mainboard (7) is also provided with a PCIE interface which is connected with the SAS/RAID card.

4. The system for implementing the out-of-band interaction of the server Expander card as claimed in claim 1, wherein the Expander chip (4) is connected with a hard disk backplane;

the hard disk backboard is provided with a hard disk interface, and the hard disk interface is connected with the Expander chip (4) through a high-speed SAS cable.

5. The system for realizing the out-of-band interaction of the server Expander card as claimed in claim 1, wherein the Expander card (1) is further provided with a plurality of HDD hard disk interfaces and a plurality of HDD hard disk indicator lamps;

the number of the HDD hard disk interfaces is equal to that of the HDD hard disk indicator lamps, and the HDD hard disk interfaces correspond to the HDD hard disk indicator lamps one by one.

6. The system for realizing the out-of-band interaction of the server Expander card according to claim 1, wherein the CPLD (3) parses an SGPIO signal transmitted by the Expander chip (4) to obtain a hard disk state, and controls a hard disk state indicator lamp according to the hard disk state.

7. A method for realizing out-of-band interaction of a server Expander card is characterized by comprising the following steps:

The remote management module is communicated with the Expander chip through the LAN port, the baseboard management controller BMC, the I2C bus, the CPLD and the UART bus in sequence, and finally the remote management module accesses the Expander chip out of band;

the baseboard management controller BMC monitors the state of the hard disk through the CPLD;

when the state of the hard disk is abnormal, the baseboard management controller BMC notifies the remote management module through the LAN port; meanwhile, the baseboard management controller BMC communicates with the Expander chip through the CPLD to acquire the Expander chip log and store the log into the FLASH.

8. The method for implementing the out-of-band interaction of the server Expander card as claimed in claim 7, wherein the CPLD monitoring the state of the hard disk comprises the specific steps of:

the CPLD analyzes an SGPIO signal transmitted by the Expander chip to acquire a hard disk state;

and the CPLD controls the hard disk state indicator lamp according to the hard disk state.

9. The method for realizing the out-of-band interaction of the server Expander card according to claim 7 or 8, wherein the hard disk state exception comprises a hard disk drive failure and a hard disk alarm.

10. The method for implementing the out-of-band interaction of the server Expander card as claimed in claim 7, wherein when the system is initially powered on, the Expander chip outputs its current configuration information and a log of the power-on process according to the UART signal received from the CPLD;

And after receiving the current configuration information of the Expander chip and the current power-on process log, the CPLD sends the current configuration information to the Baseboard Management Controller (BMC) and stores the current configuration information and the current power-on process log in the FLASH.

Technical Field

The invention belongs to the technical field of server debugging, and particularly relates to a system and a method for realizing out-of-band interaction of a server Expander card.

Background

Sas (serial Attached SCSI), a serial Attached SCSI technology, is a disk connection technology. Expander is essentially a SAS switch that can connect multiple SAS devices to a limited number of Host ports. The switching architecture of SAS may allow for flexible expansion of SAS devices, where several SAS devices are connected together to form a SAS domain, and a SAS domain may theoretically have up to 16128 devices connected. The Expander card is the core component device of the SAS domain, and connects a plurality of SAS devices together, including SAS array cards, SAS hard disks, etc., thereby forming the SAS domain, so that any two devices in the SAS domain can access each other through the SAS address of the other, and the role of the Expander in the SAS domain is similar to the role of switches and routers in ethernet.

When the server system storage system is abnormal and the Expander card needs to be checked, under the general condition, due to the fact that a customer runs a service, the Expander chip cannot be accessed through an in-band tool corresponding to the Expander chip. The Expander card comprises an Expander chip, the Expander chip comprises a plurality of groups of UART pins, and the UART pins are connected to the 1 x 4pin header through hardware lines. When the configuration condition or log on the Expander card is required to be checked when the exception is caused, the case is required to be opened, the PC is connected with the UART interface of the Expander card by using a corresponding tool, and communication is established through a special command or software, so that information interaction with the Expander chip is realized. Because the log generated in the next time cannot be stored after the Expander card is powered off, for the server which is already arranged in the cabinet, the log and other information cannot be stored by connecting the Expander card to the server through a serial port when the fault condition is reserved.

Therefore, it is very necessary to provide a system and a method for implementing out-of-band interaction of the server Expander card in order to overcome the above-mentioned drawbacks in the prior art.

Disclosure of Invention

Aiming at the defect that the information of the Expander card acquired through the serial port in the band in the prior art cannot keep the log information in the fault, the invention provides a system and a method for realizing the out-of-band interaction of the Expander card of the server, so as to solve the technical problem.

In a first aspect, the invention provides a system for realizing out-of-band interaction of a server Expander card, which comprises the Expander card and a Baseboard Management Controller (BMC);

the Expander card is provided with a CPLD and an Expander chip;

the baseboard management controller BMC is connected with the CPLD through an I2C bus, and the CPLD is connected with the Expander chip through a UART bus and an SGPIO bus;

the baseboard management controller BMC is connected with an LAN port and FLASH, and the LAN port is connected with a remote management module;

the remote management module is communicated with a Baseboard Management Controller (BMC) through an LAN port, the BMC is communicated with a CPLD through an I2C bus, the CPLD is communicated with an Expander chip through a UART bus, and finally the remote management module accesses the Expander chip out of band;

the baseboard management controller BMC monitors the state of the hard disk through the CPLD, and when the abnormal state of the hard disk is monitored, the baseboard management controller BMC notifies the remote management module through the LAN port, communicates with the Expander chip through the CPLD, acquires an Expander chip log, and stores the log into the FLASH.

Further, the baseboard management controller BMC, the LAN port and the FLASH are arranged on the mainboard. The baseboard management controller BMC provides an out-of-band access interface through the LAN port.

Further, the Expander chip is connected with an SAS/RAID card through a high-speed SAS cable;

the mainboard is also provided with a PCIE interface which is connected with the SAS/RAID card. The Expander chip is connected with the SAS/RAID card, and information interaction between the storage on the SAS/RAID card and the Expander chip is realized.

Further, the Expander chip is connected with a hard disk back plate;

the hard disk back plate is provided with a hard disk interface, and the hard disk interface is connected with the Expander chip through a high-speed SAS cable. The Expander chip is connected with the hard disk backboard, and information interaction between the hard disk backboard and the Expander chip is stored.

Furthermore, a plurality of HDD hard disk interfaces and a plurality of HDD hard disk indicating lamps are also arranged on the Expander card;

the number of the HDD hard disk interfaces is equal to that of the HDD hard disk indicator lamps, and the HDD hard disk interfaces correspond to the HDD hard disk indicator lamps one by one. The Expander chip realizes the interaction between the HDD hard disk and the SAS storage.

Further, the CPLD analyzes the SGPIO signal transmitted by the Expander chip to acquire the state of the hard disk, and controls the hard disk state indicator lamp according to the state of the hard disk. And the CPLD analyzes the SGPIO signal to acquire the state of the hard disk and controls a hard disk backboard and a hard disk state indicator lamp of the SAS/RAID card.

In a second aspect, the present invention provides a method for implementing out-of-band interaction of a server Expander card, including the following steps:

The remote management module is communicated with the Expander chip through the LAN port, the baseboard management controller BMC, the I2C bus, the CPLD and the UART bus in sequence, and finally the remote management module accesses the Expander chip out of band;

the baseboard management controller BMC monitors the state of the hard disk through the CPLD;

when the state of the hard disk is abnormal, the baseboard management controller BMC notifies the remote management module through the LAN port; meanwhile, the baseboard management controller BMC communicates with the Expander chip through the CPLD to acquire the Expander chip log and store the log into the FLASH.

Further, the CPLD monitors the hard disk state specifically:

the CPLD analyzes an SGPIO signal transmitted by the Expander chip to acquire a hard disk state;

and the CPLD controls the hard disk state indicator lamp according to the hard disk state.

Further, the hard disk state abnormity comprises hard disk dropping and hard disk alarming.

Further, when the system is initially powered on, the Expander chip outputs the current configuration information of the Expander chip and the log of the power-on process according to the UART signal received from the CPLD;

and after receiving the current configuration information of the Expander chip and the current power-on process log, the CPLD sends the current configuration information to the Baseboard Management Controller (BMC) and stores the current configuration information and the current power-on process log in the FLASH.

The beneficial effect of the invention is that,

The system and the method for realizing the out-of-band interaction of the server Expander card solve the problems that the Expander chip can only be connected through a serial port tool, the information interaction of the Expander card in the system is realized through the BMC and the CPLD, no extra hardware resource needs to be added, and the required debugging information of the Expander chip can be obtained by research personnel in time conveniently through the existing out-of-band management interface of the BMC. In addition, by monitoring the state of the hard disk by the existing BMC, when the hard disk in the system is abnormal, the BMC can store the information of the Expander card in real time, and the method has great significance for debugging the Expander chip.

In addition, the invention has reliable design principle, simple structure and very wide application prospect.

Therefore, compared with the prior art, the invention has prominent substantive features and remarkable progress, and the beneficial effects of the implementation are also obvious.

Drawings

In order to more clearly illustrate the embodiments or technical solutions in the prior art of the present invention, the drawings used in the description of the embodiments or prior art will be briefly described below, and it is obvious for those skilled in the art that other drawings can be obtained based on these drawings without creative efforts.

FIG. 1 is a schematic diagram of the system architecture of the present invention;

FIG. 2 is a schematic flow diagram of the method of the present invention;

in the figure, 1-Expander card; 2-baseboard management controller BMC; 3-CPLD; 4-Expander chip; 5-LAN port; 6-remote management module; 7-a main board; 8-FLASH.

Detailed Description

In order to make those skilled in the art better understand the technical solution of the present invention, the technical solution in the embodiment of the present invention will be clearly and completely described below with reference to the drawings in the embodiment of the present invention, and it is obvious that the described embodiment is only a part of the embodiment of the present invention, and not all embodiments. All other embodiments, which can be derived by a person skilled in the art from the embodiments given herein without making any creative effort, shall fall within the protection scope of the present invention.

9页详细技术资料下载
上一篇:一种医用注射器针头装配设备
下一篇:调整时序的方法、装置、计算机设备及介质

网友询问留言

已有0条留言

还没有人留言评论。精彩留言会获得点赞!

精彩留言,会给你点赞!