Lenovo BladeCenter HX5 7873 Problem Determination And Service Manual page 50

Blade server
Table of Contents

Advertisement

proc ft_log { message } {
global fm_logfile
set date_val [ timestamp -format "%m/%d: %X: " ]
log_file $fm_logfile
send_log -- "$date_val $message\n"
log_file
send_user -- "$date_val $message\n"
}
################################################################################
#
# Bail on a critical error.
#
################################################################################
proc ft_error { message } {
ft_log "ERROR: $message"
puts "\n\nERROR: $message"
exit
}
################################################################################
#
# Code from source
#
################################################################################
################################################################################
#
# 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}
34
BladeCenter HX5 Blade ServerProblem Determination and Service Guide
: support/include/AMM.exp
;# 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.
#
#
#
#
#
#
#
#
#
#
#
#

Advertisement

Table of Contents
loading

Table of Contents