Pages

Solaris SPARC Firmware update

Firmware updates are essential for SPARC servers to fix bugs, improve system stability, enhance performance, and add hardware features. These updates manage hardware independently of the OS, including CPU, memory, storage, network controllers, and system management.

SPARC firmware consists of:
Firmware ComponentPurpose
OBP (OpenBoot PROM)Boot firmware; handles device discovery, boot sequence, diagnostics, and network boot.
System Controller Firmware (ILOM/ALOM)Monitors hardware (fans, temperature, power), provides remote management, and updates SP firmware.
I/O FirmwareStorage controllers, HBAs, RAID cards, and network cards.
BIOS / PROM UpdatesControls CPU, memory, PCI devices, and low-level hardware behavior.

Step 1: Preparation Before Firmware Update
Before updating firmware, ensure a safe and predictable process:
1.1 Check Current Firmware Versions
From Solaris OS:
# showrev -p         # Shows OBP version and patch info
# prtdiag -v         # Displays hardware and firmware details
# firmware -v        # On supported systems
From ILOM/ALOM:
> show /SP/fw        # Firmware versions for system controller
> show /SP/faultmgmt # Check hardware faults before update
> show /HOST sysfw_version  # Host firmware version

1.2 Check Server Model and System Info
# uname -a           # Kernel info
# prtdiag            # Hardware model, CPU, memory, and I/O details

1.3 Backup Configurations
Backup critical system configurations, ZFS snapshots, and ILOM settings.
Example: Create ZFS snapshot:
# zfs snapshot rpool/ROOT/solaris@pre_fw_update

1.4 Verify Power and Environment
Connect remote console (ILOM/ALOM or KVM) for monitoring.
Ensure UPS or redundant power to prevent interruptions.
Schedule downtime; firmware updates typically require reboot/power cycle.

Step 2: Obtain Firmware
Sources:
Oracle Support / My Oracle Support
Search by SPARC server model and OS version.
Download formats: .zip, .tar, .iso, .pkg, or .rpm.
Oracle Solaris IPS Repository
Firmware may be available as IPS packages:
# pkg search sysfw
# pkg info solaris-firmware
ISO or local media
Some SPARC servers require firmware .iso for offline installation.

Step 3: Firmware Update Methods
A. Using ILOM (Integrated Lights Out Manager)
ILOM is the preferred method for modern SPARC servers.
Connect to ILOM:
# ssh admin@<ilom_ip>
Upload firmware to ILOM:
> copy /local/path/Sun_System_Firmware-<version>.pkg /SP
Install firmware:
> install /SP/Sun_System_Firmware-<version>.pkg
The tool uploads the image, updates the SP firmware and system firmware, powers off and on the host automatically.
Check firmware version and status:
> show /SP/fw
> show /SP/faultmgmt
Reboot if required:
> reset /SP

B. Using Solaris OS (pkg or pkgadd)
Some older SPARC servers allow firmware updates directly from Solaris:
Mount firmware ISO:
# mount -o loop /path/to/firmware.iso /mnt
Install firmware:
# pkgadd -d /mnt
Reboot server:
# reboot

C. Using ALOM (Legacy SPARC)
ALOM is used on older servers (SunFire T1000/T2000, etc.):
Connect to ALOM console:
# telnet <alom_ip>
Enter privileged mode:
> start /SP
Transfer firmware (TFTP or FTP):
> copy tftp://server/firmware.bin /SP
Install firmware:
> update /SP/firmware.bin
Reset system controller:
> reset /SP

Step 4: Verification
After firmware update, ensure that all components are updated and healthy:
4.1 Check Firmware Versions
# showrev -p         # OBP and patches
# prtdiag -v         # Hardware and firmware info
From ILOM/ALOM:
> show /SP/fw
> show /system

4.2 Verify Hardware Health
> show /SP/faultmgmt
# prtdiag

Step 5: Restore Configurations
Reapply any custom ILOM or system settings lost during firmware update.
Ensure the server boots normally and all services start.

Best Practices
  • Always check current firmware versions before downloading updates.
  • Use ILOM or ALOM for remote updates to avoid downtime risks.
  • Always backup system configurations and create ZFS snapshots.
  • Apply firmware updates during a maintenance window.
  • Log all firmware versions before and after update for auditing.
  • Verify power supply stability; a power loss during firmware flash can brick the system.
  • Keep network console access ready in case update fails.

No comments:

Post a Comment