A P P E N D I X C |
Updating the Firmware |
From time to time, the firmware for the Sun IB switch might need to be updated.
This appendix provides instructions for setting up a TFTP server and using the flashupdate command to update the firmware. It contains the following sections:
The instructions in this section assume that you are setting up a TFTP server on a Solaris system.
|
1. On the system that you intend to set up as the TFTP server, log in as superuser.
2. Use a text editor to uncomment or add the following line, if it is missing, to the /etc/inetd.conf file:
3. On the same system create a TFTP home directory by typing the following at the Solaris prompt:
5. Verify that TFTP is working.
To do this, use TFTP to get a file from the /tftpboot directory:
a. On the system that you are using as the TFTP server, copy any file (for example, the Solaris /etc/release file) to the /tftpboot directory.
Type the following command at the Solaris superuser prompt:
Where filename is the file you intend to make available on the TFTP server.
b. Make the file you have just copied read-only:
Where filename is the file you intend to make available on the TFTP server.
c. Change directory to a temporary directory:
d. Use TFTP to get the file from the tftpboot directory:
Note - Note that TFTP is not the same as FTP. It does not display the same error messages as FTP, and you cannot use the cd or ls commands (or indeed most other commands) that FTP allows you to use. |
The procedures for upgrading firmware on the switch involve using TFTP.
When you have downloaded the firmware, you need to install it into the correct directory on the TFTP server. This makes the firmware available to the system controller's flashupdate command.
To install the firmware onto the TFTP server, type the following at the root prompt:
# cd /tftp-root-dir # cp ibswitch-sc.flash /tftp-root-dir # chmod 444 /tftp-root-dir/ibswitch-sc.flash |
Where tftp-root-dir is the TFTP root directory on the TFTP server. On Solaris systems this directory is typically called /tftpboot. On Linux systems it is called /tftp.
|
1. Check the current version of the firmware:
The current version of the firmware appears in the line labeled "Current Running Image".
Where ipaddress specifies the IP address of the computer on which the new firmware is stored (in other words, of the TFTP server).
3. Reset the system to load the new image:
Copyright © 2004, Sun Microsystems, Inc. All Rights Reserved.