Lenovo BladeCenter HX5 Installation And User Manual page 99

Blade server
Table of Contents

Advertisement

if {$present == 1} {
set rv [ reset_blade $slot ]
if {$rv != 0} {
ft_log "Blade: $slot did not reboot."
}
}
}
}
################################################################################
#
# Reset a blade via the AMM. Returns 0 on success and 1 on timeout.
#
################################################################################
proc reset_blade { blade } {
global amm_id
#
# Reboot the blade.
#
send -i $amm_id "reset -T blade\[$blade\]\r\n"
expect -i $amm_id "OK" {
ft_log "Blade $blade: Rebooted host OS."
return 0
} timeout {
return 1
}
}
################################################################################
#
# Reset a blade via the AMM. Returns 0 on success and 1 on timeout.
#
################################################################################
proc reset_blade_gator { blade } {
global amm_id
#
# Gator zap.
#
set gator_map
{ 1 2 3 4 5 6 7 8 9 a b c d e f }
set gator_offset [lindex $gator_map $blade_no]
send -i $amm_id "dbg gator x $gater_offset -Tsystem:mm\[1\]\r\n"
expect -i $amm_id "OK" {
ft_log "Blade $blade: Gator zap."
return 0
} timeout {
return 1
}
}
#
#
#
#
#
#
.
Chapter 4
Configuring the blade server
91

Advertisement

Table of Contents
loading

This manual is also suitable for:

7873787219101909

Table of Contents