Tag: drac
Resetting your DRAC
by rxtx on Feb.24, 2010, under Sysadmin
I had an issue today with a Dell remote access card (DRAC). This is a card which you get in Dell servers, and is used to perform remote managment. In some situation it can be better than other remote access methods, since it gives you access to the console from boot (so you can view any BIOS messages) and can be used to power on the server remotely. At least thats the idea – in this particular case the card was running very slowly and the remote power on functionality wasn’t working. This isn’t great when you’ve just turned off a server which you don’t have physical access to. Luckily we can solve this by SSHing onto the DRAC and running a reset command. There are actually quite a lot of things we can do from the SSH interface:
login as: root
root@192.168.100.12's password:
Dell Remote Access Controller 5 (DRAC 5)
Firmware Version 1.40 (Build 08.08.22)
$ racadm help
help [subcommand] -- display usage summary for a subcommand
arp -- display the networking ARP table
clearasrscreen -- clear the last ASR (crash) screen
clrraclog -- clear the RAC log
clrsel -- clear the System Event Log (SEL)
config -- modify RAC configuration properties
coredump -- display the last RAC coredump
coredumpdelete -- delete the last RAC coredump
fwupdate -- update the RAC firmware
getconfig -- display RAC configuration properties
getniccfg -- display current network settings
getraclog -- display the RAC log
getractime -- display the current RAC time
getsel -- display records from the System Event Log (SEL)
getssninfo -- display session information
getsvctag -- display service tag information
getsysinfo -- display general RAC and system information
gettracelog -- display the RAC diagnostic trace log
ifconfig -- display network interface information
netstat -- display routing table and network statistics
ping -- send ICMP echo packets on the network
racdump -- display RAC diagnostic information
racreset -- perform a RAC reset operation
racresetcfg -- restore the RAC configuration to factory defaults
serveraction -- perform system power management operations
setniccfg -- modify network configuration properties
sslcertview -- view SSL certificate information
sslcsrgen -- generate a certificate CSR from the RAC
testemail -- test RAC e-mail notifications
testtrap -- test RAC SNMP trap notifications
version -- display the version info of RACADM
vmdisconnect -- disconnect virtual media connections
vmkey -- perform virtual media key operations
usercertview -- view user certificate information
$
To reset the DRAC, we need the racreset command. This will re-initialise the DRAC and after a minute or so everything should be working again