Actions
The ungleich hardware maintenance guide » History » Revision 10
« Previous |
Revision 10/23
(diff)
| Next »
Nico Schottelius, 09/05/2021 11:13 AM
- Table of contents
- The ungleich hardware maintenance guide
The ungleich hardware maintenance guide¶
This guide describes common operations on hardware we use.
APU Bios Update¶
- Download the correct bios from https://pcengines.github.io/
- Check whether it's apu1/2/3/4 before downloading
- Install flashrom
- Flash bios using flashrom
flashrom -w THEROMFILE -p internal
APU Serial and bootloader configuration¶
- Ensure that the bootloader has "console=ttyS0,115200" configured
- Ensure that there is a getty running on serial
- Use grub-bios as the bootloader
- Install using
grub-install /dev/sda
- Install using
Updating the Perc H800 SAS controller¶
wget 'https://dl.dell.com/FOLDER03292738M/3/SAS-RAID_Firmware_XKF5X_LN_12.10.7-0001_A13.BIN?uid=4b8a2506-f4d4-46a9-ab19-3c2a5008a782&fn=SAS-RAID_Firmware_XKF5X_LN_12.10.7-0001_A13.BIN' -O SAS-RAID_Firmware_XKF5X_LN_12.10.7-0001_A13.BIN
- chmod u+x SAS-RAID_Firmware_XKF5X_LN_12.10.7-0001_A13.BIN
- ./SAS-RAID_Firmware_XKF5X_LN_12.10.7-0001_A13.BIN
HP servers disk management¶
Show all drives/controller overview:
hpacucli ctrl slot=0 pd all show
Dell servers disk management¶
Listing all disks:
megacli -PDList -aALL
Adding disks:
megacli -CfgLdAdd -r0 [Enclosure Device ID:slot] -aX (X : host is 0. md-array is 1) # Sample call, if enclosure and slot are KNOWN (aka not N/A) megacli -CfgLdAdd -r0 [32:0] -a0 # Sample call, if enclosure is N/A megacli -CfgLdAdd -r0 [:0] -a0
Remove cache of disks that are not in the server anymore:
megacli -DiscardPreservedCache -Lall -aAll
Remove foreign configurations on foreign disks
megacli -CfgForeign -Clear -aAll
Do both in many cases:
megacli -DiscardPreservedCache -Lall -aAll megacli -CfgForeign -Clear -aAll
SEE ALSO¶
Updated by Nico Schottelius about 3 years ago · 10 revisions