Softpanorama

May the source be with you, but remember the KISS principle ;-)
Home Switchboard Unix Administration Red Hat TCP/IP Networks Neoliberalism Toxic Managers
(slightly skeptical) Educational society promoting "Back to basics" movement against IT overcomplexity and  bastardization of classic Unix

RACADM Command Line Interface for DRAC on Linux

News IPMI Recommended Links Updating the DRAC Firmware iDRAC7 goes unresponsive vFlash
RACADM Command Line Interface    Dell Lifecycle Controller iDRAC Service Module Dell PowerEdge M1000e Enclosure Dell Chassis Management Controll Getting console via ssh in DRAC
PERC controller          
Dell DRAC5 Configuring Platform Events iLO 3 -- HP engineering fiasco Sysadmin Horror Stories Humor Etc

Adapted from RACADM Command Line Interface for DRAC (version from 15 Jul 2013) by Peter Tsai & Jim Slaughter


Introduction

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:

  1. Go to http://support.dell.com
  2. If prompted, select Start Here under Small Businesses or Enterprise IT.
  3. Enter the Service Tag of the managed system and Submit, or use one of the Choose options to locate your managed system model.
  4. Select Drivers and Downloads > select the Operating System of your Managed System > expand Systems Management. 
  5. 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

Remote  vs local RACADM Utilities

There are two types of racadm installation:

RACADM interface is also available via ssh or telnet.

NOTES:

Remote RACADM Installation on Linux

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:

  1. Go to http://support.dell.com
  2. If prompted, select Start Here under Small Businesses or Enterprise IT.
  3. Enter the Service Tag of the managed system and Submit, or use one of the Choose options to locate your managed system model.
  4. 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.
  5. Expand Systems Management
    1. For Windows Operating Systems, locate the DRAC Tools application.
    2. For Linux operating systems, locate the Linux Remote Access Utilities application.
  6. 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 installation

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:

  1. Go to http://support.dell.com
  2. If prompted, select Start Here under Small Businesses or Enterprise IT.
  3. Enter the Service Tag of the managed system and Submit, or use one of the Choose options to locate your managed system model.
  4. Select Drivers and Downloads > select the Operating System of your Managed System > expand Systems Management.
  5. 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.

Simple test -- getsysinfo command

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 access to Firmware RACADM interface

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

Connecting via SSH to Drac to reboot your server


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

 


Top Visited
Switchboard
Latest
Past week
Past month

NEWS CONTENTS

Old News ;-)

[Oct 08, 2014] RACADM Command Line Interface for DRAC - Systems Management - Wiki - Systems Management - Dell Community

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.

[Feb 23, 2014] WSman versus RACADM by Peter Tsai

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...

Recommended Links

Google matched content

Softpanorama Recommended

Top articles

Sites

Top articles

Sites

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.

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.



Etc

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 quotesSomerset Maugham : Marcus Aurelius : Kurt Vonnegut : Eric Hoffer : Winston Churchill : Napoleon Bonaparte : Ambrose BierceBernard 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 DOSProgramming Languages History : PL/1 : Simula 67 : C : History of GCC developmentScripting 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-MonthHow 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...

You can use PayPal to to buy a cup of coffee for authors of this site

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: July, 28, 2019