The ungleich hardware maintenance guide » History » Revision 8

Revision 7 (Nico Schottelius, 04/20/2021 12:49 PM) → Revision 8/11 (Nico Schottelius, 09/05/2021 09:47 AM)


 h1. The ungleich hardware maintenance guide 

 This guide describes common operations on hardware we use. 

 h2. APU Bios Update 

 * Download the correct bios from 
 ** Check whether it's apu1/2/3/4 before downloading 
 * Install flashrom 
 * "Flash bios using flashrom": 
 ** @flashrom -w THEROMFILE -p internal@ 

 h2. 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@ 

 h2. Updating the Perc H800 SAS controller 

 * @wget '' -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 

 h2. HP servers disk management 

 h2. Dell servers disk management 

 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 

 h2. SEE ALSO 

 * [[Managing OpenWRT]] 
 * [[The_ungleich_ceph_handbook]]