CN117116333B - Method and device for testing VPD information of enterprise-level solid state disk - Google Patents

Method and device for testing VPD information of enterprise-level solid state disk Download PDF

Info

Publication number
CN117116333B
CN117116333B CN202311373208.3A CN202311373208A CN117116333B CN 117116333 B CN117116333 B CN 117116333B CN 202311373208 A CN202311373208 A CN 202311373208A CN 117116333 B CN117116333 B CN 117116333B
Authority
CN
China
Prior art keywords
solid state
state disk
vpd
vpd information
test
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
CN202311373208.3A
Other languages
Chinese (zh)
Other versions
CN117116333A (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.)
Jiangsu Huacun Electronic Technology Co Ltd
Original Assignee
Jiangsu Huacun Electronic 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 Jiangsu Huacun Electronic Technology Co Ltd filed Critical Jiangsu Huacun Electronic Technology Co Ltd
Priority to CN202311373208.3A priority Critical patent/CN117116333B/en
Publication of CN117116333A publication Critical patent/CN117116333A/en
Application granted granted Critical
Publication of CN117116333B publication Critical patent/CN117116333B/en
Active legal-status Critical Current
Anticipated expiration legal-status Critical

Links

Classifications

    • GPHYSICS
    • G11INFORMATION STORAGE
    • G11CSTATIC STORES
    • G11C29/00Checking stores for correct operation ; Subsequent repair; Testing stores during standby or offline operation
    • G11C29/56External testing equipment for static stores, e.g. automatic test equipment [ATE]; Interfaces therefor
    • 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/3688Test management for test execution, e.g. scheduling of test suites
    • 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/3692Test management for test results analysis
    • 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

Landscapes

  • Engineering & Computer Science (AREA)
  • Theoretical Computer Science (AREA)
  • Computer Hardware Design (AREA)
  • Quality & Reliability (AREA)
  • Physics & Mathematics (AREA)
  • General Engineering & Computer Science (AREA)
  • General Physics & Mathematics (AREA)
  • Debugging And Monitoring (AREA)

Abstract

The invention provides a method and a device for testing VPD information of an enterprise-level solid state disk, which verify whether the current webpage BMC can obtain complete VPD information by performing manual testing, and then acquire the VPD information by adopting a corresponding tool in the script automatic testing process for comparison testing so as to ensure the integrity and the accuracy of the testing, and are characterized in that: the method comprises the following steps: step 1, performing manual tests, wherein the manual tests comprise a webpage BMC platform solid state disk VPD test and a command line BMC platform solid state disk VPD test; step 2, respectively obtaining the VPD information output by the two tests in the step 1, and comparing whether the two VPD information are identical; step 3, automatically testing by utilizing the script; if the two VPD information in the step 2 are the same, a redfishtool is adopted to acquire the VPD information in the step 3; if the two VPD information are not identical in step 2, then an i2c-test tool is used to obtain the VPD information in step 3.

Description

