EasyManuals Logo

IBM BladeCenter HX5 User Manual

IBM BladeCenter HX5
142 pages
To Next Page IconTo Next Page
To Next Page IconTo Next Page
To Previous Page IconTo Previous Page
To Previous Page IconTo Previous Page
Page #102 background imageLoading...
Page #102 background image
################################################################################
# #
# 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

Table of Contents

Other manuals for IBM BladeCenter HX5

Questions and Answers:

Question and Answer IconNeed help?

Do you have a question about the IBM BladeCenter HX5 and is the answer not in the manual?

IBM BladeCenter HX5 Specifications

General IconGeneral
BrandIBM
ModelBladeCenter HX5
CategoryServer
LanguageEnglish

Related product manuals