C H A P T E R  2

Update Procedures

This chapter describes how to update your server to Software Release 2.0 . See the following sections:


Updating Your Server Firmware

The Integrated Lights Out Manager (ILOM) firmware and BIOS are tightly coupled and are always updated together. The LSI firmware is usually updated at the same time as the BIOS and ILOM; LSI firmware can be updated before or after the BIOS and ILOM firmware.


procedure icon Updating the BIOS and ILOM Firmware



caution icon Caution - To ensure a successful update, do notattempt to modify the ILOM configuration, or use other ILOM GUI, CLI, SNMP, or IPMI interfaces, during the flash update process. Wait until after the update succeeds before making further ILOM configuration changes. The update requires a system server, and takes about 20 minutes.


1. Determine the current version of the ILOM firmware. See Verifying the ILOM Firmware Version.

2. Review the section Firmware Upgrade Special Considerations for known issues and considerations regarding the flash update.

3. Download the latest flash image at:

http://www.sun.com/servers/x64/x4600/downloads.jsp

Be sure to download the image for M2 server.

4. Use the ILOM GUI, the ILOM CLI load command, or N1 System Manager to perform the firmware update.



Note - Due to the increased memory use during Web GUI operations, you might need to use N1 System Manager or the ILOM CLI load command to update the ILOM firmware.


From the ILOM CLI, use the following command:

load -force -source tftp://tftpserver/ilom.firmware.ima

where tftpserver is the server that contains the update and ilom.firmware.ima is the image file,. For example: ilom.x4600.1.1.1-r15632.ima.

If you have any problems with the flash update, refer to the sectionRecovering from a Failed Flash Update.

Updating the LSI Firmware



caution icon Caution - During an update, never power off the system.


In order to update the LSI firmware, you must boot the system from a special CD or CD image. There are two ways you can do this:

JavaRConsole Method

1. Using a web browser, connect to the ILOM and open the ILOM GUI.

https://sp_ip_address

where sp_ip_address is the IP address of the service processor.

2. Select Remote Control -> Redirection.

3. Select 8-bit or 16-bit color.

4. Select Launch Redirection.

5. Respond to all prompts.

6. At the login prompt for the JavaRconsole window, type root, and then type the root password.

7. In the JavaRconsole window, select Devices.

8. Attach to the LSI firmware update image .iso file. At the pop-up screen, select the CD-ROM Image.

A check mark is displayed on the drop-down menu selection.

9. Select Remote Control -> Remote Power Control in the ILOM GUI.

10. Select Power -> Action -> Reset.

11. When the system reboots, select “1” (Perform the Update) from the JavaRconsole window.

The update proceeds. When complete, the console responds with a new prompt.

12. In the JavaRConsole window select Devices -> CDROM Image to detach the LSI firmware update .iso file.

13. Select JavaRConsole Keyboard -> Control Alt Delete.

14. On system boot, you will notice the new LSI firmware version.


procedure icon  Local Method

1. Download the LSI firmware .iso file from the Sun Fire X64 servers website and burn it to a bootable CD.



Note - The bootable CD will appear blank when viewed using the operating system. This is expected behavior (CR6554839).


2. Insert the bootable CD and reboot the server.

The firmware is upgraded.

3. Reboot the system.

More on Updating the LSI Firmware

For information about the LSI firmware and BIOS, see the documentation files that accompany the LSI download. For LSI firmware versions included in this release, see Component Versions By Release.

Verifying the ILOM Firmware Version

There are three alternate procedures in this section that you can use:


procedure icon  Verifying the Firmware Version Using the CLI Through the Management Ethernet Port

1. Connect an RJ-45 Ethernet cable to the NET MGT Ethernet port on the back panel.

2. Establish an SSH connection using the following command, then enter the default password (changeme) when you are prompted:

# ssh -l root sp_ip_address

changeme

After you have successfully logged in, the SP displays its default command prompt:

->

3. Type the version command, which returns output similar to the following:

-> version
SP firmware version: 1.0
SP firmware build number: 10644
SP firmware date: Tue Sep 13 12:50:37 PDT 2006
SP filesystem version: 0.1.13

The ILOM firmware build is listed above.


procedure icon  Verifying the Firmware Version Using the CLI Through the Serial Port

1. Configure your terminal device or the terminal emulation software running on a laptop or PC to the following settings:

2. Connect a serial cable from the RJ-45 SER MGT port on your server’s back panel to your terminal device or PC.

3. Press Enter on the terminal device to establish a connection between that terminal device and the server’s SP.

The SP displays a login prompt.

SUNSP0003BA84D777 login:

In this example login prompt, 0003BA84D777 is the Ethernet MAC address of the SP. This will be different for each server.

4. Log in to the ILOM SP and type the default user name (root) with the default password (changeme).

After you have successfully logged in, the SP displays its default command prompt:

->

5. Type the version command, which returns output similar to the following:

-> version

SP firmware version: 1.0

SP firmware build number: 10644

SP firmware date: Tue Sep 13 12:50:37 PDT 2006

SP filesystem version: 0.1.13

The ILOM firmware build version is the build number listed above.


procedure icon  Verifying the Firmware Version Using the Web GUI

1. Connect to the ILOM Web GUI by typing the IP address of the server’s SP into your browser’s address field. For example:

https://129.146.53.150

2. Log in to the ILOM SP and type the default user name (root) with the default password (changeme).

The first Web page presented is the System Information -> Versions page, which includes the Build Number.


Recovering from a Failed Flash Update

Several issues have been identified with the firmware update, which could result in a failed or incomplete firmware update. This section describes how to recover from a failed ILOM firmware update.

