From 08e6606dca871426f514e9fdd9ff642613581047 Mon Sep 17 00:00:00 2001 From: Victor Hu Date: Tue, 7 Jun 2016 17:25:50 -0400 Subject: [PATCH] Use a different ipmitool command for the OpenPower BMC to identify the light --- xCAT-genesis-scripts/bin/bmcsetup | 16 +++++++++++----- 1 file changed, 11 insertions(+), 5 deletions(-) diff --git a/xCAT-genesis-scripts/bin/bmcsetup b/xCAT-genesis-scripts/bin/bmcsetup index c1651f364..76302a190 100755 --- a/xCAT-genesis-scripts/bin/bmcsetup +++ b/xCAT-genesis-scripts/bin/bmcsetup @@ -531,10 +531,16 @@ while [ $idev -gt 0 ]; do fi logger -s -t $log_label -p local4.info "Lighting Identify Light" - while : - # Identify the server by turning on the LED light - do ipmitool -d $idev raw 0 4 10 > /dev/null - sleep 7 - done & + if [ "$XPROD" = "43707" ]; then + # OpenPower BMC specific, turn on the LED beacon for 5 minutes + ipmitool chassis identify 300 + else + # All other BMCs + while : + # Identify the server by turning on the LED light + do ipmitool -d $idev raw 0 4 10 > /dev/null + sleep 7 + done & + fi done