Lenovo BladeCenter HX5 7873 Problem Determination And Service Manual page 59

Blade server
Table of Contents

Advertisement

################################################################################
set multinode_complex [ list ]
#############################################################################
#
# Build a list of complexes.
#
#############################################################################
proc populate_complex_list { } {
global amm_id multinode_complex
set multinode_entry [ list ]
send -i $amm_id "scale\r\n"
expect {
#
# Find the complex ID.
#
-i $amm_id "Complex ID:" {
expect -i $amm_id "\n" {
set temp $expect_out(buffer)
set complex [ string trimright $temp ]
set complex [ string range ${complex} 1 4 ]
set multinode_entry [ list ]
lappend multinode_entry ${complex}
} timeout {
ft_error "parse error"
}
exp_continue
}
#
# Find the slots.
#
-i $amm_id "Bay: " {
expect -i $amm_id "\n" {
set temp $expect_out(buffer)
set bay [ string trimright $temp ]
set bay [ string range ${bay} 0 [string length ${bay}]]
lappend multinode_entry ${bay}
} timeout {
ft_error "parse error"
}
exp_continue
}
-i $amm_id "No scalable complex found" {
ft_log "AMM: No multi nodes found."
#
#
#
.
Chapter 2
Configuring the blade server
43

Advertisement

Table of Contents
loading

Table of Contents