Skip to content

Latest commit

 

History

History
182 lines (118 loc) · 4.01 KB

File metadata and controls

182 lines (118 loc) · 4.01 KB

Hardware

See also Performance Engineering.

Disk Health

brew install smartmontools
smartctl -a /dev/disk1

HP

HP Proliant Array Configuration Utility

Official Doc & Download

DataDisk.co.uk Reference

Ben Tasker's Cheatsheet

Cheatography Cheatsheet

hpacucli controller all show config

Dell

DRAC - Dell Remote Access Controller

Hardware card with a second networking interface and IP address for out-of-bounds management of a server and remote hardware and console to recover servers.

https://www.dell.com/en-uk/lp/dt/open-manage-idrac

Default user is root, default password is calvin.

ssh root/calvin@<drac_ip>

Change the DRAC admin password:

racadm config -g cfgUserAdmin -o cfgUserAdminPassword -i 2 $new_passwd

Run a check against your DRACs to ensure their passwords are changed:

in HariSekhon/Nagios-Plugins:

check_ssh_login.pl - written specifically to automatically test my server fleets for any remaining default passwords, an inherited check on every server added to Nagios or any compatible enterprise monitoring system.

racadm Commands

racadm serveraction hardreset
racadm serveraction gracereboot
racadm serveraction graceshutdown
racadm serveraction powercycle
racadm serveraction powerup
racadm serveraction powerdown
omreport chassis [memory]

Broadcom MegaRaid

MegaCLI

Use -NoLog arg, otherwise megacli drops a little log in your $PWD.

The capitalization is not required in general, so -LdPdInfo is the same as -ldpdinfo.

Show status:

MegaCli64 -AdpAllInfo -aAll

Get physical drive info:

MegaCli64 -PDList -aAll

Get virtual disk info:

MegaCli64 -LDInfo -Lall -aAll

Display configuration:

MegaCli64 -CfgDsply -aAll

Dump eventlog events to file 'events' and open it:

MegaCli64 -AdpEventLog -GetEvents -f events -aAll && less events

Show you the logical to physical disk mapping:

MegaCli64 -ldpdinfo -aAll

Build a logical disk:

MegaCli64 -CfgLdAdd -r$raid_level[$enclosure_id:$drive,$enclosure_id:$drive...] -a0

Show info from single disk:

MegaCli64 -pdInfo -PhysDrv[$enclosure_id:$disk] -aAll

See Also

Storage

Meme

Using Hardware to Solve Problems

This includes your laptop - 128GB RAM ftw...

Using Hardware to Solve Problems

Slow Computers Create Strong Engineers

Slow Computers Create Strong Engineers

Moores Law Ending vs Programming Languages

Moores Law Ending vs Programming Languages

Ported from private Knowledge Base page 2010+