#
#
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} {
if { ! [info exists blade_presence_bits($slot)]} {
continue
}
set present $blade_presence_bits($slot)
if {$present == 1} {
ft_log "Blade: $slot -- Updating to firmware: $firmware."
set rv [ flash_update_blade $slot $firmware ]
if {$rv == 0} {
ft_log "Blade: $slot -- Firmware update success."
} else {
ft_log "Blade: $slot -- Firmware update failed."
set rv [ collect_flash_failure_logs $slot ]
}
global amm_id
send -i $amm_id "\r"
set rv [ ft_delay 2 ]
}
}
}
#############################################################################
#
#
#
Script startup -- check usage and assign globals.
#
#
#
#############################################################################
if {$argc < 6} {
puts "USAGE: $argv0 <Chassis_Ip> <Userid> <Password> <TftpServer> <TftpFilename> <Blade_No>"
exit
}
set amm
[lindex $argv 0]
set userid
[lindex $argv 1]
set password
[lindex $argv 2]
set tftp_server
[lindex $argv 3]
set tftp_filename [lindex $argv 4]
set blade_no
[lindex $argv 5]
#############################################################################
#
#
#
Code start.
#
#
#
#############################################################################
set rv [ log_init 1 ]
set rv [ amm_login $amm $userid $password ]
set rv [ purge_old_upd_files ]
set rv [ populate_complex_list ]
set rv [ amm_set_mm_target ]
set rv [ flash_update_mn_blade $blade_no $tftp_filename ]
Chapter 4. Configuring the blade server
97
Summary of Contents for BladeCenter HX5
Page 1: ...IBM BladeCenter HX5 Type 7873 7872 1910 and 1909 Installation and User s Guide...
Page 2: ......
Page 3: ...IBM BladeCenter HX5 Type 7873 7872 1910 and 1909 Installation and User s Guide...
Page 112: ...102 IBM BladeCenter HX5 Type 7873 7872 1910 and 1909 Installation and User s Guide...
Page 116: ...106 IBM BladeCenter HX5 Type 7873 7872 1910 and 1909 Installation and User s Guide...
Page 120: ...110 IBM BladeCenter HX5 Type 7873 7872 1910 and 1909 Installation and User s Guide...
Page 124: ...114 IBM BladeCenter HX5 Type 7873 7872 1910 and 1909 Installation and User s Guide...
Page 128: ...118 IBM BladeCenter HX5 Type 7873 7872 1910 and 1909 Installation and User s Guide...
Page 140: ...130 IBM BladeCenter HX5 Type 7873 7872 1910 and 1909 Installation and User s Guide...
Page 141: ......
Page 142: ...Part Number 90Y5562 Printed in USA 1P P N 90Y5562...