
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
################################################################################
#
#
#
Init the logging system.
#
#
#
################################################################################
proc log_init { display_stdout } {
global fm_logfile
if {$display_stdout == 0} {
log_user 1
}
set fm_logfile "/tmp/expect_logs.txt"
}
################################################################################
Chapter 4. Configuring the blade server
85
Содержание 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...