2013年4月15日 星期一

How to generate ipmi stress session

How to generate ipmi stress session

Please save as below to ipmi_stress.bat under windows.

Require Tools: BMC Utilites from SBUU. (Please install BMC Utilites by SBUU in your client.)
Usage: ipmi_stress.bat  iDrac-ip , ipmi_stress.bat 192.168.253.85

@rem ======================
:1
set BMC_IP=%1

set cmd=ipmitool -I lanplus -H %BMC_IP% -U root -P calvin

%cmd% raw 6 1
%cmd% sdr
%cmd% sel list
%cmd% lan print
goto 1
@rem ======================

For Linux Client:

#!/bin/bash

BMC_IP=$1

cmd="ipmitool -I lanplus -H $BMC_IP -U root -P calvin"

while true
do
$cmd raw 6 1
$cmd sdr
$cmd sel list
$cmd lan print
done

沒有留言:

張貼留言