Lenovo BladeCenter HX5 Installation And User Manual page 97

Blade server
Table of Contents

Advertisement

#
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
#
# Create a storage space for our output.
#
set g_target_blade $blade
set rv [ test_results_set_cwd ]
#
#
#
#
#
#
#
#
#
.
Chapter 4
Configuring the blade server
89

Advertisement

Table of Contents
loading

This manual is also suitable for:

7873787219101909

Table of Contents