Reliable way to check if a DRAC card is installed in Linux environment?

I have some Dell servers which I'm not sure if there are any DRAC cards installed (shame on me), and I'm trying to find a way to check it.

Up to now, lspci and omreport reports nothing. dmesg | grep DRAC is unreliable since it gets rotated. racadm should work but I've no way to get it installed on a Debian box.

Any more ideas? Thanks.


"ipmitool sdr elist mcloc" is probably what you're looking for; it even works with the newer iDRAC6es, which are integrated with the mainboard and thus don't show up in the FRU list:

$ sudo ipmitool sdr elist mcloc
BMC              | 00h | ok  |  7.1 | Dynamic MC @ 20h
DRAC 5           | 00h | ok  | 11.1 | Dynamic MC @ 26h

$ bash-3.00$ sudo ipmitool sdr elist mcloc
iDRAC6           | 00h | ok  |  7.1 | Dynamic MC @ 20h

This post indicates that lspci should be able to see the card:

04:04.0 Class ff00: Dell Remote Access Card 4
04:04.1 Class ff00: Dell Remote Access Card 4 Daughter Card Virtual UART
04:04.2 Class ff00: Dell Remote Access Card 4 Daughter Card SMIC

what about listing usb devices?

you should find at least virtual kbd / mouse, and possibly pendrive / cd.

somehost0:~# lsusb -v|less
Bus 001 Device 036: ID 413c:0000 Dell Computer Corp.
Device Descriptor:
  bLength                18
  bDescriptorType         1
  bcdUSB               1.10
  bDeviceClass            0 (Defined at Interface level)
  bDeviceSubClass         0
  bDeviceProtocol         0
  bMaxPacketSize0        64
  idVendor           0x413c Dell Computer Corp.
  idProduct          0x0000
  bcdDevice            0.00
  iManufacturer           1 Dell
  iProduct                2 DRAC5
  ....

it seems it can be narrowed down to parsing result of:

lsusb -v -d 413c:0000

not a solution, but if it's debian the boot messages are stored in /var/log/dmesg* which is not rotated. Still you have to know what you're looking for in terms of name; perhaps it shows up on lspci with an 'unknown' name?