You can also use an Expect type script to automate advanced management module command-line interface
(CLI) commands for updating the firmware for both blade servers. Complete the following steps to use an
Expect type script:
1. Download the firmware for the BladeCenter HX5 blade server from http://www.ibm.com/support/
fixcentral/systemx/groupView? query.productGroup=ibm%2FBladeCenter. Place the files on a TFTP
server that is on the same TCP/IP subnet as the advanced management module for the chassis in which
the blade servers are installed.
Note:
Remember to record the directory location on the TFTP server where you place the files; you will
need that location to run the Expect type script.
2. Generate an Expect type script that will log in to the advanced management module CLI, update the
firmware for the blade servers, and restart the blade servers when complete.
3. From a computer that is on the same TCP/IP subnet as the advanced management module for the
chassis in which the scalable blade complex is installed, run the Expect type script.
Example of an Expect script
The following script illustrates how an Expect type script might be created to update the firmware for both
blade servers.
Important:
IBM does not provide support for Expect scripts. For more information about using Expect, see
the Expect website at http://expect.sourceforge.net/. For more information about using the advanced
management module CLI, see the
BladeCenter Advanced Management Module Command-Line Interface
Reference Guide
at http://publib.boulder.ibm.com/infocenter/bladectr/documentation/topic/com.ibm.
bladecenter.advmgtmod.doc/adv_man_mod_printable_doc.html.
#!/usr/bin/expect
################################################################################
#
#
# This tool has been built from the following sources:
#
#
#
# support/FlashMNBladeViaAmm.exp
: 1.1
#
# support/include/Log.exp
: 1.9
#
# support/include/AMM.exp
: 1.29
#
# support/include/MultiNode.exp
: 1.1
#
# support/include/FlashBlade.exp
: 1.16
#
#
#
################################################################################
################################################################################
#
#
# Code from source
: support/include/Log.exp
#
#
#
################################################################################
################################################################################
#
#
# Globals.
#
#
#
################################################################################
log_user 0
exp_internal -f /tmp/diag.txt 0
set fm_logfile ""
set g_normal_timeout_value 30
set timeout $g_normal_timeout_value
86
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 ...