CN109739716B - Method and system for testing HBA card in storage system - Google Patents
Method and system for testing HBA card in storage system Download PDFInfo
- Publication number
- CN109739716B CN109739716B CN201811553781.1A CN201811553781A CN109739716B CN 109739716 B CN109739716 B CN 109739716B CN 201811553781 A CN201811553781 A CN 201811553781A CN 109739716 B CN109739716 B CN 109739716B
- Authority
- CN
- China
- Prior art keywords
- hba card
- configuration information
- card
- hba
- standard configuration
- 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
Links
- 238000012360 testing method Methods 0.000 title claims abstract description 101
- 238000000034 method Methods 0.000 title claims abstract description 21
- 230000005540 biological transmission Effects 0.000 claims abstract description 95
- 239000000872 buffer Substances 0.000 claims description 7
- 230000003139 buffering effect Effects 0.000 claims description 3
- 238000012795 verification Methods 0.000 claims description 2
- 238000010998 test method Methods 0.000 description 5
- 238000010586 diagram Methods 0.000 description 2
- 238000012423 maintenance Methods 0.000 description 2
- 238000004519 manufacturing process Methods 0.000 description 2
- 230000009286 beneficial effect Effects 0.000 description 1
- 238000007796 conventional method Methods 0.000 description 1
- 230000006870 function Effects 0.000 description 1
- 238000012986 modification Methods 0.000 description 1
- 230000004048 modification Effects 0.000 description 1
- 239000013307 optical fiber Substances 0.000 description 1
- 238000013112 stability test Methods 0.000 description 1
- 238000012430 stability testing Methods 0.000 description 1
Images
Abstract
The application discloses a method and a system for testing an HBA card in a storage system, wherein the method for testing the HBA card comprises the following steps: reading the actual configuration information of the HBA card; comparing the actual configuration information and the standard configuration information of the HBA card, judging whether the HBA card is correctly configured, and if so, performing data transmission test on the HBA card; after the data transmission is finished, judging whether the integrity of the data transmission is qualified or not according to the MD5 value of the transmitted data; if the MD5 value of the transmitted data is correct, judging that the integrity of the data transmission is qualified; and if the data transmission integrity is qualified, displaying the test result and storing the test record. The test system of the HBA card comprises an HBA card reading module, a configuration checking module, an integrity judging module and an output module. By the method and the device, the automatic test of the HBA card can be realized, and the improvement of the test efficiency and the accuracy of the test result are facilitated.
Description
Technical Field
The present application relates to the technical field of server storage system testing, and in particular, to a method and a system for testing an HBA card in a storage system.
Background
With the increase of the demand of cloud storage products and big data applications, the demand of users on data transmission of a storage system is higher and higher, and a key device playing a role in data transmission and function management in the storage system is an HBA (Host Bus Adapter) card. Therefore, the stability of the HBA card is critical to the memory system, and performing stability testing on the HBA card in the memory system is an important issue.
The conventional method for testing the stability of the HBA card is as follows: and inserting the HBA card into a PCIE slot of the server mainboard, testing whether the server mainboard connected with the HBA card can normally transmit data or not, and manually recording a test result.
However, in the current testing method for the HBA card, because the testing is performed manually and the testing result is recorded manually, testing errors are easily generated and the recorded result is not easy to check. Therefore, the current test method for the HBA card causes that the test result is not accurate enough and the test efficiency is low.
Disclosure of Invention
The application provides a method and a system for testing an HBA card in a storage system, which aim to solve the problems of inaccurate test result and low test efficiency of the HBA card in the prior art.
In order to solve the technical problem, the embodiment of the application discloses the following technical scheme:
a testing method for an HBA card in a storage system comprises the following steps:
reading actual configuration information of the HBA card, wherein the configuration information comprises a manufacturer name, QN, PN, WWN number, transmission rate and PCIE bandwidth of the HBA card;
comparing the actual configuration information and the standard configuration information of the HBA card, and judging whether the HBA card is configured correctly;
if so, carrying out data transmission test on the HBA card;
after the data transmission is finished, judging whether the integrity of the data transmission is qualified or not according to the MD5 value of the transmitted data;
if the MD5 value of the transmitted data is correct, judging that the integrity of the data transmission is qualified;
and if the data transmission integrity is qualified, displaying the test result and storing the test record.
Optionally, the comparing the actual configuration information and the standard configuration information of the HBA card to determine whether the HBA card is configured correctly includes:
judging whether the manufacturer name of the HBA card in the actual configuration information is consistent with the manufacturer name of the HBA card in the standard configuration information, whether the QN of the HBA card in the actual configuration information is consistent with the QN of the HBA card in the standard configuration information, whether the PN of the HBA card in the actual configuration information is consistent with the PN of the HBA card in the standard configuration information, and whether the WWN number of the HBA card in the actual configuration information is consistent with the WWN number of the HBA card in the standard configuration information;
if so, judging whether the difference value between the actual transmission rate of the HBA card and the transmission rate in the standard configuration information is less than or equal to 10% of the transmission rate in the standard configuration information;
if so, judging whether the difference between the PCIE bandwidth of the HBA card in the actual configuration information and the PCIE bandwidth of the HBA card in the standard configuration information is less than or equal to 10% of the PCIE bandwidth of the HBA card in the standard configuration information;
if so, judging that the configuration of the HBA card is correct, otherwise, judging that the configuration of the HBA card is wrong.
Optionally, the method for data transmission to the HBA card includes:
calling a data packet in a main board system disk through a PCIE protocol, wherein the HBA card is connected with the main board through a PCIE slot arranged on the main board;
the data packet is transmitted to the HBA card through the PCIE slot;
the HBA card buffers the packet.
Optionally, the HBA card comprises: an Ethernet card, an FC network card and an iSCSI network card.
A test system for an HBA card in a storage system, the test system comprising:
the HBA card reading module is used for reading the actual configuration information of the HBA card, and the configuration information comprises the manufacturer name, QN, PN, WWN number, transmission rate and PCIE bandwidth of the HBA card;
the configuration checking module is used for comparing the actual configuration information and the standard configuration information of the HBA card and judging whether the HBA card is correctly configured;
the data transmission module is used for transmitting data to the HBA card when the HBA card is correctly configured;
the integrity judgment module is used for judging whether the integrity of data transmission is qualified or not according to the MD5 value of the transmitted data after the data transmission is finished;
and the output module is used for displaying the test result and storing the test record when the data transmission completeness is qualified.
Optionally, the configuration checking module includes:
the first checking unit is used for judging whether the manufacturer name of the HBA card in the actual configuration information is consistent with the manufacturer name of the HBA card in the standard configuration information;
the second checking unit is used for judging whether the QN of the HBA card in the actual configuration information is consistent with the QN of the HBA card in the standard configuration information;
a third checking unit, configured to determine whether a PN of the HBA card in the actual configuration information is consistent with a PN of the HBA card in the standard configuration information;
a fourth checking unit, configured to determine whether a WWN number of the HBA card in the actual configuration information is consistent with a WWN number of the HBA card in the standard configuration information;
a fifth checking unit, configured to determine whether a difference between the actual transmission rate of the HBA card and the transmission rate in the standard configuration information is less than or equal to 10% of the transmission rate in the standard configuration information;
the sixth verification unit is used for judging whether the difference between the PCIE bandwidth of the HBA card in the actual configuration information and the PCIE bandwidth of the HBA card in the standard configuration information is less than or equal to 10% of the PCIE bandwidth of the HBA card in the standard configuration information;
and the judging unit is used for judging that the configuration of the HBA card is correct when the manufacturer name, QN, PN and WWN of the HBA card in the actual configuration information and the standard configuration information are consistent, the difference value between the actual transmission rate of the HBA card and the transmission rate in the standard configuration information is less than or equal to 10% of the transmission rate in the standard configuration information, and the difference value between the PCIE bandwidth of the HBA card in the actual configuration information and the PCIE bandwidth of the HBA card in the standard configuration information is less than or equal to 10% of the PCIE bandwidth of the HBA card in the standard configuration information, otherwise, judging that the configuration of the HBA card is wrong.
Optionally, the data transmission module includes:
the calling unit is used for calling a data packet in a main board system disk through a PCIE protocol, and the HBA card is connected with the main board through a PCIE slot arranged on the main board;
the transmission unit is used for transmitting the data packet to the HBA card through the PCIE slot;
and the buffer unit is used for buffering the data packet.
The technical scheme provided by the embodiment of the application can have the following beneficial effects:
the application provides a test method of an HBA card in a storage system, and the test method is mainly used for testing the stability of the HBA card. The method comprises the steps of firstly reading actual configuration information of an HBA card, then comparing the actual configuration information of the HBA card with standard configuration information, judging whether the HBA card is correctly configured, carrying out data transmission test on the HBA card when the HBA card is correctly configured, judging whether the integrity of data transmission is qualified according to the MD5 value of transmitted data after the data transmission is finished, and displaying a test result and storing a test record if the data transmission is qualified. The script can be written according to the method in the embodiment, and the automatic test of the HBA card is realized by running the script, so that the test efficiency and the test accuracy can be greatly improved. In this embodiment, the automated testing of the stability of the HBA card is realized by verifying the configuration information of the HBA card and testing the data transmission integrity of the HBA card, and after the testing is completed, the testing result is displayed and the testing record is stored for the condition that the data transmission integrity is qualified, so that the checking by the staff is facilitated.
The application also provides a test system of the HBA card in the storage system, which mainly comprises an HBA card reading module, a configuration checking module, an integrity judging module and an output module. The method comprises the steps of firstly reading actual configuration information of an HBA card through an HBA card reading module, secondly comparing the actual configuration information with standard configuration information of the HBA card through a configuration checking module, judging whether the configuration of the HBA card is correct according to a comparison result, carrying out data transmission on the HBA card through a data transmission module when the configuration is correct, then judging whether the integrity of data transmission is qualified through an integrity judging module, and finally displaying a test result and storing a test record through an output module when the integrity of data transmission is qualified. By the test system in the embodiment, the automatic test of the HBA card can be realized, so that the test efficiency and the accuracy of the test result are greatly improved. After the test is finished, the test system can automatically output the test result and store the test record, so that the staff can conveniently obtain the test result or check the historical test result in time.
It is to be understood that both the foregoing general description and the following detailed description are exemplary and explanatory only and are not restrictive of the application.
Drawings
The accompanying drawings, which are incorporated in and constitute a part of this specification, illustrate embodiments consistent with the present application and together with the description, serve to explain the principles of the application.
In order to more clearly illustrate the embodiments of the present application or the technical solutions in the prior art, the drawings used in the description of the embodiments or the prior art will be briefly described below, and it is obvious for those skilled in the art that other drawings can be obtained according to the drawings without creative efforts.
Fig. 1 is a schematic flowchart illustrating a method for testing an HBA card in a storage system according to an embodiment of the present application;
fig. 2 is a schematic structural diagram of a system for testing an HBA card in a storage system according to an embodiment of the present application.
Detailed Description
In order to make those skilled in the art better understand the technical solutions in the present application, the technical solutions in the embodiments of the present application will be clearly and completely described below with reference to the drawings in the embodiments of the present application, and it is obvious that the described embodiments are only a part of the embodiments of the present application, 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 application.
The HBA card is an optical fiber switch for connecting a host to a backend, or a disk array device for connecting a host to a backend, and is used to extend more interfaces of the host, which is equivalent to an external link card outside the host.
For a better understanding of the present application, embodiments of the present application are explained in detail below with reference to the accompanying drawings.
Referring to fig. 1, fig. 1 is a schematic flowchart illustrating a method for testing an HBA card in a storage system according to an embodiment of the present application. As shown in fig. 1, the method for testing the HBA card in the storage system in this embodiment mainly includes the following steps:
s1: the actual configuration information of the HBA card is read.
The configuration information of the HBA card in this embodiment includes a manufacturer Name of the HBA card, a QN (quality Number), a PN (Part Number, product model), a WWN (World Wide Name), a transmission rate, and a PCIE bandwidth. In this embodiment, the configuration information of the HBA card includes actual configuration information and standard configuration information of the HBA card, where the actual configuration information is configuration information of an actual product after the HBA card is produced, and the standard configuration information is configuration information meeting customer requirements pre-stored in a production task list before the HBA card is produced. In this embodiment, the test performed on the HBA card is mainly a stability test, and before the HBA card is tested, the standard configuration information of the HBA card needs to be maintained in the test system.
When the actual configuration information of the HBA card is read in step S1, the actual configuration information may be read by a command line under the RedHat system. Namely: and reading the actual configuration information of the HBA card according to the acquired command.
S2: and comparing the actual configuration information and the standard configuration information of the HBA card, and judging whether the HBA card is configured correctly.
Specifically, step S2 includes:
s21: judging whether the manufacturer name of the HBA card in the actual configuration information is consistent with the manufacturer name of the HBA card in the standard configuration information, whether the QN of the HBA card in the actual configuration information is consistent with the QN of the HBA card in the standard configuration information, whether the PN of the HBA card in the actual configuration information is consistent with the PN of the HBA card in the standard configuration information, and whether the WWN number of the HBA card in the actual configuration information is consistent with the WWN number of the HBA card in the standard configuration information.
In this embodiment, the same HBA card needs to satisfy: the manufacturer name, QN, PN and WWN numbers in the actual configuration information and the standard configuration information are respectively consistent.
When the manufacturer name, QN, PN and WWN numbers in the actual configuration information and the standard configuration information respectively coincide, step S22 is executed: and judging whether the difference value between the actual transmission rate of the HBA card and the transmission rate in the standard configuration information is less than or equal to 10% or not.
If the difference between the actual transmission rate of the HBA card and the transmission rate in the standard configuration information is less than or equal to 10% and the transmission rate in the standard configuration information, execute step S23: and judging whether the difference between the PCIE bandwidth of the HBA card in the actual configuration information and the PCIE bandwidth of the HBA card in the standard configuration information is less than or equal to 10% or not.
That is, when the actual transmission rate of the HBA card satisfies: when the transmission rate in the standard configuration information is not less than 90% and the actual transmission rate in the standard configuration information is not more than 110%, it is determined that the actual transmission rate of the HBA card is qualified, and step S23 is executed.
If the difference between the PCIE bandwidth of the HBA card in the actual configuration information and the PCIE bandwidth of the HBA card in the standard configuration information is less than or equal to 10% of the PCIE bandwidth of the HBA card in the standard configuration information, step S24 is executed: and judging that the configuration of the HBA card is correct, otherwise, judging that the configuration of the HBA card is wrong.
That is, when the PCIE bandwidth of the HBA card in the actual configuration information satisfies: and when the PCIE bandwidth of the HBA card in the 90% standard configuration information is less than or equal to the PCIE bandwidth of the HBA card in the actual configuration information is less than or equal to 110% standard configuration information, judging that the PCIE bandwidth of the HBA card is qualified. And judging that the configuration of the HBA card is correct because other configuration information of the HBA card is qualified, otherwise, judging that the configuration of the HBA card is wrong because any parameter in the configuration information is unqualified.
As can be seen from fig. 1, when the HBA card is correctly configured, step S3 is executed: and carrying out data transmission test on the HBA card.
Specifically, step S3 includes the following processes:
s31: and a data packet in the main board system disk is called through a PCIE protocol, and the HBA card is connected with the main board through a PCIE slot arranged on the main board.
S32: and the data packet is transmitted to the HBA card through the PCIE slot.
S33: the HBA card buffers the packet.
After the data transmission is completed, step S4 is executed: and judging whether the integrity of the data transmission is qualified or not according to the MD5 value of the transmitted data.
The embodiment determines the integrity of the data transmission according to whether the MD5 value of the transmitted data file is correct, and if the MD5 value of the transmitted data file is correct, performs the step S5: and judging that the integrity of the data transmission is qualified, and if the MD5 value of the transmitted data file is incorrect, judging that the integrity of the data transmission is unqualified.
If the data transmission integrity is qualified, execute step S6: and displaying the test result and storing the test record.
And if the data transmission integrity is not qualified, judging that the HBA card is not qualified, needing rework maintenance, returning to the step S1 after the maintenance is finished, and testing the HBA card again.
In summary, by the method for testing the HBA card in this embodiment, the actual configuration information of the HBA card can be automatically captured, whether the configuration of the HBA card is correct can be automatically determined according to the standard configuration information pre-stored in the production task sheet, data transmission is automatically performed on the HBA card according to the obtained command, the test result is automatically displayed according to the integrity of the data transmission, and the test result is stored, so that the automatic test of the HBA card of the storage system is realized. The automatic test method of the HBA card can greatly improve the test efficiency and the accuracy of the test result.
Referring to fig. 2, fig. 2 is a schematic structural diagram of a system for testing an HBA card in a storage system according to an embodiment of the present application. As shown in fig. 2, the test system for the HBA card in this embodiment mainly includes: the HBA card reading module, the configuration checking module, the integrity judging module and the output module.
The HBA card reading module is configured to read actual configuration information of the HBA card, where the configuration information of the HBA card includes: manufacturer name of HBA card, QN, PN, WWN number, transmission rate and PCIE bandwidth. The configuration checking module is used for comparing the actual configuration information and the standard configuration information of the HBA card and judging whether the HBA card is configured correctly. And the data transmission module is used for transmitting data to the HBA card when the HBA card is correctly configured. And the integrity judging module is used for judging whether the integrity of the data transmission is qualified or not according to the MD5 value of the transmitted data after the data transmission is finished. And the output module is used for displaying the test result and storing the test record when the data transmission completeness is qualified.
Further, the configuration checking module comprises: the device comprises a first checking unit, a second checking unit, a third checking unit, a fourth checking unit, a fifth checking unit, a sixth checking unit and a judging unit.
The first checking unit is used for judging whether the manufacturer name of the HBA card in the actual configuration information is consistent with the manufacturer name of the HBA card in the standard configuration information. And the second checking unit is used for judging whether the QN of the HBA card in the actual configuration information is consistent with the QN of the HBA card in the standard configuration information. And the third checking unit is used for judging whether the PN of the HBA card in the actual configuration information is consistent with the PN of the HBA card in the standard configuration information. And the fourth checking unit is used for judging whether the WWN number of the HBA card in the actual configuration information is consistent with the WWN number of the HBA card in the standard configuration information. And the fifth checking unit is used for judging whether the difference value between the actual transmission rate of the HBA card and the transmission rate in the standard configuration information is less than or equal to 10% or not. And the sixth checking unit is used for judging whether the difference between the PCIE bandwidth of the HBA card in the actual configuration information and the PCIE bandwidth of the HBA card in the standard configuration information is less than or equal to 10% of the PCIE bandwidth of the HBA card in the standard configuration information. And the judging unit is used for judging that the configuration of the HBA card is correct when the manufacturer name, QN, PN and WWN of the HBA card in the actual configuration information and the standard configuration information are consistent, the difference value between the actual transmission rate of the HBA card and the transmission rate in the standard configuration information is less than or equal to 10% of the transmission rate in the standard configuration information, the difference between the PCIE bandwidth of the HBA card in the actual configuration information and the PCIE bandwidth of the HBA card in the standard configuration information is less than or equal to 10% of the PCIE bandwidth of the HBA card in the standard configuration information, and otherwise, judging that the configuration of the HBA card is wrong.
The data transmission module includes: the device comprises a calling unit, a transmission unit and a buffer unit.
The calling unit is used for calling a data packet in a main board system disk through a PCIE protocol, and the HBA card is connected with the main board through a PCIE slot arranged on the main board. The transmission unit is used for transmitting the data packet to the HBA card through the PCIE slot. And the buffer unit is used for buffering the data packet.
The working principle and the working method of the test system for the HBA card in this embodiment have been explained in detail in the test method for the HBA card shown in fig. 1, and are not described herein again. Through the test system in the embodiment, manual test in the prior art can be avoided, and automatic test of the HBA card is realized, so that the test efficiency and the accuracy of a test result are greatly improved. After the test is finished, the test system can automatically output the test result and store the test record, so that the test result can be conveniently obtained by a worker in time or the historical test result can be conveniently checked, and the test efficiency can be further improved.
The above description is merely exemplary of the present application and is presented to enable those skilled in the art to understand and practice the present application. 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 application. Thus, the present application 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 (5)
1. A method for testing an HBA card in a storage system is characterized by comprising the following steps:
reading the actual configuration information of the HBA card, wherein the configuration information of the HBA card comprises the manufacturer name, QN, PN, WWN number, transmission rate and PCIE bandwidth of the HBA card;
comparing the actual configuration information and the standard configuration information of the HBA card, and judging whether the HBA card is configured correctly;
if so, carrying out data transmission test on the HBA card;
after the data transmission is finished, judging whether the integrity of the data transmission is qualified or not according to the MD5 value of the transmitted data;
if the MD5 value of the transmitted data is correct, judging that the integrity of the data transmission is qualified;
if the data transmission integrity is qualified, displaying the test result and storing the test record;
wherein, the comparing the actual configuration information and the standard configuration information of the HBA card to determine whether the HBA card is configured correctly includes:
judging whether the manufacturer name of the HBA card in the actual configuration information is consistent with the manufacturer name of the HBA card in the standard configuration information, whether the QN of the HBA card in the actual configuration information is consistent with the QN of the HBA card in the standard configuration information, whether the PN of the HBA card in the actual configuration information is consistent with the PN of the HBA card in the standard configuration information, and whether the WWN number of the HBA card in the actual configuration information is consistent with the WWN number of the HBA card in the standard configuration information;
if so, judging whether the difference value between the actual transmission rate of the HBA card and the transmission rate in the standard configuration information is less than or equal to 10% of the transmission rate in the standard configuration information;
if so, judging whether the difference between the PCIE bandwidth of the HBA card in the actual configuration information and the PCIE bandwidth of the HBA card in the standard configuration information is less than or equal to 10% of the PCIE bandwidth of the HBA card in the standard configuration information;
if so, judging that the configuration of the HBA card is correct, otherwise, judging that the configuration of the HBA card is wrong.
2. The method according to claim 1, wherein the method for transmitting data to the HBA card comprises:
calling a data packet in a main board system disk through a PCIE protocol, wherein the HBA card is connected with the main board through a PCIE slot arranged on the main board;
the data packet is transmitted to the HBA card through the PCIE slot;
the HBA card buffers the packet.
3. The method for testing the HBA card in the storage system according to claim 1 or 2, wherein the HBA card comprises: an Ethernet card, an FC network card and an iSCSI network card.
4. A test system for an HBA card in a storage system, the test system comprising:
the HBA card reading module is used for reading the actual configuration information of the HBA card, and the configuration information comprises the manufacturer name, QN, PN, WWN number, transmission rate and PCIE bandwidth of the HBA card;
the configuration checking module is used for comparing the actual configuration information and the standard configuration information of the HBA card and judging whether the HBA card is correctly configured;
the data transmission module is used for transmitting data to the HBA card when the HBA card is correctly configured;
the integrity judgment module is used for judging whether the integrity of data transmission is qualified or not according to the MD5 value of the transmitted data after the data transmission is finished;
the output module is used for displaying the test result and storing the test record when the data transmission completeness is qualified;
wherein, the configuration checking module comprises:
the first checking unit is used for judging whether the manufacturer name of the HBA card in the actual configuration information is consistent with the manufacturer name of the HBA card in the standard configuration information;
the second checking unit is used for judging whether the QN of the HBA card in the actual configuration information is consistent with the QN of the HBA card in the standard configuration information;
a third checking unit, configured to determine whether a PN of the HBA card in the actual configuration information is consistent with a PN of the HBA card in the standard configuration information;
a fourth checking unit, configured to determine whether a WWN number of the HBA card in the actual configuration information is consistent with a WWN number of the HBA card in the standard configuration information;
a fifth checking unit, configured to determine whether a difference between the actual transmission rate of the HBA card and the transmission rate in the standard configuration information is less than or equal to 10% of the transmission rate in the standard configuration information;
the sixth verification unit is used for judging whether the difference between the PCIE bandwidth of the HBA card in the actual configuration information and the PCIE bandwidth of the HBA card in the standard configuration information is less than or equal to 10% of the PCIE bandwidth of the HBA card in the standard configuration information;
and the judging unit is used for judging that the configuration of the HBA card is correct when the manufacturer name, QN, PN and WWN of the HBA card in the actual configuration information and the standard configuration information are consistent, the difference value between the actual transmission rate of the HBA card and the transmission rate in the standard configuration information is less than or equal to 10% of the transmission rate in the standard configuration information, and the difference value between the PCIE bandwidth of the HBA card in the actual configuration information and the PCIE bandwidth of the HBA card in the standard configuration information is less than or equal to 10% of the PCIE bandwidth of the HBA card in the standard configuration information, otherwise, judging that the configuration of the HBA card is wrong.
5. The system for testing the HBA card in the storage system according to claim 4, wherein the data transmission module comprises:
the calling unit is used for calling a data packet in a main board system disk through a PCIE protocol, and the HBA card is connected with the main board through a PCIE slot arranged on the main board;
the transmission unit is used for transmitting the data packet to the HBA card through the PCIE slot;
and the buffer unit is used for buffering the data packet.
Priority Applications (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
CN201811553781.1A CN109739716B (en) | 2018-12-18 | 2018-12-18 | Method and system for testing HBA card in storage system |
Applications Claiming Priority (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
CN201811553781.1A CN109739716B (en) | 2018-12-18 | 2018-12-18 | Method and system for testing HBA card in storage system |
Publications (2)
Publication Number | Publication Date |
---|---|
CN109739716A CN109739716A (en) | 2019-05-10 |
CN109739716B true CN109739716B (en) | 2021-11-02 |
Family
ID=66360587
Family Applications (1)
Application Number | Title | Priority Date | Filing Date |
---|---|---|---|
CN201811553781.1A Active CN109739716B (en) | 2018-12-18 | 2018-12-18 | Method and system for testing HBA card in storage system |
Country Status (1)
Country | Link |
---|---|
CN (1) | CN109739716B (en) |
Families Citing this family (2)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN110659202A (en) * | 2019-08-12 | 2020-01-07 | 网宿科技股份有限公司 | Client automatic testing method and device |
CN115904849B (en) * | 2023-01-09 | 2023-05-12 | 苏州浪潮智能科技有限公司 | PCIE link signal testing method, system, computer equipment and medium |
Citations (3)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN106649015A (en) * | 2016-12-29 | 2017-05-10 | 郑州云海信息技术有限公司 | Testing device and testing method of USB interface |
CN107608880A (en) * | 2017-08-24 | 2018-01-19 | 郑州云海信息技术有限公司 | A kind of automated testing method for being used for virtual platform based on data-driven |
CN107729183A (en) * | 2017-10-12 | 2018-02-23 | 郑州云海信息技术有限公司 | A kind of method and system backed up by FC agreements with recovering linux operating systems |
Family Cites Families (2)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
US9584359B2 (en) * | 2011-12-12 | 2017-02-28 | International Business Machines Corporation | Distributed storage and computing of interim data |
JP6809063B2 (en) * | 2016-09-09 | 2021-01-06 | 富士通株式会社 | Access control devices, access control methods, and access control programs |
-
2018
- 2018-12-18 CN CN201811553781.1A patent/CN109739716B/en active Active
Patent Citations (3)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN106649015A (en) * | 2016-12-29 | 2017-05-10 | 郑州云海信息技术有限公司 | Testing device and testing method of USB interface |
CN107608880A (en) * | 2017-08-24 | 2018-01-19 | 郑州云海信息技术有限公司 | A kind of automated testing method for being used for virtual platform based on data-driven |
CN107729183A (en) * | 2017-10-12 | 2018-02-23 | 郑州云海信息技术有限公司 | A kind of method and system backed up by FC agreements with recovering linux operating systems |
Non-Patent Citations (2)
Title |
---|
Extreme Performance scaling for the Virtualized Infrastructure;DELL;《BROCADE》;20121231;第1-3页 * |
基于FPGA的光纤通道HBA卡设计与实现;俞则人 等;《信息技术》;20151231;第206-209页 * |
Also Published As
Publication number | Publication date |
---|---|
CN109739716A (en) | 2019-05-10 |
Similar Documents
Publication | Publication Date | Title |
---|---|---|
CN103186466B (en) | Information interactive testing device and method based on association automatic generating test case | |
WO2017000424A1 (en) | Protocol detection method and apparatus | |
CN109739716B (en) | Method and system for testing HBA card in storage system | |
CN107453960A (en) | A kind of methods, devices and systems that test data is handled in service testing | |
CN103902458A (en) | Universal storage software test design method | |
CN111199353B (en) | Test method and test system | |
CN109710501A (en) | A kind of detection method and system of server data transport stability | |
CN111181800B (en) | Test data processing method and device, electronic equipment and storage medium | |
CN101800672B (en) | Equipment detection method and equipment | |
CN111400154A (en) | Performance test method and related device for solid state disk | |
CN105547644A (en) | Optical cable testing system and testing method based on optical time domain reflectometer | |
CN108038127B (en) | Data synchronization method, device, terminal equipment and storage medium | |
CN101510172B (en) | Test system and method | |
CN111459727B (en) | Intelligent automatic test system and method for serial port baud rate maximum error-free tolerance range | |
WO2020150863A1 (en) | Optical communication module testing method and apparatus and terminal device | |
CN111506526A (en) | Battery model identification method and device, electronic equipment and storage medium | |
US20230025081A1 (en) | Model training method, failure determining method, electronic device, and program product | |
CN115658404A (en) | Test method and system | |
CN109582334A (en) | The upgrade method and device of programmable logic device | |
CN112373419B (en) | Automatic test system and method for vehicle-mounted multimedia offline configuration function | |
CN114879647A (en) | ECU fault code test system, electronic controller and car | |
CN107506436B (en) | Method and device for testing storage performance of Internet of things database | |
CN111740881A (en) | Network card link detection method, system, equipment and computer storage medium | |
CN109686395B (en) | OCP (optical proximity correction) buckle card testing method and system | |
CN110298665A (en) | Orientation payment off-line trading blacklist management system and method |
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 |