C H A P T E R 2 |
Flash Upgrading Your Server |
This chapter contains procedures and information for upgrading Sun Blade X6220 server module to the current software release. See the following sections:
This section shows a summary of the steps you should perform to update your server to the current software release.
1. Review Chapter 3 for known issues and considerations regarding the flash upgrade.
2. Determine the version of the firmware that you currently have.
See How to Determine The Firmware Version of Your Server.
1. Download the flash image .ima file by following links from the URL below:
a. Locate the Hardware Drivers section.
b. Click the X64 Servers and Workstations.
c. Click the link for the Sun Blade X6220 Server Module release that you want to upgrade to.
e. Enter your Username and Password.
Tip - If you do not have a Username and Password, you can register free of charge by clicking Register Now. |
f. Click Accept License Agreement.
g. Click the on the appropriate file name:
SW 1.0.2: ilom.X6220-1.1.8-BIOS26.ima
SW 1.1a: ilom.X6220-2.0.3.1-r26140.ima
SW 1.2: ilom.X6220-2.0.3.2-r30997.ima
SW 2.0: ilom.X6220-2.0.3.3-r34514.ima
SW 2.1: ilom.X6220-2.0.3.10-r36968.ima
SW 3.0: ilom.X6220-3.0.3.34-r44801.ima
2. Perform the flash upgrade by using one of the following:
Tip - Because of the increased memory usage during web-based GUI operations, you might need to use N1 System Manager or the ILOM CLI load command to upgrade the ILOM firmware. |
For details on firmware flashing, see the document appropriate to the method you are using:
http://docs.sun.com/app/docs/prod/n1.sysmgr#hic
For Example, from the ILOM CLI, use the following command:
Where tftpserver is a trivial file-transfer protocol (TFTP) server and firmware.ima is one of the following image files:
SW 1.0.2: ilom.X6220-1.1.8-BIOS26.ima
SW 1.1a: ilom.X6220-2.0.3.1-r26140.ima
SW 1.2: ilom.X6220-2.0.3.2-r30997.ima
SW 2.0: ilom.X6220-2.0.3.3-r34514.ima
SW 2.1: ilom.X6220-2.0.3.10-r36968.ima
SW 3.0: ilom.X6220-3.0.3.34-r44801.ima
3. (Optional) If you cannot get output to your serial console after the flash upgrade, you might have to clear CMOS settings. This is because your default CMOS settings might have been changed by the new BIOS upgrade.
To clear CMOS settings, use the following commands (in this example, the default username, root, and the default password, changeme, are used):
ipmitool -U root -P changeme -H SP-IP chassis power off ipmitool -U root -P changeme -H SP-IP chassis bootdev disk clear-cmos=yes |
Where SP-IP is the IP address of the service processor.
4. (Optional) If you have any problems with the flash upgrade, refer to the section Recovering From a Failed Flash Update.
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:
1. Download the LSI firmware .iso file from the Sun Fire X64 servers web site to the remote system.
2. Using a web browser, connect to the ILOM and open the ILOM GUI.
Where sp_ip_address is the IP address of the service processor.
3. Select Remote Control -> Redirection.
4. Select 8-bit or 16-bit color.
7. At the login prompt for the JavaRconsole window, type root, and then type the root password.
8. In the JavaRconsole window, select Devices.
9. Attach the LSI firmware update image .iso file.
b. At the pop-up screen navigate to the ISO file you downloaded in Step 1 and click Open.
10. From the main SP ILOM GUI, select Remote Control -> Remote Power Control
11. Select Power -> Action -> Reset.
12. 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.
13. In the JavaRConsole window select Devices -> CDROM Image to detach the LSI firmware update .iso file.
14. Select JavaRConsole Keyboard -> Control Alt Delete.
15. On system boot, you will notice the new LSI firmware version.
1. Download the LSI firmware .iso file from the Sun Fire X64 servers web site 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. Attach a USB CD or DVD drive to the server module USB port.
3. Insert the bootable CD and reboot the server.
4. When the system reboots, select “1” to perform the update.
5. Reboot the system and you will see that the LSI firmware version has been updated.
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 Software Release Firmware Versions.
This section provides three methods of determining your firmware version build number:
See the Integrated Lights Out Manager 3.0 User’s Guide for more detailed information on this procedure.
1. Connect an RJ-45 Ethernet cable to the NET MGT Ethernet port on the chassis CMM.
2. Establish an SSH connection using the following command:
Where SP-IP is the IP address of the server module service processor.
3. Enter the default password when you are prompted:
After you have successfully logged in, the SP displays its default command prompt:
4. Type the version command, which will return output similar to the following:
-> version SP firmware version: 1.x.x SP firmware build number: 18640 SP firmware date: Tue Sep 13 12:50:37 PDT 2006 SP filesystem version: 0.1.13 |
The ILOM firmware is the build number listed above.
1. Configure your terminal device or the terminal emulation software running on a laptop or PC to the following settings:
2. Connect a dongle cable to the server module.
3. Connect a serial cable from the RJ-45 SER MGT port on the server module dongle to your terminal device or PC.
4. 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.
In this example login prompt, 0003BA84D777 is the Ethernet MAC address of the SP. This will be different for each server.
5. 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:
6. Type the version command, which will return output similar to the following:
-> version SP firmware version: 1.x.x SP firmware build number: 18640 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.
1. Connect to the ILOM web GUI by typing the IP address of the server’s SP into your browser’s URL field. For example:
2. Log in to the ILOM SP and type the default user name (root) with the default password (changeme).
The first web page that is presented is the System Information -> Versions page, which includes the Build Number.
Use one of the three methods listed here to locate the ILOM SP and IP address:
To reset the ILOM SP, you can do any of the following:
Where SP-IP is the IP address of the service processor.
For complete details, see the Integrated Lights Out Manager 2.0 User’s Guide.
This section contains instructions for recovering from a failed Sun Blade X6220 ILOM firmware upgrade. Several issues have been identified with the firmware upgrade, which could result in a failed or incomplete firmware upgrade.
Use the following procedure to recover from a failed firmware upgrade. Note that 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.
Caution - The last ILOM firmware released for Sun Blade X6220 server module must be used to recover from a failed flash update. |
Note - Numbers printed below are in hexidecimal unless otherwise noted. |
1. Determine if 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.
See the Sun Blade X6220 Server Module 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 try cycling power to the system and entering xyzzy several times. |
3. Set the phy speed as follows:
a. Type the following command to confirm the phy number:
b. Now set the speed to 100 mbit, using the phy number in the following command:
Set the U-Boot environment variable, bootretry, to -1 to temporarily disable automatic reboot:
5. 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 network variables using the dhcp command or set the static IP address for the ILOM SP, TFTP server, gateway, and netmask as shown in the following example:
6. Use the U-Boot tftp command to download the ILOM firmware image.
Where firmware.ima is the name of the image file, such as, ILOM.X6220-1.1.x.ima.
Note - If the TFTP server or filename is incorrect, you might need to enter Control-C to halt the tftp command, then repeat this recovery procedure. |
You should see a message similar to:
7. Confirm that the download succeeded:
a. Confirm that the tftp command output ends with:
b. Check the ByteCount number against the file size.
c. Use the md command and confirm that its output displays strings from the beginning of the firmware image file. For example:
8. Erase the existing ILOM flash image:
a. Erase the exiting flash image with the erase fe020000 ffffffff command.
A series of dots will be displayed indicating the progress of the erase. For example:
=> erase fe020000 ffffffff .................................................................................Erased 200/200 sectors |
b. If you see the error message: Step Warning: protected sectors will not be erased! remove the protection first with the following commands:
9. Use the U-Boot cp.b command to copy the new ILOM firmware image as follows:
The .ima file needs to be loaded so that it fits right up against the highest available memory address. You need to start copying the image to flash at different addresses, depending on the size of the .ima file.
To correctly position the image, compute the image StartAddress as follows:
See the following examples of the StartAddress calculation:
11M image (11534336 bytes): 0xffffffff - 11534336 + 1 = 0xff500000
12.5M image (13107200 bytes): 0xff380000.
14M image (14680064, or 0xe00000 bytes): 0xff200000
The ByteCount should match the output of the tftp command, which should be just the hex representation of the .ima file size. It must be a hex value though, since U-Boot doesn’t understand decimal numbers.
=> cp.b 100000 ff380000 c80000 Copy to Flash .............................................................................................................................................done |
c. 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
Note - If the fmh command doesn’t show anything, you may have entered an incorrect memory address somewhere. Start again from step 5. Do not reset the SP in this state. |
10. 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.
Note - The sunservice account is not supported in ILOM 3.0. Contact your sunservice representative if you want to enable your sunservice account in ILOM 3.0. |
11. When the SP has booted all the way to the linux login prompt, log in with the following
Remember, you will have lost all configuration data after performing the flash update.
12. Restore the /coredump partition with this command:
The format_coredump program might be named something like: format_coredump.galaxy.2M, but there is only one such program in /usr/local/bin. Enter ls /usr/local/bin to see a list of programs and run whichever one is there.
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 How to Flash Upgrade Your Server and the Integrated Lights-Out Manager 2.0 User’s Guide. |
14. Reset your service processor and BIOS configuration settings as needed, because they might be lost during this recovery.
Copyright © 2009 Sun Microsystems, Inc. All rights reserved.