Lenovo BladeCenter HX5 Installation And User Manual page 110

Blade server
Table of Contents

Advertisement

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
#
#
#
#
#
#

Advertisement

Table of Contents
loading

This manual is also suitable for:

7873787219101909

Table of Contents