Determining the health of hardware on Security Analytics (Solera) servers
search cancel

Determining the health of hardware on Security Analytics (Solera) servers

book

Article ID: 168585

calendar_today

Updated On:

Products

Security Analytics

Issue/Introduction

This document provides a few basic CLI commands to display current and historical hardware statuses such as appliance temperature, serial number, and component failures (fan, hard disk, power supply).

These commands are valid for both the Dell and S500 hardware.

Resolution

Log on to the appliance via SSH as root.

The first place to look is in the /var/log/messages files.  The command used most often for recent records is grep HARDWARE /var/log/messages.  To look back further in time run zgrep HARDWARE /var/log/messages*gz.  Sometimes the lines are difficult to read but after looking at it a few times, there is quite a bit of information included.  Contact support if there are any questions.

If you find any errors in these logs, be sure to redirect the output of the command to a file and be ready to send the log files to Blue Coat technical support. You can redirect the output of any of these commands using the following:
> /<path_to_log_file>

For example:
ipmitool sensor > /tmp/sensor_log

Commands

ipmitool sensor
Lists power levels, fan speeds, temperatures etc. Very detailed; more information than needed.


ipmitool sdr
Same as above but a simpler format.


lsi-show
Shows the current status of the logical and physical drives.


megacli -encinfo -aall
Shows the status of the JBOD enclosures.

megacli -AdpAllInfo -aAll
Shows the adapter info.


MegaCli -CfgDsply -aALL
Shows all drive and adapter info.


MegaCli -AdpEventLog -GetEvents -f events.log -aALL && cat events.log
Shows the log/historical info.


lspci -v
Shows all hardware attached to the PCI bus


dmidecode -s chassis-serial-number
Shows appliance serial number or asset tag

Historical Information

These commands show the history of hardware changes and failures.
dslogdump | grep -i hard
dmesg

Finding a sensor or drive can be done by lighting up the drive locator LED

megacli -pdlocate [-start|-stop] -physdrv[E:S] -aX

For the drive where E is the enclosure ID, S is the slot number and aX is the adapter number.  See lsi-show for the enclosure:slot numbers and adapter/controller ID

For example use
megacli -pdlocate -start -physdrv[25:2] -a2
to find enclosure 25, slot 2 on controller/adapter 2.