Lenovo BladeCenter HX5 Installation And User Manual page 105

Blade server
Table of Contents

Advertisement

#
# Code from source
#
################################################################################
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
}
: support/include/MultiNode.exp
#
#
#
#
#
#
.
Chapter 4
Configuring the blade server
97

Advertisement

Table of Contents
loading

This manual is also suitable for:

7873787219101909

Table of Contents