Method and system for testing Expander backboard hard disk indicator light based on Linux system

An indicator light and backplane technology, applied in the field of testing Expander backplane hard disk indicator light based on Linux system, can solve problems such as affecting test efficiency and non-uniform test methods, improve reliability, facilitate collocation of test environment, and reflect universal Effects of Sex and Flexibility

Inactive Publication Date: 2017-12-15
ZHENGZHOU YUNHAI INFORMATION TECH CO LTD
View PDF6 Cites 14 Cited by
  • Summary
  • Abstract
  • Description
  • Claims
  • Application Information

AI Technical Summary

Problems solved by technology

For storage controllers from different manufacturers, the configuration interface and command l...

Method used

the structure of the environmentally friendly knitted fabric provided by the present invention; figure 2 Flow chart of the yarn wrapping machine for environmentally friendly knitted fabrics and storage devices; image 3 Is the parameter map of the yarn covering machine
View more

Image

Smart Image Click on the blue labels to locate them in the text.
Viewing Examples
Smart Image
  • Method and system for testing Expander backboard hard disk indicator light based on Linux system
  • Method and system for testing Expander backboard hard disk indicator light based on Linux system
  • Method and system for testing Expander backboard hard disk indicator light based on Linux system

Examples

Experimental program
Comparison scheme
Effect test

Embodiment 1

[0040] A system based on the Linux system for testing the indicator light on the Expander backplane hard disk, including the Expander backplane, a storage controller and a hard disk; and a detection module, a data acquisition module and a judgment module;

[0041] The detection module is used to detect whether the system has installed the sg3_utils toolkit; detect the corresponding state of the Expander backplane hard disk indicator;

[0042] The data acquisition module is used to obtain the following information: obtain the name of the Expander device under the system; obtain the indicator light flag position of each slot number;

[0043] The judging module is used to judge whether the indicator bit of each slot number is 1 or 0.

[0044] The method for testing the Expander backplane hard disk indicator light based on the Linux system includes, based on the SES theory, utilizing a toolkit to carry out state setting and status inspection to the Expander backplane hard disk ind...

Embodiment 2

[0062] Take the Locate LED test as an example

[0063] 1) Build a test environment:

[0064] Linux operating system is installed on the Sata interface of the main board, the hard disk of the storage subsystem is fully configured, and the storage controller driver is installed under the system;

[0065] 2) Define the file directory:

[0066]

[0067] 3) Before testing, install the sg3_utils toolkit:

[0068] rpm-qa|grep sg3_utils-libs-1.41-1.x86_64>$FILE_DIR / sg3_utils_lib_package.txt

[0069] rpm-qa|grep sg3_utils-1.41-1.x86_64>$FILE_DIR / sg3_utils_package.txt

[0070] / / Query whether to install the sg3_utils-libs-1.41-1.x86_64 and grep sg3_utils-1.41-1.x86_64 installation packages, and write the query results into the sg3_utils_lib_package.txt and sg3_utils_package.txt files respectively

[0071] if[-s$FILE_DIR / sg3_utils_lib_package.txt];then

[0072] echo "sg3_utils_lib package has been installed already!"

[0073] else

[0074] rpm-ivh --force --nodeps sg3_utils-lib...

the structure of the environmentally friendly knitted fabric provided by the present invention; figure 2 Flow chart of the yarn wrapping machine for environmentally friendly knitted fabrics and storage devices; image 3 Is the parameter map of the yarn covering machine
Login to view more

PUM

No PUM Login to view more

Abstract

The invention discloses a method for testing an Expander backboard hard disk indicator light based on a Linux system. The method comprises the steps of utilizing a tool kit to conduct state setting and state examination on the Expander backboard hard disk indicator light based on an SES theoretical basis and obtaining corresponding state data; integrating the testing process of at least one state of the Expander backboard hard disk indicator light into a shell script; detecting corresponding states of the Expander backboard hard disk indicator light, generating a testing result and recording the testing result, so that the test is finished. Compared with the prior art, not only can the Expander backboard hard disk indicator light be automatically tested, but also the testing result can be imported into a test log to facilitate viewing in the later period; the method is applicable to multiple RAID cards or SAS cards, testing personnel conveniently match a testing environment, the testing time is saved, and meanwhile, the testing reliability is improved. By modifying a slot number supported by the Expander, the script can be applied to multiple Expanders, and the universality and flexibility of the testing script are embodied.

Description

technical field [0001] The invention relates to the technical field of general servers, in particular to a method for testing the hard disk indicator light of the Expander backboard based on the Linux system. Background technique [0002] In the field of general-purpose servers, the hard disk indicators on the back panel of the Expander usually have states such as Locate, Fault, and Rebuild, and each state corresponds to a different color for the indicator light. The hard disk indicator test is usually performed by manually turning on the indicator through the configuration interface of the storage controller or manually sending a command line command, or manually setting the hard disk to a certain state, such as Rebuild, to test the status of the indicator. For storage controllers from different manufacturers, the configuration interfaces and command line tools are also different, and the test methods are not uniform, which affects the test efficiency. Contents of the inv...

Claims

the structure of the environmentally friendly knitted fabric provided by the present invention; figure 2 Flow chart of the yarn wrapping machine for environmentally friendly knitted fabrics and storage devices; image 3 Is the parameter map of the yarn covering machine
Login to view more

Application Information

Patent Timeline
no application Login to view more
IPC IPC(8): G06F11/22G06F11/32
CPCG06F11/2205G06F11/325
Inventor 刘明
Owner ZHENGZHOU YUNHAI INFORMATION TECH CO LTD
Who we serve
  • R&D Engineer
  • R&D Manager
  • IP Professional
Why Eureka
  • Industry Leading Data Capabilities
  • Powerful AI technology
  • Patent DNA Extraction
Social media
Try Eureka
PatSnap group products