RACADM Command Line Interface for DRAC on Linux
Provides capabilities already provided by ssh interface to DRAC
A very questionable software. It looks like using ssh interface directly is a better deal. Might be another Dell flop. 
Adapted from
RACADM 
Command Line Interface for DRAC (version from 15 Jul 2013) by
Peter Tsai &
Jim Slaughter 
Drac is assessable via several interfaces Local, SSH/Telnet, and Remote RACADM
The Dell RACADM (Remote Access Controller Admin) utility is a command line tool that allows for remote or local management 
of Dell Servers via the iDRAC or DRAC. RACADM provides similar functionality to the iDRAC/DRAC Graphical User Interface (GUI) but via 
command line.  The Dell Chassis Management Controller (CMC) can also be managed remotely with RACADM. 
   Local RACADM supports executing RACADM commands from the managed system’s operating system. It is available on the Dell OpenManage 
   Systems Management Tools and Documentation DVD or at support.dell.com.
   To download Local RACADM:
   
      - Go to http://support.dell.com
 
      - If prompted, select Start Here under Small Businesses or Enterprise IT.
 
      - Enter the Service Tag of the managed system and Submit, or use one of the Choose options to locate your 
      managed system model.
 
      - Select Drivers and Downloads > select the Operating System of your Managed System > expand Systems Management.
      
 
      - Locate the OpenManage Server Administrator Managed Node application and click Download File.
 
   
RACADM commands can be run remotely from a management station and/or locally on the managed system.
RACADM commands allow you to view managed system information, perform power operations on the managed system, perform firmware 
updates, configure settings and more. Because RACADM is run from a command line interface (CLI), system administrators can create 
scripts that control and update Dell systems in a one-to-many fashion. See the links to the RACADM documentation at the end of this 
article for a complete listing of features for your product version.
Terminology
   - Managed System - The Dell PowerEdge Server containing the iDRAC or DRAC, or the Dell Blade Chassis containing the Chassis 
   Management Controller (CMC).
 
   - Management Station - A computer used for accessing the iDRAC, DRAC, or CMC remotely.
 
   - iDRAC - Integrated Dell Remote Access Controller. Available on newer and current generations of Dell PowerEdge Servers 
   (11G and 12G).
 
   - DRAC - Dell Remote Access Controller. Available on older generations of Dell PowerEdge Servers.
 
There are two types of racadm installation:
RACADM interface is also available via ssh or telnet. 
NOTES: 
   - Local RACADM is not required if you will be managing your server from a management station via Remote RACADM. 
 
   - Remote RACADM and Local RACADM cannot be installed at the same time on the same system.
 
   - Remote racadm uses the web server SSL certificate of the iDRAC to authenticate the session. You will receive a warning message 
   if certificates have not been configured or if the certificate is invalid. However, the command will execute normally following the 
   message. If you wish to halt the command on certificate errors, use the -S option in the command. For information on configuring 
   certificates on the iDRAC, see the user's guide for your iDRAC linked at the end of this article.
 
