CN105404573A - SmartRack multi-node deployment system pressure testing method - Google Patents
SmartRack multi-node deployment system pressure testing method Download PDFInfo
- Publication number
- CN105404573A CN105404573A CN201510915383.XA CN201510915383A CN105404573A CN 105404573 A CN105404573 A CN 105404573A CN 201510915383 A CN201510915383 A CN 201510915383A CN 105404573 A CN105404573 A CN 105404573A
- Authority
- CN
- China
- Prior art keywords
- test
- pressure
- smartrack
- deployment system
- node
- 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
Links
- 238000012360 testing method Methods 0.000 title claims abstract description 48
- 238000013515 script Methods 0.000 claims abstract description 16
- 238000000034 method Methods 0.000 claims abstract description 15
- 238000009434 installation Methods 0.000 claims abstract description 5
- 238000010998 test method Methods 0.000 claims description 4
- 230000007613 environmental effect Effects 0.000 claims description 3
- 238000007689 inspection Methods 0.000 claims description 3
- 238000004519 manufacturing process Methods 0.000 abstract description 3
- 238000010276 construction Methods 0.000 abstract 1
- 108010028984 3-isopropylmalate dehydratase Proteins 0.000 description 1
- 241000282326 Felis catus Species 0.000 description 1
- 230000009286 beneficial effect Effects 0.000 description 1
- 238000006243 chemical reaction Methods 0.000 description 1
- 238000011161 development Methods 0.000 description 1
- 238000004134 energy conservation Methods 0.000 description 1
- 238000005516 engineering process Methods 0.000 description 1
- 230000006870 function Effects 0.000 description 1
- 238000012423 maintenance Methods 0.000 description 1
- 238000005259 measurement Methods 0.000 description 1
- 230000003068 static effect Effects 0.000 description 1
Landscapes
- Debugging And Monitoring (AREA)
Abstract
The invention discloses a pressure testing method for a SmartRack multi-node deployment system, and belongs to the technical field of server node testing. The SmartRack multi-node deployment system pressure testing method is represented by linux? The method is realized by a test program written in the bash language and mainly comprises the following steps: 1) and (3) environment construction: operating system installation, configuration network, SSH (Secure? The configuration and preparation work before the test; 2) pressure deployment: CPU and MEM pressure selection stress tool, hard disk pressure selection fio, specific script including stress _ scripts.sh and command1.sh, executing script content on the main node, completing test and collecting test result. The SmartRack multi-node deployment system pressure testing method reduces production cost, improves testing efficiency and has good popularization and application values.
Description
Technical field
The present invention relates to server node technical field of measurement and test, a kind of SmartRack multinode deployment system method for testing pressure is specifically provided.
Background technology
SmartRack server complete machine is by one group of redundant power centrally connected power supply, in conjunction with power source loads dynamic development adjustment, power supply conversion efficiency is up to more than 94%, play framework and allow network, Computer Storage is organic to coexist, half-breadth computing node can be supported, each category nodes such as overall with memory node, the compatibility standard rack network switch, by network, computer storage function is incorporated in a stylobate Infrastructure, the simple and easy maintenance of use procedure, without the need to loaded down with trivial details dismounting, easily can realize door centralized management and an automatic service deployment, realize administrative center to the functional module of whole machine cabinet and supporting module overall management, the operation that guarantee business is more stable, realize energy-conservation.This type is by one group of separate nodes sharing storage space, intercoms mutually, can provide high-performance and high-reliability service for user.Server complete machine generally will carry out system pressure test, because the node of SmartRack server complete machine is numerous, needs the means of testing introducing batch, robotization, to meet the demand of present high-level efficiency test during deployment system pressure test.
Summary of the invention
Technical assignment of the present invention is for above-mentioned Problems existing, and provide a kind of method of testing simple and convenient, testing efficiency is higher, and significantly can reduce the SmartRack multinode deployment system method for testing pressure of production cost.
For achieving the above object, the invention provides following technical scheme:
A kind of SmartRack multinode deployment system method for testing pressure, described method is realized by the test procedure of linuxbash language compilation, mainly comprises the steps:
1) environmental structure: operating system installation, configuration network, SSH(SecureShell) configuration, the preliminary work of carrying out before test;
2) pressure is disposed: CPU and MEM pressure selection stress instrument, hard disk pressure selection fio, concrete script has stress_scripts.sh and command1.sh, performs content for script on the primary node, completes and tests and collect test result.
As preferably, need the OS of deployment whole machine cabinet, network and SSH to arrange without cryptographic acess before test starts, complete batch afterwards and dispose pressure test; Test people when interrupting or occur the unusual conditions such as the machine of delaying, for fixing fault, tested all test results of rear inspection and judged whether exception.
The present invention has following outstanding beneficial effect: for the feature that SmartRack type node is numerous, introduce during deployment system pressure test batch, the method for testing of robotization, described method is simple to operation, effectively reduce production cost, and the efficiency of test can be improved, there is good practicality.
Embodiment
Below in conjunction with embodiment, SmartRack multinode deployment system method for testing pressure of the present invention is described in further detail.
embodiment
SmartRack multinode deployment system method for testing pressure of the present invention, realized by the test procedure of linuxbash language compilation, mainly comprise the steps: 1) environmental structure: operating system installation, configuration network, SSH(SecureShell) configuration, the preliminary work of carrying out before test; 2) pressure is disposed: CPU and MEM pressure selection stress instrument, hard disk pressure selection fio, concrete script has stress_scripts.sh and command1.sh, performs content for script on the primary node, completes and tests and collect test result.Need the OS of deployment whole machine cabinet, network and SSH to arrange without cryptographic acess before test starts, complete batch afterwards and dispose pressure test; Test people when interrupting or occur the unusual conditions such as the machine of delaying, for fixing fault, tested all test results of rear inspection and judged whether exception.
Concrete implementation process is as follows:
Operating system installation selects Redhat6, and network configuration is for static.SSH(SecureShell) configuration is as described below:
Host node mn01: log in root user, runs ssh-keygen – tdsa, and object creates .ssh catalogue under/root; Strike twice carriage return when pointing out input passphase, this will generate/root/.ssh/id_dsa and/root/.ssh/id_dsa.pub
From node cn01: log in root user, run ssh-keygen – tdsa, then on mn01, scp/root/.ssh/id_dsa.pubcn01:/root/.ssh/authorized_keys2 is run, on cn01 /root/.ssh catalogue under run catid_dsa.pub>>authorized_ke ys2, rerun scpauthorized_keys2cn02:/root/.ssh/
From node cn02: run catid_dsa.pub>>authorized_ke ys2 under/root/.ssh catalogue, rerun scpauthorized_keys2cn03:/root/.ssh/
Residue is from node: node repeats above step below, in the end on a node by authorized_keys2 file complete for generation one, then, under authorized_keys2 file scp order being copied to all node/root/.ssh/, ssh has configured.
Comprise the log of IPMI service of opening, clearly BMC record before test in preliminary work in script pretest.sh, read the parts such as hard disk SN and tempreature, code is as follows:
#!/bin/bash
/sbin/serviceipmistart
/usr/bin/ipmitoolchassisidentify
echo".......getbmclog......."
/usr/bin/ipmitoolsellist
/usr/bin/ipmitoolselclear
echo".......getdiskinformation......"
foriin{a..h};doecho".......Temp_sd$i.......";/usr/sbin/smartctl-a/dev/sd$i|grepTemperature_Cels|awk'{print$10}';done
foriin{a..h};doecho".......SN_sd$i......";/usr/sbin/smartctl-a/dev/sd$i|grepSerial;done。
Stress_scripts.sh content for script in pressure deployment is:
#!/bin/sh
#installstress_tools
yuminstall-ylibaio*
sleep2
echo"installfio"
cdtools
tar-xvffio-2.1.4.tar.bz2
cdfio-2.1.4
./configure&&make&&makeinstall
cd..
sleep2
echo"installstress"
tar-xvfstress-1.0.4.tar.gz
cdstress-1.0.4
./configure&&make&&makeinstall
cd../../
sleep2
#stresscpu&mem
cpu_num=$(cat/proc/cpuinfo|grep"processor"|wc-l)
nohupstress-c$cpu_num-m320&
stressHDD
fordevin`lsscsi|awk'{print$NF}'|sed1d|sed'$d'|tr-s'\n'''`
do
nohupfio--readwrite=randrw--rwmixread=70--bs=4k--numjobs=1--runtime=432000s--end_fsync=0--group_reporting--direct=1--ioengine=libaio--time_based--invalidate=1--norandommap--randrepeat=0--exitall--size=100%--name=`basename$dev`--filename=$dev&
done
Command1.sh content for script is:
#!/bin/bash
functionshab()
{
ssh$1$2
}
foriin{02..32}
do
echo"---------------------------------------------$i-----------------------------------------"
shabm$i"$1"&
#>/tmp/cutemp/cu$i&
#>/opt/cu01temp/cu$i"&
Done。
Above-described embodiment, just the present invention's more preferably embodiment, the usual change that those skilled in the art carries out within the scope of technical solution of the present invention and replacement all should be included in protection scope of the present invention.
Claims (2)
1. a SmartRack multinode deployment system method for testing pressure, is characterized in that: described method is realized by the test procedure of linuxbash language compilation, mainly comprises the steps:
1) environmental structure: operating system installation, configuration network, SSH(SecureShell) configuration, the preliminary work of carrying out before test;
2) pressure is disposed: CPU and MEM pressure selection stress instrument, hard disk pressure selection fio, concrete script has stress_scripts.sh and command1.sh, performs content for script on the primary node, completes and tests and collect test result.
2. SmartRack multinode deployment system method for testing pressure according to claim 1, is characterized in that: need the OS of deployment whole machine cabinet, network and SSH to arrange without cryptographic acess before test starts, and completes batch afterwards and disposes pressure test; Test people when interrupting or occur the unusual conditions such as the machine of delaying, for fixing fault, tested all test results of rear inspection and judged whether exception.
Priority Applications (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
CN201510915383.XA CN105404573A (en) | 2015-12-11 | 2015-12-11 | SmartRack multi-node deployment system pressure testing method |
Applications Claiming Priority (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
CN201510915383.XA CN105404573A (en) | 2015-12-11 | 2015-12-11 | SmartRack multi-node deployment system pressure testing method |
Publications (1)
Publication Number | Publication Date |
---|---|
CN105404573A true CN105404573A (en) | 2016-03-16 |
Family
ID=55470071
Family Applications (1)
Application Number | Title | Priority Date | Filing Date |
---|---|---|---|
CN201510915383.XA Pending CN105404573A (en) | 2015-12-11 | 2015-12-11 | SmartRack multi-node deployment system pressure testing method |
Country Status (1)
Country | Link |
---|---|
CN (1) | CN105404573A (en) |
Cited By (5)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN105868117A (en) * | 2016-04-27 | 2016-08-17 | 浪潮电子信息产业股份有限公司 | Method for running yesdd pressure test on whole rack simultaneously |
CN106445755A (en) * | 2016-09-21 | 2017-02-22 | 郑州云海信息技术有限公司 | Method for automatically testing integral cabinet servers |
CN107453923A (en) * | 2017-09-14 | 2017-12-08 | 郑州云海信息技术有限公司 | A kind of method of SmartRack types multinode batch operation reboot tests |
CN107480022A (en) * | 2017-08-22 | 2017-12-15 | 郑州云海信息技术有限公司 | A kind of method of testing of Storage RACK system disks automatically scanning detection |
CN109471665A (en) * | 2018-10-31 | 2019-03-15 | 湖南国科微电子股份有限公司 | A kind of method of automatic installation Windows operating system |
Citations (5)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
US20040079165A1 (en) * | 2002-10-24 | 2004-04-29 | Honda Giken Kogyo Kabushiki Kaisha | Fatigue safety factor testing method and fatigue safety factor testing apparatus |
CN103793305A (en) * | 2014-02-24 | 2014-05-14 | 浪潮电子信息产业股份有限公司 | Method for testing parallel pressure of server subsystems |
CN104182288A (en) * | 2014-08-18 | 2014-12-03 | 浪潮电子信息产业股份有限公司 | Method for automatically testing power consumption of server cluster system |
CN104579853A (en) * | 2015-02-10 | 2015-04-29 | 浪潮电子信息产业股份有限公司 | Method for network testing of server cluster system |
CN104639402A (en) * | 2015-03-05 | 2015-05-20 | 浪潮电子信息产业股份有限公司 | Method for server cluster system network test |
-
2015
- 2015-12-11 CN CN201510915383.XA patent/CN105404573A/en active Pending
Patent Citations (5)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
US20040079165A1 (en) * | 2002-10-24 | 2004-04-29 | Honda Giken Kogyo Kabushiki Kaisha | Fatigue safety factor testing method and fatigue safety factor testing apparatus |
CN103793305A (en) * | 2014-02-24 | 2014-05-14 | 浪潮电子信息产业股份有限公司 | Method for testing parallel pressure of server subsystems |
CN104182288A (en) * | 2014-08-18 | 2014-12-03 | 浪潮电子信息产业股份有限公司 | Method for automatically testing power consumption of server cluster system |
CN104579853A (en) * | 2015-02-10 | 2015-04-29 | 浪潮电子信息产业股份有限公司 | Method for network testing of server cluster system |
CN104639402A (en) * | 2015-03-05 | 2015-05-20 | 浪潮电子信息产业股份有限公司 | Method for server cluster system network test |
Non-Patent Citations (1)
Title |
---|
雷晓江: "云计算服务平台资源管理系统", 《中国优秀硕士学位论文全文数据库信息科技辑》 * |
Cited By (7)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN105868117A (en) * | 2016-04-27 | 2016-08-17 | 浪潮电子信息产业股份有限公司 | Method for running yesdd pressure test on whole rack simultaneously |
CN106445755A (en) * | 2016-09-21 | 2017-02-22 | 郑州云海信息技术有限公司 | Method for automatically testing integral cabinet servers |
CN106445755B (en) * | 2016-09-21 | 2019-09-06 | 郑州云海信息技术有限公司 | A kind of server automated test method of whole machine cabinet |
CN107480022A (en) * | 2017-08-22 | 2017-12-15 | 郑州云海信息技术有限公司 | A kind of method of testing of Storage RACK system disks automatically scanning detection |
CN107453923A (en) * | 2017-09-14 | 2017-12-08 | 郑州云海信息技术有限公司 | A kind of method of SmartRack types multinode batch operation reboot tests |
CN109471665A (en) * | 2018-10-31 | 2019-03-15 | 湖南国科微电子股份有限公司 | A kind of method of automatic installation Windows operating system |
CN109471665B (en) * | 2018-10-31 | 2022-01-11 | 湖南国科微电子股份有限公司 | Method for automatically installing Windows operating system |
Similar Documents
Publication | Publication Date | Title |
---|---|---|
CN105404573A (en) | SmartRack multi-node deployment system pressure testing method | |
CN105471675A (en) | Method and system of testing nodes in batches | |
CN104182288A (en) | Method for automatically testing power consumption of server cluster system | |
US20090119403A1 (en) | Composite Resource Models | |
CN105740152A (en) | Pressure testing method for multi-node batch deployment system | |
CN103905253A (en) | Server monitoring and management method based on Nagios and BMC | |
CN105653398B (en) | A kind of smart allocation operating system mirror method | |
US20070294561A1 (en) | Providing independent clock failover for scalable blade servers | |
CN104579853A (en) | Method for network testing of server cluster system | |
Armstrong et al. | Performance issues in clouds: An evaluation of virtual image propagation and I/O paravirtualization | |
Adinets et al. | Job digest: An approach to dynamic analysis of job characteristics on supercomputers | |
US20140215258A1 (en) | Cluster management in a shared nothing cluster | |
CN109672722B (en) | Data deployment method and device, computer storage medium and electronic equipment | |
CN105183591A (en) | High-availability cluster implementation method and system | |
CN105516359A (en) | Method for managing and operating SAS Switch JBOD by using telnet protocol | |
CN104754047A (en) | Cross-platform unified management method for cluster storage system users | |
CN105260286A (en) | Method for monitoring CPU working state in real time | |
US11805338B2 (en) | Systems and methods for enabling smart network interface card as an advanced telemetry appliance | |
WO2016197688A1 (en) | Data collection method and device | |
Ramos et al. | An extensible resource discovery mechanism for grid computing environments | |
CN110515714A (en) | A kind of task balance dispatching method based on group system | |
WO2023276039A1 (en) | Server management device, server management method, and program | |
CN111262963A (en) | Method and system for binding MAC address and IP address of virtual machine | |
CN113031969B (en) | Equipment deployment inspection method and device, computer equipment and storage medium | |
CN109669905A (en) | A kind of hot removing method, system and the relevant apparatus of PCIE device |
Legal Events
Date | Code | Title | Description |
---|---|---|---|
C06 | 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: 20160316 |
|
RJ01 | Rejection of invention patent application after publication |