Lenovo BladeCenter HX5 Installation And User Manual page 94

Blade server
Table of Contents

Advertisement

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
# support/include/Log.exp
# support/include/AMM.exp
# support/include/MultiNode.exp
# support/include/FlashBlade.exp
#
################################################################################
################################################################################
#
# Code from source
#
################################################################################
################################################################################
#
# 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
: support/include/Log.exp
: 1.1
: 1.9
: 1.29
: 1.1
: 1.16
#
#
#
#
#
#
#
#
#
#
#
#
#
#
#

Advertisement

Table of Contents
loading

This manual is also suitable for:

7873787219101909

Table of Contents