C H A P T E R 6 |
Firmware Show and Download Commands |
This chapter provides the firmware, disk drive, and NVRAM show and download commands. Topics covered in this chapter include:
The following commands are explained in this section:
Standalone Fibre Channel expansion chassis SES devices only. This command displays the PLD firmware revision of the specified standalone Sun StorEdge 3510 FC expansion chassis SES device. The FC expansion chassis must be connected directly to the host (not to an array controller), and the SES device must be specified explicitly with the select command.
To retrieve the PLD firmware revision of an array controller chassis, or of an expansion chassis connected to an array controller, use the show ses-devices command instead. For details, see show ses-devices.
SCSI devices only. This command displays information returned by the SAF-TE device embedded in SCSI LVD RAID enclosures or JBODs. When this command is issued to a LVD SCSI RAID with one or more expansion chassis attached, the output includes one line for the RAID chassis and one line for each expansion chassis, since each enclosure contains a separate SAF-TE device.
The output includes the channel and target ID of the SAF-TE device, the serial number of the chassis in which it is installed, the vendor and product IDs and SAF-TE firmware revision, the status of the overall health of the enclosure, and the "SAF-TE firmware package" revision, which refers to firmware for other microprocesses in the chassis that are managed by the SAF-TE processor.
The following example shows the SAF-TE device information for a Sun StorEdge 3310.
The following example shows the SAF-TE device information for a Sun StorEdge 3120.
Fibre Channel devices only. This command displays a list of enclosure services devices visible to the selected array controller or JBOD. The output includes the channel and target ID of the SES device, the serial number of the chassis in which it is installed, the vendor and product IDs and the SES firmware revision, the PLD firmware revision, the status of the overall health of the enclosure, and the FC World Wide Port Name for the device.
In redundant configurations, SES devices are installed in pairs in a single chassis. Therefore, two devices show the same chassis serial number. It is important to ensure the SES firmware and PLD revisions are consistent for SES devices installed in the same chassis. Any firmware revision mismatches that might result from replacement of an SES device FRU are flagged with an asterisk ("*"), as well as by a visual indicator on the chassis itself.
Information is shown for the array device's enclosure, as well as any expansion chassis that might be connected to the array. To view information about an SES device in an expansion chassis connected directly to the host instead of an array controller, use the select command to specify an SES device in the expansion chassis, and issue a show inquiry and show pld-revision command to each device.
Returned values include: Channel Number, SCSI ID, Chassis Number, Vendor, Product ID, Revision, PLD Revision, SES WWNN, SES WWPN, SES Topology (loop A, top slot, or loop B bottom slot), and Status.
The following example shows the SES devices for a Sun StorEdge 3510.
The following commands are explained in this section:
Caution - All download commands are potentially dangerous. Use only as instructed. |
Caution - In redundant-controller configurations, download commands affect all LUNs on both controllers. After running a download command, you need to run the select command to reselect the device. |
Caution - Stop the Configuration Service agent if it is running. |
Note - If the download firmware files are not under the same directory as the CLI, you need to specify the full path. |
This command downloads firmware to the RAID controller. In a dual-controller configuration, the failover capability of the redundant controller pair is used to activate the new firmware without requiring the array to be shutdown in what is known as a live upgrade or hot firmware download operation. In a single controller configuration, the new firmware is activated by resetting the controller.
If the -r or --reset option is specified, the controllers are always reset instead of performing a live upgrade. This option is faster and is recommended when a live upgrade is not required.
download controller-firmware filename |
The following example downloads firmware to the RAID controller:
This command downloads disk driver firmware into disk drives connected to the array. The disk-model is matched against SCSI INQUIRY data to determine which drives should be programmed. The disk firmware file is matched to the capacity, family, and drive type of the drive to which you are downloading. For instance, if you attempt to download 73 Gbyte drive Fuji firmware to a Seagate drive, the download fails.
This function shuts down the array controller first, preventing the host from performing I/O for several minutes.
This command only upgrades firmware in drives attached to RAID array controllers. To upgrade disk firmware in drives contained within a standalone expansion chassis (JBOD), use the procedure documented in the README file provided with the firmware.
The following example shows the disk model on channel 2 ID 6 to discover the disk model name and then downloads the disk firmware to that drive:
The following example downloads the firmware to the disk in the JBOD unit /dev/rdsk/c6t0d0s2, which is attached to a RAID controller:
This command restores the NVRAM configuration from a NVRAM file to the RAID controller. The binary NVRAM file contains information specific to the host device, such as channel settings, RAID controller parameters, and so on. The IP address, password, controller name and unique ID are not downloaded from the NVRAM file to the host device since these settings differ for each controller. After the download completes, reset the controller for the NVRAM settings to take effect.
The following example downloads the NVRAM file, tmpsn2-1.nvram, and then resets the controller:
Fibre Channel devices only. This command downloads PLD firmware into the SES microprocessor in a FC or JBOD device.
The following example downloads the firmware using the SES device in the RAID controller with the IP address 192.168.0.1:
The following example downloads the firmware using the SES device to a FC JBOD unit:
SCSI devices only. This command downloads firmware into the microprocessors within a SCSI RAID controller or JBOD. The firmware file contains code for the various microprocessors that monitor and control the enclosure. The CLI utility detects whether the firmware file is a more recent version. If the version is out-of-date, the CLI will not download the firmware. However, you can use the -f or --force command to download the firmware unconditionally.
This procedure can be performed "live" without resetting the controller. However, the updated firmware version number might not correctly display in the firmware Telnet or serial menu interface until the controller is reset.
The following example downloads SAF-TE firmware to the SAF-TE device in the RAID controller with the device name c2t0d0:
The following example downloads SAF-TE firmware to the SAF-TE device in the JBOD /dev/scsi/processor/c6t15d0:
Fibre Channel devices only. This command downloads firmware to the SES device in a FC RAID controller or JBOD unit.
The following example downloads SES firmware to the SES device in the RAID controller with device name c2t0d0:
The following example downloads SES firmware to the SES device in the JBOD /dev/scsi/processor/c6t15d0:
Copyright © 2004, Sun Microsystems, Inc. All rights reserved.