CMM Scripting

*) echo Invalid device IPMB address >> /var/log/debug.log

;;

esac

#

#ACTIVATION

date >> /var/log/frucontrol.log if [ "$4" = "2" ] ; then

echo activating device $DEVICE >> /var/log/frucontrol.log while true

do

cmmset -l $DEVICE -d fruactivation -v 1

if [ $? -eq 0 ] ; then break

fi

done

echo done activating device $DEVICE >> /var/log/frucontrol.log cmmget -l $DEVICE -d hotswapstate

fi

#

#DEACTIVATION

if [ "$4" = "5" ] ; then

echo deactivating device $DEVICE >> /var/log/frucontrol.log while true

do

cmmset -l $DEVICE -d fruactivation -v 0 if [ $? -eq 0 ] ; then

172MPCMM0001 Chassis Management Module Software Technical Product Specification

Page 172
Image 172
Intel MPCMM0001 manual # Activation