Dmitry A. Koptev показал как задействовать BMC (Baseboard Management Controller) имеющийся на некоторых серверных материнских платах от Intel и позволяющий локально или удаленно, через IPMI (http://www.intel.com/design/servers/ipmi/index.htm) (Intelligent Platform Management Interface) интерфейс, просматривать информацию о состоянии оборудования и при необходимости осуществить перезагрузку по питанию.
В статье разобрана ситуация использования OpenIPMI (http://openipmi.sourceforge.net/) в комплекте с ipmitool (http://ipmitool.sourceforge.net/) под Linux.
Для FreeBSD вместо OpenIPMI можно использовать ipmi-bsd (http://sourceforge.net/projects/ipmi-bsd/) или многоплатформенный пакет GNU FreeIPMI (http://www.gnu.org/software/freeipmi/). Обзор поддержки IPMI для FreeBSD доступен на странице IPMI on FreeBSD (http://people.freebsd.org/~dwhite/ipmi/).URL: http://openipmi.sourceforge.net/
Новость: http://www.opennet.me/opennews/art.shtml?num=6275
Для FreeBSD все просто:#cd /usr/ports/sysutils/freeipmi
#make
#make install
#bmc-infoDevice ID: 20
Device Revision: 1
[SDR Support]
Firmware Revision: 1.20
[Device Available (normal operation)]
IPMI Version: 1.5
Additional Device Support:
[Sensor Device]
[SDR Repository Device]
[SEL Device]
[FRU Inventory Device]
[IPMB Event Receiver]
[Chassis Device]
Manufacturer ID: B000157h
Product ID: 1Bh
Aux Firmware Revision Info: 10011500h
#sensors
1: Power Unit (Power Unit): [OK]
2: Power Redundancy (Power Unit): [Fully Redundant]
3: BMC Watchdog (Watchdog 2): [OK]
4: Scrty Violation (Platform Security Violation): [OK]
5: Physical Scrty (Platform Chassis Intrusion): [OK]
6: POST Error (System Firmware): [OK]
7: Critical Int (Critical Interrupt): [OK]
8: Memory (Memory): [Unknown]
9: Logging Disabled (Event Logging Disabled): [OK]
10: Baseboard 1.2V (Voltage): 1.21 V (low=1.14/nom=1.20/high=1.25) [OK]
11: Baseboard 1.25V (Voltage): 1.26 V (low=1.08/nom=1.24/high=1.41) [OK]
...
>Для FreeBSD все просто:
>
>#cd /usr/ports/sysutils/freeipmi
>#make
>#make install
>#bmc-info
>
>Device ID: 20
>Device Revision: 1
>
> [SDR Support]
>Firmware Revision: 1.20
>
> [Device Available (normal operation)]
>
>IPMI Version: 1.5
>Additional Device Support:
>
> [Sensor Device]
>
> [SDR Repository Device]
>
> [SEL Device]
>
> [FRU Inventory Device]
>
> [IPMB Event Receiver]
>
> [Chassis Device]
>Manufacturer ID: B000157h
>Product ID: 1Bh
>Aux Firmware Revision Info: 10011500h
>
>
>#sensors
>1: Power Unit (Power Unit): [OK]
>2: Power Redundancy (Power Unit): [Fully Redundant]
>3: BMC Watchdog (Watchdog 2): [OK]
>4: Scrty Violation (Platform Security Violation): [OK]
>5: Physical Scrty (Platform Chassis Intrusion): [OK]
>6: POST Error (System Firmware): [OK]
>7: Critical Int (Critical Interrupt): [OK]
>8: Memory (Memory): [Unknown]
>9: Logging Disabled (Event Logging Disabled): [OK]
>10: Baseboard 1.2V (Voltage): 1.21 V (low=1.14/nom=1.20/high=1.25) [OK]
>11: Baseboard 1.25V (Voltage): 1.26 V (low=1.08/nom=1.24/high=1.41) [OK]
>...
У меня вообще виснет... и ничего не хочет делать.
Очаровательно пишут ...
=> argp-standalone-1.3.tar.gz doesn't seem to exist in /usr/ports/distfiles/
=> guile-1.6.7.tar.gz doesn't seem to exist in /usr/ports/distfiles/