Lenovo BladeCenter HX5 Installation And User Manual page 107

Blade server
Table of Contents

Advertisement

# Tell the AMM no timeout.
#
send -i $amm_id "telnetcfg -t 0\r\n"
expect -i $amm_id -exact "OK"
#
# Populate a list of multi node targets.
#
set slots [ list ]
set slots [ get_multinode_list_for_slot $blade_no ]
#
# Validate it has data.
#
set count [ llength $slots ]
if {$count == 0} {
ft_error "Unable to find any valid multi node configuration."
return 1
}
#
# Get a big timeout value while we flash.
#
set timeout 1000
set complex_name [ lindex $slots 0 ]
ft_log "Attempting to flash complex: $complex_name"
#
# Flash each slot number.
#
foreach slot $slots {
if {$slot == $complex_name} {
continue
}
ft_log "Flashing slot number: $slot"
#
# Send the update command.
#
send -i $amm_id "update -i $tftp_server -l $firmware_image -T system:blade\[$slot\]:sp\r\n"
#
# Process results.
#
set rv 1
expect {
-i $amm_id "successful" { set rv 0 }
-i $amm_id "meant"
-i $amm_id "failed"
{ set rv 1 }
{ set rv 1 }
.
Chapter 4
Configuring the blade server
99

Advertisement

Table of Contents
loading

This manual is also suitable for:

7873787219101909

Table of Contents