发明名称 一种服务器子系统并行压力测试方法
摘要 本发明提供一种服务器子系统并行压力测试方法,属于服务器领域,该发明使用开源测试软件对服务器硬件进行测试,可以使用简单的方法进行测试,保证硬件的可用性和耐压性,为企业服务连续性和稳定性提供验证。这种方法能够保证用户业务系统的安全、稳定运行,不会因为短时间内压力过大而产生中断,避免由于意外导致业务系统损坏后不可恢复,对客户的业务系统连续性有着重要的意义。
申请公布号 CN103793305A 申请公布日期 2014.05.14
申请号 CN201410061772.6 申请日期 2014.02.24
申请人 浪潮电子信息产业股份有限公司 发明人 黄福超
分类号 G06F11/22(2006.01)I 主分类号 G06F11/22(2006.01)I
代理机构 代理人
主权项 一种服务器子系统并行压力测试方法,其特征在于本发明主要包括:1)、利用一台服务器安装操作系统CentOS6.4搭建环境;2)、利用一控制端控制服务器端,远程连接;3)、服务器配置各子系统测试软件;4)、编写耐压测试运行脚本;   5)、运行测试,等待测试结果;    <b>具体步骤如下:</b>1)、 在服务器上安装操作系统操作系统CentOS6.4,选择基本服务器安装,安装完成,通过下面命令可以查看[root@localhost ~]# cat /etc/issueCentOS release 6.4 (Final)   2)、选择各个子系统施压工具,CPU测试选择cpuburn,内存测试选择mbw,硬盘读写测试工具选择fio    3)、上传上述工具至服务器根目录,安装;   4)、安装cpuburn:[root@localhost /]# tar xvf cpuburn‑in.tar.gz cpuburn‑inREADME[root@localhost /]# chmod 777 cpuburn‑in    5)、安装mbw[root@localhost /]# unzip mbw‑master.zip[root@localhost /]# cd mbw‑master[root@localhost mbw‑master]# make    6)、安装fio[root@localhost /]# tar xvf fio‑2.1.4.tar.bz2[root@localhost /]# cd fio‑2.1.4[root@localhost fio‑2.1.4]# ./configure[root@localhost fio‑2.1.4]# make[root@localhost fio‑2.1.4]# make install    7)、编写脚本stress.shwhile truedo    killall ‑0 fio || fio ‑runtime=3600000 ‑name=mytest ‑filename=/dev/sdb ‑ioengine=psync ‑numjobs=16 ‑direct=1 ‑bs=64k ‑rw=rw &amp;    killall ‑0 mbw || ./mbw‑master/mbw 4096 &amp;    killall ‑0 cpuburn‑in || ./cpuburn‑in 100000 &amp;    echo Server Stress Test Please Donot Interrupt .......; sleep 1done    8)、运行脚本stress.sh[root@localhost /]# ./stress.sh   9)、在监控端打开2个shell,监控服务器各子系统使用率,   A、第一个shell运行top命令,监控cpu和内存;   B、第一个shell运行iotop命令,监控硬盘状况。
地址 250014 山东省济南市高新区舜雅路1036号