CN106649005A - Automatic pressure testing method of memory ras (Reliability, Availability and Serviceability) characteristics on the basis of shell - Google Patents

Automatic pressure testing method of memory ras (Reliability, Availability and Serviceability) characteristics on the basis of shell Download PDF

Info

Publication number
CN106649005A
CN106649005A CN201610871419.3A CN201610871419A CN106649005A CN 106649005 A CN106649005 A CN 106649005A CN 201610871419 A CN201610871419 A CN 201610871419A CN 106649005 A CN106649005 A CN 106649005A
Authority
CN
China
Prior art keywords
shell
pressure
patterns
log
pressure 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.)
Pending
Application number
CN201610871419.3A
Other languages
Chinese (zh)
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.)
Zhengzhou Yunhai Information Technology Co Ltd
Original Assignee
Zhengzhou Yunhai Information 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 Zhengzhou Yunhai Information Technology Co Ltd filed Critical Zhengzhou Yunhai Information Technology Co Ltd
Priority to CN201610871419.3A priority Critical patent/CN106649005A/en
Publication of CN106649005A publication Critical patent/CN106649005A/en
Pending legal-status Critical Current

Links

Classifications

    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06FELECTRIC DIGITAL DATA PROCESSING
    • G06F11/00Error detection; Error correction; Monitoring
    • G06F11/22Detection or location of defective computer hardware by testing during standby operation or during idle time, e.g. start-up testing
    • G06F11/2273Test methods

Abstract

The invention discloses an automatic pressure testing method of memory ras (Reliability, Availability and Serviceability) characteristics on the basis of shell, and relates to the technical field of computer servers. In a Linux system, on the basis of shell, a pressure test script is written, BIOS (Basic Input/ Output System) options are revised in the Linux system through an ipmitool command, three patterns including Mirror, Lockstep and sparing are started in sequence, and the three patterns including Mirror, Lockstep and sparing in the memory ras characteristics are automatically tested, and logs can be automatically collected. By use of the method, manpower can be released, artificial participation is reduced, manual operation errors and incomplete collected information in a testing process can be avoided, testing effects and efficiency can be improved, and practicality is high.

Description

