{"id":183,"date":"2007-01-13T20:14:39","date_gmt":"2007-01-13T20:14:39","guid":{"rendered":"http:\/\/blog.adamsweet.org\/?p=183"},"modified":"2015-07-21T11:11:49","modified_gmt":"2015-07-21T10:11:49","slug":"ipmi-on-linux-its-good-for-me-its-good-for-you","status":"publish","type":"post","link":"https:\/\/blog.adamsweet.org\/?p=183","title":{"rendered":"IPMI on Linux. It&#8217;s Good for Me, it&#8217;s Good for You"},"content":{"rendered":"<p>At work I have been setting up IPMI support under Linux so that we can have local facilities when working remotely. By local facilities I mean being able to shutdown or restart the machine when something nasty happens and the machine locks up, being able to view and alter the BIOS, the bootloader, the boot-up sequence, the shutdown sequence and the kernel output when it panics.<\/p>\n<p>This basically means that you see what happened, press the bug red button and then watch it come up again as though you were working on the machine locally. You can&#8217;t do this over SSH. Normally you would pay a couple of hundred or over a thousand  GBP for an IP KVM, depending on how many ports you required and again for a remote power control device.<\/p>\n<p>To use IPMI you need a machine with an IPMI BMC in the machine, preferably v2.0, you need a BIOS which lets you do console redirection and you can set the rest up in software, using <a href=\"http:\/\/openipmi.sourceforge.net\/\">OpenIPMI<\/a> and <a href=\"http:\/\/ipmitool.sourceforge.net\/\">IPMItool<\/a>. What you can do is setup a serial console over the BMC and have the BMC redirect that over it&#8217;s own LAN interface so you can talk to it remotely. You also set up your bootloader and init to setup a console over the same serial port and then all you have to do is talk to it. The BMC is OS independent and works whether the machine is powered on, powered off and operational or not, so long as there is a power source connected to the server.<\/p>\n<p>To help other people do the same thing, I wrote an <a href=\"http:\/\/wiki.adamsweet.org\/doku.php?id=ipmi_on_linux\">IPMI howto<\/a> on <a href=\"http:\/\/wiki.adamsweet.org\/\">my wiki<\/a>, there is already some other stuff on <a href=\"http:\/\/wiki.adamsweet.org\/doku.php?id=chrooted_dns\">chrooted DNS<\/a>, <a href=\"http:\/\/wiki.adamsweet.org\/doku.php?id=dnsbls\">DNSBLs<\/a> and <a href=\"http:\/\/wiki.adamsweet.org\/doku.php?id=greylisting\">greylisting<\/a>. I admit, that I have yet to make it completely comprehensive, but all of the details you need to do it are there and the links will fill in any gaps while I finish it off.<\/p>\n<p>This is my first real wiki article and was inspired by <a href=\"http:\/\/www.adrianbradshaw.co.uk\/\">Ade<\/a> opening up his <a href=\"http:\/\/www.adrianbradshaw.co.uk\/secretwiki\/\">secret wiki<\/a>. It made me realise that I really ought to have some kind of config and howto repository to go back to myself.<\/p>\n<p>Anyway, if you&#8217;re managing remote servers or plan to, think about using IPMI and then look at my <a href=\"http:\/\/wiki.adamsweet.org\/doku.php?id=ipmi_on_linux\">IPMI article<\/a>.<\/p>\n","protected":false},"excerpt":{"rendered":"<p>At work I have been setting up IPMI support under Linux so that we can have local facilities when working remotely. By local facilities I mean being able to shutdown or restart the machine when something nasty happens and the &hellip; <a href=\"https:\/\/blog.adamsweet.org\/?p=183\">Continue reading <span class=\"meta-nav\">&rarr;<\/span><\/a><\/p>\n","protected":false},"author":2,"featured_media":0,"comment_status":"closed","ping_status":"open","sticky":false,"template":"","format":"standard","meta":{"footnotes":""},"categories":[1],"tags":[],"class_list":["post-183","post","type-post","status-publish","format-standard","hentry","category-general"],"_links":{"self":[{"href":"https:\/\/blog.adamsweet.org\/index.php?rest_route=\/wp\/v2\/posts\/183","targetHints":{"allow":["GET"]}}],"collection":[{"href":"https:\/\/blog.adamsweet.org\/index.php?rest_route=\/wp\/v2\/posts"}],"about":[{"href":"https:\/\/blog.adamsweet.org\/index.php?rest_route=\/wp\/v2\/types\/post"}],"author":[{"embeddable":true,"href":"https:\/\/blog.adamsweet.org\/index.php?rest_route=\/wp\/v2\/users\/2"}],"replies":[{"embeddable":true,"href":"https:\/\/blog.adamsweet.org\/index.php?rest_route=%2Fwp%2Fv2%2Fcomments&post=183"}],"version-history":[{"count":2,"href":"https:\/\/blog.adamsweet.org\/index.php?rest_route=\/wp\/v2\/posts\/183\/revisions"}],"predecessor-version":[{"id":580,"href":"https:\/\/blog.adamsweet.org\/index.php?rest_route=\/wp\/v2\/posts\/183\/revisions\/580"}],"wp:attachment":[{"href":"https:\/\/blog.adamsweet.org\/index.php?rest_route=%2Fwp%2Fv2%2Fmedia&parent=183"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/blog.adamsweet.org\/index.php?rest_route=%2Fwp%2Fv2%2Fcategories&post=183"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/blog.adamsweet.org\/index.php?rest_route=%2Fwp%2Fv2%2Ftags&post=183"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}