Ubuntu – How to set IPMI ip address on Ubuntu

ipmiipmitoolUbuntu

I'm new to working with IPMI and trying to configure a server running Ubuntu 14.04 with an IPMI IP address. I found there are a couple of packages available for Ubuntu that may help with this: openipmi and ipmitools, according to this link, which seems to recommend openipmi due to its being officially supported. However, I had an easier time finding instructions for ipmitools, so I attempted to use ipmitools (the instructions were for Centos and included use of yum, but I attempted to adjust for Ubuntu appropriately). I ran into the following error during installation:

Could not open device at /dev/ipmi0 or /dev/ipmi/0 or /dev/ipmidev/0

I found this question, which addressed the issue by modifying /etc/modules, but the solution didn't work for me (again, this solution was not for Ubuntu, and this could easily be the source of the problem). When I restarted my machine (actually a Vsphere VM), the machine would not come up due to disk errors. I chose to skip the errors, which allowed successful booting, after which time I reverted the changes to /etc/modules and successfully restarted.

Can anyone explain what I'm doing wrong, or perhaps a better sequence of steps to get started with a basic IPMI configuration on my Ubuntu VM?

***BTW, you may be wondering why I care about IPMI on a VM — actually this is just a testing sandbox for an appliance I'm working on, and that appliance will run Ubuntu and need an IPMI configuration.

Best Answer

IPMI is only available on physical machines, as it is a piece of management hardware that can't work on virtual machines (and isn't required there). ipmitools etc. are just tools to access this piece of hardware from inside the operating system, but it requires the BMC to actually exist.

It can be used e.g. to monitor power status, fan speeds, temperatures and to turn the system on and off. All of this is irrelevant on virtual machines.