CN110399264B - FRU information management method, device and equipment - Google Patents

FRU information management method, device and equipment Download PDF

Info

Publication number
CN110399264B
CN110399264B CN201910569425.7A CN201910569425A CN110399264B CN 110399264 B CN110399264 B CN 110399264B CN 201910569425 A CN201910569425 A CN 201910569425A CN 110399264 B CN110399264 B CN 110399264B
Authority
CN
China
Prior art keywords
fru information
shared memory
equipment
fru
monitored
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.)
Active
Application number
CN201910569425.7A
Other languages
Chinese (zh)
Other versions
CN110399264A (en
Inventor
巩琦
Current Assignee (The listed assignees may be inaccurate. Google has not performed a legal analysis and makes no representation or warranty as to the accuracy of the list.)
Suzhou Inspur Intelligent Technology Co Ltd
Original Assignee
Suzhou Inspur Intelligent 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 Suzhou Inspur Intelligent Technology Co Ltd filed Critical Suzhou Inspur Intelligent Technology Co Ltd
Priority to CN201910569425.7A priority Critical patent/CN110399264B/en
Publication of CN110399264A publication Critical patent/CN110399264A/en
Application granted granted Critical
Publication of CN110399264B publication Critical patent/CN110399264B/en
Active legal-status Critical Current
Anticipated expiration legal-status Critical

Links

Images

Classifications

    • 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/3065Monitoring arrangements determined by the means or processing involved in reporting the monitored data

Landscapes

  • Engineering & Computer Science (AREA)
  • Theoretical Computer Science (AREA)
  • Quality & Reliability (AREA)
  • Physics & Mathematics (AREA)
  • General Engineering & Computer Science (AREA)
  • General Physics & Mathematics (AREA)
  • Computing Systems (AREA)
  • Debugging And Monitoring (AREA)
  • Computer And Data Communications (AREA)

Abstract

The invention discloses an FRU information management method, a device, equipment and a computer readable storage medium, wherein the method comprises the following steps: acquiring FRU information of each device to be monitored on a server; writing FRU information into a shared memory, and setting flag bits corresponding to each device to be monitored in the shared memory to be in an updated state; the shared memory stores flag bits which correspond to each device on the server respectively and of which the initial states are default states; when the FRU information of any device on the server needs to be read, the device is determined to be a first device, if the flag bit corresponding to the first device is in the updated state, the FRU information of the first device is read from the shared memory, and if the flag bit corresponding to the first device is in the default state, the FRU information of the first device is read from the first device. The application not only accelerates the management operation speed of the FRU information, but also avoids the problem of lower reliability of the FRU information.

Description

FRU information management method, device and equipment
Technical Field
The present invention relates to the field of server technologies, and in particular, to an FRU information management method, apparatus, device, and computer-readable storage medium.
Background
A Baseboard Management Controller (BMC) is a Management Controller specific to a server, and one of the main functions of the BMC is to automatically monitor the operation state of the server, which mainly includes the health status of each hardware device (hereinafter referred to as a device). The BMC monitors the health state of each device, acquires FRU (Field Replaceable Unit) information of each device, is helpful for operation and maintenance personnel to know the running condition of the server in time, and ensures normal running of the server.
The FRU information comprises information of manufacturers, version numbers, models, serial numbers and the like of all equipment; FRU information of general equipment is stored in the equipment, and FRU information of corresponding equipment needs to be acquired according to methods provided by manufacturers, but for the convenience of acquiring FRU information of different equipment, FRU information of each equipment is generally stored in a fru.bin file in the prior art, but the fru.bin file needs to be frequently opened and closed in the reading and writing processes of the FRU information, and the like, which not only can cause the reading and writing speed of the FRU information to be slow, but also easily damages the fru.bin file due to frequent operation, and further causes the FRU information stored therein to be low in reliability.
In summary, the technical solution for implementing FRU information management in the prior art has the problems of low FRU information operation speed and low reliability.
Disclosure of Invention
The invention aims to provide an FRU information management method, an FRU information management device, FRU information management equipment and a computer readable storage medium, which can solve the problems of low operation speed and low reliability of FRU information in the technical scheme for realizing FRU information management in the prior art.
In order to achieve the above purpose, the invention provides the following technical scheme:
an FRU information management method, comprising:
acquiring FRU information of each device to be monitored on a server;
writing the FRU information into a shared memory, and setting flag bits corresponding to the devices to be monitored in the shared memory to be in an updated state; the shared memory stores flag bits which respectively correspond to each device on the server and of which the initial states are default states;
when the FRU information of any device on the server needs to be read, determining that the device is a first device, if the flag bit corresponding to the first device is in the updated state, reading the FRU information of the first device from the shared memory, and if the flag bit corresponding to the first device is in the default state, reading the FRU information of the first device from the first device.
Preferably, the method further comprises the following steps:
when the FRU information of any device to be monitored needs to be modified, determining that the device to be monitored is a second device, writing the modified FRU information of the second device into a shared memory, and setting a flag position corresponding to the second device to be in a modified state;
and when the flag bit corresponding to the second equipment is monitored to be in a modified state, updating FRU information of the second equipment, which is modified in the shared memory, into the second equipment, and setting the flag bit corresponding to the second equipment to be in the updated state.
Preferably, the method further comprises the following steps:
when the flag bit corresponding to the second equipment is monitored to be in a modified state, judging whether the second equipment provides preset service or not; if so, waiting until the preset service is provided, and then executing the step of updating the FRU information of the second equipment which is modified in the shared memory into the second equipment, otherwise, directly executing the step of updating the FRU information of the second equipment which is modified in the shared memory into the second equipment.
Preferably, after determining that any device needing to read FRU information thereof is the first device, the method further includes:
and if the flag bit corresponding to the first equipment is in a modified state, reading FRU information of the first equipment from the shared memory.
Preferably, the method further comprises the following steps:
receiving an equipment supervision instruction input from the outside, acquiring FRU information of equipment corresponding to the equipment supervision instruction, writing the FRU information of the equipment corresponding to the equipment supervision instruction into the shared memory, and setting a flag position of the equipment corresponding to the equipment supervision instruction in the shared memory to be in an updated state.
Preferably, writing the FRU information into the shared memory includes
And assembling the FRU information into a data format meeting the IPMI specification, and writing the assembled FRU information into the shared memory.
Preferably, after reading the FRU information of the first device, the method further includes:
and outputting the read FRU information of the first equipment to a specified terminal.
An FRU information management apparatus, comprising:
an acquisition module to: acquiring FRU information of each device to be monitored on a server;
a write module to: writing the FRU information into a shared memory, and setting flag positions corresponding to the devices to be monitored in the shared memory to be in an updated state; the shared memory stores flag bits which respectively correspond to each device on the server and of which the initial states are default states;
a reading module to: when the FRU information of any device on the server needs to be read, determining that the device is a first device, if the flag bit corresponding to the first device is in the updated state, reading the FRU information of the first device from the shared memory, and if the flag bit corresponding to the first device is in the default state, reading the FRU information of the first device from the first device.
An FRU information management apparatus, comprising:
a memory for storing a computer program;
a processor for implementing the steps of the FRU information management method as described in any one of the above when executing the computer program.
A computer readable storage medium having stored thereon a computer program which, when executed by a processor, implements the steps of the FRU information management method as in any one of the above.
The invention provides an FRU information management method, a device, an apparatus and a computer readable storage medium, wherein the method comprises the following steps: acquiring FRU information of each device to be monitored on a server; writing the FRU information into a shared memory, and setting flag positions corresponding to the devices to be monitored in the shared memory to be in an updated state; the shared memory stores flag bits which respectively correspond to each device on the server and of which the initial states are default states; when the FRU information of any device on the server needs to be read, determining that the device is a first device, if the flag bit corresponding to the first device is in the updated state, reading the FRU information of the first device from the shared memory, and if the flag bit corresponding to the first device is in the default state, reading the FRU information of the first device from the first device. According to the method and the device, the FRU information of the equipment to be monitored on the server is written into the shared memory, and then the management operation of the FRU information is realized based on the shared memory, the frequent closing and opening of a fru.bin file during reading and writing of the FRU information is not required to be realized like the prior art, but the management operation such as reading of the FRU information can be directly realized in the shared memory, so that the management operation speed of the FRU information is accelerated, and the problem of poor reliability of the FRU information caused by damage of the fru.bin file is avoided; in addition, the method and the device can determine whether the needed FRU information exists in the shared memory without polling the FRU information in the shared memory through the setting of the flag bit in the shared memory, so that the needed FRU information can be acquired, and the speed of management operation of the FRU information is further improved.
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, it is obvious that the drawings in the following description are only embodiments of the present invention, and for those skilled in the art, other drawings can be obtained according to the provided drawings without creative efforts.
Fig. 1 is a flowchart of an FRU information management method according to an embodiment of the present invention;
fig. 2 is a schematic structural diagram of an FRU information management apparatus according to an embodiment of the present invention.
Detailed Description
The technical solutions in the embodiments of the present invention will be clearly and completely described below with reference to the drawings in the embodiments of the present invention, and it is obvious that the described embodiments are only a part of the embodiments of the present invention, and not all of the embodiments. All other embodiments, which can be derived by a person skilled in the art from the embodiments given herein without making any creative effort, shall fall within the protection scope of the present invention.
Referring to fig. 1, a flowchart of an FRU information management method according to an embodiment of the present invention is shown, where the method includes:
s11: acquiring FRU information of each device to be monitored on the server.
It should be noted that, the execution subject of the FRU information management method according to the embodiment of the present invention may be a corresponding FRU information management device, and the FRU information management device may be disposed in the BMC, so that the execution subject of the FRU information management method according to the embodiment of the present invention may be the BMC. Since the server has a plurality of devices, but some devices may not need to be monitored, in this embodiment, only the FRU information of each device that needs to be monitored may be subjected to the management operations such as acquisition and storage, so as to avoid resource waste caused by the management operations such as acquisition and storage of redundant information. The acquiring of the FRU information of each device to be monitored on the server may specifically be acquired from the device according to a manner provided by a manufacturer corresponding to each device, and the FRU information may include information set according to actual needs, such as a manufacturer, a model, a version number, and a serial number of the device, and is not specifically limited herein.
S12: writing FRU information into a shared memory, and setting flag bits corresponding to each device to be monitored in the shared memory to be in an updated state; the shared memory stores flag bits which correspond to the devices on the server respectively and have default initial states.
After acquiring the FRU information of the device to be monitored, the FRU information may be written into a shared memory corresponding to the server, and a corresponding flag bit is set in the shared memory in advance for each device on the server, that is, the device currently to be monitored and not to be monitored in the server has a corresponding flag bit in the shared memory, the initial state (initial state) of the flag bit is a default state, and the flag bit of the corresponding device is an updated state after the FRU information is written into the shared memory, so that the flag bit of the device having the FRU information in the shared memory is an updated state, and the flag bit of the device not having the FRU information in the shared memory is a default state, thereby determining whether the FRU information of the device exists in the shared memory only by the flag bit.
S13: when the FRU information of any device on the server needs to be read, the device is determined to be a first device, if the flag bit corresponding to the first device is in the updated state, the FRU information of the first device is read from the shared memory, and if the flag bit corresponding to the first device is in the default state, the FRU information of the first device is read from the first device.
When the FRU information of any device on the server needs to be read, the device needing to be read can be called as a first device, if the flag bit corresponding to the first device is in the updated state, it is indicated that the FRU information of the first device exists in the shared memory, and therefore the FRU information can be directly read from the shared memory, and if the flag bit corresponding to the first device is in the default state, it is indicated that the FRU information of the first device does not exist in the shared memory, and therefore the FRU information of the first device needs to be read from the first device according to a method provided by a manufacturer of the first device. In addition, since it is necessary to read the FRU information of the first device, it is determined that the first device is currently the device to be monitored, and therefore, if the flag bit of the first device is in the default state, after the FRU information of the first device is read from the first device, the read FRU information of the first device may be written into the shared memory, and the flag bit corresponding to the first device is in the updated state, so that monitoring of the first device based on the shared memory is facilitated.
According to the method and the device, the FRU information of the equipment to be monitored on the server is written into the shared memory, and then the management operation of the FRU information is realized based on the shared memory, the frequent closing and opening of a fru.bin file during reading and writing of the FRU information is not required to be realized like the prior art, but the management operation such as reading of the FRU information can be directly realized in the shared memory, so that the management operation speed of the FRU information is accelerated, and the problem of poor reliability of the FRU information caused by damage of the fru.bin file is avoided; in addition, the method and the device can determine whether the needed FRU information exists in the shared memory without polling the FRU information in the shared memory through the setting of the flag bit in the shared memory, so that the needed FRU information is obtained, and the management operation speed of the FRU information is further improved; therefore, the labor cost and the time cost of operation and maintenance personnel are saved by improving the management operation speed of the FRU information.
The method for managing FRU information provided by the embodiment of the present invention may further include:
when the FRU information of any device to be monitored needs to be modified, determining that the device to be monitored is a second device, writing the modified FRU information of the second device into a shared memory, and setting a flag position corresponding to the second device to be in a modified state;
and when the flag bit corresponding to the second equipment is monitored to be in the modified state, updating the FRU information of the modified second equipment in the shared memory to the second equipment, and setting the flag bit corresponding to the second equipment to be in the updated state.
In this embodiment, when the FRU information of any device (second device) to be monitored needs to be modified, the modified FRU information of the second device is first written into the shared memory, specifically, the FRU information of the second device before modification existing in the shared memory is replaced, and the flag position of the second device is set to a modified state; correspondingly, each device to be monitored can be polled at regular time or in real time, when any device to be monitored is polled, for example, when a second device is polled, if the flag bit of the second device is monitored to be in a modified state, the modified RFU information in the shared memory is updated to the second device, so that the FRU information in the second device is modified, and the flag bit corresponding to the second device is set to be in an updated state, so that the FRU information in the second device is not required to be modified based on the shared memory. When the FRU information in the equipment needs to be modified, the modification is updated into the shared memory, and then the modification is updated into the equipment, so that the latest FRU information can be timely obtained when the FRU information needs to be read from the shared memory, and the reading efficiency of the FRU information is ensured; and the change of the zone bit in the modification process indicates whether the FRU information in the equipment needs to be updated, so that whether the FRU information in the corresponding equipment needs to be updated can be determined based on the zone bit only, and the FRU information in the shared memory and the FRU information in the equipment do not need to be compared in sequence, thereby improving the modification speed.
The method for managing FRU information provided by the embodiment of the present invention may further include:
when the flag bit corresponding to the second equipment is monitored to be in a modified state, judging whether the second equipment is providing preset service; if yes, the step of updating the FRU information of the modified second equipment in the shared memory to the second equipment is executed until the preset service is provided, and if not, the step of updating the FRU information of the modified second equipment in the shared memory to the second equipment is directly executed.
The preset service may be any service set according to actual needs, and if the FRU information in the second device is updated in the process of providing the preset service by the second device, the quality of the preset service provided by the second device may be affected.
The method for managing FRU information according to the embodiment of the present invention may further include, after determining that any device that needs to read FRU information is the first device:
and if the flag bit corresponding to the first equipment is in a modified state, reading FRU information of the first equipment from the shared memory.
If the flag bit corresponding to the first device is in the modified state, it indicates that the FRU information that needs to be modified is updated to the shared memory, so if the FRU information of the first device needs to be read at this time, the FRU information can be directly read from the shared memory, that is, when the flag bit is in the modified state and the updated state, the reading of the corresponding FRU information can be realized based on the shared memory, and the reading speed of the FRU information is ensured.
The method for managing FRU information provided by the embodiment of the present invention may further include:
receiving an equipment supervision instruction input from the outside, acquiring FRU information of equipment corresponding to the equipment supervision instruction, writing the FRU information of the equipment corresponding to the equipment supervision instruction into the shared memory, and setting the flag position of the equipment corresponding to the equipment supervision instruction in the shared memory to be in an updated state.
It should be noted that, if the device to be monitored needs to be added, the device monitoring instruction can be used for implementation, and after the device monitoring instruction input from the outside is obtained, the FRU information of the corresponding device can be written into the shared memory and the change of the corresponding flag bit is implemented, so that the device to be monitored can be added in real time, and the work of the staff is facilitated to be expanded.
Certainly, if monitoring of a certain monitored device is not needed any more, the monitoring can be achieved through a device abandoning instruction, and after the device abandoning instruction input from the outside is obtained, the FRU information of the corresponding device can be deleted from the shared memory, so that the device to be monitored can be reduced in real time, occupation of useless information on a shared space is avoided, and work of workers is facilitated.
The FRU information management method provided by the embodiment of the invention writes FRU information into a shared memory and can comprise
And assembling the FRU information into a data format meeting the IPMI specification, and writing the assembled FRU information into the shared memory.
It should be noted that, in order to implement unified management on the FRU information, in this embodiment, the FRU information may be assembled into a data format meeting the IPMI specification according to the IPMI specification, and then written into the shared memory, and of course, other settings may be performed according to actual needs, which are within the protection scope of the present invention.
The method for managing FRU information according to the embodiment of the present invention may further include, after reading FRU information of the first device:
and outputting the read FRU information of the first equipment to a specified terminal.
The read FRU information of the first equipment is output to a preassigned terminal (assigned terminal) corresponding to the staff, so that the staff can conveniently acquire the FRU information in time and the staff can conveniently work and expand; of course, it is also possible to send out a corresponding output prompt tone (which may be set according to actual requirements) while outputting the FRU information, and further prompt the staff to check and receive the corresponding FRU information, which are within the protection scope of the present invention.
An embodiment of the present invention further provides an FRU information management apparatus, as shown in fig. 2, which may include:
an obtaining module 11, configured to: acquiring FRU information of each device to be monitored on a server;
a writing module 12 for: writing FRU information into a shared memory, and setting flag bits corresponding to each device to be monitored in the shared memory to be in an updated state; the shared memory stores flag bits which respectively correspond to each device on the server and have default initial states;
a reading module 13 for: when the FRU information of any device on the server needs to be read, the device is determined to be a first device, if the flag bit corresponding to the first device is in the updated state, the FRU information of the first device is read from the shared memory, and if the flag bit corresponding to the first device is in the default state, the FRU information of the first device is read from the first device.
The FRU information management apparatus provided in the embodiment of the present invention may further include:
a modification module to: when the FRU information of any device to be monitored needs to be modified, determining that the device to be monitored is a second device, writing the modified FRU information of the second device into a shared memory, and setting a flag position corresponding to the second device to be in a modified state;
an update module to: and when the flag bit corresponding to the second equipment is monitored to be in the modified state, updating the FRU information of the modified second equipment in the shared memory to the second equipment, and setting the flag bit corresponding to the second equipment to be in the updated state.
The FRU information management apparatus provided in the embodiment of the present invention may further include:
a determination module configured to: when the flag bit corresponding to the second equipment is monitored to be in a modified state, judging whether the second equipment is providing preset service; if yes, waiting until the preset service is provided, and then instructing the updating module to update the FRU information of the modified second equipment in the shared memory to the second equipment, and if not, directly instructing the updating module to update the FRU information of the modified second equipment in the shared memory to the second equipment.
In the FRU information management device provided in the embodiment of the present invention, the reading module may further include:
a reading unit for: after any device needing to read the FRU information is determined to be a first device, if the corresponding zone bit of the first device is in a modified state, the FRU information of the first device is read from the shared memory.
The FRU information management apparatus provided in the embodiment of the present invention may further include:
an instruction response module to: receiving an equipment supervision instruction input from the outside, acquiring FRU information of equipment corresponding to the equipment supervision instruction, writing the FRU information of the equipment corresponding to the equipment supervision instruction into the shared memory, and setting the flag position of the equipment corresponding to the equipment supervision instruction in the shared memory to be in an updated state.
In an embodiment of the FRU information management apparatus provided in the present invention, the writing module and the modifying module may include:
a write unit to: and assembling the FRU information into a data format meeting the IPMI specification, and writing the assembled FRU information into the shared memory.
The FRU information management apparatus provided in the embodiment of the present invention may further include:
an output module to: and after reading the FRU information of the first equipment, outputting the read FRU information of the first equipment to a specified terminal.
An embodiment of the present invention further provides an FRU information management device, which may include:
a memory for storing a computer program;
a processor for implementing the steps of the FRU information management method as any one of above when executing the computer program.
An embodiment of the present invention further provides a computer-readable storage medium, where a computer program is stored on the computer-readable storage medium, and when the computer program is executed by a processor, the method may implement the steps of the FRU information management method.
It should be noted that for the description of the relevant parts in the FRU information management device, the apparatus and the computer readable storage medium provided in the embodiments of the present invention, reference is made to the detailed description of the corresponding parts in the FRU information management method provided in the embodiments of the present invention, and details are not repeated here. In addition, parts of the technical solutions provided in the embodiments of the present invention that are consistent with the implementation principles of the corresponding technical solutions in the prior art are not described in detail, so as to avoid redundant description.
The previous description of the disclosed embodiments is provided to enable any person skilled in the art to make or use the present invention. Various modifications to these embodiments will be readily apparent to those skilled in the art, and the generic principles defined herein may be applied to other embodiments without departing from the spirit or scope of the invention. Thus, the present invention is not intended to be limited to the embodiments shown herein but is to be accorded the widest scope consistent with the principles and novel features disclosed herein.

Claims (9)

1. An FRU information management method, comprising:
acquiring FRU information of each device to be monitored on a server;
writing the FRU information into a shared memory, and setting flag positions corresponding to the devices to be monitored in the shared memory to be in an updated state; the shared memory stores flag bits which respectively correspond to each device on the server and of which the initial states are default states;
when the FRU information of any device on the server needs to be read, determining that the any device is a first device, if the flag bit corresponding to the first device is in an updated state, reading the FRU information of the first device from the shared memory, and if the flag bit corresponding to the first device is in a default state, reading the FRU information of the first device from the first device;
the method further comprises the following steps:
when the FRU information of any device to be monitored needs to be modified, determining that the device to be monitored is a second device, writing the modified FRU information of the second device into a shared memory, and setting a flag position corresponding to the second device to be in a modified state;
when the flag bit corresponding to the second device is monitored to be in the modified state, updating the FRU information of the second device, which is modified in the shared memory, into the second device, and setting the flag bit corresponding to the second device to be in the updated state.
2. The method of claim 1, further comprising:
when the flag bit corresponding to the second equipment is monitored to be in a modified state, judging whether the second equipment provides preset service or not; if so, waiting until the preset service is provided, and then executing the step of updating the FRU information of the second equipment which is modified in the shared memory into the second equipment, otherwise, directly executing the step of updating the FRU information of the second equipment which is modified in the shared memory into the second equipment.
3. The method of claim 2, wherein after determining that any device whose FRU information needs to be read is the first device, further comprising:
and if the flag bit corresponding to the first equipment is in a modified state, reading FRU information of the first equipment from the shared memory.
4. The method of claim 1, further comprising:
receiving an equipment supervision instruction input from the outside, acquiring FRU information of equipment corresponding to the equipment supervision instruction, writing the FRU information of the equipment corresponding to the equipment supervision instruction into the shared memory, and setting a flag position of the equipment corresponding to the equipment supervision instruction in the shared memory to be in an updated state.
5. The method of claim 4, wherein writing the FRU information to the shared memory comprises
And assembling the FRU information into a data format meeting the IPMI specification, and writing the assembled FRU information into the shared memory.
6. The method of claim 5, wherein reading FRU information of the first device further comprises:
and outputting the read FRU information of the first equipment to a specified terminal.
7. An FRU information management apparatus, comprising:
an acquisition module to: acquiring FRU information of each device to be monitored on a server;
a write module to: writing the FRU information into a shared memory, and setting flag positions corresponding to the devices to be monitored in the shared memory to be in an updated state; the shared memory stores flag bits which respectively correspond to each device on the server and of which the initial states are default states;
a reading module to: when the FRU information of any device on the server needs to be read, determining that the any device is a first device, if the flag bit corresponding to the first device is in an updated state, reading the FRU information of the first device from the shared memory, and if the flag bit corresponding to the first device is in a default state, reading the FRU information of the first device from the first device;
the apparatus is further configured to: when the FRU information of any device to be monitored needs to be modified, determining that the device to be monitored is a second device, writing the modified FRU information of the second device into a shared memory, and setting a flag position corresponding to the second device to be in a modified state; when the flag bit corresponding to the second device is monitored to be in the modified state, updating the FRU information of the second device, which is modified in the shared memory, into the second device, and setting the flag bit corresponding to the second device to be in the updated state.
8. An FRU information management apparatus, comprising:
a memory for storing a computer program;
a processor for implementing the steps of the FRU information management method of any of claims 1-6 when executing the computer program.
9. A computer-readable storage medium, characterized in that the computer-readable storage medium has stored thereon a computer program which, when executed by a processor, implements the steps of the FRU information management method of any of claims 1-6.
CN201910569425.7A 2019-06-27 2019-06-27 FRU information management method, device and equipment Active CN110399264B (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN201910569425.7A CN110399264B (en) 2019-06-27 2019-06-27 FRU information management method, device and equipment

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN201910569425.7A CN110399264B (en) 2019-06-27 2019-06-27 FRU information management method, device and equipment

Publications (2)

Publication Number Publication Date
CN110399264A CN110399264A (en) 2019-11-01
CN110399264B true CN110399264B (en) 2022-06-07

Family

ID=68324210

Family Applications (1)

Application Number Title Priority Date Filing Date
CN201910569425.7A Active CN110399264B (en) 2019-06-27 2019-06-27 FRU information management method, device and equipment

Country Status (1)

Country Link
CN (1) CN110399264B (en)

Families Citing this family (2)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN111177043B (en) * 2019-12-26 2021-07-06 苏州浪潮智能科技有限公司 Method, system, device and medium for accelerating reading of field replaceable unit information
CN113626214B (en) * 2021-07-16 2024-02-09 浪潮电子信息产业股份有限公司 Information transmission method, system, electronic equipment and storage medium

Citations (3)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN107643942A (en) * 2016-07-21 2018-01-30 杭州海康威视数字技术股份有限公司 The storage method and device of a kind of status information
CN108182278A (en) * 2018-01-26 2018-06-19 郑州云海信息技术有限公司 A kind of FRU information maintenance methods and relevant apparatus
CN109683970A (en) * 2018-12-21 2019-04-26 广东浪潮大数据研究有限公司 A kind of amending method of server FRU information, modification system and relevant apparatus

Patent Citations (3)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN107643942A (en) * 2016-07-21 2018-01-30 杭州海康威视数字技术股份有限公司 The storage method and device of a kind of status information
CN108182278A (en) * 2018-01-26 2018-06-19 郑州云海信息技术有限公司 A kind of FRU information maintenance methods and relevant apparatus
CN109683970A (en) * 2018-12-21 2019-04-26 广东浪潮大数据研究有限公司 A kind of amending method of server FRU information, modification system and relevant apparatus

Also Published As

Publication number Publication date
CN110399264A (en) 2019-11-01

Similar Documents

Publication Publication Date Title
EP2472402A1 (en) Remote management systems and methods for mapping operating system and management controller located in a server
US20140122931A1 (en) Performing diagnostic tests in a data center
US8914488B2 (en) Method and system for monitoring a monitoring-target process
CN110399264B (en) FRU information management method, device and equipment
CN112100027A (en) Server maintenance method, device, equipment and machine readable storage medium
JP2017091077A (en) Pseudo-fault generation program, generation method, and generator
CN115269544A (en) Database cluster upgrading method and device, electronic equipment and storage medium
CN117251333A (en) Method, device, equipment and storage medium for acquiring hard disk information
CN107729213B (en) Background task monitoring method and device
CN113672306B (en) Server component self-checking abnormity recovery method, device, system and medium
EP2940540B1 (en) Power system monitoring and control system
JP2007249748A (en) Network equipment with version management function
CN111625264B (en) Method, device, equipment and medium for upgrading multi-level management system
CN111045710B (en) Method, equipment and medium for upgrading SAS-Expander firmware based on IPMI command
CN115599617B (en) Bus detection method and device, server and electronic equipment
US11314670B2 (en) Method, apparatus, and device for transmitting file based on BMC, and medium
US20210337011A1 (en) Method, apparatus, and device for transmitting file based on bmc, and medium
JP2014006772A (en) Failure monitoring type communication apparatus, failure monitoring recording method for communication apparatus, and program therefor
CN115934616A (en) Serial port information storage method and device, server, electronic equipment and storage medium
CN109144788B (en) Method, device and system for reconstructing OSD
CN113805950A (en) Method for managing server by cluster management system
CN112445670B (en) eMMC test method and device
CN107783852B (en) Dump file generation method and terminal
CN116881091B (en) System event log reporting method, device, chip, equipment and storage medium
CN112988247B (en) Log processing method and device, electronic equipment and readable storage medium

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
GR01 Patent grant
GR01 Patent grant