EasyManuals Logo

IBM BladeCenter HX5 User Manual

IBM BladeCenter HX5
142 pages
To Next Page IconTo Next Page
To Next Page IconTo Next Page
To Previous Page IconTo Previous Page
To Previous Page IconTo Previous Page
Page #99 background imageLoading...
Page #99 background image
# #
# 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 {123456789abcdef}
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
}
}
################################################################################
# #
# Reboot the AMM. #
# #
################################################################################
proc reboot_amm{}{
global amm_id
#
# Reboot the AMM.
#
send -i $amm_id "reset\r"
#
# The AMM CLI needs to have the session opened until it goes away.
#
sleep 10
ft_log "AMM: Rebooted."
return 0
}
################################################################################
# #
# Set the MM target to the value. #
# #
################################################################################
Chapter 4. Configuring the blade server 89

Table of Contents

Other manuals for IBM BladeCenter HX5

Questions and Answers:

Question and Answer IconNeed help?

Do you have a question about the IBM BladeCenter HX5 and is the answer not in the manual?

IBM BladeCenter HX5 Specifications

General IconGeneral
BrandIBM
ModelBladeCenter HX5
CategoryServer
LanguageEnglish

Related product manuals