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 ]
102
BladeCenter HX5 Blade ServerInstallation and User's Guide
Summary of Contents for 1909
Page 1: ...BladeCenter HX5 Blade Server Installation and User s Guide Machine Types 7873 7872 1910 1909 ...
Page 80: ...72 BladeCenter HX5 Blade ServerInstallation and User s Guide ...
Page 112: ...104 BladeCenter HX5 Blade ServerInstallation and User s Guide ...
Page 116: ...108 BladeCenter HX5 Blade ServerInstallation and User s Guide ...
Page 120: ...112 BladeCenter HX5 Blade ServerInstallation and User s Guide ...
Page 126: ...118 BladeCenter HX5 Blade ServerInstallation and User s Guide ...
Page 133: ...Taiwan Class A compliance statement Appendix B Notices 125 ...
Page 134: ...126 BladeCenter HX5 Blade ServerInstallation and User s Guide ...
Page 139: ......
Page 140: ...Part Number 00V9872 Printed in China 1P P N 00V9872 ...
Page 141: ... 1P00V9872 ...