Skip to content

Instantly share code, notes, and snippets.

Created June 18, 2010 20:20
Show Gist options
  • Star 1 You must be signed in to star a gist
  • Fork 1 You must be signed in to fork a gist
  • Save anonymous/444173 to your computer and use it in GitHub Desktop.
Save anonymous/444173 to your computer and use it in GitHub Desktop.
== Dell Remote Access Controller ==
==== Useful Links ====
[http://support.dell.com/support/edocs/software/smdrac3/drac5/om55/en/ug/index.htm Dell Remote Access Controller 5 Firmware Version 1.40 User's Guide][[BR]] [http://support.dell.com/support/edocs/software/smdrac3/drac5/om55/en/ug/racugc3.htm Configuring and Using the DRAC 5 Command Line Console][[BR]] [http://support.dell.com/support/edocs/software/smdrac3/drac5/om55/en/ug/racugab.htm#45822 DRAC 5 Property Database Group and Object Definitions]
==== Useful commands ====
Power-cycle a machine:
{{{
racadm serveraction powercycle
}}}
See if the serial console over LAN is configured, and enable it if it's not.
{{{
racadm getconfig -g cfgSerial -o cfgSerialConsoleEnable
0
racadm config -g cfgSerial -o cfgSerialConsoleEnable 1
Object value modified successfully
racadm getconfig -g cfgSerial -o cfgSerialConsoleEnable
1
racadm config -g cfgSerial -o cfgSerialBaudRate 9600
racadm config -g cfgSerial -o cfgSerialConsoleEnable 1
racadm config -g cfgSerial -o cfgSerialHistorySize 2000
}}}
Get the baud rate of the serial console over LAN and set it to [9600, 28800, 57600, 115200]
{{{
racadm getconfig -g cfgIpmiSol -o cfgIpmiSolBaudRate
9600
racadm config -g cfgIpmiSol -o cfgIpmiSolBaudRate 57600
Object value modified successfully
racadm getconfig -g cfgIpmiSol -o cfgIpmiSolBaudRate
57600
}}}
connect to serial console:
{{{
connect com2
}}}
detach from a serial console hit the ctrl key and backslash at the same time.
{{{
<ctrl>\
}}}
If you get an error about "can't authenticate user" when using racvmcli to attach remote media, then try:
{{{
export DRACADDR='esx01-mgmt.yourdomain.net'
if [ $(ssh root@${DRACADDR} racadm getconfig -g cfgRacVirtual -o cfgVirMediaAttached) == 0 ];then
ssh root@${DRACADDR} racadm config -g cfgRacVirtual -o cfgVirMediaAttached 1;
fi
}}}
Set the system to boot from virtual media once
{{{
racadm getconfig -g cfgRacVirtual -o cfgVirtualBootOnce
racadm config -g cfgRacVirtual -o cfgVirtualBootOnce 1
}}}
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment