Hp
Install the HP Tools:
yum install hpssacli
1 View controller status RAID card model, etc.
HPSSACLI Ctrl all Show status
2 view HDD type, size RAID level, status, etc.
HPSSACLI Ctrl all show config
3 View details for all controllers
HPSSACLI Ctrl all Show Detail
4 Viewing the Controller information above slot 2
HPSSACLI Ctrl slot=2 Show Detail
5 View the drive information under a controller (slot 2), equivalent to 2
HPSSACLI CTRL slot=2 PD all show status
6 Viewing the drive status under a controller (slot 2) can see hard drive speed, status, etc.
HPSSACLI CTRL slot=2 PD all show Detail
7 Viewing the status of logical volumes under a controller
HPSSACLI CTRL slot=2 LD all show Detail
Dell
To install the Dell software Warehouse:
wget ‘http://linux.dell.com/repo/hardware/latest/bootstrap.cgi‘bash bootstrap.cgi
To install the Dell tools:
install srvadmin-server-cli srvadmin-storage-cli
You must start the service first:
/etc/init.d/dataeng start
1 View Dosa version
Omreport about Details=true
2 commands that typically use three fields: System, chassis, storage
System:system domain is a kind of summary for the other domains, it also about software pieces chassis:chassis domain is mainly about hardware devices Storage:storage domain are about storage devices and storage related components
3 View Total System Information:
Omreport System Summary
4 Check system health, only check system and Chsssis,storage are reviewed later
Omreport system
5 Viewing operating system basic information:
Omreport System OperatingSystem
6 Viewing the System software hardware version:
Omreport System version
7 See other commands that the system can use:
Omreport system-?
8 See other commands that chassis can use:
Omreport Chassis-?
9 Check the health of the chassis system:
Omreport Chassis
10 Viewing temperature:
Omreport chassis temps
11 Viewing system memory:
Omreport Chassis Memory
12 Viewing the System network card:
Omreport Chassis NICs
13 See which commands storage can use:
Omreport Storage-?
14 See how many controllers the system has in total:
Omreport Storage Controller
15 View the properties of the physical hard disk:
Omreport Storage Pdisk controller=0
16 View the properties of the logical disk, which is the raid information:
Omreport storage Vdisk controller=0
17 View the status of the physical disks that comprise the raid:
Omreport Storage Pdisk controller=0 vdisk=0
18 formatted output that supports formats such as LST, TBL, SSV, CDV, XML, and so on:
-FMT XML
MegaCli64
1 Viewing RAID levels:
Megacli64-ldinfo-lall-aall
2 View RAID card information:
Megacli64-adpallinfo-aall
3 Viewing hard disk information:
Megacli64-pdlist-aall
Read the original
Hp && Dell Server hardware Monitoring