CN116185505A - Configuration method of hard disk backboard and computing equipment - Google Patents
Configuration method of hard disk backboard and computing equipment Download PDFInfo
- Publication number
- CN116185505A CN116185505A CN202211555134.0A CN202211555134A CN116185505A CN 116185505 A CN116185505 A CN 116185505A CN 202211555134 A CN202211555134 A CN 202211555134A CN 116185505 A CN116185505 A CN 116185505A
- Authority
- CN
- China
- Prior art keywords
- hard disk
- computing device
- information
- configuration information
- disk backboard
- 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.)
- Pending
Links
- 238000000034 method Methods 0.000 title claims abstract description 68
- 238000012545 processing Methods 0.000 claims abstract description 114
- 238000013507 mapping Methods 0.000 claims description 13
- 230000005540 biological transmission Effects 0.000 claims description 10
- 230000006870 function Effects 0.000 description 18
- 238000004891 communication Methods 0.000 description 13
- 238000007726 management method Methods 0.000 description 13
- 238000011161 development Methods 0.000 description 10
- 238000005516 engineering process Methods 0.000 description 10
- 230000008569 process Effects 0.000 description 9
- 238000004590 computer program Methods 0.000 description 7
- 238000010586 diagram Methods 0.000 description 6
- 238000012216 screening Methods 0.000 description 4
- 238000013461 design Methods 0.000 description 3
- 238000012423 maintenance Methods 0.000 description 3
- 230000006978 adaptation Effects 0.000 description 2
- 238000009434 installation Methods 0.000 description 2
- 238000004519 manufacturing process Methods 0.000 description 2
- 230000007246 mechanism Effects 0.000 description 2
- 239000013307 optical fiber Substances 0.000 description 2
- 238000013468 resource allocation Methods 0.000 description 2
- 239000007787 solid Substances 0.000 description 2
- 238000012384 transportation and delivery Methods 0.000 description 2
- 238000003491 array Methods 0.000 description 1
- 230000006399 behavior Effects 0.000 description 1
- 238000001514 detection method Methods 0.000 description 1
- 230000000694 effects Effects 0.000 description 1
- 230000017525 heat dissipation Effects 0.000 description 1
- 230000003993 interaction Effects 0.000 description 1
- 230000007257 malfunction Effects 0.000 description 1
- 230000006386 memory function Effects 0.000 description 1
- 238000012986 modification Methods 0.000 description 1
- 230000004048 modification Effects 0.000 description 1
- 230000003287 optical effect Effects 0.000 description 1
- 230000002093 peripheral effect Effects 0.000 description 1
- 238000012360 testing method Methods 0.000 description 1
- 238000012795 verification Methods 0.000 description 1
- 239000002699 waste material Substances 0.000 description 1
- 238000004804 winding Methods 0.000 description 1
Images
Classifications
-
- G—PHYSICS
- G06—COMPUTING; CALCULATING OR COUNTING
- G06F—ELECTRIC DIGITAL DATA PROCESSING
- G06F9/00—Arrangements for program control, e.g. control units
- G06F9/06—Arrangements for program control, e.g. control units using stored programs, i.e. using an internal store of processing equipment to receive or retain programs
- G06F9/44—Arrangements for executing specific programs
- G06F9/4401—Bootstrapping
- G06F9/4411—Configuring for operating with peripheral devices; Loading of device drivers
-
- G—PHYSICS
- G06—COMPUTING; CALCULATING OR COUNTING
- G06F—ELECTRIC DIGITAL DATA PROCESSING
- G06F9/00—Arrangements for program control, e.g. control units
- G06F9/06—Arrangements for program control, e.g. control units using stored programs, i.e. using an internal store of processing equipment to receive or retain programs
- G06F9/44—Arrangements for executing specific programs
- G06F9/4401—Bootstrapping
- G06F9/4411—Configuring for operating with peripheral devices; Loading of device drivers
- G06F9/4413—Plug-and-play [PnP]
- G06F9/4415—Self describing peripheral devices
Landscapes
- Engineering & Computer Science (AREA)
- Software Systems (AREA)
- Theoretical Computer Science (AREA)
- Computer Security & Cryptography (AREA)
- Physics & Mathematics (AREA)
- General Engineering & Computer Science (AREA)
- General Physics & Mathematics (AREA)
- Stored Programmes (AREA)
- Debugging And Monitoring (AREA)
Abstract
The embodiment of the application discloses a configuration method of a hard disk backboard and a computing device, wherein the method is applied to a processing module in the computing device, the computing device comprises one or more hard disk backboard, and the method comprises the following steps: acquiring hard disk backboard information of the computing device, wherein the hard disk backboard information comprises information of the one or more hard disk backboard; configuration information of the computing device is determined according to the hard disk backboard information, and the configuration information is used for configuring the one or more hard disk backboard. According to the method and the device for processing the hard disk backboard information, the processing module of the computing device can acquire the hard disk backboard information of the computing device, and then the configuration information of the computing device can be determined according to the hard disk backboard information, so that the processing module can flexibly determine the corresponding configuration information according to the acquired hard disk backboard information of the computing device, and the flexibility of using the hard disk backboard can be improved.
Description
Technical Field
The present disclosure relates to the field of server technologies, and in particular, to a method for configuring a hard disk back plate and a computing device.
Background
The server has rich types, and can be divided into 1U, 2U, 4U and other types according to the height, and further, the types of servers can be further subdivided into various different configuration machine types according to functions, support terminal types, support terminal quantity and the like, and the machine types are often matched with hard disk backboard with various different heights and support different functions.
When developing different types of servers with different heights, different functions, different storage capacities and the like, a mode of independently developing a required hard disk backboard according to specific requirements is often adopted, on one hand, the development mode is large in workload, labor cost is high, development time is long from scheme design to mass production of products, time delay is easy to be caused, on the other hand, the types and the number of the hard disk backboard are numerous under the development mode, compatible multiplexing of the hard disk backboard is neglected, waste in resources is avoided, difficulty in management and maintenance of the server is increased, confusion is brought to the server, and the overall cost is improved.
Disclosure of Invention
In order to solve the technical problems, the embodiment of the application discloses a configuration method of a hard disk backboard and computing equipment.
In a first aspect, an embodiment of the present application discloses a method for configuring a hard disk backplane, where the method for configuring a hard disk backplane may be applied to a processing module of a computing device (such as a server), and may also be applied to a logic module or software that can implement all or part of the functions of the processing module. The computing device may include at least one hard disk backplane, the processing module being coupled to the at least one hard disk backplane. The following describes a configuration method of the hard disk back plate by taking a processing module applied to a computing device as an example. The configuration method of the hard disk backboard can comprise the following steps: acquiring hard disk backboard information of the computing device, wherein the hard disk backboard information comprises information of the one or more hard disk backboard; configuration information of the computing device is determined according to the hard disk backboard information, and the configuration information is used for configuring the one or more hard disk backboard.
In the embodiment of the application, after the computing device is powered on, the processing module of the computing device can perform information polling, read the hard disk backboard information from the external interface, and then determine the configuration information of the computing device according to the hard disk backboard information. And then, the configuration information of the computing device can be used for adapting the hard disk backboard of the computing device. Therefore, the processing module can flexibly determine the configuration information of the corresponding computing device according to the information of the hard disk backboard and then adapt to the configuration information, so that the processing module can be installed on different servers or different positions of the servers for one hard disk backboard, the flexibility of using the hard disk backboard can be improved, the expansion, compatible multiplexing and the like of the hard disk backboard can be realized, the development cost can be saved, the types and the number of the hard disk backboard can be reduced, and the overall maintainability of the computing device can be improved.
As one possible implementation manner, the determining the configuration information of the computing device according to the hard disk backboard information includes: determining a model of the computing device according to the hard disk backboard information; configuration information of the computing device is determined according to the model of the computing device.
In this embodiment of the present invention, since different types of computing devices may correspond to different configuration information, the processing module may determine the type of the computing device according to the read information of the hard disk back plate, and then may determine the corresponding configuration information according to the type of the computing device. In this way, accurate configuration information for the computing device may be ensured.
As a possible implementation manner, the method further comprises: determining the read path of the information of the one or more hard disk backboard, wherein the read path of the information of the hard disk backboard is the path of the processing module for carrying out data transmission with the one or more hard disk backboard; the determining the model of the computing device according to the hard disk backboard information comprises: and determining the model of the computing device according to the information of the hard disk backboard and the read path of the information of the one or more hard disk backboard.
In this embodiment of the present application, the same hard disk back plate is combined, and different positional relationships may correspond to different computing device models. At this time, different types of computing devices may correspond to the same combination of the hard disk backplates, so the processing module may determine the type of the computing device according to the hard disk backplates and the read paths of the information of the one or more hard disk backplates, so that accuracy of the obtained type of the computing device may be ensured.
As a possible implementation manner, the method further comprises: obtaining information of at least one hardware device of the computing device; the determining the model of the computing device according to the hard disk backboard information comprises: and determining the model of the computing device according to the information of the hard disk backboard and the information of the at least one hardware device.
In this embodiment of the present application, the same combination of hard disk backplates may correspond to different computing device models in different hardware device configurations (e.g., different numbers of hardware devices, different models, etc.). In this case, different types of computing devices may correspond to the same combination of the hard disk backplanes, so the processing module may determine the type of the computing device according to the information of the hard disk backplanes and the information of at least one hardware device (such as a RAID card), so that accuracy of the obtained type of the computing device may be ensured.
As a possible implementation manner, the determining the configuration information of the computing device according to the model of the computing device includes: and determining the configuration information of the computing equipment according to the model of the computing equipment and a configuration information mapping table, wherein the configuration information mapping table comprises configuration information corresponding to the model of different computing equipment.
In this embodiment of the present application, the processing module may store a configuration information mapping table, where the table may include configuration information corresponding to models of different computing devices, so that the processing module may determine the configuration information of the computing device according to the model of the computing device, and may improve processing efficiency.
As a possible implementation manner, the hard disk backboard information includes identifiers of the one or more hard disk backboard, and the identifiers of the one or more hard disk backboard are respectively used for indicating hardware resources of the one or more hard disk backboard.
In this embodiment of the present invention, the information of each hard disk backboard of the computing device read by the processing module may include the identifier of each hard disk backboard, so that the type of each hard disk backboard and the corresponding hardware resource may be determined by using the identifier of each hard disk backboard, so that the processing module may determine the corresponding computing device height and model according to the type of each hard disk backboard.
As a possible implementation, the processing module is a baseboard management controller BMC.
As one possible implementation, the computing device further includes a basic input output system BIOS module; the determining configuration information of the computing device according to the hard disk backboard information comprises: the processing module sends the information of the hard disk backboard to the BIOS module; the processing module receives configuration information of the computing device from the BIOS module, wherein the configuration information of the computing device is determined by the BIOS module according to the hard disk backboard information.
In the embodiment of the invention, the configuration information of the computing device can be determined by the BIOS module of the computing device according to the model of the computing device, so that the BIOS module can be conveniently configured correspondingly according to the configuration information of the computing device, the hard disk backboard installed on the computing device can be adapted to the computing device, and the computing device can manage the hard disk backboard correspondingly.
As one possible implementation, the configuration information of the computing device includes virtual pin port address information corresponding to the one or more hard disk backplanes.
In this embodiment of the present application, the configuration information of the computing device may include a relevant configuration of the virtual pin port address, so that each hard disk back plate of the computing device may be assigned a corresponding vpp address and so on.
In a second aspect, an embodiment of the present application discloses a method for configuring a hard disk backplate, where the method for configuring a hard disk backplate may be applied to a hard disk backplate of a computing device, may also be applied to a module (e.g., a chip) in the hard disk backplate, and may also be applied to a logic module or software that can implement all or part of the functions of the hard disk backplate. The computing device includes a processing module, and a configuration method of the hard disk backboard is described below by taking the hard disk backboard applied to the computing device as an example. The configuration method of the hard disk backboard can comprise the following steps: the hard disk backboard sends the information of the hard disk backboard to a processing module of the computing equipment; the hard disk backboard receives configuration information of the computing equipment; the hard disk backboard is adapted according to the configuration information.
As a possible implementation manner, the hard disk backboard is provided with at least one storage medium, and the storage medium is used for storing information of the hard disk backboard.
In a third aspect, embodiments of the present application disclose a computing device including a processing module and one or more hard disk backplanes coupled to the processing module, the processing module configured to implement a method of configuring a hard disk backplane as disclosed in the first aspect and any one of the possible implementations of the first aspect.
In a fourth aspect, an embodiment of the present application discloses a processing module, which may be a baseboard management controller, where the processing module includes a processor, a memory, and a communication interface, and the processor invokes a computer program stored in the memory to implement a method for configuring a hard disk backplane as disclosed in the first aspect and any one of possible implementation manners of the first aspect.
In a fifth aspect, embodiments of the present application disclose a hard disk backplane, where the hard disk backplane includes a processor, a memory, and a communication interface, and the processor invokes a computer program stored in the memory to implement a method for configuring a hard disk backplane as disclosed in the second aspect and any one of possible implementations of the second aspect.
In a sixth aspect, embodiments of the present application disclose a computing device including the processing module disclosed in the fourth aspect and the hard disk backplate disclosed in the fifth aspect.
In a seventh aspect, the present application discloses a computer readable storage medium comprising computer instructions which, when run on a computing device, cause the computing device to perform the method of configuring a hard disk backplane disclosed in any one of the possible implementations of the above aspect.
In an eighth aspect, the present application discloses a computer program product comprising computer program code which, when run on a computer, causes the computer to perform the method of configuring a hard disk back plate in any one of the possible implementations of the above aspect.
A ninth aspect discloses a chip comprising a processor for executing a program stored in a memory, which when executed causes the chip to perform the method of configuring a hard disk backplane in any of the possible implementations of the above aspect.
As a possible implementation, the memory is located off-chip.
It will be appreciated that the computing device provided in the third aspect, the processing module provided in the fourth aspect, the computer-readable storage medium provided in the seventh aspect, the computer program product provided in the eighth aspect and the chip provided in the ninth aspect may be used to perform the method of configuring a hard disk back plate provided in the first aspect of the present application and any possible implementation manner of the first aspect. Therefore, the advantages achieved by the method can be referred to as the advantages of the corresponding method, and will not be described herein.
Drawings
The drawings in the following description will be presented to more clearly illustrate the embodiments of the present application and to provide a brief description of the drawings, it being apparent that the drawings in the following description are only some of the embodiments of the present application and that other drawings may be obtained from these drawings by those skilled in the art without inventive faculty.
Fig. 1 is a schematic structural diagram of a server disclosed in an embodiment of the present application;
FIG. 2 is a schematic diagram of a system architecture disclosed in an embodiment of the present application;
fig. 3 is a flow chart of a configuration method of a hard disk back plate disclosed in an embodiment of the present application;
FIG. 4 is a flow chart illustrating another embodiment of a method for configuring a hard disk back plate disclosed herein;
fig. 5 is a schematic structural diagram of a computing device disclosed in an embodiment of the present application.
Detailed Description
The embodiment of the application discloses a configuration method of a hard disk backboard and a computing device, wherein the configuration method of the hard disk backboard can enable the hard disk backboard to complete autonomous adaptation under the conditions of being installed on different types of servers or on different positions of the servers and the like, and also enables the servers to complete expansion of the hard disk backboard, so that additional investment in manual development and maintenance is not needed, expansion and compatible multiplexing of the hard disk backboard are realized, development cost is saved, types and quantity of the hard disk backboard are reduced, and the maintainability of the whole server system is improved. The technical solutions in the embodiments of the present application will be clearly and completely described below with reference to the drawings in the embodiments of the present application.
For a better understanding of the embodiments of the present application, the related art of the embodiments of the present application will be described first.
With the progress of computer technology, the functions and performances of the server are continuously improved and perfected, and the server plays an increasingly important role in the fields of cloud computing, data centers, big data and the like. Among them, servers can be generally classified into tower (tower) servers, rack mount (rack) servers, blade (blade) servers, high-density servers, and the like. In order to facilitate delivery and installation of various types of servers, the servers are designed according to relevant standards, and the typical height can be 1U, 2U, 4U and the like, and the width can be 19 inches. 1U (unit) is approximately equal to 44.45mm.
The server typically includes components such as a front panel, a power supply, a back panel, a motherboard, a system fan, a hard disk back panel, and the like. The front panel is generally a block mainly maintained by a user, and may include an input/output interface, a hard disk module, an optical disk drive, an information tag, and the like. The layout of the front panel is also different between different manufacturers and different product categories. Because the front panel is the most directly accessible interface for a direct user, components such as hard disks or hard disk modules that may need replacement (e.g., replacement in the event of a hard disk failure) are typically located on the front panel.
Since the rear panel is a front panel, and the rear of the server is generally the interface direction of the cable winding, the power distributor, and the optical fiber switch, the input/output interfaces such as the power interface, the graphics interface, the optical fiber interface, and the USB (universal serial bus ) are generally designed on the rear panel of the server.
A main board, which is one of the main components of the server, carries the operation work of the server. The motherboard may be generally provided with a central processing unit, a baseboard management controller, a memory bank slot, a power supply management chip, a memory function control chip, and connectors reserved for expansion cards such as PCIe (peripheral component interconnect express, a high-speed serial computer expansion bus standard), I/O (input/output) interfaces, and the like.
A system fan, which is a heat sink of the server. Through the heat dissipation of the system fan, overheat faults of devices such as a Central Processing Unit (CPU), a graphic processor (graphics processing unit) and a Graphic Processing Unit (GPU) of the server can be avoided, and therefore normal operation of the server can be guaranteed.
The hard disk backboard is a bridge for supporting the main board and the storage room, and is mainly used for communicating the hard disk or the hard disk module, and can provide some additional functions, such as working state indication, hot plug support and the like.
Fig. 1 is a schematic structural diagram of a server according to an embodiment of the present application. In general, the positional relationship among the hard disk module 101, the hard disk back plate 102 and the motherboard 103 on the server 100 is shown in fig. 1, and the hard disk back plate 102 may be coupled to the hard disk module 101 and the motherboard 103, respectively. As shown in fig. 1, the hard disk module 101 may include 6 hard disks, and the 6 hard disks may be inserted into corresponding slots of the hard disk back plate 102, so as to be coupled with the hard disk back plate 102.
At present, the server can be divided into 1U, 2U, 4U and the like according to the height, and different height servers can be further divided into different configuration machine types according to functions, support terminal types, support terminal quantity and the like, and the machine types generally need to be matched with hard disk backboard with different heights and support different functions. For example, when new functions are required by the market, especially when new requirements are required in terms of storage, such as expanding storage capacity, increasing the number of hard disks, etc., development and verification of the hard disk backplane board generally need to be performed according to the new requirements. For another example, when developing servers with different heights, different types, and different storage capacities, it is generally necessary to develop different sizes of hard disk backplanes in a targeted manner. For another example, hard disk backplanes have also been developed separately in different new projects of servers. Because a new hard disk backboard needs to be developed in various scenes, the labor cost and development time are high from the scheme design to the mass production of products, and the time delay is easy to cause, so that the delivery of the products is affected. In addition, the hard disk backboard is more in variety, so that difficulty and confusion are brought to management and maintenance of the server, and overall cost is improved. In addition, in the design of the complete server system, the maximization of the port resource utilization of the CPU is often required, so that more hard disks or cards may be mounted on the server system to achieve higher configuration under the condition that the overall structure and capacity of the server are unchanged.
In order to solve the above problem, in the embodiment of the present application, after a computing device is powered on, a processing module of the computing device may perform information polling, read hard disk back plate information from an external interface, then determine a model of the computing device according to the hard disk back plate information, and then determine configuration information of the computing device according to the model of the computing device. And then, the configuration information of the computing device can be used for adapting the hard disk backboard of the computing device. Therefore, the processing module can be used for determining the configuration information of the corresponding computing equipment according to the information of the hard disk backboard and then adapting, so that the processing module can be installed on different servers or different positions of the servers for one hard disk backboard, and therefore, the expansion and compatible multiplexing of the hard disk backboard can be realized, the development cost can be saved, the development period can be shortened, the types and the number of the hard disk backboard can be reduced, and the overall maintainability of the computing equipment can be improved.
For a better understanding of the embodiments of the present application, the system architecture used by the embodiments of the present application is described below.
Referring to fig. 2, fig. 2 is a schematic diagram of a system architecture according to an embodiment of the present application. As shown in fig. 2, the system architecture may be that of computing device 200, and computing device 200 may include: a processing module 201, a hard disk back plate 202, a BIOS module (basic input output system ) 203 and an external interface 204. The processing module 201 and the hard disk backplate 202 may communicate (i.e. data interact) with each other through the external interface 204.
In some embodiments, the processing module 201 may be a baseboard management controller (baseboard manager controller, BMC). The BMC may be used to monitor, manage, etc. the computing device 200 and support remote management (e.g., device reset, power up and down, etc.) through a management portal. For example, the BMC may monitor the status (e.g., humidity, temperature, etc.) of various hardware devices in the server. For another example, system configuration, firmware upgrades, fault diagnostics, etc. may be performed by the BMC.
It should be appreciated that in one possible implementation, the processing module 201 may be mounted on a motherboard of a computing device, which may be a rectangular circuit board. It should also be appreciated that the processing module 201 may include multiple external interfaces that may be coupled to different hardware devices in the computing device 200.
The hard disk back plate 202 is a fixed plug-in transmission component in the computing device and serves as a bridge for connecting the hard disk to the motherboard. The hard disk backboard can be divided into different types according to different size structures (such as height and width), supported hard disk types, number of hard disks and the like. It should be appreciated that the hard disk backplane 202 may enable hot plug of a hard disk. The hot plug of the hard disk means that when the equipment is still in a working state (under the condition of power on), the hard disk can be inserted in or pulled out, the hard disk cannot be damaged, data cannot be lost, and a power supply and data transmission cable cannot be influenced.
It should be understood that the hard disk backplate 202 may be connected to one or more hard disks through an interface, where the hard disk type may be a mechanical hard disk, a solid state hard disk (such as NVMe solid state hard disk), and so on. The interface to which the hard disk is connected to the hard disk backplane 202 may be a PCIe dedicated interface, SATA (serial advanced technology attachment) dedicated interface, m.2 interface, etc. Accordingly, the channels for the hard disk and the hard disk back plate 202 to transmit data through the interfaces may be PCIe channels, SATA channels, SAS (serial attached SCSI) channels, and the like. It should be understood that the communication protocol supported by the hard disk transmission data may be IDE (integrated drive electronics) protocol, AHCI (advanced host controller interface) protocol, NVMe (non-volatile memory express) protocol, or the like.
The BIOS module 203 generally includes basic input/output programs, including post-boot self-test programs and system self-boot programs, which provide the lowest, most direct hardware setup and control for the computing device. The basic input/output program can be generally kept in a read-only memory (ROM), and directly controls the input and output devices in the computer system at a device level and a hardware level, which is a hub for connecting the software program and the hardware device. In general, the BIOS may contain code to control a keyboard, display screen, disk drive, serial communications device, and many other functions. The software part of many technologies in the field of computer technology is implemented by means of BIOS management. Such as PnP (plug and play) technology, i.e., by adding PnP modules to the BIOS. Also, for example, hot swap technology (hot swap), the system BIOS sends hot swap information to a configuration management program in the BIOS, and the program reconfigures (e.g., interrupts, DMA channels, etc.) for reconfiguration. In fact, hot plug technology also belongs to PnP technology.
It should be noted that, the hot plug technology is first in the technical field of servers, and there is a possibility that a hard disk for storing data in a server may malfunction or be damaged, so that an interface for connecting the hard disk in the server needs to have a hot plug function in order to directly replace the hard disk without closing the system. For example, intel corporation has introduced the PCI-Express specification to support hot plug, where PCI-Express is a high-speed serial computer expansion bus standard that enables high-speed serial point-to-point dual-channel high-bandwidth transmission. The hot plug function is a Native attribute in the PCI-Express specification in which a Native PCI-Express hot plug system is built. Taking a server system as an example, a complete Native PCI-Express hot plug system includes at least three aspects: in terms of hardware, the server is connected with the hard disk through a PCIe interface; in terms of firmware, the server motherboard BIOS provides functional support for hot plug; in terms of software, the server operating system kernel provides support for hot plug drive architecture for hot plug. It should be appreciated that the kernel (kernel) is the core of an operating system and may provide the most basic functions of an operating system. The kernel of the operating system is responsible for managing the processes, the memory, the device driver, the file system, the network system and the like of the system, and is a bridge connecting the application program and the hardware, so that the performance and the stability of the system are determined. Regarding one possible operation mechanism of the Native PCI-Express hot plug system in the server system, specifically, after the server operating system takes over the query and control of the hot plug registers (for example, slot capabilities, slot capability registers), the hot plug component information of the hardware is obtained, and then, after the start and configuration of the hot plug function of the PCIe device are completed under the support of the server motherboard BIOS, after the hot plug behavior (for example, the insert-out request of the hard disk and the power failure) occurs, the hot plug event (for example, the system interrupt and the power management event) may be submitted to the hot plug processing mechanism of the server operating system by an OSHP (operating system hot plug) method, and then, the hot plug driver is executed by the kernel of the server operating system to perform the hot plug control.
It should be appreciated that a computing device may include one or more hard disk backplanes (only one illustrated in FIG. 2) that may be mounted at different locations on the computing device, respectively, such as may be mounted in front of the computing device as a front panel, or may be mounted behind the computing device as a rear panel, or may be mounted inside the computing device as a built-in panel. It should also be appreciated that each hard disk backplane of a computing device may have one or more hard disks connected thereto.
It should be noted that, in some embodiments, the external interface 204 may be an I2C interface, and accordingly, the processing module 201 may communicate with the hard disk backplate 202 through an I2C (inter-integrated circuit, internal integrated circuit) bus. The I2C bus protocol specifies that data is transmitted bi-directionally between a master device and a slave device on the I2C bus in units of bytes (8 bits), each device on the I2C bus may be used as a master device or a slave device, and each device may correspond to a unique address. In particular, the start and end signals of the data transmission on the I2C bus are always generated by the master device, in other words, only the master device can actively communicate, while the address of the slave device is specified by the master device before the valid data is transmitted. The data transmission between the master and slave devices on the I2C bus is based on the address, and after the master device sends a start signal, the master device generally sends 7-bit address bits representing the slave device and 1-bit direction bits representing the data transmission direction, wherein a direction bit of 0 represents that the master device writes data to the slave device, and a direction bit of 1 represents that the master device reads data to the slave device.
It should be noted that, the computing device 200 may be a server, such as a file server (file server), a domain control server (domain server), a database server (database server), a mail server (mail server), a Web server (Web server), a multimedia server (multimedia server), a communication server (communication server), a terminal server (terminal server), an infrastructure server (infrastructure server), a virtualization server (virtualization server), and the like. The server may be tower, rack, blade, cabinet, etc.
In some embodiments, the processing module 201 and the hard disk backplate 202 may include a processor, memory, and the like. The memory may include, but is not limited to, random access memory (random access memory, RAM), read-only memory (ROM), erasable programmable read-only memory (erasable programmable read only memory, EPROM), or portable read-only memory (compact disc read-only memory, CD-ROM). The processor may be a complex programmable logic device, a general purpose processor, a digital signal processor, an application specific integrated circuit, a field programmable gate array or other programmable logic device, a transistor logic device, a hardware component, or any combination thereof.
It should be noted that the system architecture shown in fig. 2 is only exemplary, and is not limited to the configuration thereof. In other embodiments of the present application, the system architecture shown in FIG. 2 may include more or fewer components or functional modules than illustrated.
Based on the above system architecture, please refer to fig. 3, fig. 3 is a flow chart of a configuration method of a hard disk back plate disclosed in an embodiment of the present application. As shown in fig. 3, the configuration method of the hard disk back plate may include, but is not limited to, the following steps:
301. the processing module obtains hard disk backplane information of the computing device, the hard disk backplane information including information of one or more hard disk backplanes of the computing device.
One or more hard disk backplanes may be provided on the computing device, which may be coupled to a processing module of the computing device. Thus, to configure the one or more hard disk backplanes, after the computing device is powered on, a processing module of the computing device may read information of the one or more hard disk backplanes through an external interface connected to the one or more hard disk backplanes, and the information of the one or more hard disk backplanes may include an identification of the one or more hard disk backplanes, where the identification of the one or more hard disk backplanes is used to indicate hardware resources of the one or more hard disk backplanes, respectively. The identification of a hard disk backplane may be a backplane ID (i.e. a Board ID) of the hard disk backplane, or may be other information (such as a name of the hard disk backplane) that may identify the type of the hard disk backplane or the hardware resource, which is not limited herein. It is understood that the hardware resources of the hard disk backboard may include the number of interfaces of the hard disk backboard, the number of supported maximum hard disks, the types of supported hard disks, and the like, and the hardware resources corresponding to the different types of hard disk backboard are different.
It should be noted that the identifiers corresponding to the different types of hard disk backplates are different. Therefore, the processing module of the computing device can determine the type of the hard disk backboard through the obtained identification of the hard disk backboard. For example, assume that there are 3 types of hard disk backplanes, type a hard disk backplanes, type B hard disk backplanes, type C hard disk backplanes, whose corresponding backplanes IDs are 01, 10, 11, respectively. The computing device comprises two hard disk backboard, a hard disk backboard 1 and a hard disk backboard 2, wherein the hard disk backboard 1 is an A-type hard disk backboard, and the hard disk backboard 2 is a C-type hard disk backboard. Thus, when the processing module of the computing device reads that the backplane ID of the hard disk backplane 1 is 01, it may be determined that the hard disk backplane 1 is a type a hard disk backplane. Similarly, when the processing module of the computing device reads that the backplane ID of the hard disk backplane 2 is 11, it may determine that the hard disk backplane 2 is a C-type hard disk backplane.
In some embodiments, the computing device may store information for different types of hard disk backplanes, and may specifically include the number of interfaces for each type of hard disk backplane, the maximum number of hard disks supported, the types of hard disks supported, and so on. For example, for the above-described a-type hard disk back plate, it may support 12 NVMe hard disks, for the above-described B-type hard disk back plate, it may support 24 NVMe hard disks, and for the above-described C-type hard disk back plate, it may support 4 NVMe hard disks.
Specifically, in one possible implementation, after the computing device is powered on, the processing module of the computing device may perform information polling, that is, read, through its own external interfaces, information of related hardware devices included in the computing device. It should be appreciated that the processing module of the computing device may include a plurality of external interfaces that may each correspond to a different hardware device, such as a power supply, a graphics card, a network card, a hard disk backplane, a memory, a redundant array of independent disks (redundant arrays of independent disks, RAID) card, a Retimer card, etc., of the computing device. Correspondingly, the processing module of the computing device can read the information of hardware devices such as a power supply, a display card, a network card, a hard disk backboard, a memory, a RAID card, a Retimer card and the like of the computing device through an external interface of the processing module.
In some embodiments, the external interface between the processing module and the hardware devices such as the hard disk backboard and the RAID card is an I2C interface, so the processing module may be connected to the hardware devices such as the hard disk backboard and the RAID card through the I2C bus, and correspondingly, the communication mode adopted by the processing module of the computing device and each hardware device corresponding to the external interface thereof may be the communication mode of the I2C bus. At this time, the hardware devices may each have an address for I2C communication (hereinafter, abbreviated as I2C address), and the I2C addresses may be stored in the computing device. It should be noted that different I2C addresses may correspond to different data read paths, such as a front path, a back path, a built-in path, and the like. The data read path of the processing module corresponding to the front panel may be a front path, the data read path corresponding to the rear panel may be a rear path, and the data read path corresponding to the built-in panel may be a built-in path. Therefore, the processing module of the computing device can determine the installation position of a certain hard disk backboard according to the I2C address corresponding to the information read to the hard disk backboard.
For example, assume that the computing device includes two hard disk backplanes, hard disk backplate 1 and hard disk backplate 2, where hard disk backplate 1 is a front-facing backplate with an I2C address corresponding to address 1 and hard disk backplate 2 is a back-facing faceplate with an I2C address corresponding to address 2. The processing module can read the information of the hard disk backboard 1 based on the address 1, and because the read channel corresponding to the address 1 is a preposed channel, the processing module can determine that the hard disk backboard corresponding to the address 1 is a preposed backboard. Accordingly, the processing module can read the information of the hard disk backboard 2 based on the address 2, and since the read channel corresponding to the address 2 is a post-channel, the processing module can determine that the hard disk backboard corresponding to the address 2 is a post-channel.
It should be appreciated that the processing module of a computing device may access different hardware devices through different I2C addresses so that information for a particular hardware device may be obtained. And the specific hardware equipment corresponding to the I2C address can be determined through the information read by the I2C address.
302. And the processing module determines the model of the computing device according to the information of the hard disk backboard.
It should be noted that, according to different configurations of hardware devices, the computing devices may be divided into different models, and the different models may correspond to configuration information of different computing devices. Therefore, after the processing module of the computing device reads information (such as information of each hard disk backboard of the computing device) through each external interface, the model of the computing device can be determined according to the information.
In some embodiments, the combination of different hard disk backplanes may correspond to different computing device models, and thus, the computing device may determine the model of the computing device from the read information of one or more hard disk backplanes included in the computing device. It should be understood that the combination of different hard disk backplates may be a combination of different types of hard disk backplates, a combination of different numbers of hard disk backplates of the same type, or a combination of different numbers of hard disk backplates of different types.
For example, it is assumed that there are 3 types of hard disk backplates, namely, a type hard disk backplate, a type B hard disk backplate, and a type C hard disk backplate, and the corresponding backplate IDs are 01, 10, and 11, respectively. These 3 types of hard disk backplates may have 4 different combinations, corresponding to 4 different computing device models, respectively, the first combination being: 1A type hard disk backboard, its corresponding model is model 1, the second kind makes up as: 2A type hard disk backboard, its corresponding model is model 2, the third kind makes up as: 1 piece A type hard disk backplate+1 piece C type hard disk backplate, its corresponding model is model 3, and the fourth combination is: 1B type hard disk backboard+1C type hard disk backboard, and the corresponding model is model 4. If the computing device includes two hard disk backplates, hard disk backplate 1 and hard disk backplate 2, wherein hard disk backplate 1 is a type a hard disk backplate and hard disk backplate 2 is a type C hard disk backplate. Therefore, when the processing module of the computing device reads that the backplate ID of the hard disk backplate 1 is 01 and the backplate ID of the hard disk backplate 2 is 11, it may be determined that the computing device includes 1 a-type hard disk backplate and 1C-type hard disk backplate, and thus it may be determined that the model corresponding to the computing device is model 3. It should be appreciated that the correspondence of the combination of backplane IDs and the computing device model may be stored in the computing device, for example, the computing device may have stored therein a model map that includes the correspondence of the combination of backplane IDs and the computing device model. Taking the above example as an example, the model mapping table may store 4 pieces of data, which are 01: model 1, 01: model 2, 01, 11: model 3, 10, 11: model 4.
In other embodiments, the same combination of hard disk backplates, different positional relationships may correspond to different computing device models. At this time, different types of computing devices may correspond to the same combination of hard disk backplanes, and therefore, the processing module of the computing device needs to determine the type of the computing device further according to the location of the hard disk backplanes, that is, the computing device needs to determine the type of the computing device according to the hard disk backplane information and the read paths of the information of the one or more hard disk backplanes.
For example, it is assumed that there are 3 types of hard disk backplates, namely, a type hard disk backplate, a type B hard disk backplate, and a type C hard disk backplate, and the corresponding backplate IDs are 01, 10, and 11, respectively. These 3 types of hard disk backplates may have 4 different combinations (including combinations of different positional relationships of the same hard disk backplate), corresponding to 4 different computing device models, respectively, the first combination being: 1A type hard disk backboard, this backboard is as leading backplate, and its corresponding model is model 1, and the second kind makes up: 2A type hard disk backplate, two backplate all are as leading backplate, splice and use, and its model that corresponds is model 2, and the third combination is: 2A type hard disk backboard, one is as leading backplate, and one is as rearmounted backplate, and its corresponding model is model 3, and the fourth combination is: 1B type hard disk backboard+1C type hard disk backboard, wherein the B type hard disk backboard is used as a front backboard, the C type hard disk backboard is used as a rear backboard, and the corresponding model is model 4. If the computing device includes two hard disk backplates, hard disk backplate 1 and hard disk backplate 2, wherein hard disk backplate 1 is a type a hard disk backplate and is a front backplate, hard disk backplate 2 is also a type a hard disk backplate but is a rear backplate. Therefore, when the processing module of the computing device reads the backplane ID of the hard disk backplane 1 from the front-end path and the backplane ID of the hard disk backplane 2 from the rear-end path is also 01, it may be determined that the computing device includes 2 a-type hard disk backplates, one is the front-end hard disk backplane and one is the rear-end hard disk backplane, so that it may be determined that the model corresponding to the computing device is model 3.
In still other embodiments, the same combination of hard disk backplanes, different hardware device configurations (e.g., different numbers of hardware devices, different models, etc.) may correspond to different computing device models. E.g., combinations of the same hard disk backplane, but different CPU numbers, GPU numbers, RAID cards, retimer cards, etc. In this case, different types of computing devices may correspond to the same combination of the hard disk backplanes, and therefore, the processing module of the computing device needs to determine the type of the computing device further according to the read information of the at least one hardware device, that is, the computing device needs to determine the type of the computing device according to the hard disk backplane information and the information of the at least one hardware device. It should be understood that, in addition to the information of the hard disk backplane, the processing module may also read, through the external interface, the information of the hardware devices such as the motherboard, the RAID card, the Retimer card, the CPU, the GPU, and the like, and the processing module may determine the model of the computing device based on the information of all or part of these hardware devices (i.e., the information of at least one hardware device described above) and the hard disk backplane information.
For example, it is assumed that there are 3 types of hard disk backplates, namely, a type hard disk backplate, a type B hard disk backplate, and a type C hard disk backplate, and the corresponding backplate IDs are 01, 10, and 11, respectively. These 3 types of hard disk backplates may have 4 different combinations (including combinations of different hardware device configurations for the same hard disk backplate), corresponding to 4 different computing device models, respectively, the first combination being: 1 block of A type hard disk backboard+1 block of E type CPU, its corresponding model is model 1, the second kind is combined: 1 block of A type hard disk backboard+2 blocks of E type CPU, its corresponding model is model 2, the third combination is: 1 block B type hard disk backboard+1 block E type CPU, its corresponding model is model 3, the fourth combination is: 2C type hard disk backplate+1 CPU of E type, its corresponding model is model 4. If the computing device includes two hard disk backplates and 1 CPU, namely, hard disk backplate 1, hard disk backplate 2 and CPU1, wherein hard disk backplate 1 and hard disk backplate 2 are both a type hard disk backplate, and CPU1 is an E type CPU. Let the corresponding flag of the type E CPU be 001. Therefore, when the processing module of the computing device reads that the backplate ID of the hard disk backplate 1 is 01, the backplate ID of the hard disk backplate 2 is also 01, and the identifier of the CPU1 is 001, it may be determined that the computing device includes 2 a-type hard disk backplate and one E-type CPU, and thus it may be determined that the model corresponding to the computing device is model 1.
In still other embodiments, the same combination of hard disk backplanes, different positional relationships, and different hardware device configurations may correspond to different computer device models. At this time, different types of computing devices may correspond to different combinations of hard disk backplanes with the same positional relationship, and therefore, the processing module of the computing device needs to determine the type of the computing device further according to the read information of other hardware devices, that is, the computing device needs to determine the type of the computing device according to the hard disk backplane information, the read paths of the information of the one or more hard disk backplanes, and the information of other hardware devices. Specifically, reference may be made to the relevant descriptions of the above three cases, and the description thereof will not be repeated here. It should be appreciated that the association of the backplane IDs, the positional relationship, the hardware device configuration, etc. with the model of the computing device may be stored in the computing device, for example, the computing device may have stored therein a model map that includes the association of the backplane IDs, the positional relationship, the hardware device configuration, etc. with the model of the computing device.
It should be noted that, in some embodiments, the processing module of the computing device may determine the height of the computing device according to the read information of the front backboard of the computing device. In particular, different types of backplanes may correspond to one height information, and when a particular type of backplane is a front-facing backplane, the height of the computing device may be determined based on the height information of the particular type of backplane. For example, assume that there are 3 types of hard disk backplates, namely, an a-type hard disk backplate, a B-type hard disk backplate, and a C-type hard disk backplate, and the corresponding height information is 1U, 2U, and the corresponding backplate IDs are 01, 10, and 11, respectively. Thus, when the computing device includes a hard disk back plate of type a, and it is used as a front back plate, the height of the computing device can be determined to be 1U. Similarly, when a computing device includes a type B or type C hard disk backplane, and it acts as a front-end backplane, the computing device may be determined to be 2U in height. In some embodiments, the model of the computing device includes a height of the computing device.
In some embodiments, when the processing module of the computing device reads the information of the hardware devices of different data reading paths, the information of the hardware device corresponding to the front path may be preferentially read, so that the height of the computing device may be determined faster. In addition, the computing device generally comprises the front backboard, and the processing module preferentially reads the information of the hardware device corresponding to the front channel, so that the efficiency of determining the model of the computing device can be improved. Specifically, after the information of the hardware device corresponding to the front-end access is read by the computing device, a part of machine types can be screened out from the machine type mapping table according to the read information, if the screening result comprises one machine type, the machine type can be determined to be the machine type of the computing device, and if the screening result comprises a plurality of machine types, further screening can be performed according to the position relation, the information of other hardware devices and the like until the screening result comprises one machine type. Therefore, the computing device can determine the model after reading the information of one hardware device through one data path, and thus the efficiency of model determination can be improved.
303. The processing module sends the model information of the computing device to the BIOS module.
Accordingly, the BIOS module of the computing device may receive model information from the processing module.
Specifically, after the processing module of the computing device determines the model of the computing device, the model information of the computing device may be sent to the BIOS module of the computing device, where the model information may be an identification name of the model, and so on. For example, it is assumed that the model number includes 4 models, namely, model number 1, model number 2, model number 3, and model number 4, and the model numbers corresponding to the four models may be 00, 01, 10, and 11, respectively. When the model of the computing device determined by the processing module of the computing device is model 3, the processing module of the computing device may send the model identification 10 to the BIOS module.
In some embodiments, the processing module of the computing device may send the model information of the computing device to the BIOS module via an IPMI (intelligent platform management interface ) command.
The BIOS module determines the model of the computing device according to the model information of the computing device.
After the BIOS module of the computing device receives the model information of the computing device from the processing module, the model of the computing device may be determined according to the model information of the computing device. For example, assuming that the BIOS module receives a model identification of 10 from the processing module, the BIOS module may then determine that the model of the computing device is model 3 based on the model identification of 10.
It should be noted that, in some embodiments, the processing module of the computing device may directly send the obtained information of the hard disk back plate to the BIOS module, and then the BIOS module may determine the model of the computing device according to the model mapping table and the information of the hard disk back plate.
The BIOS module determines configuration information of the computing device according to the model of the computing device.
After the BIOS module of the computing device determines the model of the computing device, configuration information of the computing device may be determined according to the model of the computing device. The configuration information of the computing device may include CPU port information, CPU resource allocation information, CPU register configuration information, virtual Pin Port (VPP) address information corresponding to one or more hard disk back planes included in the computing device, PCIe channel (lane) information, and so on.
Specifically, different types of computing devices may correspond to different configuration information one by one, and therefore, the BIOS module of the computing device may determine the configuration information of the computing device according to a correspondence between the types and the configuration information.
In one possible implementation, a computing device may store a configuration information map that may store configuration information corresponding to the model of a different computing device. Accordingly, the BIOS module of the computing device may determine configuration information for the computing device based on the model of the computing device and the configuration information mapping table. For example, it is assumed that the configuration information includes 4 models, namely, model 1, model 2, model 3, and model 4, wherein the configuration information corresponding to model 1 is configuration information 1, the configuration information corresponding to model 2 is configuration information 2, the configuration information corresponding to model 3 is configuration information 3, and the configuration information corresponding to model 4 is configuration information 4. Therefore, when the BIOS module of the computing device determines that the model of the computing device is model 3, the configuration information of the computing device may be determined as configuration information 3 according to the configuration information mapping table.
It should be appreciated that after the BIOS module of the computing device determines to obtain the configuration information of the computing device, a corresponding setting may be made to the CPU of the computing device. For example, the BIOS module of the computing device may perform corresponding settings on the CPU of the computing device according to CPU port information, CPU resource allocation information, CPU register configuration information, and the like in the configuration information.
It should be noted that, in some embodiments, the configuration information of the computing device may be determined directly according to the hard disk backboard information of the computing device, without determining the model of the computing device according to the hard disk backboard information of the computing device, and then determining the configuration information of the computing device according to the model of the computing device. For example, a mapping relationship table of hard disk backboard information of the computing device and configuration information of the computing device may be stored in the computing device, where different hard disk backboard information may correspond to different configuration information.
The BIOS module sends configuration information of the computing device to the processing module.
After determining that the configuration information of the computing device is obtained, the BIOS module of the computing device may send the configuration information of the computing device to a processing module of the computing device. Accordingly, the processing module of the computing device may receive configuration information of the computing device from the BIOS module.
It is to be appreciated that in some embodiments, the processing module of the computing device may store a configuration information map. At this time, the processing module of the computing device can directly determine the configuration information of the computing device according to the determined model and the configuration information mapping table of the computing device, and the configuration information of the computing device does not need to be determined through the BIOS module of the computing device.
307. The processing module sends configuration information of the computing device to one or more hard disk backplanes of the computing device.
After the processing module of the computing device receives the configuration information of the computing device from the BIOS module, the configuration information of the computing device may be sent to the one or more hard disk backplanes.
It should be appreciated that in some embodiments, the configuration information of the computing device includes configuration information of one or more hard disk backplanes that correspond one-to-one with the one or more hard disk backplanes included by the computing device. Accordingly, the processing module of the computing device may send configuration information of the one or more hard disk backplates to the corresponding hard disk backplates. For example, assume that the model corresponding to the computing device is model 3, and the computing device includes 2 hard disk backplates, namely, hard disk backplate 1 and hard disk backplate 2, respectively, and hard disk backplate 1 may support connection of 16 hard disks, and hard disk backplate 2 may support connection of 4 hard disks. Accordingly, the configuration information corresponding to the model 3 may include 16 VPP addresses allocated to the hard disk backplate 1 and the hard disk backplate 2, where 12 VPP addresses may be allocated to the hard disk backplate 1, and 4 VPP addresses may be allocated to the hard disk backplate 2. Therefore, the processing module of the computing device may send 12 VPP addresses corresponding to the hard disk backplate 1, and may send 4 VPP addresses corresponding to the hard disk backplate 2.
It should be noted that, the hard disk backboard of the computing device is usually connected with the hard disk through each hard disk port (port), and each port (i.e. each hard disk) can be allocated with a corresponding VPP address, so that management of the hard disk can be facilitated, and confusion between different hard disk ports can be avoided. In addition, when the hard disk port is a PCIe port, the data transmission channel between the CPU and the hard disk may be PCIe (lane generally refers to a combination of a set of differential signals in the PCIe link, each lane generally represents 4 physical connection lines between PCIe components), and since the number of lanes of the CPU is limited, it is generally required to allocate them accordingly.
308. One or more hard disk backplanes of a computing device are adapted according to configuration information of the computing device.
Specifically, each hard disk back plate of the computing device may receive configuration information of the computing device, or may receive partial configuration information corresponding to itself in the configuration information of the computing device. One or more hard disk backplanes of the computing device may then be adapted according to the corresponding configuration information.
For example, assuming that the computing device includes 2 hard disk backplanes, hard disk backplane 1 and hard disk backplane 2, respectively, hard disk backplane 1 may support connecting 16 hard disks and hard disk backplane 2 may support connecting 4 hard disks. The hard disk backplane 1 may receive configuration information from the processing module, which may include 12 VPP addresses allocated to itself, and the hard disk backplane 2 page may receive configuration information from the processing module, which may include 4 VPP addresses allocated to itself. The hard disk backplane 1 may then correspond these 12 VPP addresses to its own different ports, i.e. to different hard disks. Similarly, the hard disk backplane 2 may correspond these 4 VPP addresses to different ports of itself, i.e. to different hard disks.
It should be noted that, in some embodiments, each hard disk backplane of the computing device may store different hot plug configuration information, and the different hot plug configuration information corresponds to different hot plug configuration identifiers. At this time, the configuration information received by the hard disk backboard of the computing device from the processing module may include a hot plug configuration identifier, and the hard disk backboard may determine the corresponding hot plug configuration information under the machine type according to the hot plug configuration identifier, so that hot plug configuration may be performed according to the hot plug configuration information.
It should be appreciated that in some embodiments, complex programmable logic devices (complex programmable logic device, CPLDs) may be provided on each hard disk backplane of the computing device, the CPLDs may be coupled with the hard disk interfaces on the hard disk backplane and the processing modules of the computing device, and the CPLDs may be used to obtain the in-place information, heartbeat information, control the reset timing of the hard disk, and so forth. In this embodiment of the present application, the CPLD of each hard disk backplane of the computing device may receive configuration information from a processing module of the computing device, and configure (e.g., parameter configuration) according to the configuration information.
Referring to fig. 4, fig. 4 is a flowchart illustrating another embodiment of a method for configuring a hard disk back plate disclosed in the present application. As shown in fig. 4, the flow of the method is mainly indicated by a BMC of a server, a BIOS module, and a CPLD on a hard disk back plate, and may specifically include the following steps:
when the server is powered on (for example, after the AC is powered on), the BMC of the server may load the whole system, and in the loading process, the BMC may start to perform polling detection, perform data reading through each external interface, may read information of each hard disk backboard included in the server, and may determine a reading path of the information of each hard disk backboard according to the reading address.
Specifically, when the BMC of the server determines that the information of the hard disk backboard is read from the front-end path, the BMC may determine that the corresponding backboard is the front-end backboard, and may determine the height (e.g. 1U, 2U, 4U, etc.) of the server according to the information of the front-end backboard. And then, the BMC can communicate with the BIOS module (such as through an IPMI command), the read information of the hard disk backboard is sent to the BIOS module, and the BIOS module is used for adapting the server model. Specifically, the BIOS module may determine a model of the server according to the information of the hard disk backplate, and then may determine configuration information of the server according to the model and the configuration information mapping table. After that, the BIOS module may complete setting the CPU of the server according to the configuration information of the server, and may also send the configuration information of the server to the BMC. Correspondingly, the BMC may receive the configuration information of the server from the BIOS module, and then may send the configuration information of the server to the CPLD on the hard disk backboard, and then the CPLD on the hard disk backboard may perform corresponding hot plug configuration according to the configuration information of the server.
When the BMC of the server determines that the information of the hard disk backplane is not read from the front-end path, i.e., is read from another path (such as a back-end path), the BMC may determine that the corresponding backplane is another backplane (such as a back-end backplane). After that, the BMC may directly send the read information of the hard disk back plate to the BIOS module, and the BIOS module performs the adaptation of the server model, which may refer to the above description.
It should be noted that, the related information (i.e., the same information or similar information) and the related description in the above different embodiments may refer to each other.
It should be understood that the above processing flows are illustrated in fig. 3 by taking the processing module, the BIOS module, and the hard disk back plate of the computing device as examples, but the present application is not limited to the execution subject of the interaction. For example, the hard disk backplate in fig. 3 may also be a chip, a chip system, or a processor that supports the hard disk backplate to implement the method, or may be a logic module or software that can implement all or part of the functions of the hard disk backplate.
Based on the above system architecture, please refer to fig. 5, fig. 5 is a schematic structural diagram of a computing device according to an embodiment of the present application. Wherein the computing device 500 may comprise: a processor 501, a communication interface 502 and a memory 503. The processor 501, the communication interface 502 and the memory 503 may be interconnected or interconnected by a bus 504.
By way of example, memory 503 is used to store computer programs and data for computing device 500, and memory 503 may include, but is not limited to, random access memory (random access memory, RAM), read-only memory (ROM), erasable programmable read-only memory (erasable programmable read only memory, EPROM), or portable read-only memory (compact disc read-only memory, CD-ROM), etc. The communication interface 502 is used to support communication by the computing device 500, such as receiving or transmitting data.
By way of example, the processor 501 may be a central processing unit, a complex programmable logic device, a general purpose processor, a digital signal processor, an application specific integrated circuit, a field programmable gate array or other programmable logic device, a transistor logic device, a hardware component, or any combination thereof. A processor may also be a combination that performs a computational function, such as a combination comprising one or more microprocessors, a combination of a digital signal processor and a microprocessor, and so forth.
In some embodiments, the computing device 500 may be the above computing device, and the processor 501 may be configured to read the program stored in the memory 503, and perform the operations performed by the computing device or the components in the computing device in the method embodiment shown in the above fig. 3, which may be referred to the above related description, and will not be described in detail herein.
It should be noted that the computing device 500 shown in fig. 5 is merely an implementation of an embodiment of the present application, and in practical applications, the computing device 500 may further include more or fewer components, which is not limited herein.
The present application also discloses a computer-readable storage medium having stored thereon instructions that, when executed, perform the method of the above-described method embodiments.
The present application also discloses a computer program product comprising instructions which, when executed, perform the method of the above-described method embodiments.
It will be apparent that the embodiments described above are only some, but not all, of the embodiments of the present application. Reference herein to "an embodiment" means that a particular feature, structure, or characteristic described in connection with the embodiment may be included in at least one embodiment of the application for the embodiment. The appearances of such phrases in various places in the specification are not necessarily all referring to the same embodiment, nor are separate or alternative embodiments mutually exclusive of other embodiments. Those of skill in the art will explicitly and implicitly understand that the embodiments described herein may be combined with other embodiments. All other embodiments, which can be made by one of ordinary skill in the art without undue burden from the present disclosure, are within the scope of the present disclosure. The terms "first," second, "" third and the like in the description and in the claims and drawings are used for distinguishing between different objects and not for describing a particular sequential order. Furthermore, the terms "comprising," "including," and "having," and any variations thereof, are intended to cover a non-exclusive inclusion. For example, a series of steps or elements may be included, or alternatively, steps or elements not listed or, alternatively, other steps or elements inherent to such process, method, article, or apparatus may be included.
It is to be understood that only some, but not all, of the details relating to the present application are shown in the accompanying drawings. It should be appreciated that some example embodiments are described as processes or methods depicted as flowcharts. Although a flowchart depicts operations (or steps) as a sequential process, many of the operations can be performed in parallel, concurrently, or at the same time. Furthermore, the order of the operations may be rearranged. The process may be terminated when its operations are completed, but may have additional steps not included in the figures. The processes may correspond to methods, functions, procedures, subroutines, and the like.
As used in this specification, the terms "component," "module," "system," "unit," and the like are intended to refer to a computer-related entity, either hardware, firmware, a combination of hardware and software, or software in execution. For example, a unit may be, but is not limited to being, a process running on a processor, an object, an executable, a thread of execution, a program, and/or being distributed between two or more computers. Furthermore, these units may be implemented from a variety of computer-readable media having various data structures stored thereon. The units may communicate by way of local and/or remote processes such as in accordance with a signal having one or more data packets (e.g., second unit data from another unit interacting with a local system, distributed system, and/or across a network).
The foregoing embodiments have been provided for the purpose of illustrating the technical solution and advantageous effects of the present application in further detail, and it should be understood that the foregoing embodiments are merely illustrative of the present application and are not intended to limit the scope of the present application, and any modifications, equivalents, improvements, etc. made on the basis of the technical solution of the present application should be included in the scope of the present application.
Claims (10)
1. A method for configuring a hard disk back plate, which is characterized by being applied to a processing module in a computing device, wherein the computing device comprises one or more hard disk back plates; the method comprises the following steps:
acquiring hard disk backboard information of the computing device, wherein the hard disk backboard information comprises information of one or more hard disk backboard;
and determining configuration information of the computing equipment according to the hard disk backboard information, wherein the configuration information is used for configuring the one or more hard disk backboard.
2. The method of claim 1, wherein the determining configuration information of the computing device from the hard disk backplane information comprises:
determining the model of the computing equipment according to the hard disk backboard information;
And determining configuration information of the computing equipment according to the model of the computing equipment.
3. The method according to claim 2, wherein the method further comprises:
determining a reading path of information of the one or more hard disk backboard, wherein the reading path of the information of the hard disk backboard is a path for data transmission between the processing module and the one or more hard disk backboard;
the determining the model of the computing device according to the hard disk backboard information comprises the following steps:
and determining the model of the computing equipment according to the information of the hard disk backboard and the read path of the information of the one or more hard disk backboard.
4. The method according to claim 2, wherein the method further comprises:
obtaining information of at least one hardware device of the computing device;
the determining the model of the computing device according to the hard disk backboard information comprises the following steps:
and determining the model of the computing device according to the information of the hard disk backboard and the information of the at least one hardware device.
5. The method of any of claims 2-4, wherein the determining configuration information of the computing device according to a model of the computing device comprises:
And determining the configuration information of the computing equipment according to the model of the computing equipment and a configuration information mapping table, wherein the configuration information mapping table comprises configuration information corresponding to models of different computing equipment.
6. The method of any of claims 1-5, wherein the hard disk backplane information includes an identification of the one or more hard disk backplanes, the identification of the one or more hard disk backplanes being used to indicate hardware resources of the one or more hard disk backplanes, respectively.
7. The method of claim 1, wherein the computing device further comprises a basic input output system, BIOS, module; the determining the configuration information of the computing device according to the hard disk backboard information comprises:
the processing module sends the hard disk backboard information to the BIOS module;
the processing module receives configuration information of the computing device from the BIOS module, wherein the configuration information of the computing device is determined by the BIOS module according to the hard disk backboard information.
8. The method of any of claims 1-7, wherein the configuration information of the computing device includes virtual pin port vpp address information corresponding to the one or more hard disk backplanes.
9. The method of any of claims 1-8, wherein the processing module is a baseboard management controller, BMC.
10. A computing device comprising a processing module and one or more hard disk backplanes coupled to the processing module, the processing module to implement the method of any of claims 1-9.
Priority Applications (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
CN202211555134.0A CN116185505A (en) | 2022-12-06 | 2022-12-06 | Configuration method of hard disk backboard and computing equipment |
Applications Claiming Priority (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
CN202211555134.0A CN116185505A (en) | 2022-12-06 | 2022-12-06 | Configuration method of hard disk backboard and computing equipment |
Publications (1)
Publication Number | Publication Date |
---|---|
CN116185505A true CN116185505A (en) | 2023-05-30 |
Family
ID=86431533
Family Applications (1)
Application Number | Title | Priority Date | Filing Date |
---|---|---|---|
CN202211555134.0A Pending CN116185505A (en) | 2022-12-06 | 2022-12-06 | Configuration method of hard disk backboard and computing equipment |
Country Status (1)
Country | Link |
---|---|
CN (1) | CN116185505A (en) |
-
2022
- 2022-12-06 CN CN202211555134.0A patent/CN116185505A/en active Pending
Similar Documents
Publication | Publication Date | Title |
---|---|---|
US6282596B1 (en) | Method and system for hot-plugging a processor into a data processing system | |
US7945769B2 (en) | Single system board with automatic feature selection based on installed configuration selection unit | |
US9460042B2 (en) | Backplane controller to arbitrate multiplexing of communication | |
US10127170B2 (en) | High density serial over LAN management system | |
US7412544B2 (en) | Reconfigurable USB I/O device persona | |
CN104767838B (en) | Micro server, method of assigning MAC address, and computer-readable recording medium | |
US8037210B2 (en) | Computer and method for directly accessing computer hardware by virtual system | |
CN106933753B (en) | Control method and device of intelligent interface card | |
TW201445325A (en) | Baseboard management system architecture | |
US10324888B2 (en) | Verifying a communication bus connection to a peripheral device | |
CN108664440B (en) | Interface server and chassis | |
US9507744B2 (en) | Handling two SGPIO channels using single SGPIO decoder on a backplane controller | |
US10649943B2 (en) | System and method for I/O aware processor configuration | |
US20110292591A1 (en) | Expanding Functionality Of One Or More Hard Drive Bays In A Computing System | |
WO2023016379A1 (en) | Computer system, control method based on pcie device, and related device | |
CN116185505A (en) | Configuration method of hard disk backboard and computing equipment | |
CN117349212A (en) | Server main board and solid state disk insertion detection method thereof | |
CN216352292U (en) | Server mainboard and server | |
US11467780B1 (en) | System and method for automatic identification and bios configuration of drives in a backplane | |
CN216014148U (en) | Server and server backboard | |
Scherer et al. | Distributed supervision of an edge micro datacenter | |
WO2023160699A1 (en) | Single-board management system, method and apparatus, and device | |
CN118535503A (en) | Mainboard and computing device | |
CN118689819A (en) | Data processing method, system and computing device based on complex programmable logic device CPLD | |
CN118467426A (en) | Communication method of server component, server and programmable logic device |
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 |