IPMI

See Supermicro/IPMI

See Linux/ipmitool

See Windows/ipmiutil

See Windows/ipmitool

ipmipower
yum install freeipmi apt-get install freeipmi-tools
 * 1) for ipmipower tool:

/usr/local/sbin/pm:
 * 1) !/bin/bash

ACTION="unknown" while getopts "r01" Option ; do       case $Option in                r)                        ACTION="reboot"                        ;;                0) ACTION="off" ;;               1)                        ACTION="on"                        ;;                *) echo "Error, unknown parameter: $Option" exit 1 ;;       esac done shift $(($OPTIND - 1))

if [ $# -ne 1 -o "$ACTION" == "unknown" ] ; then echo "Usage: $0 [-r:REBOOT][-0:OFF][-1:ON] " exit 1 fi

SERVER=$1 echo "$SERVER" | grep "i-" > /dev/null if [ $? -ne 0 ] ; then SERVER="i-$SERVER" fi

if [ "$ACTION" == "reboot" ] ; then echo "Rebooting $SERVER..." ipmipower -h $SERVER -u ADMIN -p ADMIN -r elif [ "$ACTION" == "on" ] ; then echo "Powering On $SERVER..." ipmipower -h $SERVER -u ADMIN -p ADMIN --on elif [ "$ACTION" == "on" ] ; then echo "Powering Off $SERVER..." ipmipower -h $SERVER -u ADMIN -p ADMIN --off fi