
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"
expect -i $amm_id "OK" {
set rv [ amm_save_target "system" ]
return 0
}
return 1
}
################################################################################
#
#
#
Set the CLI target to a blade.
#
#
Returns 0 on success and 1 on failure.
#
#
#
################################################################################
proc amm_set_blade_target { blade_no } {
global amm_id
send -i $amm_id "env -T system:blade\[$blade_no\]\r"
expect -i $amm_id "OK" {
set rv [ amm_save_target "system:blade\[$blade_no\]" ]
return 0
}
return 1
}
################################################################################
#
#
#
Collect the current SOL ready status.
#
#
#
################################################################################
proc blade_collect_sol_ready_status { } {
global amm_id
send -i $amm_id "sol\r"
expect -i $amm_id "OK" {
} timeout {
return 1
}
expect -i $amm_id "SOL Session: Ready" {
return 0
}
90
IBM BladeCenter HX5 Type 7873, 7872, 1910, and 1909: Installation and User's Guide
Summary of Contents for BladeCenter HX5
Page 1: ...IBM BladeCenter HX5 Type 7873 7872 1910 and 1909 Installation and User s Guide...
Page 2: ......
Page 3: ...IBM BladeCenter HX5 Type 7873 7872 1910 and 1909 Installation and User s Guide...
Page 112: ...102 IBM BladeCenter HX5 Type 7873 7872 1910 and 1909 Installation and User s Guide...
Page 116: ...106 IBM BladeCenter HX5 Type 7873 7872 1910 and 1909 Installation and User s Guide...
Page 120: ...110 IBM BladeCenter HX5 Type 7873 7872 1910 and 1909 Installation and User s Guide...
Page 124: ...114 IBM BladeCenter HX5 Type 7873 7872 1910 and 1909 Installation and User s Guide...
Page 128: ...118 IBM BladeCenter HX5 Type 7873 7872 1910 and 1909 Installation and User s Guide...
Page 140: ...130 IBM BladeCenter HX5 Type 7873 7872 1910 and 1909 Installation and User s Guide...
Page 141: ......
Page 142: ...Part Number 90Y5562 Printed in USA 1P P N 90Y5562...