Re: FreeBSD and IPMI how-to (was Re: su problem)

2012-06-15 Thread Patrick M. Hausen
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
...
FAN1 SYS | 6120.000   | RPM| ok| na| 1920.000  | na 
   | na| na| na
FAN2 SYS | 6480.000   | RPM| ok| na| 1920.000  | na 
   | na| na| na
FAN3 SYS | 6000.000   | RPM| ok| na| 1920.000  | na 
   | na| na| na
FAN4 SYS | 6480.000   | RPM| ok| na| 1920.000  | na 
   | na| na| na
FAN5 SYS | 6120.000   | RPM| ok| na| 1920.000  | na 
   | na| na| na
FAN6 SYS | 6480.000   | RPM| ok| na| 1920.000  | na 
   | na| na| na
FAN7 SYS | 6120.000   | RPM| ok| na| 1920.000  | na 
   | na| na| na
FAN8 SYS | 6480.000   | RPM| ok| na| 1920.000  | na 
   | na| na| na
FAN9 SYS | 6240.000   | RPM| ok| na| 1920.000  | na 
   | na| na| na
FAN10 SYS| 6720.000   | RPM| ok| na| 1920.000  | na 
   | na| na| na
FAN11 SYS| 6240.000   | RPM| ok| na| 1920.000  | na 
   | na| na| na
FAN12 SYS| 6720.000   | RPM| ok| na| 1920.000  | na 
   | na| na| na
PSU1 Power   | 100.000| Watts  | ok| na| na| na 
   | na| na| na
PSU2 Power   | 96.000 | Watts  | ok| na| na| na 
   | na| na| na
Total Power  | 196.000| Watts  | ok| na| na| na 
   | na| na| na
Total Power Out  | 172.000| Watts  | ok| na| na| na 
   | na| na| na
...


Kind regards,
Patrickj
-- 
punkt.de GmbH * Kaiserallee 13a * 76133 Karlsruhe
Tel. 0721 9109 0 * Fax 0721 9109 100
i...@punkt.de   http://www.punkt.de
Gf: Jürgen Egeling  AG Mannheim 108285



___
freebsd-stable@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-stable
To unsubscribe, send any mail to freebsd-stable-unsubscr...@freebsd.org


Re: FreeBSD and IPMI how-to (was Re: su problem)

2012-06-15 Thread Bob Bishop
Hi,

On 15 Jun 2012, at 02:27, Matthew X. Economou wrote:

 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.

To get things like remote management and serial over LAN working, the config 
has to be right on both the OS and the platform. Others have addressed the 
FreeBSD end; configuration of the platform is documented here:

http://support.dell.com/support/edocs/software/smbmcmu

but you'll have to figure out which version is applicable to your box. When you 
have ipmitool working, the output of `ipmitool mc info' may help with that. 
Also, it seems like your box implements IPMI v1.5, which is rather less 
friendly than v2.

--
Bob Bishop
r...@gid.co.uk




___
freebsd-stable@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-stable
To unsubscribe, send any mail to freebsd-stable-unsubscr...@freebsd.org


Re: FreeBSD and IPMI how-to (was Re: su problem)

2012-06-15 Thread Steven Hartland

Daniel Braniss writes:

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.


http://blog.multiplay.co.uk/2011/06/ipmi-under-freebsd-is-easy/

   Regards
   Steve


This e.mail is private and confidential between Multiplay (UK) Ltd. and the person or entity to whom it is addressed. In the event of misdirection, the recipient is prohibited from using, copying, printing or otherwise disseminating it or any information contained in it. 


In the event of misdirection, illegible or incomplete transmission please 
telephone +44 845 868 1337
or return the E.mail to postmas...@multiplay.co.uk.

___
freebsd-stable@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-stable
To unsubscribe, send any mail to freebsd-stable-unsubscr...@freebsd.org


Re: FreeBSD and IPMI how-to (was Re: su problem)

2012-06-15 Thread Randy Bush
i want two things from ipmi, reset and kva console.  freebsd ipmitool
gives me the first, and i already had an apc controlled power bar.

randy
___
freebsd-stable@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-stable
To unsubscribe, send any mail to freebsd-stable-unsubscr...@freebsd.org


Re: FreeBSD and IPMI how-to (was Re: su problem)

2012-06-15 Thread Daniel Braniss
 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.



___
freebsd-stable@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-stable
To unsubscribe, send any mail to freebsd-stable-unsubscr...@freebsd.org


Re: FreeBSD and IPMI how-to (was Re: su problem)

2012-06-15 Thread Chuck Tuffli
On Thu, Jun 14, 2012 at 6:27 PM, Matthew X. Economou
xenop...@irtnog.org wrote:
...
 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.

We have HP boxes here with IPMI (mostly v1.5), and by and large, there
isn't much FreeBSD configuration. The set of things I do for serial
over LAN are the same as for a regular serial console:

1) create /boot.config with the line
-D -S115200

2) create /boot/loader.conf with the lines
boot_multicons=YES
comconsole_speed=115200
console=comconsole,vidconsole

3) change /etc/ttys to allow a login over the console. something similar to
ttyu0   /usr/libexec/getty std.115200 vt100   on secure

The rest of the configuration is in the BIOS and tends to be vendor
specific. Once this is configured, you can use something like ipmitool
to control power (chassis power on, chassis power reset, ...) and get
a serial console (sol activate). HTH.

---chuck
___
freebsd-stable@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-stable
To unsubscribe, send any mail to freebsd-stable-unsubscr...@freebsd.org


FreeBSD and IPMI how-to (was Re: su problem)

2012-06-14 Thread 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.

Best wishes,
Matthew

-- 
I FIGHT FOR THE USERS



smime.p7s
Description: S/MIME cryptographic signature


Re: FreeBSD and IPMI how-to (was Re: su problem)

2012-06-14 Thread Sean Bruno
On Thu, 2012-06-14 at 18:27 -0700, Matthew X. Economou wrote:
 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.
 
 Best wishes,
 Matthew
 


I would start with installing the ipmitool port.  Other may suggest
freeipmi and openipmi for great justice.

try poking around with sudo ipmitool shell and see if you can figure
out what's going on.

Sean

___
freebsd-stable@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-stable
To unsubscribe, send any mail to freebsd-stable-unsubscr...@freebsd.org