Use the following procedure to recover from a failed firmware update.



Note - In a small percentage of cases (such as when no output is displayed on the SP serial port), the Graphics Redirect and Service Processor (GRASP) board must be replaced.


Prerequisites



Note - Numbers printed below are in hexadecimal unless otherwise noted.



procedure icon  Recovery Steps

1. Determine whether the ILOM SP first-level booter (referred to in this procedure as U-Boot) is intact. Follow documented procedures to connect to the SP serial port, apply power to the system, and observe the initial ILOM boot messages.

Refer to the Sun Fire X4600 M2 Server Installation Guide for details.

2. Enter the ILOM SP U-Boot command interpreter with xyzzy.

When the message, Booting linux in 2 seconds... is displayed, during ILOM initial boot, type xyzzy to enter the U-Boot command interpreter.



Note - The characters typed will not echo. Cutting and pasting the characters improves the chance of success. You might need to try the process of applying power to the system and entering xyzzy several times.


3. Disable automatic reboot.

Set the U-Boot environment variable, bootretry, to -1 to temporarily disable automatic reboot:

set bootretry -1

4. Configure the network for TFTP access.

a. Copy the ILOM SP firmware image to a TFTP server that is accessible on the same IP subnet as the ILOM SP network port.

b. Set the IP address for the ILOM SP and the TFTP server IP address by setting the ethaddr and serverip U-Boot variables.

set ipaddr n.n.n.n
set serverip n.n.n.n

5. Use the U-Boot tftp command to download the ILOM firmware image.

tftp 100000 ilom.firmware.ima

where ilom.firmware.ima is the image file, for example, ilom.x4100.1.1.1-r15632.ima.



Note - If the TFTP server or filename is incorrect, you might need to enter ^C to halt the tftp command, then repeat this recovery procedure.


Be sure that the complete flash image is actually downloaded successfully before proceeding. You should see a message similar to:

=> tftp 100000 r10644.rom.ima

Using FCC1 ETHERNET device
TFTP from server 10.6.154.8; our IP address is 10.6.154.99
Filename ’r10644.rom.ima’.
Load address: 0x100000

Loading:
###########################################################

###########################################################

###########################################################

###########################################################

##########################

done

Bytes transferred = 13107200 (c80000 hex)

6. Confirm that the download succeeded:

a. Confirm that the tftp command output ends with
Bytes transferred = ByteCount

b. Use the md command and confirm that its output displays strings from the beginning of the firmware image file. For example:

=> tftp 100000 r15028.rom.ima
Using FCC1 ETHERNET device
TFTP from server 10.6.154.8; our IP address is 10.6.154.99
Filename ?r10644.rom.ima?.
Load address: 0x100000
Loading:
###########################################################
###########################################################
###########################################################
###########################################################
##########################
done
Bytes transferred = 13107200 (c80000 hex)

7. Erase the existing ILOM flash image:



caution icon Caution - Interrupting the flash recovery process from this point onwards, or entering an incorrect U-Boot command, might result in a disabled service processor, which will require replacement. DO NOT stop or remove power from the system from this point onward.


a. Enter the following commands:

=> erase ff200000 ffffffff

=> erase fe000000 feffffff

A series of dots will appear, indicating the progress of the erasure.

b. If a failure occurs, retry the erase command repeatedly until it succeeds.



Note - If a persistent failure occurs, the service processor is not flash-upgradable, and must be replaced. Refer to the Sun Fire X4600 and Sun Fire X4600 M2 Server Service Manual 819-4342, for details on replacing the GRASP board.


8. Program the new ILOM firmware image:

a. Use the U-Boot cp.b command to copy the new ILOM firmware image from the download location at 100000 to ff380000, until end address ffffffff.

For example:

=> cp.b 100000 ff380000 ffffffffCopy to Flash .............................................................................................................................................done

b. Use the fmh command to verify the new ILOM firmware image.

Before resetting, make sure the copy succeeded, using the fmh command, which should display firmware sections. For example:

=> fmhListing FMH ModulesFlash Size : 32768 KBErase Size : 64 KBSector Count : 512FMH Located at 0xff380000 of Size 0x00020000Name : graspVer : 1.0Type : 0x0002Flags : 0x0000Size : 0x00000061Location: 0xff380040LoadAddr: 0xffffffffCheckSum: Not Computed--------------------------------------------------FMH Located at 0xff3a0000 of Size 0x00120000Name : sysbiosVer : 1.31Type : 0x0000Flags : 0x0100Size : 0x00100000Location: 0xff3c0000Flash Upgrading Your Server to Release 1.1 13LoadAddr: 0xffffffffCheckSum: Valid--------------------------------------------------FMH Located at 0xff4c0000 of Size 0x000c0000Name : osimageVer : 1.0Type : 0x0006Flags : 0x0119Size : 0x000ac9c8Location: 0xff4c0040LoadAddr: 0x00c00000CheckSum: Valid...1


Note - If the command output does not show anything, you may have entered an incorrect memory address. Repeat the tftp, erase and cp.b commands until the image is properly copied. Note that you must erase the existing firmware image before attempting to copy a new image.


9. Reset the ILOM service processor.

Once you are certain that the service processor firmware image has been recovered, you can restart the service processor with the reset command.

=> reset

10. Recover the system BIOS



Note - This manual ILOM SP recovery process does not reflash the system BIOS. Repeat the firmware upgrade process, using the ILOM GUI or CLI procedures as described in Updating Your Server Firmware.


Be sure to reset your service processor and BIOS configuration settings as needed, because they might be lost during this recovery.