Lenovo BladeCenter HX5 7873 Problem Determination And Service Manual page 63

Blade server
Table of Contents

Advertisement

proc flash_update_blade { blade_no firmware_image } {
global amm_id tftp_server g_normal_timeout_value
#
# Get a big timeout value while we flash.
#
set timeout 1000
#
# Make sure the AMM knows too.
#
send -i $amm_id "telnetcfg -t 0\r\n"
expect -i $amm_id -exact "OK"
#
# Populate a list
#
#
# Send the update command.
#
send -i $amm_id "update -i $tftp_server -l $firmware_image -T system:blade\[$blade_no\]:sp\r\n"
#
# Process results.
#
set rv 1
expect {
-i $amm_id "successful" { set rv 0 }
-i $amm_id "meant"
-i $amm_id "failed"
-i $amm_id "*nable*"
}
#
# Restore the timeout and return the rv.
#
set timeout $g_normal_timeout_value
return $rv
}
#############################################################################
#
# This loop will flash all blades in a given chassis to a given level of
# IMM or uEFI firmware via the AMM.
#
#############################################################################
proc flash_all_blades { firmware } {
global blade_presence_bits
for {set slot 1} {$slot < 15} {incr slot 1} {
{ set rv 1 }
{ set rv 1 }
{ set rv 1 }
#
#
#
#
.
Chapter 2
Configuring the blade server
47

Advertisement

Table of Contents
loading

Table of Contents