FreeBSD and IPMI how-to (was Re: su problem)
Daniel Braniss
danny at cs.huji.ac.il
Fri Jun 15 08:28:51 UTC 2012
> 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.
More information about the freebsd-stable
mailing list