}
################################################################################
#
#
# 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}"
set arg5 "-o"
set arg6 "${local_copy}"
set run_command [list exec $command $arg1 $arg2 $arg3 $arg4 $arg5 $arg6]
if {[catch $run_command result]} {
ft_log "Curl: command crashed with result $result fetching $arg4"
ft_log "Curl: The command was: ($command $arg1 $arg2 $arg3 $arg4 $arg5 $arg6"
return 1
}
return 0
}
################################################################################
#
#
# Delete a file from the AMM.
#
#
#
################################################################################
proc delete_file_from_amm { filename } {
global amm_id
send -i $amm_id "files -d ${filename}\r"
expect -i $amm_id "OK" {
return 0
}
return 1
}
################################################################################
96
BladeCenter HX5 Blade ServerInstallation and User's Guide
Summary of Contents for 1909
Page 1: ...BladeCenter HX5 Blade Server Installation and User s Guide Machine Types 7873 7872 1910 1909 ...
Page 80: ...72 BladeCenter HX5 Blade ServerInstallation and User s Guide ...
Page 112: ...104 BladeCenter HX5 Blade ServerInstallation and User s Guide ...
Page 116: ...108 BladeCenter HX5 Blade ServerInstallation and User s Guide ...
Page 120: ...112 BladeCenter HX5 Blade ServerInstallation and User s Guide ...
Page 126: ...118 BladeCenter HX5 Blade ServerInstallation and User s Guide ...
Page 133: ...Taiwan Class A compliance statement Appendix B Notices 125 ...
Page 134: ...126 BladeCenter HX5 Blade ServerInstallation and User s Guide ...
Page 139: ......
Page 140: ...Part Number 00V9872 Printed in China 1P P N 00V9872 ...
Page 141: ... 1P00V9872 ...