Lenovo BladeCenter HX5 Installation And User Manual page 100

Blade server
Table of Contents

Advertisement

################################################################################
#
# 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.
#
################################################################################
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
92
BladeCenter HX5 Blade ServerInstallation and User's Guide
#
#
#
#
#
#
#
#
#
#

Advertisement

Table of Contents
loading

This manual is also suitable for:

7873787219101909

Table of Contents