Skip site navigation (1)Skip section navigation (2)
Date:      Fri, 15 Jun 2012 11:28:37 +0300
From:      Daniel Braniss <danny@cs.huji.ac.il>
To:        "Patrick M. Hausen" <hausen@punkt.de>
Cc:        freebsd-stable@freebsd.org, "Matthew X. Economou" <xenophon@irtnog.org>
Subject:   Re: FreeBSD and IPMI how-to (was Re: su problem)
Message-ID:  <E1SfRtV-0005ME-9k@kabab.cs.huji.ac.il>
In-Reply-To: <6EFC18AE-E2EE-4D1E-AE1F-EA547202FE26@punkt.de>
References:  <201206101128.q5ABShXN007826@lurza.secnetix.de>  <E1Sdgh0-0000tK-Fs@kabab.cs.huji.ac.il> <BABF8C57A778F04791343E5601659908236C25@cinip100ntsbs.irtnog.net> <6EFC18AE-E2EE-4D1E-AE1F-EA547202FE26@punkt.de>

next in thread | previous in thread | raw e-mail | index | archive | help

> Hi, all,
> 
> 
> Am 15.06.2012 um 03:27 schrieb Matthew X. Economou:
> > Daniel Braniss writes:
> > 
> >> just for the record, serial on 8.x works fine! the device naming
> >> has changed from sio to uart, and maybe some features. We use it
> >> on all our servers, even redirecting it where possible via
> >> ILO,IMPI,DRAC.  and is great for debuging or saving long trips :-)
> > 
> > Would some kind soul point me to a howto for configuring IPMI on
> > FreeBSD?  I have a Dell PowerEdge 840 that supports IPMI, but I have
> > no idea how to set it up - either in the BIOS or in FreeBSD.  I've
> > messed around with ipmitools a little, but I haven't gotten it to
> > work.
> > > Did you
> > 	kldload ipmi
> ?
> > What's the output of
> > 	dmesg> 	kldstat
> > after loading the module?
> > With the module loaded, you should be able to get something like this:
> > devel# ipmitool sensor
> Ambient          | 23.500     | degrees C  | ok    | na        | 1.000   =  | 6.000     | 37.000    | 42.000    | na        
> Systemboard      | 32.000     | degrees C  | ok    | na        | na      =  | na        | 60.000    | 65.000    | na        
> CPU1             | 49.000     | degrees C  | ok    | na        | na      =  | na        | 93.000    | 97.000    | na        
> CPU2             | 48.000     | degrees C  | ok    | na        | na      =  | na        | 93.000    | 97.000    | na        
> ...
[...]

the ipmi kernel module allows interfacing/communicating with the 'local system', which is nice,
unless the kernel went bonkers.

You can - after some configuring(*) - connect from another host via something like:
 ipmitool -A MD5 -H <remote-host-ipmi-module-ip-address> -U root -I lanplus sol activate
and get the remote host console, or do a power cycle:
 ipmitool -A MD5 -H  <remote-host-ipmi-module-ip-address> -U root power cycle


danny
*: you need configure/enable the bios/drac.






Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?E1SfRtV-0005ME-9k>