Internal memory ras characteristics based on shell automate method for testing pressure
Technical field
The present invention relates to computer server technical field, specifically the internal memory ras characteristics based on shell are automated Method for testing pressure.
Background technology
With the continuous development of IT field technology, conventional informationization is serviced and increasingly powerful cloud computing service is to service The stability of device has the requirement of harshness.RAS characteristics (Reliability, the Availability and of internal memory Serviceability;Reliability, availability and serviceability) it is the internal memory existed for server stability in server Characteristic.Mirror, Lockstep, sparing Three models in RAS characteristics, are the most frequently used RAS modes, in server In test, this part is the content for having to test.
Previously for the test of the RAS characteristics of internal memory, need manually to modify BIOS type selectings and then carry out pressure Deng test, test collects log log informations after completing.So it is easy for producing artificial mistake, such as option modification mistake, Log collects incomplete, causes the inaccurate thing of pressure test to occur, while manual operation is less efficient.
The content of the invention
Demand and weak point of the present invention for the development of current technology, there is provided the internal memory ras characteristics based on shell are automatic Change method for testing pressure.
Internal memory ras characteristics based on shell of the present invention automate method for testing pressure, solve above-mentioned technical problem and adopt Technical scheme is as follows:The internal memory ras characteristics based on shell automate method for testing pressure, and based on shell pressure is write Power test script, by ipmitool orders BIOS option is changed under Linux system, and open successively Mirror, Lockstep, sparing Three models, carry out RAS characteristic tests automatically, and collect log automatically.
Preferably, BIOS option is changed under Linux system by ipmitool orders and opens Mirror patterns;After restarting Initiation pressure is tested, and pressure test is terminated afterwards within 48 hours and is collected log.
Preferably, BIOS option is changed under Linux system by ipmitool orders and closes Mirror patterns, and opened Lockstep patterns;Restart rear initiation pressure test, pressure test is terminated afterwards within 48 hours and collect log.
Preferably, BIOS option is changed under Linux system by ipmitool orders and closes Lockstep patterns, and opened Open Sparing patterns;Restart rear initiation pressure test, pressure test is terminated afterwards within 48 hours and collect log.
Internal memory ras characteristics automation method for testing pressure based on shell of the present invention has compared with prior art Beneficial effect be:The present invention can automatically carry out the modification and confirmation of ras characteristics, and the RAS of automatic test internal memory is special Property, and collect relevant information, manpower can be discharged, reduce artificial participation, prevent in test process manual operation mistake or The information that person collects is not complete, reduces artificial mistake, can lift the effect and efficiency of test, and practicality is stronger.
Description of the drawings
Accompanying drawing 1 automates the flow chart of method for testing pressure for the internal memory ras characteristics based on shell.
Specific embodiment
To make the object, technical solutions and advantages of the present invention become more apparent, below in conjunction with specific embodiment, to this The bright internal memory ras characteristics automation method for testing pressure based on shell is further described.
Embodiment:
Internal memory ras characteristic automation method for testing pressure of the present embodiment based on shell, is surveyed by writing shell pressure Training sheet, runs shell pressure test scripts under Linux system, and RAS characteristic tests are carried out automatically, and collects log automatically; As shown in Figure 1, its to implement process as follows:
1. BIOS option is changed under Linux system by ipmitool orders and open Mirror patterns;
2. restart rear initiation pressure test, pressure test is terminated afterwards within 48 hours and collect log;
3. BIOS option is changed under Linux system by ipmitool orders and close Mirror patterns, and opened Lockstep patterns;
4. restart rear initiation pressure test, pressure test is terminated afterwards within 48 hours and collect log;
5. BIOS option is changed under Linux system by ipmitool orders and close Lockstep patterns, and opened Sparing patterns;
6. restart rear initiation pressure test, pressure test is terminated afterwards within 48 hours and collect log.
Illustrate internal memory ras characteristics automation method for testing pressure of the present invention with an instantiation below, enter one Step introduces its technology contents:
1. shell pressure tests script is installed and Mirror patterns are opened:
#!/bin/bash
cd/root
service ipmi start
chkconfig ipmi on
# installs shell pressure test scripts
wget http://192.168.1.1/tool/memtester.tgz
tar-zxvf memtester.tgz
# opens mirror patterns
ipmitool raw 0x3e 0x20 0x24 0x00 0x01
Pressure test is configured to start next time and is performed automatically by #
cat>>/root/prase_one.txt<<EOF
# pressure tests
sh/root/m.sh&
sleep 127800
killall-9memtester
# collects log
mkdir log-prase-mirror
mv/var/log/messages*log-prase-mirror/
mv/var/log/dmesg*log-prase-mirror/
sh/root/prase_two.sh
EOF
echo“sh/root/prase_one.sh&”>>/etc/rc.d/rc.local
2.Mirror patterns are closed afterwards mirror for 48 hours and open lockstep
cat>>/root/prase_two.sh<<EOF
killall-9memtester
ipmitool raw 0x3e 0x20 0x24 0x00 0x02
echo“sh/root/prase_three.sh&”>>/etc/rc.d/rc.local
reboot
EOF
Sparing patterns are closed afterwards and opened to 3.Lockstep patterns for 48 hours.
cat>>/root/prase_three.sh<<EOF
# pressure tests
sh/root/m.sh&
sleep 127800
killall-9memtester
# collects log
mkdir log-prase-lockstep
mv/var/log/messages*log-prase-lockstep/
mv/var/log/dmesg*log-prase-lockstep/
# changes option
ipmitool raw 0x3e 0x20 0x24 0x00 0x00
ipmitool raw 0x3e 0x20 0x25 0x00 0x01
echo“sh/root/prase_four.sh&”>>/etc/rc.d/rc.local
reboot
EOF
cat>>/root/prase_four.sh<<EOF
# pressure tests
sh/root/m.sh&
sleep 127800
killall-9memtester
# collects log
mkdir log-prase-sparing
mv/var/log/messages*log-prase-sparing/
mv/var/log/dmesg*log-prase-sparing/
# becomes again to be tested after the default option before test and terminates
ipmitool raw 0x3e 0x20 0x25 0x00 0x00
EOF
Reboot。
Above-mentioned specific embodiment is only the concrete case of the present invention, and the scope of patent protection of the present invention is included but is not limited to Above-mentioned specific embodiment, any person of an ordinary skill in the technical field that meet claims of the present invention and any The appropriate change or replacement done to it, should all fall into the scope of patent protection of the present invention.