Remote RACADM supports executing RACADM commands from a remote management station such as a laptop or desktop computer. It is available 
on the Dell OpenManage Systems Management Tools and Documentation DVD or at 
support.dell.com.
To download Remote RACADM:
   - Go to http://support.dell.com
 
   - If prompted, select Start Here under Small Businesses or Enterprise IT.
 
   - Enter the Service Tag of the managed system and Submit, or use one of the Choose options to locate 
   your managed system model.
 
   - Select Drivers and Downloads > select the Operating System of your Management Station from the drop-down 
   menu. Note: The drop-down menu only contains supported server operating systems. If you are running a supported 
   Windows management station OS (Windows 7 for example), choose a Windows Server version from the drop-down menu instead.
 
   - Expand Systems Management
      - For Windows Operating Systems, locate the DRAC Tools application.
 
      - For Linux operating systems, locate the Linux Remote Access Utilities application.
 
   
    
   - Select proper OS version and down load file, for example for RHEL 6 on October 2014 that would be  OM-MgmtStat-Dell-Web-LX-7.4.0-866_A00.tar.gz. 
   Unpack into some directory (say, /tmp/Drac and issue the command
 
rpm -ivh *.rpm 
   This will install everything which might not be what you want. 
   You can also install just racadm: 
   
      # rpm -iv srvadmin-racadm5-7.4.0-4.1.157.el6.x86_64.rpm srvadmin-hapi-7.4.0-4.28.2.el6.x86_64.rpm srvadmin-omilcore-7.4.0-4.100.1.el6.x86_64.rpm 
      libsmbios-2.2.27-4.12.1.el6.x86_64.rpm smbios-utils-bin-2.2.27-4.12.1.el6.x86_64.rpm srvadmin-argtable2-7.4.0-4.2.1.el6.x86_64.rpm
   
Using racadm requires root privileges. To test run the command 
/opt/dell/srvadmin/bin/racadm5 -r 10.10.10.10 -u root -p xxxxxxx getsysinfo
NOTE: The racadm executable is located under /opt/dell/srvadmin/sbin. it is actually a wrapper over  
/opt/dell/srvadmin/bin/racadm5 binary.  Here is the content of sbin directory:
drwxr-xr-x	2	root	root	4096	Oct	8	17:10	./
drwxr-xr-x	10	root	root	4096	Oct	8	17:10	../
-rwxr-xr-x	1	root	root	4769	Jan	30	2014	CheckSystemType*
-rwxr-xr-x	1	root	root	236138	Jan	24	2014	dchcfg*
lrwxrwxrwx	1	root	root	19	Oct	8	17:10	racadm	->	racadm-wrapper-rac5*
-rwxr-xr-x	1	root	root	2650	Jan	30	2014	racadm-wrapper-rac5*
-rwxr-xr-x	1	root	root	4204	Jan	30	2014	srvadmin-services.sh*
-rwxr-xr-x	1	root	root	4422	Jan	30	2014	srvadmin-uninstall.sh*
Here is the content of bon directory: 
-rwxr-xr-x  1 root root 1199871 Jan 30  2014 racadm5*
-rwxr-xr-x  1 root root  390688 Jan 30  2014 racsvm*
-rwxr-xr-x  1 root root  141549 Jan 30  2014 racvmcli5*
Man pages include
./man4
./man3
./man3/argtable2.3
./man3/argtable.3
./man8
./man8/racadm5.8.gz
./man8/racvdev5.8.gz
./man8/racvmcli5.8.gz
You may need to log out and log back in to reset the PATH environment variable to include this location.
 
Local RACADM supports executing RACADM commands from the managed system’s operating system. It is available on the Dell 
OpenManage Systems Management Tools and Documentation DVD or at support.dell.com.
To download Local RACADM:
   - Go to http://support.dell.com
 
   - If prompted, select Start Here under Small Businesses or Enterprise IT.
 
   - Enter the Service Tag of the managed system and Submit, or use one of the Choose options to locate your 
   managed system model.
 
   - Select Drivers and Downloads > select the Operating System of your Managed System > expand Systems Management.
   
 
   - Locate the OpenManage Server Administrator Managed Node application and click Download File. 
   
Note: Gzip archive for RHEL 6 you can also download from 
    http://downloads.dell.com/FOLDER02019832M/1/OM-SrvAdmin-Dell-Web-LX-7.4.0-866.RHEL6.x86_64_A00.tar.gz
    
After the file is downloaded,  create folder such as /tmp/Racadm and extract all files. Then run
/tmp/Racadm/linux/supportscripts/srvadmin-install.sh
If you use DVD, run:
   <path>/SYSMGMT/srvadmin/linux/supportscripts/srvadmin-install.sh
Accept the license agreement and select option 5 - Remote Access Core Component from the menu.
Open a shell prompt with root privileges, type /opt/dell/srvadmin/sbin/racadm and press Enter. If you get 
the RACADM help instructions it is installed correctly. 
NOTE: The racadm executable is located under /opt/dell/srvadmin/sbin. You may need to log out/log back in to reset 
the PATH environment variable so that included this location. 
The following shows an example of a simple RACADM subcommand, getsysinfo, used with each RACADM utility. 
Using racadm requires root privileges. To test run the command 
/opt/dell/srvadmin/bin/racadm5 -r 10.10.10.10 -u root -p xxxxxxx getsysinfo
SSH/Telnet/Serial RACADM (Firmware RACADM) is built into the iDRAC, DRAC or CMC firmware and there is no separate download 
or installation required. See your user's guide for connecting via these methods.
Once connected via SSH, Telnet or Serial, type racadm help for the online help instructions.
NOTE: On some interfaces if you type racadm and press Enter, you will be taken to a racadm>> prompt. Commands 
can then be entered from this prompt without the "racadm" prefix. To exit the prompt, type quit or use Ctrl+C.
Like with local installation, you do not have to specify the ip address, username, or password in Firmware RACADM commands.
racadm <subcommand> 
racadm getsysinfo
or
racadm <Enter> - takes you to a racadm>> prompt 
racadm>>getsysinfo
   
   Connect to the Dell Remote Access Controller (Drac) IP address via SSH. Then execute:
   racadm serveraction <action>
   whereas you replace <action> with one of the following:
   
      - powerdown — Powers down the managed system.
 
      - powerup — Powers up the managed system.
 
      - powercycle — Issues a power-cycle operation on the managed system. This action is similar to pressing the 
      power button on the system’s front panel to power down and then power up the system.
 
      - powerstatus — Displays the current power status of the server (“ON”, or “OFF”)
 
      - hardreset — Performs a reset (reboot) operation on the managed system.
 
   
   So, to power off and back on your server, you just type racadm serveraction powercycle.
   If your Drac crashes for any reason, you may want to reset it:
   racadm racreset
   If you want to have information about your current server, type:
   racadm getsysinfo
 
   cameron, 19 Feb 2014 2:22 PM 
   
      Please post a link to the latest RACADM Command Line Reference Guides for iDRAC7 and iDRAC6 versions.
   
   Kermit_G Kermit_G, 25 Feb 2014 3:58 AM 
   
      Latest RACADM manual can be found on the Dell FTP site, its quite a slow download but if you wait long enough it will appear 
      eventually!
      RACADM Command Line Reference Guide for iDRAC7 1.40.40 and CMC 4.40 (June-2013 ) 
      CMC is now 4.45 but there isn't a newer guide as of Feb 2014
      
      ftp.dell.com/.../poweredge-m1000e_Developer%27s%20Guide6_en-us.pdf 
   
   nadogmoney, 16 Jul 2014 9:23 AM 
   
      "racadm set" should not force a reboot after a configuration (i.e. "racadm set -t XML -f BIOS.xml"). Making racadm reboot a 
      server does not play nicely with reboot aware system automation. It only works well for ad-hoc configurations. A mass configuration 
      tool should not just work well for ad-hoc execution. 
      From "racadm help set":
      
         -b : Specifies the shutdown type for the host after the import operation completes. The parameters are "Graceful" and "Forced" 
         for graceful and forced shutdown respectively. If this parameter is not specified, graceful shutdown is taken as the default.
      
   
   Sep 26, 2013 
   In this chat we reviewed questions such as what is WSMAN and what are RACADM, how are WSMAN and RACADM different, and what are 
   they useful for? 
   Click here to download the WSMAN vs RACADM 
   PowerPoint presentation used in this chat. 
   
   Hello everyone, welcome to the Dell iDRAC Remote Scripting - RACADM vs WSMAN chat Dell TechCenter
   who do we have with us today?
   Scott Tracy... 
Softpanorama Recommended
RACADM Documentation
See the RACADM Command Line Reference Guide at the link below for detailed information on supported RACADM commands and features. 
This guide is available for iDRAC7, iDRAC6, and the CMC. For DRAC5, this information is combined with the DRAC5 User's Guide.
   - 
   Latest RACADM manual can be found on the Dell FTP site, its quite a slow download but if you wait long enough it will appear eventually!
   RACADM Command Line Reference Guide for iDRAC7 1.40.40 and CMC 4.40 (June-2013 ) 
   CMC is now 4.45 but there isn't a newer guide as of Feb 2014
   
   
   ftp://ftp.dell.com/Manuals/all-products/esuprt_ser_stor_net/esuprt_poweredge/poweredge-m1000e_Developer's%20Guide6_en-us.pdf
   
    
To locate a particular document, go to http://www.dell.com/esmmanuals 
, select Remote Access Controller (or Chassis Management Controller for CMC), then select your product version. 
Society
Groupthink :
Two Party System 
as Polyarchy : 
Corruption of Regulators :
Bureaucracies :
Understanding Micromanagers 
and Control Freaks : Toxic Managers :  
Harvard Mafia :
Diplomatic Communication 
: Surviving a Bad Performance 
Review : Insufficient Retirement Funds as 
Immanent Problem of Neoliberal Regime : PseudoScience :
Who Rules America :
Neoliberalism
 : The Iron 
Law of Oligarchy : 
Libertarian Philosophy
Quotes
 
War and Peace 
: Skeptical 
Finance : John 
Kenneth Galbraith :Talleyrand :
Oscar Wilde :
Otto Von Bismarck :
Keynes :
George Carlin :
Skeptics :
Propaganda  : SE 
quotes : Language Design and Programming Quotes :
Random IT-related quotes : 
Somerset Maugham :
Marcus Aurelius :
Kurt Vonnegut :
Eric Hoffer :
Winston Churchill :
Napoleon Bonaparte :
Ambrose Bierce : 
Bernard Shaw : 
Mark Twain Quotes
Bulletin:
Vol 25, No.12 (December, 2013) Rational Fools vs. Efficient Crooks The efficient 
markets hypothesis :
Political Skeptic Bulletin, 2013 :
Unemployment Bulletin, 2010 :
 Vol 23, No.10 
(October, 2011) An observation about corporate security departments :
Slightly Skeptical Euromaydan Chronicles, June 2014 :
Greenspan legacy bulletin, 2008 :
Vol 25, No.10 (October, 2013) Cryptolocker Trojan 
(Win32/Crilock.A) :
Vol 25, No.08 (August, 2013) Cloud providers 
as intelligence collection hubs : 
Financial Humor Bulletin, 2010 :
Inequality Bulletin, 2009 :
Financial Humor Bulletin, 2008 :
Copyleft Problems 
Bulletin, 2004 :
Financial Humor Bulletin, 2011 :
Energy Bulletin, 2010 : 
Malware Protection Bulletin, 2010 : Vol 26, 
No.1 (January, 2013) Object-Oriented Cult :
Political Skeptic Bulletin, 2011 :
Vol 23, No.11 (November, 2011) Softpanorama classification 
of sysadmin horror stories : Vol 25, No.05 
(May, 2013) Corporate bullshit as a communication method  : 
Vol 25, No.06 (June, 2013) A Note on the Relationship of Brooks Law and Conway Law
History:
Fifty glorious years (1950-2000): 
the triumph of the US computer engineering :
Donald Knuth : TAoCP 
and its Influence of Computer Science : Richard Stallman 
: Linus Torvalds  :
Larry Wall  :
John K. Ousterhout : 
CTSS : Multix OS Unix 
History : Unix shell history :
VI editor :
History of pipes concept :
Solaris : MS DOS 
:  Programming Languages History :
PL/1 : Simula 67 :
C :
History of GCC development : 
Scripting Languages :
Perl history   :
OS History : Mail :
DNS : SSH 
: CPU Instruction Sets :
SPARC systems 1987-2006 :
Norton Commander :
Norton Utilities :
Norton Ghost :
Frontpage history :
Malware Defense History :
GNU Screen : 
OSS early history
Classic books:
The Peter 
Principle : Parkinson 
Law : 1984 :
The Mythical Man-Month : 
How to Solve It by George Polya :
The Art of Computer Programming :
The Elements of Programming Style :
The Unix Hater’s Handbook :
The Jargon file :
The True Believer :
Programming Pearls :
The Good Soldier Svejk : 
The Power Elite
Most popular humor pages:
Manifest of the Softpanorama IT Slacker Society :
Ten Commandments 
of the IT Slackers Society : Computer Humor Collection 
: BSD Logo Story :
The Cuckoo's Egg :
IT Slang : C++ Humor 
: ARE YOU A BBS ADDICT? :
The Perl Purity Test :
Object oriented programmers of all nations 
: Financial Humor :
Financial Humor Bulletin, 
2008 : Financial 
Humor Bulletin, 2010 : The Most Comprehensive Collection of Editor-related 
Humor : Programming Language Humor :
Goldman Sachs related humor :
Greenspan humor : C Humor :
Scripting Humor :
Real Programmers Humor :
Web Humor : GPL-related Humor 
: OFM Humor :
Politically Incorrect Humor :
IDS Humor : 
"Linux Sucks" Humor : Russian 
Musical Humor : Best Russian Programmer 
Humor : Microsoft plans to buy Catholic Church 
: Richard Stallman Related Humor :
Admin Humor : Perl-related 
Humor : Linus Torvalds Related 
humor : PseudoScience Related Humor :
Networking Humor :
Shell Humor :
Financial Humor Bulletin, 
2011 : Financial 
Humor Bulletin, 2012 :
Financial Humor Bulletin, 
2013 : Java Humor : Software 
Engineering Humor : Sun Solaris Related Humor :
Education Humor : IBM 
Humor : Assembler-related Humor :
VIM Humor : Computer 
Viruses Humor : Bright tomorrow is rescheduled 
to a day after tomorrow : Classic Computer 
Humor 
The Last but not Least  Technology is dominated by 
two types of people: those who understand what they do not manage and those who manage what they do not understand ~Archibald Putt. 
Ph.D
Copyright © 1996-2021 by Softpanorama Society. www.softpanorama.org 
was initially created as a service to the (now defunct) UN Sustainable Development Networking Programme (SDNP) 
without any remuneration. This document is an industrial compilation designed and created exclusively 
for educational use and is distributed under the Softpanorama Content License. 
Original materials copyright belong 
to respective owners. Quotes are made for educational purposes only 
in compliance with the fair use doctrine.  
FAIR USE NOTICE This site contains 
		copyrighted material the use of which has not always been specifically 
		authorized by the copyright owner. We are making such material available 
		to advance understanding of computer science, IT technology, economic, scientific, and social  
		issues. We believe this constitutes a 'fair use' of any such 
		copyrighted material as provided by section 107 of the US Copyright Law according to which 
such material can be distributed without profit exclusively for research and educational purposes.
This is a Spartan WHYFF (We Help You For Free) 
site written by people for whom English is not a native language. Grammar and spelling errors should 
be expected. The site contain some broken links as it develops like a living tree...
Disclaimer: 
The statements, views and opinions presented on this web page are those of the author (or 
referenced source) and are 
not endorsed by, nor do they necessarily reflect, the opinions of the Softpanorama society. We do not warrant the correctness 
of the information provided or its fitness for any purpose. The site uses AdSense so you need to be aware of Google privacy policy. You you do not want to be 
tracked by Google please disable Javascript for this site. This site is perfectly usable without 
Javascript. 
Last modified: February, 21, 2021