{"id":657,"date":"2016-07-09T20:43:56","date_gmt":"2016-07-09T15:13:56","guid":{"rendered":"https:\/\/pheonixsolutions.com\/blog\/?p=657"},"modified":"2026-09-05T10:39:06","modified_gmt":"2026-09-05T05:09:06","slug":"working-on-dell-drac-cli","status":"publish","type":"post","link":"https:\/\/pheonixsolutions.com\/blog\/working-on-dell-drac-cli\/","title":{"rendered":"Working on Dell DRAC CLI"},"content":{"rendered":"<h2>Introduction<\/h2>\n<p>Managing modern server infrastructure requires tools that provide reliable remote access, hardware monitoring, and automated configuration capabilities. Dell PowerEdge servers include a built-in management platform called <strong>Integrated Dell Remote Access Controller (iDRAC)<\/strong>, which enables administrators to manage servers independently of the operating system.<\/p>\n<p>One of the most powerful features of iDRAC is <strong>RACADM (Remote Access Controller Administration)<\/strong>, a command-line utility that allows administrators to perform server management tasks remotely. Using RACADM, you can configure BIOS settings, manage RAID controllers, control server power operations, schedule configuration jobs, and deploy standardized configurations across multiple servers without requiring physical access to the hardware.<\/p>\n<p>For system administrators managing large environments, RACADM can dramatically reduce deployment time and simplify repetitive management tasks. Whether you need to perform a one-time PXE boot, update RAID settings, reboot a server remotely, or apply a configuration template to hundreds of servers, RACADM provides a fast and efficient solution.<\/p>\n<p>In this article, we&#8217;ll explore some of the most commonly used Dell iDRAC CLI commands and demonstrate how they can help streamline day-to-day server administration.<\/p>\n<div contenteditable=\"false\">\n<hr \/>\n<\/div>\n<h2>Commonly Used RACADM Commands<\/h2>\n<p><strong>1. View the Current Boot Sequence<\/strong><\/p>\n<p class=\"isSelectedEnd\">Display the configured BIOS boot order:<\/p>\n<pre dir=\"ltr\"><code dir=\"ltr\">racadm get BIOS.BiosBootSettings.bootseq<\/code><\/pre>\n<p class=\"isSelectedEnd\"><strong>Purpose:<\/strong><br \/>\nRetrieves the current boot sequence configured in the BIOS.<\/p>\n<div contenteditable=\"false\">\n<hr \/>\n<\/div>\n<p><strong>2. Change the Boot Sequence<\/strong><\/p>\n<p class=\"isSelectedEnd\">Configure the boot order according to your requirements:<\/p>\n<pre dir=\"ltr\"><code dir=\"ltr\">racadm set BIOS.BiosBootSettings.bootseq HardDisk.List.1-1,NIC.Integrated.1-1-1<\/code><\/pre>\n<p class=\"isSelectedEnd\"><strong>Purpose:<\/strong><br \/>\nSets the server to boot from the hard disk first and then the network interface card (NIC).<\/p>\n<div contenteditable=\"false\">\n<hr \/>\n<\/div>\n<p><strong>3. Check the One-Time Boot Device<\/strong><\/p>\n<p class=\"isSelectedEnd\">View the next boot device configured for the server:<\/p>\n<pre dir=\"ltr\"><code dir=\"ltr\">racadm get iDRAC.ServerBoot.FirstBootDevice<\/code><\/pre>\n<p class=\"isSelectedEnd\"><strong>Purpose:<\/strong><br \/>\nDisplays the device that will be used for the next boot cycle.<\/p>\n<div contenteditable=\"false\">\n<hr \/>\n<\/div>\n<p><strong>4. Configure PXE Boot for the Next Reboot<\/strong><\/p>\n<p class=\"isSelectedEnd\">Set the server to perform a one-time PXE network boot:<\/p>\n<pre dir=\"ltr\"><code dir=\"ltr\">racadm set iDRAC.ServerBoot.FirstBootDevice PXE<\/code><\/pre>\n<p class=\"isSelectedEnd\"><strong>Purpose:<\/strong><br \/>\nUseful when deploying operating systems through network boot or provisioning tools.<\/p>\n<div contenteditable=\"false\">\n<hr \/>\n<\/div>\n<p><strong>5. Restart the Server<\/strong><\/p>\n<p class=\"isSelectedEnd\">Power cycle the server remotely:<\/p>\n<pre dir=\"ltr\"><code dir=\"ltr\">racadm serveraction powercycle<\/code><\/pre>\n<p class=\"isSelectedEnd\"><strong>Purpose:<\/strong><br \/>\nReboots the server and applies pending BIOS, RAID, or firmware changes.<\/p>\n<div contenteditable=\"false\">\n<hr \/>\n<\/div>\n<h2>RAID Management Commands<\/h2>\n<p><strong>6. Display All Virtual Disks<\/strong><\/p>\n<p class=\"isSelectedEnd\">View configured RAID virtual disks:<\/p>\n<pre dir=\"ltr\"><code dir=\"ltr\">racadm raid get vdisks<\/code><\/pre>\n<p class=\"isSelectedEnd\"><strong>Purpose:<\/strong><br \/>\nDisplays all virtual disks configured on the RAID controller.<\/p>\n<div contenteditable=\"false\">\n<hr \/>\n<\/div>\n<p><strong>7. Display Physical Disks<\/strong><\/p>\n<p class=\"isSelectedEnd\">List all physical drives connected to the RAID controller:<\/p>\n<pre dir=\"ltr\"><code dir=\"ltr\">racadm raid get pdisks<\/code><\/pre>\n<div contenteditable=\"false\">\n<hr \/>\n<\/div>\n<p><strong>8. Display Detailed Physical Disk Information<\/strong><\/p>\n<p class=\"isSelectedEnd\">Retrieve additional information about installed disks:<\/p>\n<pre dir=\"ltr\"><code dir=\"ltr\">racadm raid get pdisks -o<\/code><\/pre>\n<p class=\"isSelectedEnd\"><strong>Purpose:<\/strong><br \/>\nProvides detailed information such as drive health, size, status, and slot assignments.<\/p>\n<div contenteditable=\"false\">\n<hr \/>\n<\/div>\n<p><strong>9. Clear Existing RAID Configuration<\/strong><\/p>\n<p class=\"isSelectedEnd\">Reset RAID configuration on the controller:<\/p>\n<pre dir=\"ltr\"><code dir=\"ltr\">racadm raid clearconfig:RAID.Integrated.1-1<\/code><\/pre>\n<p class=\"isSelectedEnd\"><strong>Purpose:<\/strong><br \/>\nDeletes all existing RAID virtual disk configurations.<\/p>\n<blockquote>\n<p class=\"isSelectedEnd\"><strong>Warning:<\/strong> This operation removes RAID configurations and may result in data loss.<\/p>\n<\/blockquote>\n<div contenteditable=\"false\">\n<hr \/>\n<\/div>\n<h2>Job Queue Management<\/h2>\n<p class=\"isSelectedEnd\">Many BIOS and RAID operations require jobs to be scheduled before they are applied.<\/p>\n<p><strong>10. View Job Queue<\/strong><\/p>\n<p class=\"isSelectedEnd\">Display all pending and completed jobs:<\/p>\n<pre dir=\"ltr\"><code dir=\"ltr\">racadm jobqueue view<\/code><\/pre>\n<div contenteditable=\"false\">\n<hr \/>\n<\/div>\n<p><strong>11. Create a RAID Job<\/strong><\/p>\n<p class=\"isSelectedEnd\">Create a RAID-related configuration job:<\/p>\n<pre dir=\"ltr\"><code dir=\"ltr\">racadm jobqueue create RAID.Integrated.1-1<\/code><\/pre>\n<p class=\"isSelectedEnd\"><strong>Purpose:<\/strong><br \/>\nSchedules RAID changes to be applied during the next reboot.<\/p>\n<div contenteditable=\"false\">\n<hr \/>\n<\/div>\n<p><strong>Using iDRAC Templates for Mass Deployment<\/strong><\/p>\n<p class=\"isSelectedEnd\">When managing hundreds or thousands of servers, manually configuring each server becomes inefficient. Dell provides XML-based iDRAC templates that allow administrators to export configurations from one server and apply them to multiple systems.<\/p>\n<p class=\"isSelectedEnd\">This approach ensures consistency across infrastructure deployments.<\/p>\n<div contenteditable=\"false\">\n<hr \/>\n<\/div>\n<p><strong>12. Export iDRAC Configuration<\/strong><\/p>\n<p class=\"isSelectedEnd\">Export server settings to an XML template:<\/p>\n<pre dir=\"ltr\"><code dir=\"ltr\">racadm get -t xml -f server-1.xml -l 10.10.10.2:\/srv\/configs<\/code><\/pre>\n<p class=\"isSelectedEnd\"><strong>Purpose:<\/strong><br \/>\nExports BIOS, RAID, iDRAC, and other system settings into an XML file stored on a network share.<\/p>\n<div contenteditable=\"false\">\n<hr \/>\n<\/div>\n<p><strong>13. Import iDRAC Configuration<\/strong><\/p>\n<p class=\"isSelectedEnd\">Apply the exported template to another server:<\/p>\n<pre dir=\"ltr\"><code dir=\"ltr\">racadm set -t xml -f server-1.xml -l 10.10.10.2:\/srv\/configs<\/code><\/pre>\n<p class=\"isSelectedEnd\"><strong>Purpose:<\/strong><br \/>\nImports previously exported settings and applies them to the target server.<\/p>\n<p class=\"isSelectedEnd\">This significantly reduces deployment time and minimizes configuration inconsistencies.<\/p>\n<div contenteditable=\"false\">\n<hr \/>\n<\/div>\n<h2>Benefits of Using RACADM<\/h2>\n<p class=\"isSelectedEnd\">Using RACADM offers several advantages:<\/p>\n<ul data-spread=\"false\">\n<li>Remote server administration without physical access<\/li>\n<li>Automated server provisioning<\/li>\n<li>BIOS and RAID configuration management<\/li>\n<li>Faster troubleshooting and maintenance<\/li>\n<li>Simplified firmware and hardware management<\/li>\n<li>Consistent server deployments using templates<\/li>\n<li>Reduced operational overhead in large environments<\/li>\n<\/ul>\n<div contenteditable=\"false\">\n<hr \/>\n<\/div>\n<h2>Conclusion<\/h2>\n<p>Dell iDRAC and RACADM provide administrators with powerful remote management capabilities that significantly simplify server administration. From modifying BIOS settings and managing RAID arrays to automating deployments using XML templates, RACADM helps reduce manual effort and improve operational efficiency. For organizations managing large-scale Dell PowerEdge environments, mastering RACADM commands can save countless hours while ensuring consistent and reliable server configurations across the infrastructure.<\/p>\n<div contenteditable=\"false\">\n<hr \/>\n<\/div>\n<h2>Frequently Asked Questions (FAQ)<\/h2>\n<p><strong>1. What is RACADM?<\/strong><\/p>\n<p class=\"isSelectedEnd\">RACADM (Remote Access Controller Administration) is Dell&#8217;s command-line utility for managing iDRAC-enabled servers. It allows administrators to configure hardware, BIOS settings, RAID controllers, networking, and power operations remotely.<\/p>\n<div contenteditable=\"false\">\n<hr \/>\n<\/div>\n<p><strong>2. Do RACADM changes require a server reboot?<\/strong><\/p>\n<p class=\"isSelectedEnd\">Some changes, such as RAID configuration updates and BIOS modifications, require a reboot and a pending job to be applied. Other settings may take effect immediately.<\/p>\n<p class=\"isSelectedEnd\">Use the following command to check pending jobs:<\/p>\n<pre dir=\"ltr\"><code dir=\"ltr\">racadm jobqueue view<\/code><\/pre>\n<div contenteditable=\"false\">\n<hr \/>\n<\/div>\n<p><strong>3. Can RACADM be used remotely?<\/strong><\/p>\n<p class=\"isSelectedEnd\">Yes. RACADM supports remote execution against iDRAC interfaces, allowing administrators to manage servers without logging into the operating system.<\/p>\n<p class=\"isSelectedEnd\">Example:<\/p>\n<pre dir=\"ltr\"><code dir=\"ltr\">racadm -r 192.168.1.100 -u root -p password getsysinfo<\/code><\/pre>\n<p class=\"isSelectedEnd\">This retrieves system information directly from the remote iDRAC controller.<\/p>\n<div contenteditable=\"false\">\n<hr \/>\n<\/div>\n<h2>Related Articles<\/h2>\n<ol start=\"1\" data-spread=\"true\">\n<li><strong>How to Configure SSH Key Access to a Linux Server Using a Windows Client<\/strong><br \/>\nLearn how to securely access Linux servers without passwords using SSH key authentication.<br \/>\n<a href=\"https:\/\/pheonixsolutions.com\/blog\/how-to-configure-ssh-key-access-to-linux-server-using-windows-client\/\" data-rich-text-autolink=\"\">https:\/\/pheonixsolutions.com\/blog\/how-to-configure-ssh-key-access-to-linux-server-using-windows-client\/<\/a><\/li>\n<li><strong>How to Install and Run a Simple Web Page Using Node.js in Windows<\/strong><br \/>\nA beginner-friendly guide to setting up a lightweight Node.js web server on Windows.<br \/>\n<a href=\"https:\/\/pheonixsolutions.com\/blog\/how-to-install-and-run-the-simple-web-page-using-nodejs-in-windows\/\" data-rich-text-autolink=\"\">https:\/\/pheonixsolutions.com\/blog\/how-to-install-and-run-the-simple-web-page-using-nodejs-in-windows\/<\/a><\/li>\n<li><strong>Resetting the Windows Administrator Password Using EC2Config<\/strong><br \/>\nLearn how to recover or reset a Windows administrator password on Amazon EC2 instances.<br \/>\n<a href=\"https:\/\/pheonixsolutions.com\/blog\/resetting-the-windows-administrator-password-using-ec2config\/\" data-rich-text-autolink=\"\">https:\/\/pheonixsolutions.com\/blog\/resetting-the-windows-administrator-password-using-ec2config\/<\/a><\/li>\n<\/ol>\n<div contenteditable=\"false\">\n<hr \/>\n<\/div>\n<p>&nbsp;<\/p>\n","protected":false},"excerpt":{"rendered":"<p>Introduction Managing modern server infrastructure requires tools that provide reliable remote access, hardware monitoring, and automated configuration capabilities. Dell PowerEdge [&hellip;]<\/p>\n","protected":false},"author":1,"featured_media":0,"comment_status":"open","ping_status":"open","sticky":false,"template":"","format":"standard","meta":{"site-sidebar-layout":"default","site-content-layout":"","ast-site-content-layout":"default","site-content-style":"default","site-sidebar-style":"default","ast-global-header-display":"","ast-banner-title-visibility":"","ast-main-header-display":"","ast-hfb-above-header-display":"","ast-hfb-below-header-display":"","ast-hfb-mobile-header-display":"","site-post-title":"","ast-breadcrumbs-content":"","ast-featured-img":"","footer-sml-layout":"","ast-disable-related-posts":"","theme-transparent-header-meta":"","adv-header-id-meta":"","stick-header-meta":"","header-above-stick-meta":"","header-main-stick-meta":"","header-below-stick-meta":"","astra-migrate-meta-layouts":"default","ast-page-background-enabled":"default","ast-page-background-meta":{"desktop":{"background-color":"var(--ast-global-color-5)","background-image":"","background-repeat":"repeat","background-position":"center center","background-size":"auto","background-attachment":"scroll","background-type":"","background-media":"","overlay-type":"","overlay-color":"","overlay-opacity":"","overlay-gradient":""},"tablet":{"background-color":"","background-image":"","background-repeat":"repeat","background-position":"center center","background-size":"auto","background-attachment":"scroll","background-type":"","background-media":"","overlay-type":"","overlay-color":"","overlay-opacity":"","overlay-gradient":""},"mobile":{"background-color":"","background-image":"","background-repeat":"repeat","background-position":"center center","background-size":"auto","background-attachment":"scroll","background-type":"","background-media":"","overlay-type":"","overlay-color":"","overlay-opacity":"","overlay-gradient":""}},"ast-content-background-meta":{"desktop":{"background-color":"var(--ast-global-color-4)","background-image":"","background-repeat":"repeat","background-position":"center center","background-size":"auto","background-attachment":"scroll","background-type":"","background-media":"","overlay-type":"","overlay-color":"","overlay-opacity":"","overlay-gradient":""},"tablet":{"background-color":"var(--ast-global-color-4)","background-image":"","background-repeat":"repeat","background-position":"center center","background-size":"auto","background-attachment":"scroll","background-type":"","background-media":"","overlay-type":"","overlay-color":"","overlay-opacity":"","overlay-gradient":""},"mobile":{"background-color":"var(--ast-global-color-4)","background-image":"","background-repeat":"repeat","background-position":"center center","background-size":"auto","background-attachment":"scroll","background-type":"","background-media":"","overlay-type":"","overlay-color":"","overlay-opacity":"","overlay-gradient":""}},"_jetpack_newsletter_access":"","_jetpack_dont_email_post_to_subs":false,"_jetpack_newsletter_tier_id":0,"_jetpack_memberships_contains_paywalled_content":false,"_jetpack_feature_clip_id":0,"_jetpack_memberships_contains_paid_content":false,"footnotes":"","jetpack_publicize_message":"","jetpack_publicize_feature_enabled":true,"jetpack_social_post_already_shared":false,"jetpack_social_options":{"image_generator_settings":{"template":"highway","default_image_id":0,"font":"","enabled":false},"version":2},"jetpack_post_was_ever_published":false},"categories":[1022],"tags":[],"class_list":["post-657","post","type-post","status-publish","format-standard","hentry","category-web-architecture","psol-cat-web-architecture"],"jetpack_publicize_connections":[],"jetpack_shortlink":"https:\/\/wp.me\/phn2x7-aB","jetpack_sharing_enabled":true,"jetpack_featured_media_url":"","_links":{"self":[{"href":"https:\/\/pheonixsolutions.com\/blog\/wp-json\/wp\/v2\/posts\/657","targetHints":{"allow":["GET"]}}],"collection":[{"href":"https:\/\/pheonixsolutions.com\/blog\/wp-json\/wp\/v2\/posts"}],"about":[{"href":"https:\/\/pheonixsolutions.com\/blog\/wp-json\/wp\/v2\/types\/post"}],"author":[{"embeddable":true,"href":"https:\/\/pheonixsolutions.com\/blog\/wp-json\/wp\/v2\/users\/1"}],"replies":[{"embeddable":true,"href":"https:\/\/pheonixsolutions.com\/blog\/wp-json\/wp\/v2\/comments?post=657"}],"version-history":[{"count":1,"href":"https:\/\/pheonixsolutions.com\/blog\/wp-json\/wp\/v2\/posts\/657\/revisions"}],"predecessor-version":[{"id":11395,"href":"https:\/\/pheonixsolutions.com\/blog\/wp-json\/wp\/v2\/posts\/657\/revisions\/11395"}],"wp:attachment":[{"href":"https:\/\/pheonixsolutions.com\/blog\/wp-json\/wp\/v2\/media?parent=657"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/pheonixsolutions.com\/blog\/wp-json\/wp\/v2\/categories?post=657"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/pheonixsolutions.com\/blog\/wp-json\/wp\/v2\/tags?post=657"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}