CN113900934B - Multi-mirror hybrid refresh test method, system, terminal and storage medium - Google Patents

Multi-mirror hybrid refresh test method, system, terminal and storage medium Download PDF

Info

Publication number
CN113900934B
CN113900934B CN202111152780.8A CN202111152780A CN113900934B CN 113900934 B CN113900934 B CN 113900934B CN 202111152780 A CN202111152780 A CN 202111152780A CN 113900934 B CN113900934 B CN 113900934B
Authority
CN
China
Prior art keywords
management controller
baseboard management
refreshing
sensor data
mirror image
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
CN202111152780.8A
Other languages
Chinese (zh)
Other versions
CN113900934A (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 CN202111152780.8A priority Critical patent/CN113900934B/en
Publication of CN113900934A publication Critical patent/CN113900934A/en
Application granted granted Critical
Publication of CN113900934B publication Critical patent/CN113900934B/en
Active legal-status Critical Current
Anticipated expiration legal-status Critical

Links

Classifications

    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06FELECTRIC DIGITAL DATA PROCESSING
    • G06F11/00Error detection; Error correction; Monitoring
    • G06F11/36Preventing errors by testing or debugging software
    • G06F11/3668Software testing
    • G06F11/3672Test management
    • G06F11/368Test management for test version control, e.g. updating test cases to a new software version
    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06FELECTRIC DIGITAL DATA PROCESSING
    • G06F11/00Error detection; Error correction; Monitoring
    • G06F11/36Preventing errors by testing or debugging software
    • G06F11/3668Software testing
    • G06F11/3672Test management
    • YGENERAL TAGGING OF NEW TECHNOLOGICAL DEVELOPMENTS; GENERAL TAGGING OF CROSS-SECTIONAL TECHNOLOGIES SPANNING OVER SEVERAL SECTIONS OF THE IPC; TECHNICAL SUBJECTS COVERED BY FORMER USPC CROSS-REFERENCE ART COLLECTIONS [XRACs] AND DIGESTS
    • Y02TECHNOLOGIES OR APPLICATIONS FOR MITIGATION OR ADAPTATION AGAINST CLIMATE CHANGE
    • Y02DCLIMATE CHANGE MITIGATION TECHNOLOGIES IN INFORMATION AND COMMUNICATION TECHNOLOGIES [ICT], I.E. INFORMATION AND COMMUNICATION TECHNOLOGIES AIMING AT THE REDUCTION OF THEIR OWN ENERGY USE
    • Y02D10/00Energy efficient computing, e.g. low power processors, power management or thermal management

Abstract

The invention provides a multi-mirror hybrid refresh test method, a system, a terminal and a storage medium, comprising the following steps: reading and storing an initial sensor data record of the baseboard management controller; refreshing the mirror image of the baseboard management controller and the mirror image of the basic input/output system to an on-line version; refreshing the mirror image of the baseboard management controller and the mirror image of the basic input output system to the latest version respectively; executing log collection operation and product name modification operation, and collecting current sensor data records; if the log collection operation and the product name modification operation are successfully executed, and the current sensor data record is consistent with the initial sensor data record, when the previous test is judged to pass, the test is executed in a circulating way until the set test times are reached. The invention can simultaneously test the stability of the BMC, the BIOS and other images after being uniformly upgraded to the latest version, verify the basic function, has an effective effect on improving the quality of the combined version, reduces the version problem after being on line and accords with the expectations of clients.

Description

Multi-mirror hybrid refresh test method, system, terminal and storage medium
Technical Field
The invention relates to the technical field of server testing, in particular to a multi-mirror hybrid refresh testing method, a system, a terminal and a storage medium.
Background
BMC and BIOS are two important images on the server, in x86 server, BIOS needs to make a channel with various hardware and chips, of course also includes BMC, communication between BIOS and BMC, mainly uses IPMI, although it uses IPMI, but there are two channels, KCS, BT, generally using KCS channel. The BMC is not actively communicating with the BIOS; the BIOS may send an IPMI command to the BMC, and due to firmware upgrade, the BIOS and the BMC may not communicate with each other, which needs to be focused on. Current client online upgrades typically take a combined upgrade mode, i.e., both the BMC and BIOS are upgraded from an online version to a to-be-refreshed version. The existing technical scheme only singly refreshes a certain image type, for example, keeps the BIOS version unchanged, only upgrades the BMC or keeps the BMC version unchanged and only upgrades the BIOS. The situation that a certain image cannot be covered after the image is uniformly updated by single refreshing, and batch refreshing verification is absent. Therefore, attention is required to be paid to the problem of incapacity of communication or probability of incapacity of communication after upgrading, namely the problem of mismatch caused by large image difference before and after upgrading.
Disclosure of Invention
Aiming at the defects in the prior art, the invention provides a multi-mirror hybrid refresh test method, a system, a terminal and a storage medium, which are used for solving the technical problems.
In a first aspect, the present invention provides a multi-mirror hybrid refresh test method, including:
reading and storing an initial sensor data record of the baseboard management controller;
refreshing the mirror image of the baseboard management controller and the mirror image of the basic input/output system to an on-line version;
refreshing the mirror image of the baseboard management controller and the mirror image of the basic input output system to the latest version respectively;
executing log collection operation and product name modification operation, and collecting current sensor data records;
if the log collection operation and the product name modification operation are successfully executed, and the current sensor data record is consistent with the initial sensor data record, when the previous test is judged to pass, the test is executed in a circulating way until the set test times are reached.
Further, refreshing the image of the baseboard management controller and the image of the basic input output system to an on-line version comprises:
upgrading the image of the basic input/output system to an online version and restarting the target server;
the out-of-band upgrade baseboard management controller is mirrored to an on-line version.
Further, refreshing the mirror image of the baseboard management controller and the mirror image of the basic input output system to the latest version respectively includes:
creating an in-band refreshing script of the baseboard management controller, and uploading the in-band refreshing script to an operating system of the target server through a remote copy function;
executing an in-band refreshing script to refresh the mirror image of the baseboard management controller to the latest version;
the out-of-band upgrades the image of the baseboard input output system to the latest version and restarts the target server.
Further, performing a log collection operation, a product name modification operation, and collecting a current sensor data record, including:
a log storage path is configured in a log acquisition script in advance, and the log acquisition script is executed to acquire a test log;
the modified product name triggers the baseboard management controller to access the memory, and the baseboard management controller is restarted;
after the baseboard management controller is restarted, the current sensor data record of the baseboard management controller is acquired.
In a second aspect, the present invention provides a multi-mirror hybrid refresh test system comprising:
an initial storage unit for reading and storing initial sensor data records of the baseboard management controller;
the first refreshing unit is used for refreshing the mirror image of the baseboard management controller and the mirror image of the basic input/output system to an on-line version;
the second refreshing unit is used for refreshing the mirror image of the baseboard management controller and the mirror image of the basic input/output system to the latest version respectively;
the operation execution unit is used for executing log collection operation and product name modification operation and collecting current sensor data records;
and the result output unit is used for executing the test circularly until the set test times are reached if the log collection operation and the product name modification operation are successfully executed and the current sensor data record is consistent with the initial sensor data record and the previous test is judged to pass.
Further, the first refresh unit includes:
the first BMC refreshing module is used for upgrading the mirror image of the basic input/output system to an online version and restarting the target server in an out-of-band manner;
the first BIOS refreshing module is used for upgrading the mirror image of the baseboard management controller to an online version in an out-of-band mode.
Further, the second refresh unit includes:
the script configuration module is used for creating an in-band refreshing script of the substrate management controller and uploading the in-band refreshing script to an operating system of the target server through a remote copy function;
the second BMC refreshing module is used for executing the in-band refreshing script to refresh the mirror image of the baseboard management controller to the latest version;
and the second BIOS refreshing module is used for upgrading the image of the substrate input/output system to the latest version in an out-of-band manner and restarting the target server.
Further, the operation execution unit includes:
the log acquisition module is used for configuring a log storage path in a log acquisition script in advance and executing the log acquisition script to acquire a test log;
the name modification module is used for modifying the product name to trigger the baseboard management controller to access the memory, and restarting the baseboard management controller;
and the data acquisition module is used for acquiring the current sensor data record of the baseboard management controller after the baseboard management controller is restarted.
In a third aspect, a terminal is provided, including:
a processor, a memory, wherein,
the memory is used for storing a computer program,
the processor is configured to call and run the computer program from the memory, so that the terminal performs the method of the terminal as described above.
In a fourth aspect, there is provided a computer storage medium having instructions stored therein which, when run on a computer, cause the computer to perform the method of the above aspects.
The multi-mirror hybrid refresh test method, the system, the terminal and the storage medium have the beneficial effects that the initial sensor data record of the substrate management controller is read and stored; refreshing the mirror image of the baseboard management controller and the mirror image of the basic input/output system to an on-line version; refreshing the mirror image of the baseboard management controller and the mirror image of the basic input output system to the latest version respectively; executing log collection operation and product name modification operation, and collecting current sensor data records; if the log collection operation and the product name modification operation are successfully executed, and the current sensor data record is consistent with the initial sensor data record, when the previous test is judged to pass, the test is executed in a circulating way until the set test times are reached. The invention can simultaneously test the stability of the images such as BMC and BIOS after being uniformly upgraded to the latest version, verify the basic function, repeatedly upgrade and find the low probability problem after the upgrade of the combined version, has an effective effect on improving the quality of the combined version, reduces the problem of the version after being on line, and accords with the expectations of clients.
In addition, the invention has reliable design principle, simple structure and very wide application prospect.
Drawings
In order to more clearly illustrate the embodiments of the present invention or the technical solutions in the prior art, the drawings that are required to be used in the description of the embodiments or the prior art will be briefly described below, and it will be obvious to those skilled in the art that other drawings can be obtained from these drawings without inventive effort.
FIG. 1 is a schematic flow chart of a method of one embodiment of the invention.
FIG. 2 is a schematic block diagram of a system of one embodiment of the present invention.
Fig. 3 is a schematic structural diagram of a terminal according to an embodiment of the present invention.
Detailed Description
In order to make the technical solution of the present invention better understood by those skilled in the art, the technical solution of the present invention will be clearly and completely described below with reference to the accompanying drawings in the embodiments of the present invention, and it is apparent that the described embodiments are only some embodiments of the present invention, not all embodiments. All other embodiments, which can be made by those skilled in the art based on the embodiments of the present invention without making any inventive effort, shall fall within the scope of the present invention.
The following explains key terms appearing in the present invention.
BMC, execution server remote management controller, english name Baseboard Management controller. The method can perform firmware upgrade, check machine equipment and other operations on the machine in a state that the machine is not started. Fully implementing IPMI functionality in a BMC requires a powerful 16-bit or 32-bit microcontroller and RAM for data storage, flash memory for non-volatile data storage, and firmware to provide basic remote manageability in terms of secure remote reboot, secure re-power-up, LAN alerting, and system health monitoring. In addition to the basic IPMI and system operation monitoring functions, the mBMC can also enable BIOS flash element selection and protection by storing the previous BIOS using one of the 2 flash memories. For example, when the system fails to boot after a remote BIOS upgrade, the remote administrator may switch back to the previously-working BIOS image to boot the system. Once BIOS is upgraded, the BIOS image can be locked, so as to effectively prevent virus from invading it.
BIOS is an acronym of English "Basic Input Output System", and the Chinese name is "basic input output System" after being translated. On IBM PC compatible systems, is a industry standard firmware interface. The computer is a set of programs solidified on a ROM chip on a main board in the computer, which stores the most important programs of basic input and output, self-checking programs after starting up and system self-starting programs, and can read and write specific information of system settings from CMOS. Its main function is to provide the lowest, most direct hardware setup and control for the computer. In addition, the BIOS provides some system parameters to the operating system. The system hardware changes are hidden by the BIOS and the program uses the BIOS functions rather than directly controlling the hardware. Modern operating systems ignore the abstraction layer provided by the BIOS and directly control the hardware components.
A CPU central processing unit (central processing unit, abbreviated as CPU) is used as an operation and control core of the computer system, and is a final execution unit for information processing and program running.
FIG. 1 is a schematic flow chart of a method of one embodiment of the invention. Wherein, the execution body of fig. 1 may be a multi-mirror hybrid refresh test system.
As shown in fig. 1, the method includes:
step 110, reading and storing an initial sensor data record of the baseboard management controller;
step 120, refreshing the mirror image of the baseboard management controller and the mirror image of the basic input/output system to an on-line version;
step 130, refreshing the mirror image of the baseboard management controller and the mirror image of the basic input output system to the latest version respectively;
step 140, performing log collection operation and product name modification operation, and collecting current sensor data records;
and 150, if the log collection operation and the product name modification operation are successfully executed, and the current sensor data record is consistent with the initial sensor data record, and when the previous test is judged to pass, the test is circularly executed until the set test times are reached.
In order to facilitate understanding of the present invention, the multi-image hybrid refresh test method provided by the present invention is further described below by using the principle of the multi-image hybrid refresh test method of the present invention, and combining the process of performing the multi-image hybrid refresh test on the BMC and the BIOS in the embodiment.
The embodiment refreshes the BMC and BIOS (or CPLD, etc.) versions to the online version, upgrades the BIOS to the latest version by out-of-band, restarts the OS to enable the BIOS to be effective, upgrades the BMC to the latest version by in-band tools, revises the Product Name after the BMC is revived, namely triggers one BMC memory access, restarts the BMC once, finally checks BMC sensor information, checks sdr definition, and the like, whether loss, and the like, caused by communication problems with the BIOS, and the like, and then updates the mirror image to the current online version again, upgrades to the version to be refreshed, and circulates in this way, thereby verifying the version matching and the firmware in-band and out-of-band refreshing functions. Specifically, the multi-mirror hybrid refresh test method includes:
s1, reading and storing initial sensor data records of the baseboard management controller.
Before mirror refreshing of the baseboard management controller is performed, the initial sensor data record of the baseboard management controller is read by utilizing the script, and the initial sensor data record is saved under a specified path.
S2, refreshing the mirror image of the baseboard management controller and the mirror image of the basic input/output system to an on-line version.
Upgrading the image of the basic input/output system to an online version and restarting the target server; the out-of-band upgrade baseboard management controller is mirrored to an on-line version.
S3, refreshing the mirror image of the baseboard management controller and the mirror image of the basic input output system to the latest version respectively.
Creating an in-band refreshing script of the baseboard management controller, and uploading the in-band refreshing script to an operating system of the target server through a remote copy function; executing an in-band refreshing script to refresh the mirror image of the baseboard management controller to the latest version; the out-of-band upgrades the image of the baseboard input output system to the latest version and restarts the target server.
S4, performing log collection operation and product name modification operation, and collecting current sensor data records.
A log storage path is configured in a log acquisition script in advance, and the log acquisition script is executed to acquire a test log; the modified product name triggers the baseboard management controller to access the memory, and the baseboard management controller is restarted. After the baseboard management controller is restarted, the current sensor data record of the baseboard management controller is acquired again by utilizing the script.
S5, if the log collection operation and the product name modification operation are successfully executed, the current sensor data record is consistent with the initial sensor data record, and when the previous test is judged to pass, the test is executed circularly until the set test times are reached.
If the log collection in the step S4 is successful, the product name is successfully modified, and the current sensor data record is consistent with the initial sensor data record, and the current test is judged to pass, and the test is executed in a circulating way until the set test times are reached. And if the current sensor data record is inconsistent with the initial sensor data record, judging that the BMC and the BIOS are abnormal in communication, and causing data loss.
The specific implementation flow of this embodiment is as follows:
1. creating in-band BMC refresh scripts
2. And uploading the in-band refreshing script to the OS to be tested in an SCP mode.
3. Out-of-band upgrading of BIOS to online version and restarting OS validation
4. The BMC is upgraded out-of-band to an online version.
5. The BMC is upgraded in-band to the latest version.
6. The BMC updates the BIOS to the latest version out-of-band after the BMC is revived.
7. A one-touch collection log is performed.
8. The Product Name is set.
9. The BMC is restarted and the sdr information is checked.
10. Repeating the steps 1-9, and outputting a test result.
As shown in fig. 2, the system 200 includes:
an initial saving unit 210 for reading and saving an initial sensor data record of the baseboard management controller;
a first refreshing unit 220, configured to refresh both the image of the baseboard management controller and the image of the basic input output system to an on-line version;
a second refreshing unit 230, configured to refresh the mirror image of the baseboard management controller and the mirror image of the bios to the latest version;
an operation execution unit 240 for executing a log collection operation, a product name modification operation, and collecting a current sensor data record;
and a result output unit 250, configured to, if the log collection operation and the product name modification operation are both successfully performed, and the current sensor data record is consistent with the initial sensor data record, and when it is determined that the previous test passes, perform the test in a loop until the set number of tests is reached.
Optionally, as an embodiment of the present invention, the first refresh unit includes:
the first BMC refreshing module is used for upgrading the mirror image of the basic input/output system to an online version and restarting the target server in an out-of-band manner;
the first BIOS refreshing module is used for upgrading the mirror image of the baseboard management controller to an online version in an out-of-band mode.
Optionally, as an embodiment of the present invention, the second refresh unit includes:
the script configuration module is used for creating an in-band refreshing script of the substrate management controller and uploading the in-band refreshing script to an operating system of the target server through a remote copy function;
the second BMC refreshing module is used for executing the in-band refreshing script to refresh the mirror image of the baseboard management controller to the latest version;
and the second BIOS refreshing module is used for upgrading the image of the substrate input/output system to the latest version in an out-of-band manner and restarting the target server.
Optionally, as an embodiment of the present invention, the operation performing unit includes:
the log acquisition module is used for configuring a log storage path in a log acquisition script in advance and executing the log acquisition script to acquire a test log;
the name modification module is used for modifying the product name to trigger the baseboard management controller to access the memory, and restarting the baseboard management controller;
and the data acquisition module is used for acquiring the current sensor data record of the baseboard management controller after the baseboard management controller is restarted.
Fig. 3 is a schematic structural diagram of a terminal 300 according to an embodiment of the present invention, where the terminal 300 may be used to execute the multi-mirror hybrid refresh test method according to the embodiment of the present invention.
The terminal 300 may include: a processor 310, a memory 320 and a communication unit 330. The components may communicate via one or more buses, and it will be appreciated by those skilled in the art that the configuration of the server as shown in the drawings is not limiting of the invention, as it may be a bus-like structure, a star-like structure, or include more or fewer components than shown, or may be a combination of certain components or a different arrangement of components.
The memory 320 may be used to store instructions for execution by the processor 310, and the memory 320 may be implemented by any type of volatile or non-volatile memory terminal or combination thereof, such as Static Random Access Memory (SRAM), electrically erasable programmable read-only memory (EEPROM), erasable programmable read-only memory (EPROM), programmable read-only memory (PROM), read-only memory (ROM), magnetic memory, flash memory, magnetic disk, or optical disk. The execution of the instructions in memory 320, when executed by processor 310, enables terminal 300 to perform some or all of the steps in the method embodiments described below.
The processor 310 is a control center of the storage terminal, connects various parts of the entire electronic terminal using various interfaces and lines, and performs various functions of the electronic terminal and/or processes data by running or executing software programs and/or modules stored in the memory 320, and invoking data stored in the memory. The processor may be comprised of an integrated circuit (Integrated Circuit, simply referred to as an IC), for example, a single packaged IC, or may be comprised of a plurality of packaged ICs connected to the same function or different functions. For example, the processor 310 may include only a central processing unit (Central Processing Unit, simply CPU). In the embodiment of the invention, the CPU can be a single operation core or can comprise multiple operation cores.
And a communication unit 330 for establishing a communication channel so that the storage terminal can communicate with other terminals. Receiving user data sent by other terminals or sending the user data to other terminals.
The present invention also provides a computer storage medium in which a program may be stored, which program may include some or all of the steps in the embodiments provided by the present invention when executed. The storage medium may be a magnetic disk, an optical disk, a read-only memory (ROM), a random-access memory (random access memory, RAM), or the like.
Thus, the present invention provides for the reading and saving of an initial sensor data record of a baseboard management controller; refreshing the mirror image of the baseboard management controller and the mirror image of the basic input/output system to an on-line version; refreshing the mirror image of the baseboard management controller and the mirror image of the basic input output system to the latest version respectively; executing log collection operation and product name modification operation, and collecting current sensor data records; if the log collection operation and the product name modification operation are successfully executed, and the current sensor data record is consistent with the initial sensor data record, when the previous test is judged to pass, the test is executed in a circulating way until the set test times are reached. The invention can simultaneously test the stability of the images such as BMC and BIOS after being uniformly upgraded to the latest version, verify the basic function, repeatedly upgrade and find the low probability problem after the upgrade of the combined version, has an effective effect on improving the quality of the combined version, reduces the problem of the version after being on line, accords with the expectations of clients, and the technical effect achieved by the embodiment can be seen from the description above and is not repeated here.
It will be apparent to those skilled in the art that the techniques of embodiments of the present invention may be implemented in software plus a necessary general purpose hardware platform. Based on such understanding, the technical solution in the embodiments of the present invention may be embodied essentially or in a part contributing to the prior art in the form of a software product stored in a storage medium such as a U-disc, a mobile hard disc, a Read-Only Memory (ROM), a random access Memory (RAM, random Access Memory), a magnetic disk or an optical disk, etc. various media capable of storing program codes, including several instructions for causing a computer terminal (which may be a personal computer, a server, or a second terminal, a network terminal, etc.) to execute all or part of the steps of the method described in the embodiments of the present invention.
The same or similar parts between the various embodiments in this specification are referred to each other. In particular, for the terminal embodiment, since it is substantially similar to the method embodiment, the description is relatively simple, and reference should be made to the description in the method embodiment for relevant points.
In the several embodiments provided by the present invention, it should be understood that the disclosed systems and methods may be implemented in other ways. For example, the system embodiments described above are merely illustrative, e.g., the division of the elements is merely a logical functional division, and there may be additional divisions when actually implemented, e.g., multiple elements or components may be combined or integrated into another system, or some features may be omitted or not performed. Alternatively, the coupling or direct coupling or communication connection shown or discussed with each other may be through some interface, system or unit indirect coupling or communication connection, which may be in electrical, mechanical or other form.
The units described as separate units may or may not be physically separate, and units shown as units may or may not be physical units, may be located in one place, or may be distributed on a plurality of network units. Some or all of the units may be selected according to actual needs to achieve the purpose of the solution of this embodiment.
In addition, each functional unit in the embodiments of the present invention may be integrated in one processing unit, or each unit may exist alone physically, or two or more units may be integrated in one unit.
Although the present invention has been described in detail by way of preferred embodiments with reference to the accompanying drawings, the present invention is not limited thereto. Various equivalent modifications and substitutions may be made in the embodiments of the present invention by those skilled in the art without departing from the spirit and scope of the present invention, and it is intended that all such modifications and substitutions be within the scope of the present invention/be within the scope of the present invention as defined by the appended claims. Therefore, the protection scope of the present invention shall be subject to the protection scope of the claims.

Claims (10)

1. The multi-mirror hybrid refresh test method is characterized by comprising the following steps:
reading and storing an initial sensor data record of the baseboard management controller;
refreshing the mirror image of the baseboard management controller and the mirror image of the basic input/output system to an on-line version;
refreshing the mirror image of the baseboard management controller and the mirror image of the basic input output system to the latest version respectively;
executing log collection operation and product name modification operation, and collecting current sensor data records;
if the log collection operation and the product name modification operation are successfully executed, and the current sensor data record is consistent with the initial sensor data record, when the previous test is judged to pass, the test is executed in a circulating way until the set test times are reached.
2. The method of claim 1, wherein refreshing both the image of the baseboard management controller and the image of the basic input output system to an online version comprises:
upgrading the image of the basic input/output system to an online version and restarting the target server;
the out-of-band upgrade baseboard management controller is mirrored to an on-line version.
3. The method of claim 1, wherein refreshing the image of the baseboard management controller and the image of the basic input output system to the latest version, respectively, comprises:
creating an in-band refreshing script of a baseboard management controller, and uploading the in-band refreshing script to an operating system of a target server through a remote copy function;
executing the in-band refreshing script to refresh the mirror image of the baseboard management controller to the latest version;
the out-of-band upgrades the image of the baseboard input output system to the latest version and restarts the target server.
4. The method of claim 1, wherein performing a log collection operation, a product name modification operation, and collecting a current sensor data record comprises:
a log storage path is configured in a log acquisition script in advance, and the log acquisition script is executed to acquire a test log;
the modified product name triggers the baseboard management controller to access the memory, and the baseboard management controller is restarted;
after the baseboard management controller is restarted, the current sensor data record of the baseboard management controller is acquired.
5. A multiple mirror hybrid refresh test system, comprising:
an initial storage unit for reading and storing initial sensor data records of the baseboard management controller;
the first refreshing unit is used for refreshing the mirror image of the baseboard management controller and the mirror image of the basic input/output system to an on-line version;
the second refreshing unit is used for refreshing the mirror image of the baseboard management controller and the mirror image of the basic input/output system to the latest version respectively;
the operation execution unit is used for executing log collection operation and product name modification operation and collecting current sensor data records;
and the result output unit is used for executing the test circularly until the set test times are reached if the log collection operation and the product name modification operation are successfully executed and the current sensor data record is consistent with the initial sensor data record and the previous test is judged to pass.
6. The system of claim 5, wherein the first refresh unit comprises:
the first BIOS refreshing module is used for upgrading the mirror image of the basic input/output system to an online version and restarting the target server in an out-of-band manner;
and the first BMC refreshing module is used for upgrading the mirror image of the baseboard management controller to an online version in an out-of-band manner.
7. The system of claim 5, wherein the second refresh unit comprises:
the script configuration module is used for creating an in-band refreshing script of the baseboard management controller and uploading the in-band refreshing script to an operating system of the target server through a remote copy function;
the second BMC refreshing module is used for executing the in-band refreshing script to refresh the mirror image of the baseboard management controller to the latest version;
and the second BIOS refreshing module is used for upgrading the image of the substrate input/output system to the latest version in an out-of-band manner and restarting the target server.
8. The system of claim 5, wherein the operation execution unit comprises:
the log acquisition module is used for configuring a log storage path in a log acquisition script in advance and executing the log acquisition script to acquire a test log;
the name modification module is used for modifying the product name to trigger the baseboard management controller to access the memory, and restarting the baseboard management controller;
and the data acquisition module is used for acquiring the current sensor data record of the baseboard management controller after the baseboard management controller is restarted.
9. A terminal, comprising:
a processor;
a memory for storing execution instructions of the processor;
wherein the processor is configured to perform the method of any of claims 1-4.
10. A computer readable storage medium storing a computer program, which when executed by a processor implements the method of any one of claims 1-4.
CN202111152780.8A 2021-09-29 2021-09-29 Multi-mirror hybrid refresh test method, system, terminal and storage medium Active CN113900934B (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN202111152780.8A CN113900934B (en) 2021-09-29 2021-09-29 Multi-mirror hybrid refresh test method, system, terminal and storage medium

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN202111152780.8A CN113900934B (en) 2021-09-29 2021-09-29 Multi-mirror hybrid refresh test method, system, terminal and storage medium

Publications (2)

Publication Number Publication Date
CN113900934A CN113900934A (en) 2022-01-07
CN113900934B true CN113900934B (en) 2024-01-12

Family

ID=79189355

Family Applications (1)

Application Number Title Priority Date Filing Date
CN202111152780.8A Active CN113900934B (en) 2021-09-29 2021-09-29 Multi-mirror hybrid refresh test method, system, terminal and storage medium

Country Status (1)

Country Link
CN (1) CN113900934B (en)

Citations (3)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN101739266A (en) * 2008-11-27 2010-06-16 英业达股份有限公司 Firmware updating method
CN101930372A (en) * 2009-06-24 2010-12-29 英业达股份有限公司 System and method for updating programs
CN107766072A (en) * 2017-11-28 2018-03-06 郑州云海信息技术有限公司 Video card refreshes BIOS method under a kind of linux system

Family Cites Families (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
EP3688581A4 (en) * 2017-09-27 2021-05-12 INTEL Corporation Firmware component with self-descriptive dependency information

Patent Citations (3)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN101739266A (en) * 2008-11-27 2010-06-16 英业达股份有限公司 Firmware updating method
CN101930372A (en) * 2009-06-24 2010-12-29 英业达股份有限公司 System and method for updating programs
CN107766072A (en) * 2017-11-28 2018-03-06 郑州云海信息技术有限公司 Video card refreshes BIOS method under a kind of linux system

Also Published As

Publication number Publication date
CN113900934A (en) 2022-01-07

Similar Documents

Publication Publication Date Title
CN110162435B (en) Method, system, terminal and storage medium for starting and testing PXE of server
US20200250313A1 (en) Bios recovery and update
CN114116280B (en) Interactive BMC self-recovery method, system, terminal and storage medium
CN113434202A (en) Starting method and device of equipment, electronic equipment and computer storage medium
CN114003445B (en) BMC I2C monitoring function test method, system, terminal and storage medium
CN113900934B (en) Multi-mirror hybrid refresh test method, system, terminal and storage medium
CN116662050A (en) Error injection support function verification method, device, terminal and medium
CN116302738A (en) Method, system, equipment and storage medium for testing chip
CN114385379B (en) Method, system, terminal and storage medium for detecting on-board information refreshing
CN112527327A (en) Method, system, terminal and storage medium for factory restoration of UOS operating system
CN111858198A (en) Multi-scheme memory plugging test method, system, terminal and storage medium
CN116932010B (en) System firmware upgrading method, device and server
CN110543459A (en) Method, system, terminal and storage medium for acquiring file lock state under NFS
CN111488250A (en) High-density multi-node server testing method, system, terminal and storage medium
CN117234544B (en) Method and device for recovering system of server equipment
CN110908725A (en) Application program starting method and device, electronic equipment and readable medium
CN111857845B (en) Integrity verification method, device and system for TF card software
CN114115977B (en) BMC mirror image construction method, system, terminal and storage medium
CN117574352B (en) Software and hardware combined anti-counterfeiting method, system, equipment and storage medium
CN115291957B (en) Initialization method and device of multiprocessor mainboard
CN114143187B (en) Intelligent platform interface network address management method, system, terminal and storage medium
CN117130672A (en) Server start flow control method, system, terminal and storage medium
CN117075975A (en) Synchronous configuration method, system, terminal and storage medium of filling system
CN117348905A (en) BMC firmware updating method, system, terminal and storage medium
CN111966552A (en) Test method, system, terminal and storage medium for starting PXE system

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