Lenovo BladeCenter HX5 7873 Problem Determination And Service Manual page 54

Blade server
Table of Contents

Advertisement

#
################################################################################
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.
#
################################################################################
proc amm_set_mm_target { } {
global amm_id
#
# We should discover what bay the MM is in, hardcoded to 1 right now.
#
set mm 1
send -i $amm_id "env -T system:mm\[$mm\]\r"
expect -i $amm_id -exact "system:mm\[$mm\]"
expect -i $amm_id "OK" {
set rv [ amm_save_target "system:mm\[$mm\]" ]
return 0
}
return 1
}
################################################################################
#
# Set the CLI target to 'system'.
#
Returns 0 on success and 1 on failure.
#
################################################################################
proc amm_set_system_target { } {
global amm_id
send -i $amm_id "env -T system\r"
38
BladeCenter HX5 Blade ServerProblem Determination and Service Guide
#
#
#
#
#
#
#
#

Advertisement

Table of Contents
loading

Table of Contents