{"id":80,"date":"2009-06-18T19:12:53","date_gmt":"2009-06-18T19:12:53","guid":{"rendered":"http:\/\/laurie.denness.net\/blog\/?p=80"},"modified":"2009-06-18T19:23:44","modified_gmt":"2009-06-18T19:23:44","slug":"setting-up-a-drac-card-using-debian","status":"publish","type":"post","link":"https:\/\/laur.ie\/blog\/2009\/06\/setting-up-a-drac-card-using-debian\/","title":{"rendered":"Setting up a DRAC card using Debian"},"content":{"rendered":"<p>Today I was faced with the problem of setting the IP address of a DRAC (dedicated Dell Remote Access Card, which are super by the way, and a lot lot quicker than Sun&#8217;s effort) in a Dell server that was powered on, running something production on the Debian OS, and I had no physical access to the server, so no rebooting for configuration was possible.<\/p>\n<p>Now, if you have an idea of what IP address is on that card already you can talk to it remotely which isn&#8217;t a problem. The problem was, I had no idea what the IP address was currently set it to and it wasn&#8217;t DHCP. Even so, I had no copy of the racadm command, the Dell tool to control the card. (omconfig is available on Debian now which is nice, but omconfig bmc is a deprecated command and indicates to use racadm!)<\/p>\n<p>Let me tell you how to set the IP address with just a simple install of Debian and little effort. (I&#8217;m sure this on the internet somewhere but I had difficulties finding it. I expect my Google-fu was weak today.)<\/p>\n<p>Install IPMItool from apt:<\/p>\n<pre>apt-get install ipmitool<\/pre>\n<p>Load the IPMI driver into \/dev\/ so we can talk to the card:<\/p>\n<pre>\/usr\/share\/ipmitool\/ipmi.init.basic<\/pre>\n<p>You can now print the current config of the card:<\/p>\n<pre>ipmitool lan print 1<\/pre>\n<p>Set the new IP address up, if you want to configure it manually:<\/p>\n<pre>ipmitool lan set 1 ipaddr 172.0.0.10\r\nipmitool lan set 1 netmask 255.255.255.0\r\nipmitool lan set 1 defgw ipaddr 172.0.0.1\r\nipmitool lan set 1 ipsrc static<\/pre>\n<p>Or set it to DHCP if you want:<\/p>\n<pre>ipmitool lan set 1 ipsrc dhcp<\/pre>\n<p>Check your settings:<\/p>\n<pre>ipmitool lan print 1<\/pre>\n<p>Reboot the DRAC; You may not have to do this, I did (and\/or I&#8217;m impatient)<\/p>\n<pre>ipmitool mc reset cold<\/pre>\n<p>Within a minute the card should be up and responding to ping. Hurrah! <strong><\/strong><\/p>\n<p><strong>Note:<\/strong> I tried these on a DRAC4 card, and whilst it looked like it was accepting my instructions, it seems it was infact completely ignoring me. I had to configure this one manually in the BIOS. These commands work fine on a DRAC5 though.<\/p>\n","protected":false},"excerpt":{"rendered":"<p>Today I was faced with the problem of setting the IP address of a DRAC (dedicated Dell Remote Access Card, which are super by the way, and a lot lot quicker than Sun&#8217;s effort) in a Dell server that was powered on, running something production on the Debian OS, and I had no physical access &hellip; <a href=\"https:\/\/laur.ie\/blog\/2009\/06\/setting-up-a-drac-card-using-debian\/\" class=\"more-link\">Continue reading <span class=\"screen-reader-text\">Setting up a DRAC card using Debian<\/span><\/a><\/p>\n","protected":false},"author":1,"featured_media":0,"comment_status":"open","ping_status":"open","sticky":false,"template":"","format":"standard","meta":{"jetpack_post_was_ever_published":false,"_jetpack_newsletter_access":"","_jetpack_dont_email_post_to_subs":false,"_jetpack_newsletter_tier_id":0,"_jetpack_memberships_contains_paywalled_content":false,"_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}},"categories":[3,5],"tags":[18,19],"class_list":["post-80","post","type-post","status-publish","format-standard","hentry","category-technology","category-work","tag-dell","tag-drac"],"jetpack_publicize_connections":[],"jetpack_featured_media_url":"","jetpack_shortlink":"https:\/\/wp.me\/pioRW-1i","jetpack_sharing_enabled":true,"_links":{"self":[{"href":"https:\/\/laur.ie\/blog\/wp-json\/wp\/v2\/posts\/80","targetHints":{"allow":["GET"]}}],"collection":[{"href":"https:\/\/laur.ie\/blog\/wp-json\/wp\/v2\/posts"}],"about":[{"href":"https:\/\/laur.ie\/blog\/wp-json\/wp\/v2\/types\/post"}],"author":[{"embeddable":true,"href":"https:\/\/laur.ie\/blog\/wp-json\/wp\/v2\/users\/1"}],"replies":[{"embeddable":true,"href":"https:\/\/laur.ie\/blog\/wp-json\/wp\/v2\/comments?post=80"}],"version-history":[{"count":5,"href":"https:\/\/laur.ie\/blog\/wp-json\/wp\/v2\/posts\/80\/revisions"}],"predecessor-version":[{"id":82,"href":"https:\/\/laur.ie\/blog\/wp-json\/wp\/v2\/posts\/80\/revisions\/82"}],"wp:attachment":[{"href":"https:\/\/laur.ie\/blog\/wp-json\/wp\/v2\/media?parent=80"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/laur.ie\/blog\/wp-json\/wp\/v2\/categories?post=80"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/laur.ie\/blog\/wp-json\/wp\/v2\/tags?post=80"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}