Method and device for testing VPD information of enterprise-level solid state disk
Technical Field
The invention relates to the technical field related to enterprise-level solid state disk testing, in particular to a method and a device for testing VPD information of an enterprise-level solid state disk.
Background
As modern business and enterprise activities increasingly rely on large-scale data processing, high-speed transactions, and real-time analysis, the demands for storage speed and performance are increasing. While conventional mechanical hard disks cannot meet such high-speed, high-capacity data access requirements, the continuous development and improvement of solid state disk technology makes them a viable alternative to conventional mechanical hard disks. Compared with a mechanical hard disk, the solid state hard disk has higher read-write speed, shorter access delay and better random access performance, and can provide faster data transmission and processing speed.
In the enterprise-level solid state disk, a VPD (Vital Product Data, important product data) page is a data structure storing key device information. The VPD page contains important data related to hardware, firmware and other specific equipment information, and users and operation and maintenance personnel can acquire the VPD information in an OOB (Out of Band) mode under the condition that the voltage environment is 12V and 3.3V, so that the enterprise-level solid state disk is identified, managed and monitored.
The current VPD information testing method mostly uses a server BMC (Baseboard Manager Controller, baseboard control manager) web page end to test the accuracy of the VPD information in a 12V voltage environment, and the testing method has the following disadvantages: 1, testing the VPD information of the solid state disk in a voltage environment which is not comprehensive enough and lacks 3.3V; 2, the compatibility is poor, and the VPD content acquired by part of the server BMC is incomplete.
In view of the above-mentioned drawbacks, there is a need to design a method and a device for testing VPD information of an enterprise-level solid state disk to meet the requirements of integrity, accuracy and reliability.
Disclosure of Invention
In order to solve the problems mentioned in the foregoing, the invention provides a method and a device for testing VPD information of an enterprise-level solid state disk, which verify whether a current webpage BMC can obtain complete VPD information by performing manual testing, and acquire the VPD information by adopting a corresponding tool in the script automatic testing process to perform comparison testing so as to ensure the integrity and the accuracy of the testing.
The technical scheme is as follows:
a method for testing VPD information of an enterprise-level solid state disk is characterized by comprising the following steps of: the method comprises the following steps:
step 1, performing manual tests, wherein the manual tests comprise a webpage BMC platform solid state disk VPD test and a command line BMC platform solid state disk VPD test;
step 2, respectively obtaining the VPD information output by the two tests in the step 1, and comparing whether the two VPD information are identical;
step 3, automatically testing by utilizing the script; if the two VPD information in the step 2 are the same, a redfishtool is adopted to acquire the VPD information in the step 3; if the two VPD information are not identical in step 2, then an i2c-test tool is used to obtain the VPD information in step 3.
Further, in the step 3, the script includes: the device comprises an interaction module, a test environment detection module, a startup and shutdown module, a VPD information reading module and a comparison information module.
Further, the step 3 specifically includes:
step 3-1, calling an interaction module by a script, and setting test parameters;
step 3-2, calling a test environment detection module by the script, detecting and recording test environment information;
step 3-3, calling a VPD information reading module by a script, acquiring VPD information of the tested solid state disk under the 12V voltage environment, and storing the VPD information in a first log file;
step 3-4, the script calls a startup and shutdown module to command the server to shut down, so that the tested solid state disk is in a 3.3V voltage environment;
step 3-5, calling a VPD information reading module by a script, acquiring VPD information of the tested solid state disk under the 3.3V voltage environment, and storing the VPD information in a second log file;
step 3-6, the script calls a startup and shutdown module to command the server to start up, so that the tested solid state disk is in a 12V voltage environment;
step 3-7, calling a VPD information reading module by a script, acquiring VPD information of the tested solid state disk under the 12V voltage environment, and storing the VPD information in a third log file;
step 3-8, comparing the first log file with the third log file, if the first log file and the third log file are the same, clearing the content of the third log file, and writing the passing result into a first test result file; if the two files are different, the third log file is named as an error log file, and the failed result is written into the first test result file;
step 3-9, the script calls a startup and shutdown module to command the server to shut down, so that the tested solid state disk is in a 3.3V voltage environment;
step 3-10, calling a VPD information reading module by a script, acquiring VPD information of the tested solid state disk under the 3.3V voltage environment, and storing the VPD information in a fourth log file;
step 3-11, comparing the second log file with the fourth log file, if the second log file and the fourth log file are the same, clearing the content of the fourth log file, and writing the passing result into the first test result file; if the two files are different, the fourth log file is named as an error log file, and the failed result is written into the first test result file;
step 3-12, cycling the steps 3-6 to 3-11 for N (N is a natural number, and N is more than or equal to 100) times;
step 3-13, comparing the first log file with the second log file, and writing the comparison result into the second test result file;
step 3-14, exiting the script;
step 3-15, checking the first test result file and the second test result file by a tester, and if the test result in the first test result file is all passed and the result in the second test result file is consistent with the specification of the tested solid state disk, testing the VPD information of the tested solid state disk to be qualified; otherwise, the VPD information test of the tested solid state disk is unqualified.
Further, in the step 3-1, the test parameters to be set include: and (3) cycling the number of times N of the test and judging whether the VPD information output by the two tests in the step (1) is the same.
Further, the webpage BMC platform solid state disk VPD test specifically comprises the following steps:
step 1-1-1: opening a PC end browser;
step 1-1-2: accessing the IP address of the BMC;
step 1-1-3: logging in a webpage version BMC through a BMC account and a password;
step 1-1-4: inquiring VPD information of the tested solid state disk in asset information items of the webpage BMC;
step 1-1-5: comparing whether the VPD information detected in the step 1-1-4 is consistent with the VPD information stated in the specification of the tested solid state disk, if so, the test item of the tested solid state disk is qualified; if the test items are inconsistent, the test item of the tested solid state disk is not qualified.
Further, the command line version BMC platform solid state disk VPD test specifically comprises:
step 1-2-1: opening a PC terminal window;
step 1-2-2: logging in the command line version BMC platform through the BMC account and the password by using the ssh tool;
step 1-2-3: using an i2c-test tool to inquire VPD information of the tested solid state disk, wherein the VPD information is 16-system;
step 1-2-4: converting the acquired 16-system VPD information through a xxd tool;
step 1-2-5: comparing whether the converted content is consistent with VPD information stated in the specification of the tested solid state disk and whether the converted content contains the VPD information or not, if so, the test item of the tested solid state disk is qualified; if the test items are inconsistent or not contained, the tested solid state disk is not qualified.
Furthermore, based on the above testing method, the invention also provides a testing device for the VPD information of the enterprise-level solid state disk, which is characterized in that: the test device includes a server and a PC, the server including: CPU module, BMC module, backplate module.
Further, the BMC module is connected with the CPU module and is used for sending a startup and shutdown instruction to the CPU module by using a reconfishtool;
the BMC module is connected with the backboard module and is used for managing and monitoring the solid state disk inserted on the backboard by using a redfishtool.
Further, the BMC module is connected with the PC through the mgmt interface of the server.
Further, the PC is configured to remotely operate the BMC module.
The beneficial effects of the invention are as follows:
1. according to the invention, whether the current webpage BMC can obtain complete VPD information is verified by performing manual test, and then the corresponding tool is adopted to obtain the VPD information for comparison test in the script automatic test process, so that the integrity and the accuracy of the test are ensured; because the VPD information queried by the redfishtool is identical to the information queried by the webpage BMC platform, the tool is convenient for visually checking the result, so that the tool is preferably used, but the condition that the acquired VPD information is incomplete may exist, the information queried by the i2c-test tool is the real all VPD information of the hard disk, but the information acquired by the tool needs to be converted for the second time to influence the testing efficiency, and therefore, the i2c-test tool is adopted when the current webpage BMC cannot acquire the complete VPD information; therefore, the test method of the invention can ensure the test integrity and accuracy, and the test efficiency can be optimized.
2. The invention comprises manual test and automatic test, which covers the test demands in different aspects and improves the comprehensiveness of the test; the manual test can be performed through the BMC graphical management platform, so that the manual test is convenient and rapid, and the convenience of the test is improved; the manual test can also obtain all VPD original data of the hard disk through the BMC command line platform, so that the accuracy of the test is improved; the automatic test can be performed for a plurality of times in the on-off state of the server through the script, so that the reliability and the efficiency of the test are improved.
3. The testing device provided by the invention consists of the server and the PC, does not need other special equipment, saves a great amount of equipment cost, and reduces the testing operation difficulty.
Drawings
FIG. 1 is a schematic diagram of a testing apparatus.
Fig. 2 is a schematic diagram of a command line version BMC platform test flow.
Fig. 3 is a schematic diagram of a web BMC platform test flow.
FIG. 4 is a schematic diagram of a script automatic test flow.
Detailed Description
The invention is further described below with reference to examples.
The following examples are illustrative of the present invention but are not intended to limit the scope of the invention. The conditions in the examples can be further adjusted according to specific conditions, and simple modifications of the method of the invention under the premise of the conception of the invention are all within the scope of the invention as claimed.
Example 1:
as shown in fig. 1, an example of a testing apparatus for VPD information of an enterprise-level solid state disk provided by the present invention includes two devices, namely a server and a PC, where the server includes a CPU (central processing unit) module, a BMC (baseboard control manager) module, and a back board module.
In the example, the server is Ningchang R620G 40, and the tested solid state disk is Intel P5510.
The BMC module is connected with the CPU module, and can use a management tool (e.g. a reconfishtool) to send a startup and shutdown instruction to the CPU module through the BMC module; the BMC module is connected with the backboard module, and can be used for managing and monitoring the solid state disk inserted on the backboard through the BMC module by using a management tool (e.g. redfishtool); the BMC module is connected with the PC end through the server mgmt interface, so that the BMC module is operated remotely by the PC.
Example 2:
the invention provides an example of a method for testing VPD information of an enterprise-level solid state disk, which comprises the following steps.
Step S1: and (3) performing BMC network setting on the server, wherein the BMC network setting comprises steps S101-S105.
Step S101: and starting the server through a server starting key.
Step S102: the server enters the BIOS interface by pressing the Del key in the starting process.
Step S103: and BMC network setting is carried out on the BIOS interface of the server, and the IP address is set.
Step S104: and setting the BMC account password at the BIOS interface of the server.
Step S105: the BIOS interface is saved and restarted, and the server normally logs in the system.
The manual test comprises a webpage version BMC platform solid state disk VPD test and a command line version BMC platform solid state disk VPD test.
As shown in FIG. 2, a VPD test flow of the webpage BMC platform solid state disk is provided, which comprises steps S2-S6.
Step S2: and opening a browser at a PC (the PC system is a Linux system) end.
Step S3: the IP address set in step S103 is accessed.
Step S4: and logging in the webpage BMC through the account and the password set in the step S104.
Step S5: and inquiring the information of the tested solid state disk vpd in the asset information item of the webpage BMC.
Step S6: comparing whether the VPD information detected in the step S5 is consistent with VPD information stated in the specification of the tested solid state disk, and if so, judging that the tested disk is qualified in the test item; if not, the tested disc is failed in the test item.
As shown in FIG. 3, a flow for testing the VPD of the solid state disk of the command line version BMC platform is provided, and the flow comprises steps S7-S11.
Step S7: opening a terminal window of a PC (PC system is a Linux system) end.
Step S8: the ssh tool is used for logging in the command line version BMC platform through the IP address set in the step S103 and the account and the password set in the step S104.
Step S9: the i2c-test tool is used to query the measured disk vpd information, which is in a 16-ary counting mode.
Step S10: the 16-ary vpd information obtained in step S9 is converted by xxd tool: part of the information is successfully converted into ASCII format (format normally used in daily life); the partial information is changed into a messy code, and 16-system vpd information of the messy code is extracted.
Step S11; the content tested in the step S10 is consistent with vpd information stated in the specification of the tested disc, whether the former content contains the latter or not, and if so, the tested disc is qualified in the test item; if the test items are inconsistent or not contained, the tested disc is disqualified.
Step S12: comparing the test content in the step S10 with the test content in the step S5, and if the test content is consistent with the test content in the step S5, obtaining the complete vpd information of the hard disk by the server webpage BMC; if the former content is more than the latter content, the server web BMC cannot obtain the complete vpd information of the hard disk.
The automatic test is completed by running a script, wherein the script comprises an interaction module, a test environment detection module, a startup and shutdown module, a VPD information reading module and a comparison information module, and the steps are from S13 to S27.
As shown in fig. 4, a running flow of the script is given, including steps S13-S27.
Step S13: the server is started (12V voltage environment) and runs the script.
Step S14: the script invokes the interactive module, including steps S14a-S14d.
Step S14a: the tester is guided to input the BMC address set in the step S103, the BMC account set in the step 104 and the password.
Step S14b: the test person is guided to input the number of circles of the cyclic test, which is recorded as N (N is more than or equal to 100).
Step S14c: the terminal window outputs 'whether the webpage BMC acquires the complete vpd information of the hard disk', and 'yes' or 'no' is input according to the result of the step S12; if yes, go to step S14d-S14e; if no is input, the process proceeds to step S14f.
Step S14d; and outputting the Drive IDs of all the solid state disks of the server and the corresponding SN (serial numbers) to the terminal window by using the content input in the step S14a through the redfishtool.
Step S14e: and (4) inputting a Drive ID corresponding to the tested solid state disk SN according to the content output in the step (S14 d).
Step S14f: and according to the content output in the step S14a, remotely connecting the command line BMC platform.
Step S15: the script calls a test environment detection module, which comprises the steps of obtaining the CPU model, the BMC model and the BMC version of the server through a redfishtool and recording the model, the BMC model and the BMC version to an environment log file.
Step S16: calling a VPD information reading module, if yes is input in the step S14c, acquiring VPD information of the tested solid state disk under the 12V voltage environment by using the contents input in the steps S14a and S14e through a redfishtool, and storing the VPD information in a poweron log; if no is input in step S14c, the measured VPD information of the solid state disk under the 12V voltage environment is obtained through the i2c-test tool under the command line version BMC platform remotely connected in step S14f, and is stored in poweron.
Step S17: and calling a power-on/off module, namely, giving a power-off instruction to the server through the redfishtool, and powering off the server (3.3V voltage environment).
Step S18: calling a VPD information reading module, if yes is input in the step S14c, acquiring VPD information of the tested solid state disk under the 3.3V voltage environment by using the contents input in the steps S14a and S14e through a redfishtool, and storing the VPD information to poweroff. If no is input in the step S14c, the tested solid state disk VPD information in the 3.3V voltage environment is obtained through the i2c-test tool under the command line version BMC platform remotely connected in the step S14f, and stored to poweroff.
Step S19: and calling a startup and shutdown module, namely giving a startup instruction to the server through a reconfishtool, and starting the server (in a 12V voltage environment).
Step S20: calling a VPD information reading module, if yes is input in the step S14c, acquiring VPD information of the tested solid state disk under the 12V voltage environment through a redfishtool, and storing the VPD information in a poweron_tmp.log; if no is input in step S14c, the measured VPD information of the solid state disk under the 12V voltage environment is obtained through the i2c-test tool under the command line version BMC platform remotely connected in step S14f, and is stored in the poweron_tmp.
Step S21: comparing the poweron log with the poweron tmp log by a diff tool, deleting the poweron tmp log if the two files are the same and writing a result "pass" into the result file; if the two files are not identical, rename poweron_tmp.log to error.log and write the result "error" to the result file.
Step S22: and calling a power-on/off module to shut down the server.
Step S23: calling a VPD information reading module, if yes is input in the step S14c, acquiring VPD information of the tested solid state disk under the 3.3V voltage environment through a redfishtool, and storing the VPD information in a poweroff_tmp.log; if no is input in step S14c, the measured solid state disk VPD information in the 3.3V voltage environment is obtained through the i2c-test tool under the command line version BMC platform remotely connected in step S14f, and stored to poweroff_tmp.
Step S24: comparing the poweroff log with the poweroff tmp log by a diff tool, deleting the poweroff tmp log if the two files are the same and writing the result "pass" into the result file; if the two files are not identical, rename poweroff_tmp.log to error.log and write the result "error" to the result file.
Step S25: steps S19 to S24 are repeated N times (N is the number of test turns input in step S14 b).
Step S26: comparing the poweron log with the poweroff log by the diff tool, and writing the comparison result and the 'VPD information difference under the 12V voltage and 3.3V voltage environment' into a diff_vol_result file.
Step S27: the script is exited.
Step S28: checking the result file and the diff_vol_result file by a tester, and if the result of the result file is a pass and the result of the diff_vol_result file accords with the specification of the tested disc, qualifying the test item of the tested disc; otherwise, the tested disc is disqualified in the test item.
Although embodiments of the present invention have been shown and described, it will be understood by those skilled in the art that various changes, modifications, substitutions and alterations can be made therein without departing from the spirit and scope of the invention as defined by the appended claims and their equivalents.