Claims (4)

1. the internal memory ras characteristics based on shell automate method for testing pressure, it is characterised in that write pressure based on shell and survey Training sheet, by ipmitool orders BIOS option is changed under Linux system, and open successively Mirror, Lockstep, Sparing Three models, carry out RAS characteristic tests automatically, and collect log automatically.
2. internal memory ras characteristics according to claim 1 based on shell automate method for testing pressure, it is characterised in that logical Cross ipmitool orders and BIOS option opening Mirror patterns are changed under Linux system;Restart rear initiation pressure test, 48 is little When after terminate pressure test and collect log.
3. internal memory ras characteristics according to claim 2 based on shell automate method for testing pressure, it is characterised in that logical Cross ipmitool orders and BIOS option closing Mirror patterns are changed under Linux system, and open Lockstep patterns;Restart Afterwards initiation pressure test, terminates afterwards pressure test in 48 hours and collects log.
4. internal memory ras characteristics according to claim 3 based on shell automate method for testing pressure, it is characterised in that logical Cross ipmitool orders and BIOS option closing Lockstep patterns are changed under Linux system, and open Sparing patterns;Weight Rear initiation pressure test is opened, pressure test is terminated afterwards within 48 hours and is collected log.
CN201610871419.3A 2016-09-30 2016-09-30 Automatic pressure testing method of memory ras (Reliability, Availability and Serviceability) characteristics on the basis of shell Pending CN106649005A (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN201610871419.3A CN106649005A (en) 2016-09-30 2016-09-30 Automatic pressure testing method of memory ras (Reliability, Availability and Serviceability) characteristics on the basis of shell

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN201610871419.3A CN106649005A (en) 2016-09-30 2016-09-30 Automatic pressure testing method of memory ras (Reliability, Availability and Serviceability) characteristics on the basis of shell

Publications (1)

Publication Number Publication Date
CN106649005A true CN106649005A (en) 2017-05-10

Family

ID=58854226

Family Applications (1)

Application Number Title Priority Date Filing Date
CN201610871419.3A Pending CN106649005A (en) 2016-09-30 2016-09-30 Automatic pressure testing method of memory ras (Reliability, Availability and Serviceability) characteristics on the basis of shell

Country Status (1)

Country Link
CN (1) CN106649005A (en)

Cited By (4)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN109086184A (en) * 2018-07-18 2018-12-25 郑州云海信息技术有限公司 The monitoring method of GPU pressure test under a kind of server Linux system
CN109254862A (en) * 2018-08-21 2019-01-22 奇酷互联网络科技(深圳)有限公司 It is automatically repaired method, mobile terminal and the storage medium of DDR overturning
CN109656765A (en) * 2018-12-18 2019-04-19 郑州云海信息技术有限公司 A kind of server Memory Mode automated test tool
CN114003419A (en) * 2021-09-30 2022-02-01 苏州浪潮智能科技有限公司 Method, system and device for realizing automatic testing of RAS (remote system operation) characteristics of memory based on OSES (open system operating system)

Citations (2)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN102981949A (en) * 2012-10-29 2013-03-20 浪潮电子信息产业股份有限公司 Method for on-line automatic tests of server
CN105224459A (en) * 2015-10-21 2016-01-06 浪潮电子信息产业股份有限公司 Under a kind of LINUX platform, test b MC is by the method for OEM order read-write BIOS configuration feature

Patent Citations (2)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN102981949A (en) * 2012-10-29 2013-03-20 浪潮电子信息产业股份有限公司 Method for on-line automatic tests of server
CN105224459A (en) * 2015-10-21 2016-01-06 浪潮电子信息产业股份有限公司 Under a kind of LINUX platform, test b MC is by the method for OEM order read-write BIOS configuration feature

Cited By (5)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN109086184A (en) * 2018-07-18 2018-12-25 郑州云海信息技术有限公司 The monitoring method of GPU pressure test under a kind of server Linux system
CN109254862A (en) * 2018-08-21 2019-01-22 奇酷互联网络科技(深圳)有限公司 It is automatically repaired method, mobile terminal and the storage medium of DDR overturning
CN109254862B (en) * 2018-08-21 2022-04-12 奇酷互联网络科技(深圳)有限公司 Method for automatically repairing DDR (double data Rate) upset, mobile terminal and storage medium
CN109656765A (en) * 2018-12-18 2019-04-19 郑州云海信息技术有限公司 A kind of server Memory Mode automated test tool
CN114003419A (en) * 2021-09-30 2022-02-01 苏州浪潮智能科技有限公司 Method, system and device for realizing automatic testing of RAS (remote system operation) characteristics of memory based on OSES (open system operating system)

Similar Documents

Publication Publication Date Title
CN106649005A (en) Automatic pressure testing method of memory ras (Reliability, Availability and Serviceability) characteristics on the basis of shell
US11176028B2 (en) System, method and storage device for CIM/E model standard compliance test
CN100498715C (en) Method for simulating IPMI by BIOS
CN104375910A (en) Automated startup and shutdown testing method
CN104360922A (en) Method for automatically monitoring BMC working state based on ipmitool
CN110750396B (en) Server operating system compatibility testing method and device and storage medium
CN104317712A (en) Linux-based storage server fatigue testing method
CN103559126B (en) A kind of test the method for software version, device and computer terminal
CN103970660A (en) Total system stability automatic test method based on crontab
CN104572422A (en) Memory monitoring achievement method based on startup and shutdown of Linux system
WO2023104121A1 (en) Testing method and apparatus for test case, and electronic device and storage medium
CN107508727B (en) Automatic network card information checking method and device
CN109388556A (en) A kind of analysis method and device of test process
CN104391780A (en) Method for automatically testing stability of redundancy function of power supply of server
CN104714863A (en) Method for completely storing Raid card logs on basis of Linux operation system after system crashes
CN105302687A (en) Hard disk sequence detection method based on linux
CN104636242A (en) Method for automatically deleting repeated content in system logs on basis of Linux operating system
CN111427765A (en) Method and system for automatically starting interface performance test realized based on jmeter
CN109308236A (en) A kind of warm connection function test method, device and relevant device
CN109656781A (en) A kind of blog management method, system, medium and electronic equipment
CN109141588B (en) Automatic simulation test system for gas meter
CN102880479B (en) A kind of method of remotely modifying BIOS property parameters and device
CN108153635B (en) System memory edge testing method, system device and computer readable storage medium
CN110806955A (en) Method and system for testing DC Cycle of server based on python
CN113703792A (en) Firmware remote upgrade test method, device, server and medium

Legal Events

Date Code Title Description
PB01 Publication
PB01 Publication
SE01 Entry into force of request for substantive examination
SE01 Entry into force of request for substantive examination
RJ01 Rejection of invention patent application after publication

Application publication date: 20170510

RJ01 Rejection of invention patent application after publication