The user may be locked out of the iDRAC and need to set the iDRAC IP address or set the password for the iDRAC. They may need the status of the power supply or a full inventory of all components. This is a list of useful commands to get or set values like ip address, username, and password.
How do I reset the iDRAC password from the command line?
NOTE: First set the path for bash to find the racadm command
Set PATH for racadm to /opt/dell/srvadmin/sbin/racadm
export PATH=$PATH:/opt/dell/srvadmin/sbin/
Much like a Security Analytics CSR with the configuration and logs but for the Dell Hardware.
/opt/dell/srvadminsbin/racadm techsupreport collect
(This will return a job ID, like JID_040217680352)/opt/dell/srvadminsbin/racadm jobqueue view -i JID_040217680352
(watch for the job to complete)/opt/dell/srvadminsbin/racadm jobqueue view
(Shows all jobs and their status)/opt/dell/srvadminsbin/racadm techsupreport export -f TSR_date_file.zip
racadm jobqueue help
racadm jobqueue help delete
racadm jobqueue delete --all
racadm set iDRAC.Users.2.Password new_password_here
racadm get iDRAC.Users.2.UserName
Or for all of the User 2 details
racadm get iDRAC.Users.2
racadm getniccfg
Using set Syntaxracadm get iDRAC.Nic
racadm set iDRAC.Nic.Enable 1
racadm set iDRAC.IPv4.Address ##.##.##.##
racadm set iDRAC.IPv4.Netmask ##.##.##.##
racadm set iDRAC.IPv4.Gateway ##.##.##.##
racadm set iDRAC.IPv4.DHCPEnable 0
racadm set iDRAC.IPv4.DNSFromDHCP 0
racadm set iDRAC.IPv4.DNS1 example.com
racadm set iDRAC.IPv4.DNS2 example.com
Using config Syntax:racadm config -g cfgLanNetworking -o cfgNicEnable 1
racadm config -g cfgLanNetworking -o cfgNicIpAddress ##.##.##.##
racadm config -g cfgLanNetworking -o cfgNicNetmask ##.##.##.##
racadm config -g cfgLanNetworking -o cfgNicGateway ##.##.##.##
racadm config -g cfgLanNetworking -o cfgNicUseDHCP 0
racadm config -g cfgLanNetworking -o cfgDNSServersFromDHCP 0
racadm config -g cfgLanNetworking -o cfgDNSServer1 example.com
racadm config -g cfgLanNetworking -o cfgDNSServer2 example.com
(These should be present)racadm get system.power.supply.1
racadm get system.power.supply.2
racadm hwinventory > /root/hwinventory.out
OR
racadm getsensorinfo
This may be needed if the iDrac is producing an invalid hardware state for components like the power supply/PSU.
racadm racreset soft
racadm help set
racadm help get
racadm get
Documentation: Integrated Dell Remote Access Controller 9 RACADM CLI Guide
Cheat sheet - racadm quick dirty cheatsheet
RACADM Download: Dell EMC iDRAC Tools for Linux, v9.4.0
Other useful articles:
Using RACADM or iDRAC to generate a Dell TSR
How do I collect hardware logs for Dell head units?