Method for enabling volume device management function, mainboard management controller and electronic device
Automatically configure VMD functions through the motherboard management controller, solving the problems of time-consuming and labor-intensive configuration and complex hardware in the existing technology, achieving efficient and low-cost VMD function deployment, and improving system stability and product competitiveness.
Patent Information
- Application Number
- CN202510865222.8
- Authority / Receiving Office
- CN · China
- Patent Type
- Applications(China)
- Current Assignee / Owner
- Filing Date
- 2025-06-25
- Publication Date
- 2025-07-22
- Estimated Expiration
- 2045-06-25
AI Technical Summary
In the prior art, configuring the volume device management function (VMD) is time-consuming and labor-intensive, the hardware design is complex and costly, making it difficult to deploy quickly on the customer's site.
Receive hard disk information through the motherboard management controller, determine the root port number of the target hard disk, and send basic input and output system out-of-band option commands to enable volume device management functions, simplify configuration processes, and reduce manual intervention.
It improves the configuration efficiency of VMD functions, reduces labor costs, improves product competitiveness and system stability, and simplifies hardware design.
Smart Images

Figure CN120353756A_ABST
Abstract
Description
Technical Field
[0001] This application relates to the technical field of server storage, and particularly to a method for enabling volume device management functions, a baseboard management controller, and an electronic device. Background Art
[0002] In a server system, the setting of the Volume Management Device (VMD) function is a routine operation.
[0003] Currently, for configuring the VMD function, a common method is to manually modify relevant options after entering the Basic Input Output System (BIOS) configuration interface, which is time-consuming and laborious; another method is that the BIOS identifies Non-Volatile Memory Express (NVMe) solid-state drives by scanning the peripheral component interconnect express (PCIe) bus or bandwidth configuration information, and this solution requires a secondary restart or complex logic implementation to complete the VMD configuration. There is also a method of using a multiplexer to form a hardware device to achieve automatic configuration of VMD enabling. This method requires additional hardware, adding extra costs and increasing the complexity of hardware design, lengthening the hardware design process, and relatively extending the time from product design to market. Due to different motherboard layouts and wirings, the design reuse rate of this method is not high. Summary of the Invention
[0004] This application provides a method for enabling volume device management functions, a baseboard management controller, and an electronic device, so as to at least solve the problems of manual configuration of the VMD function, high cost, and complex hardware design in related technologies, facilitate customer function customization and on-site deployment of the VMD function at the customer site, enhance product competitiveness, save labor costs, and improve efficiency.
[0005] This application provides a method for enabling volume device management functions, which is characterized in that it is applied to the baseboard management controller side, and the method includes: Receiving an enabling instruction for the hard disk volume device management function, and obtaining hard disk information sent by the host side; Responding to the enabling instruction, and determining the root port number corresponding to the target hard disk in the installed hard disks based on the hard disk information; Determining a Basic Input Output System out-of-band option command based on the root port number; Send the basic input / output system out-of-band option command to the basic input / output system of the host side, and send a restart command to the host side, so that the host side sets the corresponding root port register based on the basic input / output system out-of-band option command to enable the volume device management function.
[0006] This application also provides a method for enabling the volume device management function. It is characterized in that it is applied to the host side, and the method includes: after the power-on self-test of the basic input / output system of the host side, send hard disk information to the motherboard management controller side; after receiving the restart command sent by the motherboard management controller side, perform a restart operation, and parse the basic input / output system out-of-band option command sent by the motherboard management controller during the restart process; set the corresponding root port register based on the basic input / output system out-of-band option command to enable the volume device management function.
[0007] This application also provides a computer-readable storage medium, on which a program is stored, and when the program is executed by a processor, it implements the method for enabling the volume device management function of the above-mentioned server.
[0008] This application also provides a motherboard management controller, including a memory, a processor, and a program stored on the memory and executable on the processor. When the processor executes the program, it implements the method for enabling the volume device management function as described above.
[0009] This application also provides an electronic device, including a memory, a processor, and a program stored on the memory and executable on the processor. When the processor executes the program, it implements the method for enabling the volume device management function as described above.
[0010] This application also provides a computer program product, including computer programs / instructions, and when the computer programs / instructions are executed by a processor, they implement the method for enabling the volume device management function as described above.
[0011] Through this application, receive the opening instruction of the hard disk volume device management function, obtain the hard disk information sent by the host side, respond to the opening instruction, and determine the root port number corresponding to the target hard disk in the in-place hard disks based on the hard disk information, determine the basic input / output system out-of-band option command based on the root port number, send the basic input / output system out-of-band option command to the basic input / output system of the host side, and send a restart command to the host side, so that the host side sets the corresponding root port register based on the basic input / output system out-of-band option command to enable the volume device management function. Thus, this method can facilitate customer function customization and the deployment of the VMD function at the customer site, enhance product competitiveness, and save labor costs and improve efficiency. Description of the Drawings
[0012] To more clearly illustrate the embodiments of the present application, the following will briefly introduce the drawings required for use in the embodiments. Obviously, the drawings in the following description are only some embodiments of the present application. For those of ordinary skill in the art, without creative efforts, other drawings can be obtained based on these drawings.
[0013] Figure 1 It is a flowchart of a method for enabling volume device management function according to an embodiment of the present application; Figure 2 It is a schematic structural diagram of the interaction between the mainboard management controller side and the host side according to an embodiment of the present application; Figure 3 It is a flowchart of a method for enabling volume device management function according to a specific example of the present application; Figure 4 It is a flowchart of a method for enabling volume device management function according to another embodiment of the present application; Figure 5 It is an interaction schematic diagram between the mainboard management controller side and the host side according to a specific example of the present application; Figure 6 It is a block diagram of the mainboard management controller according to an embodiment of the present application; Figure 7 It is a block diagram of an electronic device according to an embodiment of the present application.
[0014] Reference numerals: 200 - mainboard management controller, 210 - first memory, 220 - first processor, 300 - electronic device, 310 - second memory, 320 - second processor. Specific Embodiments
[0015] The following will describe in detail the embodiments of the present application. The examples of the embodiments are shown in the drawings, where the same or similar reference numerals represent the same or similar elements or elements with the same or similar functions throughout. The embodiments described below by referring to the drawings are exemplary and are intended to explain the present application, and should not be construed as a limitation to the present application.
[0016] The following will describe the method, computer-readable storage medium, mainboard management controller, electronic device, and computer program product for enabling volume device management function proposed in the embodiments of the present application with reference to the drawings.
[0017] Figure 1 It is a flowchart of a method for enabling volume device management function according to an embodiment of the present application.
[0018] As Figure 1 shown, the method for enabling volume device management function in the embodiments of the present application may include the following steps: S1. Receive the enabling instruction for the hard disk volume device management function and obtain the hard disk information sent by the host side.
[0019] S2. In response to the enabling instruction and based on the hard disk information, determine the root port number corresponding to the target hard disk among the hard disks present.
[0020] S3. Determine the Basic Input / Output System (BIOS) out-of-band option command based on the root port number.
[0021] S4. Send the BIOS out-of-band option command to the BIOS on the host side and send a restart command to the host side, so that the host side sets the corresponding root port register based on the BIOS out-of-band option command to enable the volume device management function.
[0022] Specifically, at the motherboard management controller side, the enabling instruction for the hard disk volume device management function can be received, and the hard disk information sent by the host side can be obtained. For example, the motherboard management controller receives an external instruction to enable the hard disk volume device management function, and this instruction can come from a management platform, an administrator's operation interface, or an automated script. The hard disk information sent by the host side may include the location number, model, capacity, serial number, etc. of the hard disk. That is, by receiving the external instruction, the enabling process of the hard disk volume device management function can be automatically started, reducing manual intervention, and obtaining the latest hard disk information from the host side in real time to ensure that subsequent operations are based on the accurate hardware status.
[0023] After receiving the enabling instruction, it responds to the enabling instruction and determines the root port number corresponding to the target hard disk among the hard disks present according to the hard disk information. That is to say, confirm the received enabling instruction and start processing. If the instruction is invalid or in the wrong format, an error message can be returned. Analyze the hard disk information obtained from the host side to identify which hard disks are the target hard disks (that is, the hard disks that need to enable the VMD function and the hard disks are normally installed in the corresponding positions), and further analyze the PCIe (Peripheral Component Interconnect Express) root port number of the target hard disk. This port number is the interface identifier for the hard disk to connect to the host. For example, the root port number can be determined through a pre-set corresponding relationship. For example, the relationship between the location number of the hard disk information and the root port number is determined in advance, and after the location number is determined, the corresponding relationship can be directly called to obtain the root port number.
[0024] After determining the root port number, the out-of-band option command for the basic input / output system can be determined based on the root port number. According to the root port number of the target hard disk, an out-of-band option command (such as a Redfish command) is generated, and this command is used to configure the settings of the basic input / output system (BIOS) to enable the VMD function of the target hard disk. Among them, the out-of-band option command is a command sent through an out-of-band management interface (such as IPMI (Intelligent Platform Management Interface), Redfish) and is used to configure the settings of the basic input / output system. The BIOS is the firmware on the server motherboard, which is responsible for hardware initialization and self-check, and boots the operating system. Therefore, by generating the out-of-band option command, the BIOS settings can be automatically configured without manual intervention, avoiding errors caused by manually configuring the BIOS settings, and improving the stability and reliability of the system.
[0025] After determining the out-of-band option command for the basic input / output system, the out-of-band option command for the basic input / output system can be sent to the basic input / output system on the host side, and a restart command is sent to the host side so that the host side sets the corresponding root port register based on the out-of-band option command for the basic input / output system to enable the volume device management function. Among them, the root port register is a hardware register in the PCIe bus architecture and is used to control and manage PCIe devices. In addition, the BIOS settings are usually loaded when the system starts, and restarting the host is to make the BIOS settings take effect. Therefore, it is necessary to restart the host to apply the new settings. Thus, when the host restarts, the BIOS modifies the configuration of the root port register according to the received out-of-band option command to enable the volume device management function and ensure that the hardware device can work properly.
[0026] Therefore, it is possible to solve the problems in the related technology that the method of using the BIOS configuration script is not applicable to the customer production environment and the writing or generation of the script is cumbersome, the problem that the method of using the BIOS code processing increases the boot time and the code maintenance cost, and the version compatibility problem, and the problem that the hardware method increases the cost and the design time. The customer can select the hard disk information to be partially or fully enabled, automatically find the root port where the hard disk to be opened with the VMD function is located, which is convenient for customer function customization and the deployment of the VMD function at the customer site, improves the product competitiveness, reduces the man-hours of manually enabling or customizing the BIOS version or writing the BIOS setting script in the BIOS interface, and can save labor costs and improve efficiency.
[0027] According to an embodiment of the present application, the motherboard management controller is communicatively connected to the hard disk backplane controller, and the method for enabling the volume device management function further includes: obtaining the presence information of the hard disk provided by the hard disk backplane controller; determining whether the hard disk is present based on the hard disk information and the presence information of each hard disk.
[0028] Specifically, the hard disk backplane controller is a dedicated chip on the hard disk backplane, which is used to manage the physical connection and status detection of the hard disk. It can detect whether the hard disk is present (i.e., whether the hard disk is inserted into the backplane slot), and provide the presence information of the hard disk, including the physical location of the hard disk, connection status, etc., as well as manage the power supply and data connection of the hard disk. The mainboard management controller is communicatively connected to the hard disk backplane controller. For example, the mainboard management controller communicates with the hard disk backplane controller through I2C (Inter-Integrated Circuit, a communication bus between integrated circuits). I2C is a simple two-way two-wire synchronous serial bus, which is suitable for short-distance and low-speed communication. That is, the mainboard management controller sends a request to the hard disk backplane controller to obtain the presence information of the hard disk. After receiving the request, the hard disk backplane controller reads the presence status of the hard disk and sends the status information back to the mainboard management controller through the I2C bus.
[0029] Thus, the presence information of the hard disk provided by the hard disk backplane controller can be obtained. For example, physical location: the physical location number of the hard disk on the backplane. Connection status: whether the hard disk is inserted into the backplane slot (present or not present). Power status: whether the hard disk is powered on. Communication status: whether the hard disk can communicate normally (such as the connection status of the Serial Advanced Technology Attachment interface). After obtaining the presence information, it can be determined whether the hard disk is present based on the hard disk information and the presence information of each hard disk. If the hard disk information and the presence information are consistent (i.e., the hard disk is present and recognized by the BIOS or the operating system), it is confirmed that the hard disk is present. If the hard disk information and the presence information are inconsistent (such as the BIOS or the operating system detects the hard disk, but the hard disk backplane controller reports that the hard disk is not present), it is confirmed that the hard disk is not present.
[0030] Thus, the BIOS's recognition of the hard disk presence and the BMC's recognition of the hard disk presence corroborate each other. After determining that the hard disk is present, the VMD function is then enabled, preventing system crashes and other abnormal problems caused by accidentally enabling the VMD at the root port of other devices, and improving system stability.
[0031] Furthermore, according to an embodiment of the present application, the hard disk information includes the location number of the hard disk. Determining whether the hard disk is present based on the hard disk information and the presence information of each hard disk includes: for the location number of each hard disk, determining whether the location number matches the presence information; if the location number corresponds to a corresponding hard disk and the presence information corresponds to a corresponding hard disk, it is determined that the hard disk is present; if the location number corresponds to a corresponding hard disk while the presence information does not correspond to a corresponding hard disk, it is determined that the hard disk is not present.
[0032] Specifically, the hard disk information includes the location number of the hard disk. When determining whether a hard disk is present based on the hard disk information and the presence information of each hard disk, for the location number of each hard disk, it is judged whether the location number matches the presence information. That is to say, the location number of each hard disk is extracted from the hard disk information, and the location number and its presence status of each hard disk are extracted from the presence information provided by the hard disk backplane controller. For the location number of each hard disk, it is checked whether the location number exists in both the hard disk information and the presence information, whether the location number in the hard disk information matches the location number in the presence information, and whether the hard disk corresponding to the location number in the presence information is present. If the location number in the hard disk information matches the location number in the presence information, and the presence information indicates that the hard disk corresponding to the location number is present, it is determined that the hard disk is present. If the location number in the hard disk information matches the location number in the presence information, but the presence information indicates that the hard disk corresponding to the location number is not present, it is determined that the hard disk is not present. If the location number in the hard disk information does not exist in the presence information, it is determined that the hard disk is not present.
[0033] Suppose there is the following hard disk information and presence information. The hard disk information includes Hard Disk 1: the location number is 1, the model is SSD123, and the capacity is 1TB; Hard Disk 2: the location number is 2, the model is SSD456, and the capacity is 2TB; Hard Disk 3: the location number is 3, the model is SSD789, and the capacity is 500GB. The presence information includes Location Number 1: the hard disk is present; Location Number 2: the hard disk is not present; Location Number 3: the hard disk is present. During the comparison process, for Hard Disk 1, the location number in the hard disk information is 1, and the hard disk corresponding to Location Number 1 in the presence information is present. Thus, it can be concluded that Hard Disk 1 is present. For Hard Disk 2, the location number in the hard disk information is 2, and the hard disk corresponding to Location Number 2 in the presence information is not present. Thus, it can be concluded that Hard Disk 2 is not present. For Hard Disk 3, the location number in the hard disk information is 3, and the hard disk corresponding to Location Number 3 in the presence information is present. Thus, it can be concluded that Hard Disk 3 is present.
[0034] Thus, by comparing the hard disk information and the presence information, the presence status of each hard disk can be accurately monitored. When a hard disk is not present or the connection is abnormal, it can be detected and alarmed in a timely manner, reducing the risk of data loss caused by hardware failures. Through double verification, the hard disk status can be determined more reliably, reducing false alarms. Thus, the corresponding root port number of the hard disk to be opened can be determined among the present hard disks to enable the corresponding volume device management function.
[0035] According to an embodiment of the present application, the method for enabling the volume device management function further includes: in the case where a hard disk is not present, determining the target failure type; and determining the corresponding alarm and handling measures based on the target failure type.
[0036] Specifically, in the case where the hard disk is not in place, the target fault type can be determined in various ways. For example, the target fault type may include hardware faults, which can be judged by detecting the hardware status of the hard disk backplane (such as indicator lights, hardware interfaces, etc.). If there are problems such as short circuits, open circuits, or poor contacts in the hardware interfaces of the backplane, it may cause the hard disk to not be correctly recognized. If the hard disk itself fails (such as damage, aging, etc.), it may cause the hard disk to not be detected. For example, it can be judged by detecting the hardware status of the hard disk (such as temperature, voltage, etc.). It is also possible to check whether the connection cable between the hard disk and the backplane is loose, damaged, or has poor contact. If the connection cable fails, it may cause the hard disk to not be correctly recognized. The target fault type may also include software faults. It is possible to check whether the hard disk identification and management options are correctly configured in the BIOS. If the BIOS settings are incorrect, it may cause the hard disk to not be correctly recognized. Check whether the communication between the BMC and the hard disk backplane controller is normal. If the communication fails, it may cause the presence information of the hard disk to not be correctly transmitted to the BMC.
[0037] After determining the target fault type, the corresponding alarm and handling measures can be determined according to the target fault type. For example, for hard disk faults, the BMC can send alarm information to notify the administrator that the hard disk may be faulty and recommend that the administrator check the hardware status of the hard disk and replace the hard disk if necessary. For incorrect BIOS settings, the BMC can send alarm information to notify the administrator that the BIOS settings may be incorrect and recommend that the administrator enter the BIOS setup interface to check and correct the hard disk identification and management options. Thus, in the case where the hard disk is not in place, the fault type can be quickly determined and the corresponding alarm and handling measures can be taken to ensure the stable operation of the system.
[0038] According to an embodiment of the present application, determining the corresponding alarm and handling measures based on the target fault type includes: in the case where the target fault type is a hard disk hardware fault, sending a first-level alarm signal and determining the handling measure of replacing the hard disk; in the case where the target fault type is a mismatch fault between the hard disk and the basic input / output system, sending a second-level alarm signal and determining the handling measure of reconfiguring the basic input / output system; in the case where the target fault type is a connection failure between the hard disk and the hard disk backplane, sending a third-level alarm signal and determining the handling measure of reconnecting the hard disk, where the priority of the first-level alarm signal is greater than the priority of the second-level alarm signal, and the priority of the second-level alarm signal is greater than the priority of the third-level alarm signal.
[0039] Specifically, when determining the corresponding alarm and handling measures according to the target fault type, the target fault type is determined. In the case where the target fault type is a hard disk hardware fault, a first-level alarm signal is issued, and the handling measure of replacing the hard disk is determined. That is to say, the current hard disk itself has a fault, such as hard disk damage, aging, or inability to work properly. The alarm signal is a first-level alarm signal and has the highest priority (the highest priority indicates that the problem is serious and needs to be handled immediately). An emergency alarm can be sent through the BMC, such as an audible and visual alarm, email notification, SMS notification, etc., and it clearly prompts "Hard disk hardware fault" and indicates the specific hard disk location (such as hard disk number, slot, etc.). And a suggestion to immediately replace the faulty hard disk is given. For example, first shut down the server to ensure safety, remove the faulty hard disk, replace it with a new hard disk, and then restart the server to check whether the new hard disk is correctly recognized. Additionally, if there is important data on the hard disk, data backup can be performed in advance.
[0040] In the case where the target fault type is a mismatch fault between the hard disk and the Basic Input / Output System (BIOS) configuration, a second-level alarm signal can be issued, and the handling measure of reconfiguring the Basic Input / Output System is determined. That is to say, the hard disk cannot work properly because the settings in the BIOS do not match the actual configuration of the hard disk, such as incorrect hard disk interface type setting or incorrect hard disk mode setting. The alarm signal is a second-level alarm signal and has a medium priority (the priority is lower than that of the hard disk hardware fault, but still needs to be handled in a timely manner). A medium-priority alarm can be sent through the BMC, such as email notification, system log recording, etc., and it clearly prompts "Mismatch between hard disk and BIOS configuration" and indicates the specific problem (such as incorrect interface type, incorrect mode setting, etc.). And a suggestion to reconfigure the hard disk settings in the BIOS is given. For example, enter the BIOS setup interface, check whether the hard disk interface type setting is correct, and check whether the hard disk mode setting is consistent with the actual requirements of the hard disk. Finally, save the settings and restart the server to check whether the hard disk is correctly recognized.
[0041] In the case where the target failure type is the connection failure between the hard disk and the hard disk backplane, a third-level alarm signal can be issued, and the handling measure of re-plugging the hard disk can be determined. That is to say, when the hard disk cannot work properly because there is a problem with the connection between the hard disk and the hard disk backplane, such as the connection cable is loose, damaged or has poor contact, a third-level alarm signal can be issued, and the priority is the lowest (the lowest priority, but still needs to be processed), and a low-priority alarm is sent through the BMC, such as system log records, console prompts, etc., clearly prompting "the connection between the hard disk and the backplane fails", and pointing out the specific hard disk location (such as hard disk number, slot, etc.). And a suggestion to re-plug the hard disk is given to ensure a firm connection. For example, the server can be shut down to ensure safety, check whether the connection cable between the hard disk and the backplane is loose or damaged, re-plug the hard disk to ensure a firm connection, and finally restart the server to check whether the hard disk is correctly recognized.
[0042] Thus, the reason for the hard disk being out of position can be quickly located, and corresponding alarm and handling measures can be taken to ensure the stable operation of the system.
[0043] According to an embodiment of the present application, sending the basic input / output system out-of-band option command to the basic input / output system of the host includes: sending the basic input / output system out-of-band option command to the basic input / output system of the host based on shared memory.
[0044] Specifically, when sending the basic input / output system out-of-band option command to the basic input / output system of the host, the basic input / output system out-of-band option command can be sent to the basic input / output system of the host according to shared memory or a network interface. Among them, shared memory is an efficient inter-process communication mechanism that allows different processes to directly access the same memory area. When sending according to the shared memory method, first, the BMC generates a BIOS out-of-band option command according to user input, the BMC writes the generated command into a predefined shared memory area, the host-side BIOS regularly checks the shared memory area during startup or runtime, reads and parses the command, and finally the host-side BIOS performs corresponding operations (such as enabling the VMD function) according to the parsed command content.
[0045] For example, refer to Figure 2As shown, a simplified architecture inside the server is presented, which includes a host CPU (Central Processing Unit), a BMC, shared memory, and multiple NVMe hard drives (shown as 16 interfaces corresponding to 16 NVMe hard drives in the figure). That is, the host CPU is the main processor of the server, responsible for executing computing tasks. The root port is a PCIe interface provided by the CPU for connecting high-speed devices, here it is the NVMe hard drive. The NVMe hard drive is a non-volatile storage device using the PCIe interface, providing high-speed data access. The DMI (Direct Media Interface) / ESPI (Enhanced Serial Presence Interface) bus is used for communication between the host side and the BMC. The BMC is responsible for the out-of-band management of the server, including functions such as hardware monitoring and remote management. The shared memory is a memory area accessible by the CPU and the BMC, used to transfer data between them. Thus, the BIOS collects hard drive information during system startup and sends this information to the BMC through the shared memory. The user can send commands (such as IPMI, Redfish commands) through the BMC. The BMC parses the commands and generates corresponding operations. According to the parsed commands, the BMC sends out-of-band option commands to the CPU through the DMI / ESPI bus to enable the VMD function of the specified NVMe hard drive. After receiving the command, the CPU performs a restart operation and parses the out-of-band option command sent by the BMC during the restart process to set the corresponding root port register, thereby enabling the VMD function.
[0046] Thus, using shared memory can reduce communication latency and improve the efficiency of command transmission. The communication between the BMC and the host BIOS does not need to go through the network, so it is faster. Through the above method, the transmission and execution of BIOS out-of-band option commands can be achieved efficiently and flexibly, improving the stability of the system and the user experience.
[0047] According to an embodiment of the present application, in response to the enabling indication and based on the hard drive information, determining the root port number corresponding to the target hard drive among the hard drives present includes: determining the location number of the hard drive for which the volume device management function needs to be enabled based on the enabling indication; determining the root port number based on the location number and a preset mapping relationship, where the preset mapping relationship is used to indicate the relationship between the location number and the root port number.
[0048] Specifically, when determining the root port number of the target hard disk in the present hard disks according to the enablement instruction and the hard disk information, the position number of the hard disk for which the volume device management function needs to be enabled can be determined first according to the enablement instruction. That is, the enablement instruction refers to an instruction sent by the user to the system in a certain way (for example, the user can select the hard disk for which the VMD function needs to be enabled through the management interface provided by the BMC (such as the Web interface)), which is used to specify the hard disk for which the volume device management function (VMD) needs to be enabled. These enablement instructions usually contain the position number or other identification information of the hard disk. After receiving the enablement instruction, the BMC parses its content and extracts the position number of the hard disk for which the VMD function needs to be enabled.
[0049] After determining the position number, the root port number can be determined according to the position number and the preset mapping relationship. The preset mapping relationship refers to the mapping relationship between the position number of the hard disk and the root port number, which is used to quickly locate the root port number corresponding to the hard disk. For example, the root port number corresponding to the position number 1 of the hard disk is 0x01, the root port number corresponding to the position number 2 of the hard disk is 0x02, the root port number corresponding to the position number 3 of the hard disk is 0x03, etc. In addition, the mapping table can be stored in the memory of the BMC or in a persistent storage medium (such as EEPROM).
[0050] For example, after the BMC receives the enablement instruction, it parses its content and extracts the position number of the hard disk for which the VMD function needs to be enabled. For example, the enablement instruction contains "the position number is 1". The BMC obtains the present information of the hard disks from the hard disk backplane controller through the I2C bus or other communication methods. The present information includes whether there is a hard disk in each hard disk slot and the unique identifier of the hard disk (such as the serial number). The BMC compares the position number specified in the enablement instruction with the present information of the hard disks to confirm whether the hard disk corresponding to the position number is present. If the hard disk is not present, an alarm signal is sent and the user is prompted that the hard disk is missing. If the hard disk is present, the BMC looks up the root port number corresponding to the position number according to the preset mapping relationship. For example, if the position number is 1, according to the preset mapping table, the root port number can be determined to be 0x01. Finally, the BMC generates a BIOS out-of-band option command according to the found root port number, and this command is used to enable the VMD function of the specified root port.
[0051] Thus, through the enablement instruction and the preset mapping relationship, the root port number of the target hard disk can be automatically determined without manual intervention, which improves the convenience and efficiency of the operation, and reduces the risk caused by manual configuration errors, thereby improving the stability of the system.
[0052] According to an embodiment of the present application, receiving the enablement instruction for the hard disk volume device management function includes: receiving the enablement instruction for the hard disk volume device management function based on one of the IPMI command, the Redfish command, or the web button command.
[0053] Specifically, when receiving an indication to enable the hard disk volume device management function, the indication can be received according to one of the IPMI command, Redfish command, or web button command. For example, a user can send a specific IPMI command through an IPMI (Intelligent Platform Management Interface) client tool, and this command contains an instruction to enable the VMD function. After the BMC receives the command from the IPMI client, it parses the command content and identifies that this is an indication to enable the VMD function. The BMC determines the specific hard disk for which the VMD function needs to be enabled based on the parameters in the command (such as the hard disk location number).
[0054] The user can also send a Redfish command through an HTTP (HyperText Transfer Protocol) client tool or management software. This command is sent in the form of an HTTP request and contains JSON data for enabling the VMD function. As a Redfish server, after the BMC receives the HTTP request from the client, it parses the JSON data and identifies that this is an indication to enable the VMD function. The BMC determines the specific hard disk for which the VMD function needs to be enabled based on the parameters in the JSON. After the BMC performs the operation to enable the VMD function, it can feedback the operation result to the user through an HTTP response message. If the operation is successful, a status code and a success message are returned; if it fails, an error status code and an error message are returned.
[0055] The user can also click a button or select a menu option through the server management interface (such as a Web interface) to trigger the operation of enabling the VMD function. The Web interface converts the user operation into an HTTP request through JavaScript or other front-end technologies and sends it to the management interface of the server. As the backend implementer of the Web management interface, after the BMC receives the HTTP request from the Web interface, it parses the request content and identifies that this is an indication to enable the VMD function. The BMC determines the specific hard disk for which the VMD function needs to be enabled based on the parameters in the request (such as the hard disk location number). After the BMC performs the operation to enable the VMD function, it returns the operation result to the Web interface, and the user can view the operation result through the interface. If the operation is successful, a success message is displayed; if it fails, an error message is displayed.
[0056] Thus, by supporting three methods: IPMI commands, Redfish commands, and web button commands, the enabling indication of the hard disk volume device management function can be flexibly received. Each of these three methods has its own characteristics and is suitable for different usage scenarios and user requirements. For example, for IPMI commands, they are suitable for out-of-band management scenarios that require high compatibility and powerful functions and are suitable for professional operation and maintenance personnel. For Redfish commands, they are suitable for modern data center management, easy to integrate with automation tools, and suitable for scenarios that require efficient management and large-scale deployment. For web button commands, they are suitable for user-friendly local and remote management, providing an intuitive operation experience through a graphical interface, and are suitable for daily operation and maintenance and non-professional users. In this way, the needs of different users can be met, providing a flexible, efficient, and secure management method.
[0057] The following will describe the method of the present application in conjunction with Figure 3 to describe the method of the present application.
[0058] As a specific example, the method for enabling the volume device management function of the present application may include the following steps: S101, receive the enabling indication of the hard disk volume device management function based on one of the IPMI command, Redfish command, or web button command, and obtain the location number sent by the host side and the presence information of the hard disk provided by the hard disk backplane controller.
[0059] S102, determine the location number of the hard disk for which the volume device management function needs to be enabled based on the enabling indication.
[0060] S103, determine whether the location number of each hard disk matches the presence information. If so, execute step S104; if not, execute step S108.
[0061] S104, determine the root port number based on the location number and a preset mapping relationship, where the preset mapping relationship is used to indicate the relationship between the location number and the root port number.
[0062] S105, determine the Basic Input / Output System out-of-band option command based on the root port number.
[0063] S106, send the Basic Input / Output System out-of-band option command to the Basic Input / Output System of the host side based on the shared memory.
[0064] S107, send the Basic Input / Output System out-of-band option command to the Basic Input / Output System of the host side based on the shared memory, and send a restart command to the host side, so that the host side sets the corresponding root port register based on the Basic Input / Output System out-of-band option command to enable the volume device management function.
[0065] S108. Determine the target fault type, and determine the corresponding alarm and handling measures based on the target fault type.
[0066] In summary, for the method of enabling the volume device management function according to the embodiments of the present application, an enabling instruction for the hard disk volume device management function is received, hard disk information sent by the host side is obtained, in response to the enabling instruction, and based on the hard disk information, the root port number corresponding to the target hard disk in the present hard disks is determined, the basic input / output system out-of-band option command is determined based on the root port number, the basic input / output system out-of-band option command is sent to the basic input / output system of the host side, and a restart command is sent to the host side, so that the host side sets the corresponding root port register based on the basic input / output system out-of-band option command to enable the volume device management function. Thus, this method can facilitate customer function customization and the deployment of the VMD function at the customer site, enhance product competitiveness, save labor costs and improve efficiency.
[0067] Figure 4 It is a flowchart of the method for enabling the volume device management function according to the embodiments of the present invention.
[0068] As Figure 4 shown, the method for enabling the volume device management function according to the embodiments of the present invention may include the following steps: S10. After the power-on self-test of the basic input / output system of the host side, send the hard disk information to the motherboard management controller side.
[0069] S11. After receiving the restart command sent by the motherboard management controller side, perform a restart operation, and parse the basic input / output system out-of-band option command sent by the motherboard management controller during the restart process.
[0070] S12. Set the corresponding root port register based on the basic input / output system out-of-band option command to enable the volume device management function.
[0071] Specifically, when the host powers on and starts up, the BIOS will execute the Power On Self Test (POST) process. During the POST process, the BIOS will detect the status of hardware devices (including hard drives) and initialize the hardware devices. That is, during the POST process, the BIOS will identify all NVMe hard drives connected to the host and obtain their relevant information, such as the unique identifier of the hard drive (such as the serial number), the location number of the hard drive, etc. The hard drive information collected by the BIOS during the POST process will be organized into an asset information table, which contains detailed information about all identified hard drives, such as the model, capacity, and location number of the hard drive. After the POST process ends, the BIOS will send the hard drive asset information to the BMC through a predefined communication mechanism. For example, the BIOS can write the hard drive information into a specific area of shared memory or send the hard drive information to the BMC through the IPMI protocol. Thus, through the POST process, it is ensured that all hardware devices (including hard drives) can be correctly identified and initialized, and the BIOS timely transmits the hard drive information to the BMC, providing an accurate hardware information basis for the subsequent enabling of the VMD function.
[0072] After receiving the restart command sent from the motherboard management controller side, perform the restart operation and parse the basic input / output system out-of-band option command sent by the motherboard management controller during the restart process. That is to say, after the BMC finishes processing the hard drive information (for example, determining the hard drives that need to enable the VMD function and their root port numbers), it will generate a restart command and send it to the BIOS on the host side. After receiving the restart command, the BIOS will trigger the restart operation of the host. During the restart process, the BIOS will re-enter the POST stage. During the restart process, the BIOS will check whether there is an out-of-band option command from the BMC. If there is an out-of-band option command, the BIOS will parse the content of the command. For example, the command may contain the root port number information that needs to enable the VMD function. The BIOS will determine the specific operations to be performed (such as enabling the VMD function) according to the parsed command content. Thus, the BIOS can timely receive and respond to the restart command sent by the BMC, ensuring that the system operates according to the predetermined process, automatically parsing the out-of-band option command during the restart process, reducing manual intervention, and improving the degree of automation of the operation. Through the restart operation, the BIOS can dynamically update the system configuration according to the out-of-band option command, such as enabling the VMD function.
[0073] Finally, the corresponding root port register can be set according to the out-of-band option command of the input-output system to enable the volume device management function. That is, during the reboot process, the BIOS parses the out-of-band option command from the BMC and extracts the key information in the command, such as the root port number for enabling the VMD function. Here, the out-of-band option command is an instruction containing specific operation parameters. The BIOS locates the corresponding PCIe root port register based on the extracted root port number information. The PCIe root port register is a hardware register that controls PCIe devices (such as NVMe hard drives), and the VMD function can be enabled or disabled by setting these registers.
[0074] According to the requirements of the out-of-band option command, the BIOS sets the corresponding root port register. For example, a specific bit in the root port register is set to "1" to enable the VMD function. After the setting is completed, the VMD function will be enabled, and the system can start managing the NVMe hard drive. In addition, after the BIOS completes the register setting, it will feedback the operation result to the BMC. If the operation is successful, the BIOS will send a success signal; if the operation fails, the BIOS will send an error signal along with specific error information. Thus, by setting the root port register, the BIOS can dynamically enable the VMD function without the user manually entering the BIOS setup interface for operation.
[0075] Thus, the host side can efficiently enable the volume device management function. This process not only improves the automation level and user experience of the system but also enhances the performance and stability of the system.
[0076] According to an embodiment of the present application, parsing the basic input / output system out-of-band option command sent by the motherboard management controller includes: parsing the basic input / output system out-of-band option command based on the data format of the basic input / output system out-of-band option command to determine the root port that needs to enable the volume device management function.
[0077] Specifically, the data format of the BIOS out-of-band option command is a standardized structure used to describe the specific operations to be performed. The key information included in the command includes: command type: identifying that this is a BIOS out-of-band option command. opcode: specifying the specific operation, such as enabling the VMD function. parameters: containing the specific information required to execute the operation, such as the root port number, hard drive location number, etc. For example, taking the Redfish protocol as an example, the data format of the BIOS out-of-band option command is a JSON object. For example, "Action": "EnableVMD" indicates that this is a command to enable the VMD function, "RootPort": "0x01" indicates the root port number 0x01 that needs to enable the VMD function, and "DriveLocation": "1" indicates that the location number of the hard drive is 1.
[0078] When parsing the Basic Input / Output System (BIOS) out-of-band option command sent by the Baseboard Management Controller (BMC), the BIOS out-of-band option command can be parsed based on its data format. That is, during the reboot process, the BIOS on the host side receives the out-of-band option command from the BMC through a predefined communication mechanism. After receiving the command, the BIOS first verifies whether the data format of the command meets expectations, checks whether the command contains necessary fields (such as the Action and Parameters fields), and ensures that the values of the fields comply with the specifications. If the command format is correct, the BIOS parses the specific information in the command, extracts the Action field, confirms that this is a command to enable the VMD function, extracts the RootPor value in the Parameters field to determine the root port number for which the VMD function needs to be enabled, and extracts the DriveLocation value in the Parameters field to determine the location number of the hard disk. The BIOS verifies whether the extracted parameters are valid. For example, it checks whether the root port number is within the range supported by the system and whether the hard disk location number corresponds to an actually existing hard disk. If the parameters are invalid, the BIOS can record the error information and send an error feedback to the BMC.
[0079] Thus, after parsing the command and verifying the validity of the parameters, the BIOS determines the specific root port. For example, the BIOS looks up the root port number corresponding to the hard disk location number according to a preset mapping relationship (such as a mapping table between the location number and the root port number). Additionally, in an embodiment of the present application, the BIOS checks whether the determined root port is already in the enabled state. If the root port is already enabled, the BIOS can skip the repeated enabling operation. If the root port is not enabled, the BIOS continues to perform the enabling operation. The BIOS sets the corresponding root port register according to the determined root port number to enable the VMD function. For example, a specific bit in the root port register is set to 1 to enable the VMD function. After the BIOS completes the enabling operation of the root port, it feeds back the operation result to the BMC. If the operation is successful, the BIOS sends a success signal; if the operation fails, the BIOS sends an error signal along with specific error information.
[0080] Thus, by parsing the out-of-band option command sent by the BMC, the BIOS can automatically determine the root port for which the VMD function needs to be enabled, eliminating the need for the user to manually enter the BIOS setup interface for operation, improving the automation level and user experience of the system, and enhancing the performance and stability of the system.
[0081] According to an embodiment of the present application, sending hard disk information to the Baseboard Management Controller side includes: sending hard disk information to the Baseboard Management Controller side based on shared memory.
[0082] Specifically, sending hard disk information to the baseboard management controller is a crucial step to ensure that the BMC can obtain accurate hard disk status and configuration information for subsequent management operations. When sending hard disk information to the baseboard management controller side, the hard disk information can be sent according to the shared memory. That is, shared memory is an efficient inter-process communication mechanism that allows multiple processes to access the same memory area. In this case, the BIOS and BMC on the host side can share a memory area for transmitting hard disk information. Shared memory is usually located in the physical memory of the host, and the BIOS and BMC exchange data through predefined memory addresses and formats. During the POST (Power-On Self-Test) process, the BIOS collects all hard disk information connected to the system, including the hard disk model, capacity, location number, connected PCIe bus port number, etc. This information is organized into a structured data format, such as a fixed-length structure or a JSON object. After the POST process ends, the BIOS writes the collected hard disk information into a predefined shared memory area. For example, the BIOS may write the hard disk information into a specific address range of the shared memory, such as 0x00010000 to 0x0001FFFF. To ensure that the BMC can read the hard disk information in the shared memory in a timely manner, the BIOS can notify the BMC that the data is ready through a certain mechanism. For example, the BIOS can set a flag bit or send an interrupt signal to the BMC. The BMC periodically checks a specific address in the shared memory or reads the hard disk information in the shared memory after receiving the notification. Thus, the BMC parses the hard disk information and extracts the required data, such as the hard disk location number and the connected PCIe bus port number.
[0083] Thereby, it can be ensured that the BMC obtains accurate hard disk information for subsequent management operations, such as enabling the volume device management function.
[0084] In summary, for the method of enabling the volume device management function according to the embodiments of the present application, after the power-on self-test of the basic input / output system on the host side, hard disk information is sent to the baseboard management controller side. After receiving the restart command sent by the baseboard management controller side, a restart operation is performed, and during the restart process, the basic input / output system out-of-band option command sent by the baseboard management controller is parsed, and the corresponding root port register is set based on the basic input / output system out-of-band option command to enable the volume device management function. Thereby, this method can facilitate customer function customization and the deployment of the VMD function at the customer site, enhance product competitiveness, and save labor costs and improve efficiency.
[0085] For ease of understanding, in a specific embodiment, the interaction between the host side and the baseboard management controller side of the present invention is described, as Figure 5 shown, the interaction method of the embodiments of the present invention may include the following steps: S201, after the power-on self-check of the basic input / output system on the host side, send hard disk information to the baseboard management controller side.
[0086] S202, receive the enable indication of the hard disk volume device management function and obtain the hard disk information sent by the host side.
[0087] S203, in response to the enable indication, and based on the hard disk information, determine the root port number corresponding to the target hard disk in the present hard disks.
[0088] S204, determine the basic input / output system out-of-band option command based on the root port number.
[0089] S205, send the basic input / output system out-of-band option command to the basic input / output system on the host side and send a restart command to the host side.
[0090] S206, after receiving the restart command sent by the baseboard management controller side, perform a restart operation, and parse the basic input / output system out-of-band option command sent by the baseboard management controller during the restart process.
[0091] S207, set the corresponding root port register based on the basic input / output system out-of-band option command to enable the volume device management function.
[0092] Corresponding to the above embodiments, the present application also proposes a computer-readable storage medium.
[0093] The computer-readable storage medium of the embodiments of the present application stores a program thereon, and when the program is executed by a processor, the method for enabling the volume device management function described above is implemented.
[0094] According to the computer-readable storage medium of the embodiments of the present application, by executing the method for enabling the volume device management function described above, it is possible to facilitate customer function customization and deploy the VMD function at the customer site, enhance product competitiveness, save labor costs and improve efficiency.
[0095] Corresponding to the above embodiments, the present application also proposes a baseboard management controller.
[0096] As Figure 6 shown, the baseboard management controller 200 of the embodiments of the present application may include: a first memory 210, a first processor 220, and a program stored on the first memory 210 and executable on the first processor 220. When the first processor 220 executes the program, the method for enabling the volume device management function described above is implemented.
[0097] The electronic device according to the embodiment of the present application can facilitate customer function customization and the deployment of the VMD function at the customer site by executing the above method for enabling the volume device management function, improve product competitiveness, save labor costs and improve efficiency.
[0098] Corresponding to the above embodiment, the present application also proposes an electronic device.
[0099] As Figure 7 shown, the electronic device 300 according to the embodiment of the present application may include: a second memory 310, a second processor 320, and a program stored on the second memory 310 and executable on the second processor 320. When the second processor 320 executes the program, the above verification method of the server is implemented.
[0100] The electronic device according to the embodiment of the present application can facilitate customer function customization and the deployment of the VMD function at the customer site by executing the above method for enabling the volume device management function, improve product competitiveness, save labor costs and improve efficiency.
[0101] Corresponding to the above embodiment, the present application also proposes a computer program product.
[0102] The computer program product according to the embodiment of the present application includes computer programs / instructions, and when the computer programs / instructions are executed by a processor, the above method for enabling the volume device management function is implemented.
[0103] The computer program product according to the embodiment of the present application can facilitate customer function customization and the deployment of the VMD function at the customer site by executing the above method for enabling the volume device management function, improve product competitiveness, save labor costs and improve efficiency.
[0104] Note that the logic and / or steps represented in the flowchart or otherwise described herein, for example, can be considered as a definite sequence list of executable instructions for implementing logical functions, and can be specifically implemented in any computer-readable medium for use by an instruction execution system, apparatus, or device (such as a computer-based system, a system including a processor, or other systems that can fetch and execute instructions from the instruction execution system, apparatus, or device), or in combination with these instruction execution systems, apparatuses, or devices. For the purposes of this specification, a "computer-readable medium" can be any device that can contain, store, communicate, propagate, or transport a program for use by or in combination with an instruction execution system, apparatus, or device. More specific examples (non-exhaustive list) of computer-readable media include the following: an electrical connection portion with one or more wirings (electronic device), a portable computer diskette (magnetic device), a random access memory (RAM), a read-only memory (ROM), an erasable programmable read-only memory (EPROM or flash memory), an optical fiber device, and a portable compact disc read-only memory (CDROM). Additionally, the computer-readable medium can even be paper or other suitable media on which the program can be printed, because the program can be obtained electronically, for example, by optically scanning the paper or other media, followed by editing, interpretation, or otherwise processing as appropriate, and then stored in a computer memory.
[0105] It should be understood that various parts of the present application can be implemented by hardware, software, firmware, or a combination thereof. In the above-described embodiments, multiple steps or methods can be implemented by software or firmware stored in a memory and executed by a suitable instruction execution system. For example, if implemented by hardware, as in another embodiment, any one or a combination of the following techniques well known in the art can be used: discrete logic circuits having logic gate circuits for implementing logical functions on data signals, application specific integrated circuits having appropriate combinational logic gate circuits, programmable gate arrays (PGAs), field programmable gate arrays (FPGAs), etc.
[0106] In the description of this specification, the description with reference to terms such as "one embodiment", "some embodiments", "example", "specific example", or "some examples", etc. means that the specific features, structures, materials, or characteristics described in connection with the embodiment or example are included in at least one embodiment or example of the present application. In this specification, the schematic representations of the above terms do not necessarily refer to the same embodiment or example. Moreover, the specific features, structures, materials, or characteristics described can be combined in a suitable manner in any one or more embodiments or examples.
[0107] In addition, the terms "first" and "second" are for descriptive purposes only and should not be construed as indicating or implying relative importance or implicitly specifying the quantity of the indicated technical features. Thus, features defined with "first" and "second" may explicitly or implicitly include at least one such feature. In the description of this application, "a plurality of" means at least two, such as two, three, etc., unless otherwise specifically defined.
[0108] In this application, unless otherwise clearly specified and defined, terms such as "installed", "connected", "joined", "fixed", etc. shall be understood in a broad sense. For example, it may be a fixed connection, a detachable connection, or integrated; it may be a mechanical connection or an electrical connection; it may be directly connected or indirectly connected through an intermediate medium, and it may be the communication inside two elements or the interaction relationship between two elements, unless otherwise clearly defined. For those of ordinary skill in the art, the specific meanings of the above terms in this application can be understood according to specific circumstances.
[0109] Although the embodiments of this application have been shown and described above, it can be understood that the above embodiments are exemplary and should not be construed as limiting this application. Those of ordinary skill in the art can make changes, modifications, substitutions, and variations to the above embodiments within the scope of this application.
Claims
1. A method for enabling volume device management function, characterized in that, Applied to the motherboard management controller side, the method includes: Receiving an enabling instruction for the hard disk volume device management function and obtaining hard disk information sent by the host side; Responding to the enabling instruction and determining the root port number corresponding to the target hard disk among the present hard disks based on the hard disk information; Determining the basic input / output system out-of-band option command based on the root port number; Sending the basic input / output system out-of-band option command to the basic input / output system of the host side and sending a restart command to the host side, so that the host side sets the corresponding root port register based on the basic input / output system out-of-band option command to enable the volume device management function.
2. The method for enabling volume device management function according to claim 1, wherein The motherboard management controller is communicatively connected to the hard disk backplane controller, and the method further includes: Obtaining the present information of the hard disks provided by the hard disk backplane controller; Determining whether each hard disk is present based on the hard disk information and the present information of each hard disk.
3. The method for enabling volume device management function according to claim 2, wherein The hard disk information includes the location number of the hard disk, and determining whether each hard disk is present based on the hard disk information and the present information of each hard disk includes: For the location number of each hard disk, determining whether the location number matches the present information; If the location number corresponds to a corresponding hard disk and the present information corresponds to a corresponding hard disk, determining that the hard disk is present; If the location number corresponds to a corresponding hard disk while the present information does not correspond to a corresponding hard disk, determining that the hard disk is not present.
4. The method for enabling volume device management function according to claim 3, wherein, The method further includes: Determining the target fault type in the case where the hard disk is not present; Determining corresponding alarm and handling measures based on the target fault type.
5. The method for enabling the volume device management function according to claim 4, wherein Determining corresponding alarm and handling measures based on the target fault type includes: In the case where the target fault type is the hard disk hardware fault, sending a first-level alarm signal and determining the handling measure of replacing the hard disk; In the case where the target fault type is the fault that the hard disk does not match the basic input / output system configuration, sending a second-level alarm signal and determining the handling measure of reconfiguring the basic input / output system; In the case where the target fault type is the connection failure between the hard disk and the hard disk backplane, sending a third-level alarm signal and determining the handling measure of replugging the hard disk, wherein the priority of the first-level alarm signal is greater than the priority of the second-level alarm signal, and the priority of the second-level alarm signal is greater than the priority of the third-level alarm signal.
6. The method for enabling volume device management function according to claim 1, characterized in that, Sending the basic input / output system out-of-band option command to the basic input / output system of the host side includes: Sending the basic input / output system out-of-band option command to the basic input / output system of the host side based on shared memory.
7. The method for enabling the volume device management function according to claim 2, wherein Responding to the enabling instruction and determining the root port number corresponding to the target hard disk among the present hard disks based on the hard disk information includes: Determining the location number of the hard disk for which the volume device management function needs to be enabled based on the enabling instruction; Determining the root port number based on the location number and a preset mapping relationship, wherein the preset mapping relationship is used to indicate the relationship between the location number and the root port number.
8. The method for enabling volume device management function according to claim 1, characterized in that Receiving an enabling instruction for the hard disk volume device management function includes: Receiving an enabling instruction for the hard disk volume device management function based on one of an IPMI command, a Redfish command, or a web button command.
9. A method for enabling a volume device management function, characterized in that, Applied to the host side, the method includes: After the power-on self-test of the basic input / output system of the host side, sending hard disk information to the motherboard management controller side; After receiving the restart command sent by the motherboard management controller side, performing a restart operation, and parsing the basic input / output system out-of-band option command sent by the motherboard management controller during the restart process; Setting the corresponding root port register based on the basic input / output system out-of-band option command to enable the volume device management function.
10. The method for enabling the volume device management function according to claim 9, wherein Parsing the basic input / output system out-of-band option command sent by the motherboard management controller includes: Parsing the basic input / output system out-of-band option command based on the data format of the basic input / output system out-of-band option command to determine the root port for which the volume device management function needs to be enabled.
11. The method for enabling the volume device management function according to claim 9, wherein, Sending the hard disk information to the motherboard management controller side includes: Sending the hard disk information to the motherboard management controller side based on shared memory.
12. A computer-readable storage medium, characterized in that, Stored thereon is a program which, when executed by a processor, implements the method for enabling the volume device management function according to any one of claims 1-8 or 9-11.
13. A main board management controller, characterized in that, Includes: A first memory, a first processor, and a program stored on the first memory and executable on the first processor. When the first processor executes the program, it implements the method for enabling the volume device management function according to any one of claims 1-8.
14. An electronic device, characterized in that, Includes: A second memory, a second processor, and a program stored on the second memory and executable on the second processor. When the second processor executes the program, it implements the method for enabling the volume device management function according to any one of claims 9-11.
15. A computer program product, comprising a computer program / instructions, characterized in that, When the computer program / instructions are executed by a processor, they implement the method for enabling the volume device management function according to any one of claims 1-8 or claims 9-11.
Citation Information
Patent Citations
Seamless migration of storage volumes between storage arrays
CN110413213A
Equipment management method and device and server
CN110457164A
VMD function configuration method and device, server and storage medium
CN117149068A
Resource configuration method, device and equipment and readable storage medium
CN117667388A
Hard disk access method
US20100277825A1