CN113282449A - JBOF management method, device, equipment and readable medium - Google Patents

JBOF management method, device, equipment and readable medium Download PDF

Info

Publication number
CN113282449A
CN113282449A CN202110501942.8A CN202110501942A CN113282449A CN 113282449 A CN113282449 A CN 113282449A CN 202110501942 A CN202110501942 A CN 202110501942A CN 113282449 A CN113282449 A CN 113282449A
Authority
CN
China
Prior art keywords
hard disk
place
jbof
state
module
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
Application number
CN202110501942.8A
Other languages
Chinese (zh)
Inventor
付水论
张敏
叶明洋
Current Assignee (The listed assignees may be inaccurate. Google has not performed a legal analysis and makes no representation or warranty as to the accuracy of the list.)
Shandong Yingxin Computer Technology Co Ltd
Original Assignee
Shandong Yingxin Computer Technology Co Ltd
Priority date (The priority date is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the date listed.)
Filing date
Publication date
Application filed by Shandong Yingxin Computer Technology Co Ltd filed Critical Shandong Yingxin Computer Technology Co Ltd
Priority to CN202110501942.8A priority Critical patent/CN113282449A/en
Publication of CN113282449A publication Critical patent/CN113282449A/en
Pending legal-status Critical Current

Links

Images

Classifications

    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06FELECTRIC DIGITAL DATA PROCESSING
    • G06F11/00Error detection; Error correction; Monitoring
    • G06F11/30Monitoring
    • G06F11/3003Monitoring arrangements specially adapted to the computing system or computing system component being monitored
    • G06F11/3037Monitoring arrangements specially adapted to the computing system or computing system component being monitored where the computing system component is a memory, e.g. virtual memory, cache
    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06FELECTRIC DIGITAL DATA PROCESSING
    • G06F1/00Details not covered by groups G06F3/00 - G06F13/00 and G06F21/00
    • G06F1/16Constructional details or arrangements
    • G06F1/20Cooling means
    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06FELECTRIC DIGITAL DATA PROCESSING
    • G06F11/00Error detection; Error correction; Monitoring
    • G06F11/30Monitoring
    • G06F11/3055Monitoring arrangements for monitoring the status of the computing system or of the computing system component, e.g. monitoring if the computing system is on, off, available, not available
    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06FELECTRIC DIGITAL DATA PROCESSING
    • G06F11/00Error detection; Error correction; Monitoring
    • G06F11/30Monitoring
    • G06F11/3058Monitoring arrangements for monitoring environmental properties or parameters of the computing system or of the computing system component, e.g. monitoring of power, currents, temperature, humidity, position, vibrations
    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06FELECTRIC DIGITAL DATA PROCESSING
    • G06F11/00Error detection; Error correction; Monitoring
    • G06F11/30Monitoring
    • G06F11/32Monitoring with visual or acoustical indication of the functioning of the machine
    • G06F11/324Display of status information
    • G06F11/325Display of status information by lamps or LED's
    • G06F11/326Display of status information by lamps or LED's for error or online/offline status
    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06FELECTRIC DIGITAL DATA PROCESSING
    • G06F11/00Error detection; Error correction; Monitoring
    • G06F11/30Monitoring
    • G06F11/32Monitoring with visual or acoustical indication of the functioning of the machine
    • G06F11/324Display of status information
    • G06F11/327Alarm or error message display
    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06FELECTRIC DIGITAL DATA PROCESSING
    • G06F13/00Interconnection of, or transfer of information or other signals between, memories, input/output devices or central processing units
    • G06F13/38Information transfer, e.g. on bus
    • G06F13/40Bus structure
    • G06F13/4063Device-to-bus coupling
    • G06F13/4068Electrical coupling
    • G06F13/4081Live connection to bus, e.g. hot-plugging

Landscapes

  • Engineering & Computer Science (AREA)
  • Theoretical Computer Science (AREA)
  • Physics & Mathematics (AREA)
  • General Engineering & Computer Science (AREA)
  • General Physics & Mathematics (AREA)
  • Quality & Reliability (AREA)
  • Computing Systems (AREA)
  • Computer Hardware Design (AREA)
  • Mathematical Physics (AREA)
  • Human Computer Interaction (AREA)
  • Debugging And Monitoring (AREA)

Abstract

The invention discloses a JBOF management method, which comprises the following steps executed in PCIE SWITCH: detecting an in-place signal of a hard disk in the JBOF to acquire in-place information of the hard disk; the hard disk indicating lamp is turned on or off based on the on-site information; detecting the state of an in-place hard disk in the JBOF to judge whether the state of the in-place hard disk changes; and if the state of the in-place hard disk changes, performing hot plug on the in-place hard disk. The invention also discloses a JBOF management device, computer equipment and a readable storage medium. The JBOF management system realizes management functions of heat dissipation management, hard disk management, temperature monitoring, hard disk lighting, voltage monitoring and the like of the JBOF through PCIE SWITCH. The occupied area of the PCB is saved, the JBOF size is reduced, the manufacturing cost is reduced, the storage density of the JBOF is improved, and the JBOF is more convenient to deploy and maintain.

Description

