IBM BladeCenter HX5 Installation And User Manual page 97

Type 7873, 7872, 1910 and 1909
Hide thumbs Also See for BladeCenter HX5:
Table of Contents

Advertisement

# Globals.
#
################################################################################
set amm_id ""
set save_amm ""
set save_target ""
set save_userid ""
set save_password ""
array set g_imm_fw_levels { }
array set g_uefi_fw_levels { }
################################################################################
#
# Unexpected EOF handler.
#
################################################################################
proc eof_handler { } {
global save_amm save_userid save_password
ft_log "Unexpected EOF talking to AMM."
#
# Clean up any zombies.
#
catch {close -i $amm_id}
wait -nowait
#
# The AMM closed the connection on us -- try to resume.
#
set amm_id ""
set rv [ amm_login $save_amm $save_userid $save_password ]
set rv [ amm_restore_save_target ]
}
################################################################################
#
# Save off the current target value.
#
################################################################################
proc amm_save_target { string } {
global save_target
set save_target $string
}
################################################################################
#
# Restore the AMM to its saved target value.
#
################################################################################
proc amm_restore_save_target { } {
global amm_id save_target
send -i $amm_id "env -T $save_target\r"
expect -i $amm_id -exact "OK" {
return 0
}
ft_error "Unable to restore AMM target after disconnect."
}
################################################################################
#
# Handy function to collect all flash failure logs for a given blade.
#
################################################################################
proc collect_flash_failure_logs { blade } {
global g_target_blade g_test_results_dir
#
;# Spawn ID for AMM ssh connection.
;# Save pointer of original amm value.
;# Save pointer for current AMM state.
;# Save pointer of original userid value.
;# Save pointer of original password value.
;# Array of IMM firmware levels.
;# Array of uEFI firmware levels.
Chapter 4. Configuring the blade server
#
#
#
#
#
#
#
#
#
#
#
#
#
#
87

Advertisement

Table of Contents
loading

This manual is also suitable for:

7873787219101909

Table of Contents