Claims (9)

1. A method for testing VPD information of an enterprise-level solid state disk is characterized by comprising the following steps of: the method comprises the following steps:
step 1, performing manual tests, wherein the manual tests comprise a webpage BMC platform solid state disk VPD test and a command line BMC platform solid state disk VPD test;
step 2, respectively obtaining the VPD information output by the two tests in the step 1, and comparing whether the two VPD information are identical;
step 3, automatically testing by utilizing the script; if the two VPD information in the step 2 are the same, a redfishtool is adopted to acquire the VPD information in the step 3; if the two VPD information in the step 2 are not the same, adopting an i2c-test tool to acquire the VPD information in the step 3;
the command line BMC platform solid state disk VPD test specifically comprises the following steps:
step 1-2-1: opening a PC terminal window;
step 1-2-2: logging in a command line version BMC platform through a BMC account and a password by using a ssh tool;
step 1-2-3: using an i2c-test tool to inquire VPD information of the tested solid state disk, wherein the VPD information is 16-system;
step 1-2-4: converting the acquired 16-system VPD information through a xxd tool;
step 1-2-5: comparing whether the converted content is consistent with VPD information stated in the specification of the tested solid state disk and whether the content of the converted content contains the VPD information or not, if so, testing the VPD of the command line version BMC platform solid state disk of the tested solid state disk to be qualified; if the command line version BMC platform of the tested solid state disk is inconsistent or not contained, the VPD test of the solid state disk of the command line version BMC platform of the tested solid state disk is not qualified.
2. The method for testing VPD information of an enterprise-level solid state disk according to claim 1, wherein the method comprises the steps of: in the step 3, the script includes: the device comprises an interaction module, a test environment detection module, a startup and shutdown module, a VPD information reading module and a comparison information reading module.
3. The method for testing VPD information of an enterprise-level solid state disk according to claim 2, wherein the method comprises the steps of: the step 3 specifically includes:
step 3-1, calling an interaction module by a script, and setting test parameters;
step 3-2, calling a test environment detection module by the script, detecting and recording test environment information;
step 3-3, calling a VPD information reading module by a script, acquiring VPD information of the tested solid state disk under the 12V voltage environment, and storing the VPD information in a first log file;
step 3-4, the script calls a startup and shutdown module to command the server to shut down, so that the tested solid state disk is in a 3.3V voltage environment;
step 3-5, calling a VPD information reading module by a script, acquiring VPD information of the tested solid state disk under the 3.3V voltage environment, and storing the VPD information in a second log file;
step 3-6, the script calls a startup and shutdown module to command the server to start up, so that the tested solid state disk is in a 12V voltage environment;
step 3-7, calling a VPD information reading module by a script, acquiring VPD information of the tested solid state disk under the 12V voltage environment, and storing the VPD information in a third log file;
step 3-8, comparing the first log file with the third log file, if the first log file and the third log file are the same, clearing the content of the third log file, and writing the passing result into a first test result file; if the two files are different, the third log file is named as an error log file, and the failed result is written into the first test result file;
step 3-9, the script calls a startup and shutdown module to command the server to shut down, so that the tested solid state disk is in a 3.3V voltage environment;
step 3-10, calling a VPD information reading module by a script, acquiring VPD information of the tested solid state disk under the 3.3V voltage environment, and storing the VPD information in a fourth log file;
step 3-11, comparing the second log file with the fourth log file, if the second log file and the fourth log file are the same, clearing the content of the fourth log file, and writing the passing result into the first test result file; if the two files are different, the fourth log file is named as an error log file, and the failed result is written into the first test result file;
step 3-12, cycling the steps 3-6 to 3-11 for N times, wherein N is a natural number, and N is more than or equal to 100;
step 3-13, comparing the first log file with the second log file, and writing the comparison result into the second test result file;
step 3-14, exiting the script;
step 3-15, checking the first test result file and the second test result file by a tester, and if the test result in the first test result file is all passed and the result in the second test result file is consistent with the specification of the tested solid state disk, testing the VPD information of the tested solid state disk to be qualified; otherwise, the VPD information test of the tested solid state disk is unqualified.
4. The method for testing VPD information of an enterprise-level solid state disk according to claim 3, wherein: in the step 3-1, the test parameters to be set include: and (3) cycling the result of whether the number of turns N of the test is the same as the VPD information output by the two tests in the step (1).
5. The method for testing VPD information of an enterprise-level solid state disk according to claim 1, wherein the method comprises the steps of: the webpage BMC platform solid state disk VPD test specifically comprises the following steps:
step 1-1-1: opening a PC end browser;
step 1-1-2: accessing the IP address of the BMC;
step 1-1-3: logging in a webpage version BMC through a BMC account and a password;
step 1-1-4: inquiring VPD information of the tested solid state disk in asset information items of the webpage BMC;
step 1-1-5: comparing whether the VPD information detected in the step 1-1-4 is consistent with the VPD information stated in the specification of the tested solid state disk, if so, the VPD test of the webpage BMC platform solid state disk of the tested solid state disk is qualified; if the two types of the solid state disks are inconsistent, the VPD test of the webpage BMC platform solid state disk of the tested solid state disk is not qualified.
6. An enterprise-level solid state disk VPD information testing device based on the testing method according to any one of claims 1 to 5, characterized in that: the test device includes a server and a PC, the server including: CPU module, BMC module and backplate module.
7. The device for testing VPD information of an enterprise-level solid state disk according to claim 6, wherein: the BMC module is connected with the CPU module and is used for sending startup and shutdown instructions to the CPU module by using a redfishtool; the BMC module is connected with the backboard module and is used for managing and monitoring the solid state disk inserted on the backboard by using a redfishtool.
8. The device for testing VPD information of an enterprise-level solid state disk according to claim 6, wherein: and the BMC module is connected with the PC through the mgmt interface of the server.
9. The device for testing VPD information of an enterprise-level solid state disk according to claim 6, wherein: the PC is used for remotely operating the BMC module.
CN202311373208.3A 2023-10-23 2023-10-23 Method and device for testing VPD information of enterprise-level solid state disk Active CN117116333B (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN202311373208.3A CN117116333B (en) 2023-10-23 2023-10-23 Method and device for testing VPD information of enterprise-level solid state disk

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN202311373208.3A CN117116333B (en) 2023-10-23 2023-10-23 Method and device for testing VPD information of enterprise-level solid state disk

Publications (2)

Publication Number Publication Date
CN117116333A CN117116333A (en) 2023-11-24
CN117116333B true CN117116333B (en) 2023-12-22

Family

ID=88809519

Family Applications (1)

Application Number Title Priority Date Filing Date
CN202311373208.3A Active CN117116333B (en) 2023-10-23 2023-10-23 Method and device for testing VPD information of enterprise-level solid state disk

Country Status (1)

Country Link
CN (1) CN117116333B (en)

Citations (8)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JP2005267056A (en) * 2004-03-17 2005-09-29 Nec Corp Software mirroring disk failure monitoring and recovery system, its failure monitoring and recovery method, and program
CN111124288A (en) * 2019-12-06 2020-05-08 苏州浪潮智能科技有限公司 VPD storage management method, device, equipment and readable storage medium
CN111221585A (en) * 2020-01-13 2020-06-02 苏州浪潮智能科技有限公司 Method and system for expanding hard disk backplane of management server
CN213276627U (en) * 2020-10-30 2021-05-25 苏州浪潮智能科技有限公司 Backup and recovery system for VPD information
CN114171107A (en) * 2021-11-26 2022-03-11 浪潮(北京)电子信息产业有限公司 Detection method, device, equipment and storage medium for VPD information of solid state disk
CN114546283A (en) * 2022-02-25 2022-05-27 苏州浪潮智能科技有限公司 Storage link port management method and device of storage equipment and storage medium
CN115220968A (en) * 2022-07-29 2022-10-21 苏州浪潮智能科技有限公司 VPD data management system and method with redundancy and fault tolerance capability
CN115657798A (en) * 2022-10-12 2023-01-31 联想(北京)有限公司 Hardware replacing method

Patent Citations (8)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JP2005267056A (en) * 2004-03-17 2005-09-29 Nec Corp Software mirroring disk failure monitoring and recovery system, its failure monitoring and recovery method, and program
CN111124288A (en) * 2019-12-06 2020-05-08 苏州浪潮智能科技有限公司 VPD storage management method, device, equipment and readable storage medium
CN111221585A (en) * 2020-01-13 2020-06-02 苏州浪潮智能科技有限公司 Method and system for expanding hard disk backplane of management server
CN213276627U (en) * 2020-10-30 2021-05-25 苏州浪潮智能科技有限公司 Backup and recovery system for VPD information
CN114171107A (en) * 2021-11-26 2022-03-11 浪潮(北京)电子信息产业有限公司 Detection method, device, equipment and storage medium for VPD information of solid state disk
CN114546283A (en) * 2022-02-25 2022-05-27 苏州浪潮智能科技有限公司 Storage link port management method and device of storage equipment and storage medium
CN115220968A (en) * 2022-07-29 2022-10-21 苏州浪潮智能科技有限公司 VPD data management system and method with redundancy and fault tolerance capability
CN115657798A (en) * 2022-10-12 2023-01-31 联想(北京)有限公司 Hardware replacing method

Also Published As

Publication number Publication date
CN117116333A (en) 2023-11-24

Similar Documents

Publication Publication Date Title
US10606731B2 (en) Code component debugging in an application program
CN102244591A (en) Client server and method for full process monitoring on function text of client server
CN103364650A (en) Testing system and testing method
CN106598796A (en) Method for testing hardware information stability in reboot
CN110750396A (en) Server operating system compatibility testing method and device and storage medium
CN115080398A (en) Automatic interface test system and method
CN104239174A (en) BMC (baseboard management controller) remote debugging system and method
CN113553226B (en) Startup and shutdown testing method, device, testing system, electronic equipment and storage medium
CN111048138A (en) Hard disk fault detection method and related device
CN117116333B (en) Method and device for testing VPD information of enterprise-level solid state disk
CN111552618B (en) Method and equipment for collecting logs
CN113590405A (en) Hard disk error detection method and device, storage medium and electronic device
CN116541270B (en) Method and device for testing adaptation verification of operating system
CN112269697A (en) Equipment storage performance testing method, system and related device
CN108038031A (en) A kind of method and device for monitoring hard disk presence in real time
CN111966543A (en) System and method for testing stability of storage OSES system
CN111858178A (en) Method, device and equipment for judging power supply starting type and readable medium
US7415560B2 (en) Method of automatically monitoring computer system debugging routine
CN114064510A (en) Function testing method and device, electronic equipment and storage medium
CN211603369U (en) Server DC power-down fault positioning system
CN115168119A (en) PCIE (peripheral component interface express) link detection method, device and medium for server
CN113934595A (en) Data analysis method and system, storage medium and electronic terminal
CN112711380A (en) Log management method and device of storage equipment and related components
CN105242880A (en) Method for automatically creating Raid and executing pressure testing
CN111209146A (en) RAID card aging test method and 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