################################################################################
#
#
#
Collect the blade info from the AMM.
#
#
#
################################################################################
proc collect_blade_info { blade } {
global amm_id amm g_imm_fw_levels g_uefi_fw_levels
send -i $amm_id "info -T blade\[$blade\]\r"
#
#
Find the BIOS string.
#
expect -i $amm_id "BIOS" {
expect -i $amm_id "Build ID:" {
expect -i $amm_id "\n" {
set temp $expect_out(buffer)
set length [ string length ${temp} ]
set length [ expr $length - 3 ]
set uefi_level [string range ${temp} 1 $length]
set g_uefi_fw_levels($blade) $uefi_level
}
}
}
#
#
Find the SP string.
#
expect -i $amm_id -re "Blade*" {
expect -i $amm_id "Build ID:" {
expect -i $amm_id "\n" {
set temp $expect_out(buffer)
set length [ string length ${temp} ]
set length [ expr $length - 3 ]
set imm_level [string range ${temp} 1 $length]
set g_imm_fw_levels($blade) $imm_level
}
}
}
return 0
}
################################################################################
#
#
#
Collect the blade power state from the AMM.
#
#
#
################################################################################
proc collect_blade_power_state { blade } {
global amm_id amm
send -i $amm_id "info -T blade\[$blade\]\r"
}
################################################################################
#
#
#
Collect a file from the AMM.
#
#
#
################################################################################
proc collect_file_from_amm { remote_directory filename local_copy } {
global amm userid password
set command "/usr/bin/curl"
set arg1 "--silent"
set arg2 "--user"
set arg3 "${userid}:${password}"
set arg4 "ftp://${amm}/${remote_directory}/${filename}"
92
IBM BladeCenter HX5 Type 7873, 7872, 1910, and 1909: Installation and User's Guide
Содержание BladeCenter HX5
Страница 1: ...IBM BladeCenter HX5 Type 7873 7872 1910 and 1909 Installation and User s Guide...
Страница 2: ......
Страница 3: ...IBM BladeCenter HX5 Type 7873 7872 1910 and 1909 Installation and User s Guide...
Страница 112: ...102 IBM BladeCenter HX5 Type 7873 7872 1910 and 1909 Installation and User s Guide...
Страница 116: ...106 IBM BladeCenter HX5 Type 7873 7872 1910 and 1909 Installation and User s Guide...
Страница 120: ...110 IBM BladeCenter HX5 Type 7873 7872 1910 and 1909 Installation and User s Guide...
Страница 124: ...114 IBM BladeCenter HX5 Type 7873 7872 1910 and 1909 Installation and User s Guide...
Страница 128: ...118 IBM BladeCenter HX5 Type 7873 7872 1910 and 1909 Installation and User s Guide...
Страница 140: ...130 IBM BladeCenter HX5 Type 7873 7872 1910 and 1909 Installation and User s Guide...
Страница 141: ......
Страница 142: ...Part Number 90Y5562 Printed in USA 1P P N 90Y5562...