reset Dell RAC card

Hi guys,

I’m at my customer and they needed the Dell Remote Access Card reset and a user added. Because of the need to do it straight away the server could not be rebooted. So I used the racadm tool to configure the DRAC NIC and add a user. Here’s how i did it.

Open the command line and go to the RAC directory. Usually it is something like this:

“C:Program FilesDellSysMgtRACx>”

Then give the following command (with a little time between the commands, otherwise the DRAC will give back errors):

Here’s the part of the commands I used to reset the DRAC settings and configure the IP adress:

1. Reset the card
“racadm racresetcfg”

2. Configure the card to enable static entry
“racadm setniccfg -s”

3. Restart the DRAC
“racadm racreset”

4. Configure the DRAC IP adress
“racadm setniccfg -s ipadress subnetmask gateway”

5. Restart the DRAC for the last time
“racadm racreset”

You can now access the server on the specified IP adress with the default user “root” and default password “calvin”.

To add and configure a new user follow these steps:

1. To add the user
“racadm config -g cfgUserAdmin -o cfgUserAdminUserName -i 2 user

2. To set the password
“racadm config -g cfgUserAdmin -o cfgUserAdminPassword -i 2 password

3. To give the user admin rights
“racadm config -g cfgUserAdmin -i 2 -o cfgUserAdminPrivilege 0x00000001”

4. To enable the user to logon to the console
“racadm config -g cfgUserAdmin -i 2 -o cfgUserAdminEnable 1”

5. To see the user config after you set it all
“racadm getconfig -u user”

All Racadm options:

  •   help <subcmd>   — list usage statement for specified subcmd
  •   allowEnDisRem   — Allow Enable or Disable Remote Console
  •   clearasrscreen  — clear the last ASR screen(last blue screen)
  •   clrraclog       — clear the RAC Log
  •   clrsel          — clear the SEL
  •   config          — configure the RAC
  •   coredump        — display the last RAC coredump
  •   coredumpdelete  — delete the coredump stored in the RAC
  •   fwupdate        — execute or get status on RAC firmware update
  •   getassettag     — display asset tags
  •   getconfig       — display the RAC configuration
  •   getled          — display the LED settings on a module
  •   getmnfgcfg      — display manufacturing config mode
  •   getmodinfo      — get module config and status information
  •   getniccfg       — display the current IP configuration
  •   getraclog       — display RAC Log entries
  •   getractime      — display the time from the Remote Access Controller
  •   getsel          — display system event log entries
  •   getsensors      — display RAC sensor readings and information
  •   getsensorinfo   — get sensor status for the specified sensors
  •   getssninfo      — display information about active sessions
  •   getsvctag       — display service tags
  •   getsysinfo      — display general RAC and system information
  •   gettracelog     — display Trace Log entries
  •   localauthenable — Local OS authentication Enable or Disable
  •   racdump         — dump RAC status and state information for debug
  •   setmnfgcfg      — set manufacturing config mode
  •   racreset        — reset the RAC
  •   racresetcfg     — reset the RAC to the default configuration
  •   serveraction    — execute graceful/hard server reset, or power-on/off/cycle
  •   setassettag     — set the specified asset tag
  •   setled          — set the state of the LEDs on a module
  •   setniccfg       — set the IP configuration
  •   setrac          — set Time, Hostname, OS Name/Type from host-to-RAC

(The setrac command is not available with the -r option)

  •   setractime      — set the time on the Remote Access Controller
  •   setsysinfo      — set chassis name and chassis location
  •   sslcertupload   — upload a Server or CA certificate on the RAC
  •   sslcertdownload — download a server or Active Directory CA certificate
  •   sslcertview     — view a Server or CA certificate
  •   sslcsrgen       — generate and download CSR from the RAC or check CSR status
  •   syncvncpassword — Sync VNC password from RAC to the Host VNC server
  •   testalphapage   — test the RAC alpha numeric paging feature
  •   testemail       — test the RAC e-mail feature
  •   testnumpage     — test the RAC numeric paging feature
  •   testtrap        — test the RAC trap feature
  •   version         — display racadm utility version information

Usage of racadm commands for remote administration :

  • racadm -r <RAC IP address> -u <username> -p <password> <RAC command and options>
  • racadm -r <RAC IP address> -i <RAC command and options>

With the “-i” option, the username and password are entered interactively.

I hope you find this helpfull.

Until next time.

Greetz
Jack

Leave a Reply

Your email address will not be published.

This site uses Akismet to reduce spam. Learn how your comment data is processed.