JBOF management method, device, equipment and readable medium
Technical Field
The invention relates to the technical field of servers, in particular to a JBOF management method, a JBOF management device, JBOF management equipment and a readable medium.
Background
The technologies of internet of things, cloud computing and artificial intelligence are developing at a high speed, a large amount of data can be generated in the application process of the technologies, and how to store the data at a high speed becomes a problem which needs to be solved urgently by data center designers. The NVME hard disk is a hard disk based on a PCIe bus, and has the advantages of low delay, high IOPS performance and more energy saving. JBOF (Just a Bunch Of Flash, which refers to a storage device in which a plurality Of Flash memory type solid state disks are installed in one chassis) is used as a storage device Of a Flash memory type solid state disk, and compared with a storage server, the JBOF has the characteristics Of lower cost and flexible deployment. JBOF based on NVME hard disk has high application value. Since the NVME hard disk is based on the PCIe bus, a large number of PCIe Lanes are required for the JBOF supporting many NVME SSDs, for example, 128PCIe Lanes are required for the JBOF supporting 32 SSDs. To extend PCIe Lanes, PCIe Switch is necessary in NVME SSDJBOF.
The existing technical scheme is to adopt an additional BMC chip to complete the management function of JBOF. In the JBOF system based on the NVME SSD, PCIe Switch is necessary to obtain enough PCIe Lanes, and the BMC chip is added to manage the JBOF, so that the cost is increased, and the BMC chip and its peripheral support circuit occupy more PCB area, which increases the size of the JBOF, and brings difficulty to deployment and maintenance of the JBOF.
Disclosure of Invention
In view of this, an embodiment of the present invention provides a method, an apparatus, a device, and a readable medium for JBOF management, which implement management functions such as heat dissipation management, hard disk management, temperature monitoring, hard disk lighting, and voltage monitoring on JBOF through PCIE SWITCH. The occupied area of the PCB is saved, the JBOF size is reduced, the manufacturing cost is reduced, the storage density of the JBOF is improved, and the JBOF is more convenient to deploy and maintain.
In view of the above, an aspect of the embodiments of the present invention provides a JBOF management method, including the following steps performed in PCIE SWITCH: detecting an in-place signal of a hard disk in the JBOF to acquire in-place information of the hard disk; the hard disk indicating lamp is turned on or off based on the on-site information; detecting the state of an in-place hard disk in the JBOF to judge whether the state of the in-place hard disk changes; and if the state of the in-place hard disk changes, performing hot plug on the in-place hard disk.
In some embodiments, detecting the on-bit signal of the hard disk in the JBOF to obtain the on-bit information of the hard disk includes: the hard disk management module detects the in-place signal of the hard disk in the JBOF to acquire the in-place information of the hard disk and sends the in-place information to the hard disk indicator lamp control module; the step of turning on or off the hard disk indicator lamp based on the in-place information comprises the following steps: the hard disk indicating lamp control module receives the on-site information and lights or extinguishes the green indicating lamp based on the on-site information; the step of detecting the state of the in-place hard disk in the JBOF to judge whether the state of the in-place hard disk changes comprises the following steps: the hard disk management module detects the state of the in-place hard disk in the JBOF to judge whether the state of the in-place hard disk changes; if the state of the in-place hard disk changes, the hot plugging of the in-place hard disk comprises the following steps: and if the state of the in-place hard disk changes, the hard disk management module carries out hot plug on the in-place hard disk.
In some embodiments, detecting the on-bit signal of the hard disk in the JBOF to obtain the on-bit information of the hard disk includes: detecting a Present signal of a hard disk in the JBOF to determine the in-place information of the hard disk; if the Present signal is low level, confirming that the hard disk is in place; if the Present signal is high, the hard disk is determined not to be in place.
In some embodiments, turning on or off the hard disk indicator light based on the presence information includes: judging whether the hard disk is in place or not based on the in-place information; if the hard disk is in place, the green indicator light is lightened; if the hard disk is not in place, the green indicating lamp is turned off.
In some embodiments, if the state of the in-place hard disk changes, the hot-plugging the in-place hard disk includes: if the state of the on-site hard disk is changed from on-site to off-site, pulling down a Perst signal of the on-site hard disk; if the state of the on-site hard disk is changed from off-line to on-site, the Perst signal of the on-site hard disk is changed to high level.
In some embodiments, further comprising performing PCIE SWITCH the steps of: the hard disk indicating lamp control module receives a lighting command of the operating system and controls the blue indicating lamp to be turned on according to the lighting command; and acquiring whether the communication of the hard disk has errors or not through the operation monitoring instruction, and if the communication of the hard disk has errors, controlling the red indicator lamp to be lightened by the hard disk indicator lamp control module.
In some embodiments, further comprising performing PCIE SWITCH the steps of: acquiring the temperature of a case by a temperature monitoring module through a TWI (two way interface) plug-in temperature sensor, and sending a fan control instruction to a fan control module based on the case temperature; the fan control module receives a fan control instruction and outputs signals with different frequencies through PWM PIN based on the fan control instruction so as to control the rotating speed of the fan; and the voltage monitoring module monitors the voltage value of the power supply channel in the JBOF and judges whether the voltage value is abnormal or not, and if the voltage value is abnormal, alarm information is uploaded to the operating system.
In another aspect of the embodiments of the present invention, a JBOF management apparatus is further provided, including: the system comprises a first module, a second module and a third module, wherein the first module is configured to detect an in-place signal of a hard disk in a JBOF (JBOF) to acquire in-place information of the hard disk; the second module is configured to turn on or off the hard disk indicator lamp based on the in-place information; the third module is configured to detect the state of the in-place hard disk in the JBOF to judge whether the state of the in-place hard disk changes; and the fourth module is configured to perform hot plug on the in-place hard disk if the state of the in-place hard disk changes.
In another aspect of the embodiments of the present invention, there is also provided a computer device, including: at least one processor; and a memory storing computer instructions executable on the processor, the instructions when executed by the processor implementing the steps of: detecting an in-place signal of a hard disk in the JBOF to acquire in-place information of the hard disk; the hard disk indicating lamp is turned on or off based on the on-site information; detecting the state of an in-place hard disk in the JBOF to judge whether the state of the in-place hard disk changes; and if the state of the in-place hard disk changes, performing hot plug on the in-place hard disk.
In some embodiments, detecting the on-bit signal of the hard disk in the JBOF to obtain the on-bit information of the hard disk includes: the hard disk management module detects the in-place signal of the hard disk in the JBOF to acquire the in-place information of the hard disk and sends the in-place information to the hard disk indicator lamp control module; the step of turning on or off the hard disk indicator lamp based on the in-place information comprises the following steps: the hard disk indicating lamp control module receives the on-site information and lights or extinguishes the green indicating lamp based on the on-site information; the step of detecting the state of the in-place hard disk in the JBOF to judge whether the state of the in-place hard disk changes comprises the following steps: the hard disk management module detects the state of the in-place hard disk in the JBOF to judge whether the state of the in-place hard disk changes; if the state of the in-place hard disk changes, the hot plugging of the in-place hard disk comprises the following steps: and if the state of the in-place hard disk changes, the hard disk management module carries out hot plug on the in-place hard disk.
In some embodiments, detecting the on-bit signal of the hard disk in the JBOF to obtain the on-bit information of the hard disk includes: detecting a Present signal of a hard disk in the JBOF to determine the in-place information of the hard disk; if the Present signal is low level, confirming that the hard disk is in place; if the Present signal is high, the hard disk is determined not to be in place.
In some embodiments, turning on or off the hard disk indicator light based on the presence information includes: judging whether the hard disk is in place or not based on the in-place information; if the hard disk is in place, the green indicator light is lightened; if the hard disk is not in place, the green indicating lamp is turned off.
In some embodiments, if the state of the in-place hard disk changes, the hot-plugging the in-place hard disk includes: if the state of the on-site hard disk is changed from on-site to off-site, pulling down a Perst signal of the on-site hard disk; if the state of the on-site hard disk is changed from off-line to on-site, the Perst signal of the on-site hard disk is changed to high level.
In some embodiments, further comprising performing PCIE SWITCH the steps of: the hard disk indicating lamp control module receives a lighting command of the operating system and controls the blue indicating lamp to be turned on according to the lighting command; and acquiring whether the communication of the hard disk has errors or not through the operation monitoring instruction, and if the communication of the hard disk has errors, controlling the red indicator lamp to be lightened by the hard disk indicator lamp control module.
In some embodiments, further comprising performing PCIE SWITCH the steps of: acquiring the temperature of a case by a temperature monitoring module through a TWI (two way interface) plug-in temperature sensor, and sending a fan control instruction to a fan control module based on the case temperature; the fan control module receives a fan control instruction and outputs signals with different frequencies through PWM PIN based on the fan control instruction so as to control the rotating speed of the fan; and the voltage monitoring module monitors the voltage value of the power supply channel in the JBOF and judges whether the voltage value is abnormal or not, and if the voltage value is abnormal, alarm information is uploaded to the operating system.
In a further aspect of the embodiments of the present invention, a computer-readable storage medium is also provided, in which a computer program for implementing the above method steps is stored when the computer program is executed by a processor.
The invention has the following beneficial technical effects: management functions such as heat dissipation management, hard disk management, temperature monitoring, hard disk lighting, voltage monitoring and the like of the JBOF are realized through PCIE SWITCH. The occupied area of the PCB is saved, the JBOF size is reduced, the manufacturing cost is reduced, the storage density of the JBOF is improved, and the JBOF is more convenient to deploy and maintain.
Drawings
In order to more clearly illustrate the embodiments of the present invention or the technical solutions in the prior art, the drawings used in the description of the embodiments or the prior art will be briefly described below, and it is obvious that the drawings in the following description are only some embodiments of the present invention, and it is obvious for those skilled in the art that other embodiments can be obtained by using the drawings without creative efforts.
FIG. 1 is a schematic diagram of a JBOF management method according to an embodiment of the present invention;
FIG. 2 is a schematic diagram of a JBOF management apparatus according to an embodiment of the present invention;
FIG. 3 is a schematic diagram of an embodiment of a computer device provided by the present invention;
FIG. 4 is a schematic diagram of an embodiment of a computer-readable storage medium provided by the present invention.
Detailed Description
In order to make the objects, technical solutions and advantages of the present invention more apparent, the following embodiments of the present invention are described in further detail with reference to the accompanying drawings.
It should be noted that all expressions using "first" and "second" in the embodiments of the present invention are used for distinguishing two entities with the same name but different names or different parameters, and it should be noted that "first" and "second" are merely for convenience of description and should not be construed as limitations of the embodiments of the present invention, and they are not described in any more detail in the following embodiments.
In view of the above, a first aspect of the embodiments of the present invention provides an embodiment of a JBOF management method. Fig. 1 is a schematic diagram illustrating an embodiment of a JBOF management method provided by the present invention. As shown in fig. 1, the embodiment of the present invention includes the following steps:
s01, detecting the in-place signal of the hard disk in the JBOF to obtain the in-place information of the hard disk;
s02, turning on or off the hard disk indicator lamp based on the on-site information;
s03, detecting the state of the in-place hard disk in the JBOF to judge whether the state of the in-place hard disk changes; and
and S04, if the state of the in-place hard disk changes, hot plugging is carried out on the in-place hard disk.
In this embodiment, the JBOF management function is completed through the PCIe SWITCH, and the JBOF is prevented from being introduced into the BMC chip to implement management, so that the cost is reduced, the BMC chip and the peripheral supporting circuit thereof are prevented from occupying more PCB area, and the storage density of the JBOF is improved. The management functions realized by PCIe SWITCH comprise heat dissipation management, hard disk management, temperature monitoring, hard disk lighting and Voltage monitoring functions, and are respectively realized by a hard disk indicator lamp CONTROL Module LED CTRL Module, a hard disk management Module NVME SSD MANAGEMENT Module, a FAN CONTROL Module FAN CONTROL Module, a temperature monitoring Module Thermal Sensor Module and a Voltage Detection Module. JBOF (just a Bunch Of flash) refers to a storage type device provided with a plurality Of flash type solid state hard disks in a case, and JBOF as a storage device has the characteristics Of flexible deployment and high cost performance.
The hard disk indicating lamp control module realizes the control of a green LED and a red-blue LED of the hard disk state indicating lamp; the hard disk management module realizes the functions of hard disk in-place detection and hard disk hot plug; the temperature monitoring module realizes the function of reading the temperature of the temperature sensor in the JBOF and the PCIe SWITCH temperature and transmits the temperature to the fan control module for controlling the fan; the fan control module controls the rotating speed of the fan to realize the heat dissipation of the JBOF through the PWM function of PCIe SWITCH according to the read temperature of the chassis temperature sensor; the voltage detection module is used for monitoring the voltage value of a power supply channel in the JBOF and uploading alarm information to the operating system when the voltage is abnormal.
In some embodiments of the present invention, detecting the on-bit signal of the hard disk in the JBOF to obtain the on-bit information of the hard disk includes: the hard disk management module detects the in-place signal of the hard disk in the JBOF to acquire the in-place information of the hard disk and sends the in-place information to the hard disk indicator lamp control module; the step of turning on or off the hard disk indicator lamp based on the in-place information comprises the following steps: the hard disk indicating lamp control module receives the on-site information and lights or extinguishes the green indicating lamp based on the on-site information; the step of detecting the state of the in-place hard disk in the JBOF to judge whether the state of the in-place hard disk changes comprises the following steps: the hard disk management module detects the state of the in-place hard disk in the JBOF to judge whether the state of the in-place hard disk changes; if the state of the in-place hard disk changes, the hot plugging of the in-place hard disk comprises the following steps: and if the state of the in-place hard disk changes, the hard disk management module carries out hot plug on the in-place hard disk.
In this embodiment, the hard disk indicator lamp control module implements management of the hard disk status indicator lamp by detecting in-place information of the hard disk, analyzing a lighting Command sent by the OS through a PCIe in-band signal, and acquiring a PCIe communication error status of the NVME hard disk through a Performance Monitor Command; the hard disk management module realizes the functions of hard disk on-site detection and hard disk hot plug through a hard disk Present signal and a Perst signal.
In some embodiments of the present invention, detecting the on-bit signal of the hard disk in the JBOF to obtain the on-bit information of the hard disk includes: detecting a Present signal of a hard disk in the JBOF to determine the in-place information of the hard disk; if the Present signal is low level, confirming that the hard disk is in place; if the Present signal is high, the hard disk is determined not to be in place.
In this embodiment, the hard disk management module determines that the hard disk is in place by detecting a Present signal of the NVME SSD, and if the Present signal is detected to be low, confirms that the hard disk is in place; and if the Present signal is detected to be high, confirming that the hard disk is not in place, and transmitting the in-place information of the hard disk to the hard disk indicator lamp control module.
In some embodiments of the present invention, turning on or off the hard disk indicator light based on the presence information comprises: judging whether the hard disk is in place or not based on the in-place information; if the hard disk is in place, the green indicator light is lightened; if the hard disk is not in place, the green indicating lamp is turned off.
In this embodiment, the hard disk indicator lamp control module receives the hard disk in-place information transmitted by the hard disk management module to control the green indicator lamp, and when the NVME SSD is in place, the green indicator lamp is turned on; when NVME SSD is not in place, the green indicator light is turned off.
In some embodiments of the present invention, if the state of the in-place hard disk changes, the hot plugging of the in-place hard disk includes: if the state of the on-site hard disk is changed from on-site to off-site, pulling down a Perst signal of the on-site hard disk; if the state of the on-site hard disk is changed from off-line to on-site, the Perst signal of the on-site hard disk is changed to high level.
In this embodiment, the hard disk management module completes the hard disk hot plug function by controlling the Perst signal of the hard disk. When the hard disk is detected to be changed from the in-place state to the offline state, pulling down a Perst signal of the NVME SSD; when the hard disk is detected to be changed from off-line to on-line, the Perst signal of the NVME SSD is delayed for 100ms and is changed from low level to high level.
In some embodiments of the invention, further comprising performing PCIE SWITCH the steps of: the hard disk indicating lamp control module receives a lighting command of the operating system and controls the blue indicating lamp to be turned on according to the lighting command; and acquiring whether the communication of the hard disk has errors or not through the operation monitoring instruction, and if the communication of the hard disk has errors, controlling the red indicator lamp to be lightened by the hard disk indicator lamp control module.
In this embodiment, the blue indicator light is used to locate the NVME SSD, and the hard disk indicator light control module analyzes the lighting command sent by the operating system OS through the PCIe in-band signal to control the on/off of the blue indicator light.
In this embodiment, the red indicator light is used to indicate a PCIe error alert of the NVME SSD. PCIE SWITCH Firmware acquires whether there is an error in PCIE communication of the NVME hard disk by running a monitoring instruction Performance Monitor Command, if so, lights a red indicator lamp.
In some embodiments of the invention, further comprising PCIE SWITCH performing the steps of: acquiring the temperature of a case by a temperature monitoring module through a TWI (two way interface) plug-in temperature sensor, and sending a fan control instruction to a fan control module based on the case temperature; the fan control module receives a fan control instruction and outputs signals with different frequencies through PWM PIN based on the fan control instruction so as to control the rotating speed of the fan; and the voltage monitoring module monitors the voltage value of the power supply channel in the JBOF and judges whether the voltage value is abnormal or not, and if the voltage value is abnormal, alarm information is uploaded to the operating system.
In this embodiment, the temperature monitoring module acquires the temperature of the chassis through a Thermal Sensor of a TWI interface of PCIE SWITCH, and uploads different event types according to the temperature; the fan control module outputs signals of different frequencies through the PWM PIN of PCIE SWITCH to control the fan speed. The setting of the rotating speed of the fan is realized by detecting the event type uploaded by the temperature monitoring module; the voltage monitoring module acquires a voltage value in the case through an external ADC sampling chip of the TWI interface and realizes voltage deviation identification and alarm.
In this embodiment, the temperature monitoring module obtains the temperature of the chassis through a Thermal Sensor attached to a TWI interface of PCIE SWITCH. When the temperature of the case is higher than a threshold value T1, transmitting an event A to a FAN CONTROL Module by a Thermal Sensor Module; when the case temperature is below the threshold T1, the Thermal Sensor Module passes event B to the FAN CONTROL Module.
The fan control module outputs signals of different frequencies through the PWM PIN of PCIE SWITCH to control the fan speed. The fan control module sets different frequencies PWM1, PWM 2. When receiving an event A transmitted by a Thermal Sensor Module, outputting high-frequency PWM 2; when receiving the event B transmitted by the Thermal Sensor Module, the low-frequency PWM1 is output.
In this embodiment, the voltage monitoring module obtains the voltage value in the chassis through the TWI interface plug-in ADC sampling chip of PCIE SWITCH. And when the detected Voltage and the preset Voltage value exceed the set deviation, the Voltage Detection Module sends out the alarm information of the Voltage to the OS and transmits the actual Voltage value.
It should be particularly noted that, the steps in the foregoing embodiments of the JBOF management method may be mutually intersected, replaced, added, or deleted, and therefore, these reasonable permutation and combination transformations should also belong to the scope of the present invention for the JBOF management method, and should not limit the scope of the present invention to the embodiments.
In view of the above object, a second aspect of the embodiments of the present invention provides a JBOF management apparatus. Fig. 2 is a schematic diagram illustrating an embodiment of a JBOF management apparatus provided in the present invention. As shown in fig. 2, the embodiment of the present invention includes the following modules: a first module S11, configured to detect an in-place signal of the hard disk in the JBOF to obtain in-place information of the hard disk; a second module S12 configured to turn on or off the hard disk indicator light based on the presence information; a third module S13, configured to detect the state of the in-place hard disk in the JBOF to determine whether the state of the in-place hard disk changes; and a fourth module S14, configured to, if the status of the in-place hard disk changes, perform hot plug on the in-place hard disk.
In view of the above object, a third aspect of the embodiments of the present invention provides a computer device. Fig. 3 is a schematic diagram of an embodiment of a computer device provided by the present invention. As shown in fig. 3, an embodiment of the present invention includes the following means: at least one processor S21; and a memory S22, the memory S22 storing computer instructions S23 executable on the processor, the instructions when executed by the processor implementing the steps of: detecting an in-place signal of a hard disk in the JBOF to acquire in-place information of the hard disk; the hard disk indicating lamp is turned on or off based on the on-site information; detecting the state of an in-place hard disk in the JBOF to judge whether the state of the in-place hard disk changes; and if the state of the in-place hard disk changes, performing hot plug on the in-place hard disk.
In some embodiments of the present invention, detecting the on-bit signal of the hard disk in the JBOF to obtain the on-bit information of the hard disk includes: the hard disk management module detects the in-place signal of the hard disk in the JBOF to acquire the in-place information of the hard disk and sends the in-place information to the hard disk indicator lamp control module; the step of turning on or off the hard disk indicator lamp based on the in-place information comprises the following steps: the hard disk indicating lamp control module receives the on-site information and lights or extinguishes the green indicating lamp based on the on-site information; the step of detecting the state of the in-place hard disk in the JBOF to judge whether the state of the in-place hard disk changes comprises the following steps: the hard disk management module detects the state of the in-place hard disk in the JBOF to judge whether the state of the in-place hard disk changes; if the state of the in-place hard disk changes, the hot plugging of the in-place hard disk comprises the following steps: and if the state of the in-place hard disk changes, the hard disk management module carries out hot plug on the in-place hard disk.
In some embodiments of the present invention, detecting the on-bit signal of the hard disk in the JBOF to obtain the on-bit information of the hard disk includes: detecting a Present signal of a hard disk in the JBOF to determine the in-place information of the hard disk; if the Present signal is low level, confirming that the hard disk is in place; if the Present signal is high, the hard disk is determined not to be in place.
In some embodiments of the present invention, turning on or off the hard disk indicator light based on the presence information comprises: judging whether the hard disk is in place or not based on the in-place information; if the hard disk is in place, the green indicator light is lightened; if the hard disk is not in place, the green indicating lamp is turned off.
In some embodiments of the present invention, if the state of the in-place hard disk changes, the hot plugging of the in-place hard disk includes: if the state of the on-site hard disk is changed from on-site to off-site, pulling down a Perst signal of the on-site hard disk; if the state of the on-site hard disk is changed from off-line to on-site, the Perst signal of the on-site hard disk is changed to high level.
In some embodiments of the invention, further comprising performing PCIE SWITCH the steps of: the hard disk indicating lamp control module receives a lighting command of the operating system and controls the blue indicating lamp to be turned on according to the lighting command; and acquiring whether the communication of the hard disk has errors or not through the operation monitoring instruction, and if the communication of the hard disk has errors, controlling the red indicator lamp to be lightened by the hard disk indicator lamp control module.
In some embodiments of the invention, further comprising PCIE SWITCH performing the steps of: acquiring the temperature of a case by a temperature monitoring module through a TWI (two way interface) plug-in temperature sensor, and sending a fan control instruction to a fan control module based on the case temperature; the fan control module receives a fan control instruction and outputs signals with different frequencies through PWM PIN based on the fan control instruction so as to control the rotating speed of the fan; and the voltage monitoring module monitors the voltage value of the power supply channel in the JBOF and judges whether the voltage value is abnormal or not, and if the voltage value is abnormal, alarm information is uploaded to the operating system.
The invention also provides a computer readable storage medium. FIG. 4 is a schematic diagram illustrating an embodiment of a computer-readable storage medium provided by the present invention. As shown in fig. 4, the computer readable storage medium stores S31 a computer program that, when executed by a processor, performs the method as described above S32.
Finally, it should be noted that, as one of ordinary skill in the art can appreciate that all or part of the processes of the methods of the above embodiments can be implemented by a computer program to instruct related hardware, and the program of the JBOF management method can be stored in a computer readable storage medium, and when executed, the program can include the processes of the embodiments of the methods as described above. The storage medium of the program may be a magnetic disk, an optical disk, a Read Only Memory (ROM), a Random Access Memory (RAM), or the like. The embodiments of the computer program may achieve the same or similar effects as any of the above-described method embodiments.
Furthermore, the methods disclosed according to embodiments of the present invention may also be implemented as a computer program executed by a processor, which may be stored in a computer-readable storage medium. Which when executed by a processor performs the above-described functions defined in the methods disclosed in embodiments of the invention.
Further, the above method steps and system elements may also be implemented using a controller and a computer readable storage medium for storing a computer program for causing the controller to implement the functions of the above steps or elements.
Those of skill would further appreciate that the various illustrative logical blocks, modules, circuits, and algorithm steps described in connection with the disclosure herein may be implemented as electronic hardware, computer software, or combinations of both. To clearly illustrate this interchangeability of hardware and software, various illustrative components, blocks, modules, circuits, and steps have been described above generally in terms of their functionality. Whether such functionality is implemented as software or hardware depends upon the particular application and design constraints imposed on the overall system. Skilled artisans may implement the described functionality in varying ways for each particular application, but such implementation decisions should not be interpreted as causing a departure from the scope of the disclosed embodiments of the present invention.
In one or more exemplary designs, the functions may be implemented in hardware, software, firmware, or any combination thereof. If implemented in software, the functions may be stored on or transmitted over as one or more instructions or code on a computer-readable medium. Computer-readable media includes both computer storage media and communication media including any medium that facilitates transfer of a computer program from one place to another. A storage media may be any available media that can be accessed by a general purpose or special purpose computer. By way of example, and not limitation, such computer-readable media can comprise RAM, ROM, EEPROM, CD-ROM or other optical disk storage, magnetic disk storage or other magnetic storage devices, or any other medium that can be used to carry or store desired program code in the form of instructions or data structures and that can be accessed by a general-purpose or special-purpose computer, or a general-purpose or special-purpose processor. Also, any connection is properly termed a computer-readable medium. For example, if the software is transmitted from a website, server, or other remote source using a coaxial cable, fiber optic cable, twisted pair, Digital Subscriber Line (DSL), or wireless technologies such as infrared, radio, and microwave, then the coaxial cable, fiber optic cable, twisted pair, DSL, or wireless technologies such as infrared, radio, and microwave are included in the definition of medium. Disk and disc, as used herein, includes Compact Disc (CD), laser disc, optical disc, Digital Versatile Disc (DVD), floppy disk, blu-ray disc where disks usually reproduce data magnetically, while discs reproduce data optically with lasers. Combinations of the above should also be included within the scope of computer-readable media.
The foregoing is an exemplary embodiment of the present disclosure, but it should be noted that various changes and modifications could be made herein without departing from the scope of the present disclosure as defined by the appended claims. The functions, steps and/or actions of the method claims in accordance with the disclosed embodiments described herein need not be performed in any particular order. Furthermore, although elements of the disclosed embodiments of the invention may be described or claimed in the singular, the plural is contemplated unless limitation to the singular is explicitly stated.
It should be understood that, as used herein, the singular forms "a", "an" and "the" are intended to include the plural forms as well, unless the context clearly supports the exception. It should also be understood that "and/or" as used herein is meant to include any and all possible combinations of one or more of the associated listed items.
The numbers of the embodiments disclosed in the embodiments of the present invention are merely for description, and do not represent the merits of the embodiments.
It will be understood by those skilled in the art that all or part of the steps for implementing the above embodiments may be implemented by hardware, or may be implemented by a program instructing relevant hardware, and the program may be stored in a computer-readable storage medium, and the above-mentioned storage medium may be a read-only memory, a magnetic disk or an optical disk, etc.
Those of ordinary skill in the art will understand that: the discussion of any embodiment above is meant to be exemplary only, and is not intended to intimate that the scope of the disclosure, including the claims, of embodiments of the invention is limited to these examples; within the idea of an embodiment of the invention, also technical features in the above embodiment or in different embodiments may be combined and there are many other variations of the different aspects of the embodiments of the invention as described above, which are not provided in detail for the sake of brevity. Therefore, any omissions, modifications, substitutions, improvements, and the like that may be made without departing from the spirit and principles of the embodiments of the present invention are intended to be included within the scope of the embodiments of the present invention.

Claims (10)

1. A JBOF management method, comprising at PCIE SWITCH, performing the steps of:
detecting an in-place signal of a hard disk in a JBOF to acquire in-place information of the hard disk;
turning on or turning off a hard disk indicator lamp based on the in-place information;
detecting the state of an in-place hard disk in the JBOF to judge whether the state of the in-place hard disk changes; and
and if the state of the in-place hard disk changes, performing hot plug on the in-place hard disk.
2. The JBOF management method of claim 1, wherein detecting an in-place signal of a hard disk in the JBOF to obtain in-place information of the hard disk comprises: the method comprises the steps that a hard disk management module detects an in-place signal of a hard disk in a JBOF to obtain in-place information of the hard disk, and the in-place information is sent to a hard disk indicator lamp control module;
the step of turning on or off the hard disk indicator lamp based on the in-place information comprises the following steps: the hard disk indicating lamp control module receives the on-site information and lights or extinguishes a green indicating lamp based on the on-site information;
detecting the state of an in-place hard disk in the JBOF to judge whether the state of the in-place hard disk changes comprises the following steps: the hard disk management module detects the state of an in-place hard disk in the JBOF to judge whether the state of the in-place hard disk changes;
if the state of the in-place hard disk changes, hot plugging the in-place hard disk comprises the following steps: and if the state of the in-place hard disk changes, the hard disk management module carries out hot plug on the in-place hard disk.
3. The JBOF management method of claim 1, wherein detecting an in-place signal of a hard disk in the JBOF to obtain in-place information of the hard disk comprises:
detecting a Present signal of a hard disk in JBOF to determine the in-place information of the hard disk;
if the Present signal is at a low level, confirming that the hard disk is in place;
and if the Present signal is in a high level, confirming that the hard disk is not in place.
4. The JBOF management method of claim 1, wherein turning on or off a hard disk indicator based on the presence information comprises:
judging whether the hard disk is in place or not based on the in-place information;
if the hard disk is in place, lighting a green indicator lamp;
and if the hard disk is not in place, turning off the green indicator lamp.
5. The JBOF management method according to claim 1, wherein if the status of the in-place hard disk changes, performing hot plug on the in-place hard disk comprises:
if the state of the in-place hard disk is changed from in-place to off-line, pulling down a Perst signal of the in-place hard disk;
and if the state of the in-place hard disk is changed from off-line to in-place, changing the Perst signal of the in-place hard disk to high level.
6. The JBOF management method of claim 2, further comprising performing the following steps at PCIE SWITCH:
the hard disk indicating lamp control module receives a lighting command of an operating system and controls a blue indicating lamp to be turned on according to the lighting command;
and acquiring whether an error exists in the communication of the hard disk through the operation monitoring instruction, and if the error exists in the communication of the hard disk, controlling the red indicator lamp to be turned on by the hard disk indicator lamp control module.
7. The JBOF management method of claim 1, further comprising the step of, at PCIE SWITCH:
acquiring the temperature of a case by a temperature monitoring module through a TWI (two way interface) plug-in temperature sensor, and sending a fan control instruction to a fan control module based on the case temperature;
receiving the fan control instruction by a fan control module, and outputting signals with different frequencies through PWM PIN based on the fan control instruction so as to control the rotating speed of the fan;
and monitoring the voltage value of a power supply channel in the JBOF by a voltage monitoring module, judging whether the voltage value is abnormal or not, and if so, uploading alarm information to an operating system.
8. A JBOF management apparatus, comprising:
the system comprises a first module, a second module and a third module, wherein the first module is configured to detect an in-place signal of a hard disk in a JBOF (JBOF) to acquire in-place information of the hard disk;
the second module is configured to turn on or off the hard disk indicator lamp based on the in-place information;
the third module is configured to detect the state of an in-place hard disk in the JBOF to judge whether the state of the in-place hard disk changes; and
and the fourth module is configured to perform hot plugging on the in-place hard disk if the state of the in-place hard disk changes.
9. A computer device, comprising:
at least one processor; and
a memory storing computer instructions executable on the processor, the instructions when executed by the processor implementing the steps of the method of any one of claims 1 to 7.
10. A computer-readable storage medium, in which a computer program is stored which, when being executed by a processor, carries out the steps of the method according to any one of claims 1 to 7.
CN202110501942.8A 2021-05-08 2021-05-08 JBOF management method, device, equipment and readable medium Pending CN113282449A (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN202110501942.8A CN113282449A (en) 2021-05-08 2021-05-08 JBOF management method, device, equipment and readable medium

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN202110501942.8A CN113282449A (en) 2021-05-08 2021-05-08 JBOF management method, device, equipment and readable medium

Publications (1)

Publication Number Publication Date
CN113282449A true CN113282449A (en) 2021-08-20

Family

ID=77278267

Family Applications (1)

Application Number Title Priority Date Filing Date
CN202110501942.8A Pending CN113282449A (en) 2021-05-08 2021-05-08 JBOF management method, device, equipment and readable medium

Country Status (1)

Country Link
CN (1) CN113282449A (en)

Cited By (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN114625213A (en) * 2022-01-24 2022-06-14 苏州浪潮智能科技有限公司 Storage equipment adapter card, storage equipment testing system and method

Citations (7)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN104951384A (en) * 2015-06-16 2015-09-30 浪潮电子信息产业股份有限公司 Monitoring system based on NVME SSD, substrate management controller and monitoring method
CN106649048A (en) * 2015-11-03 2017-05-10 广达电脑股份有限公司 Indicator light control system and light-emitting diode control method
CN109933475A (en) * 2019-03-19 2019-06-25 浪潮商用机器有限公司 A kind of hard disk hot-plug processing system, method and device
US20190310956A1 (en) * 2018-03-02 2019-10-10 Samsung Electronics Co., Ltd. Method for supporting erasure code data protection with embedded pcie switch inside fpga+ssd
CN111143106A (en) * 2019-12-31 2020-05-12 苏州浪潮智能科技有限公司 Repair method, device, equipment and medium for dual-port SSD
CN112433973A (en) * 2020-11-12 2021-03-02 苏州浪潮智能科技有限公司 Link negotiation method, device, equipment and storage medium for JBOF (Java virtual machine) of solid state disk cluster
CN112732617A (en) * 2021-01-08 2021-04-30 苏州浪潮智能科技有限公司 Control method, device and equipment for NVME hard disk LED lamp and readable medium

Patent Citations (7)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN104951384A (en) * 2015-06-16 2015-09-30 浪潮电子信息产业股份有限公司 Monitoring system based on NVME SSD, substrate management controller and monitoring method
CN106649048A (en) * 2015-11-03 2017-05-10 广达电脑股份有限公司 Indicator light control system and light-emitting diode control method
US20190310956A1 (en) * 2018-03-02 2019-10-10 Samsung Electronics Co., Ltd. Method for supporting erasure code data protection with embedded pcie switch inside fpga+ssd
CN109933475A (en) * 2019-03-19 2019-06-25 浪潮商用机器有限公司 A kind of hard disk hot-plug processing system, method and device
CN111143106A (en) * 2019-12-31 2020-05-12 苏州浪潮智能科技有限公司 Repair method, device, equipment and medium for dual-port SSD
CN112433973A (en) * 2020-11-12 2021-03-02 苏州浪潮智能科技有限公司 Link negotiation method, device, equipment and storage medium for JBOF (Java virtual machine) of solid state disk cluster
CN112732617A (en) * 2021-01-08 2021-04-30 苏州浪潮智能科技有限公司 Control method, device and equipment for NVME hard disk LED lamp and readable medium

Cited By (2)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN114625213A (en) * 2022-01-24 2022-06-14 苏州浪潮智能科技有限公司 Storage equipment adapter card, storage equipment testing system and method
CN114625213B (en) * 2022-01-24 2023-08-11 苏州浪潮智能科技有限公司 Storage device adapter card, storage device testing system and method

Similar Documents

Publication Publication Date Title
JP4594750B2 (en) Method and system for recovering from failure of a blade service processor flash in a server chassis
CN113204474B (en) Lighting method, device and equipment based on AMD platform and readable medium
TWI575903B (en) Controller coupled to visual indicator
CN104516802A (en) Method and system for indicating statuses of different types of hard disks
JP2019004447A (en) System positioning position of slot in device rack
CN113282449A (en) JBOF management method, device, equipment and readable medium
CN111858431A (en) PCIE (peripheral component interface express) -based extension cabinet hot plug method, device, equipment and medium
US20160098336A1 (en) Methods and systems for dynamic retimer programming
CN112732617A (en) Control method, device and equipment for NVME hard disk LED lamp and readable medium
CN111143106A (en) Repair method, device, equipment and medium for dual-port SSD
CN111090568A (en) Method and equipment for lighting back plate CPLD
CN109446142B (en) Electronic equipment, mainboard and control method
CN108845763A (en) A kind of system and method for managing disk state concentratedly
CN102479140A (en) Computer system and hard disk state display method
CN111475431A (en) Mainboard, backboard, identification system and identification method
CN109800199B (en) Method and device for expanding SATA hard disk based on M.2 connector
US10362375B2 (en) Discovering connection of passive cables
CN111078603B (en) Method and system for controlling access of internal serial port of multi-node equipment
JP2023071968A (en) Storage system, and method for switching operation mode of storage system
CN112860327A (en) CPU port switching method, device, equipment and readable medium
CN219695411U (en) High-speed cable grafting detection device that targets in place
TWI689814B (en) Server hard disk indicator control system and control method
CN117076179A (en) Hard disk indicator lamp control method and device, electronic equipment and storage medium
CN114241984B (en) LED driving device, multi-stage LED driving system and driving method
CN112131084B (en) Method, system, equipment and medium for positioning AI accelerator card inside and outside belt

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