**Cette page a été importée automatiquement de notre ancien wiki mais n'a pas encore été révisée.** # Howto IPMI modprobe ipmi_si modprobe ipmi_devintf ipmi message handler version 39.1 IPMI System Interface driver. ipmi_si: Trying SMBIOS-specified kcs state machine at i/o address 0xca8, slave address 0x20, irq 0 ipmi: Found new BMC (man_id: 0x0002a2, prod_id: 0x0000, dev_id: 0x20) IPMI kcs interface initialized ipmi device interface aptitude install openipmi aptitude install ipmitool cat /proc/devices | grep ipmi NNN ipmidev mknod -m 0600 /dev/ipmi0 c NNN 0 ipmitool lan print ipmitool sensor ipmitool sdr over LAN : usage: lan set [option] LAN set commands: ipaddr Set channel IP address netmask Set channel IP netmask macaddr Set channel MAC address defgw ipaddr Set default gateway IP address defgw macaddr Set default gateway MAC address bakgw ipaddr Set backup gateway IP address bakgw macaddr Set backup gateway MAC address password Set session password for this channel snmp Set SNMP public community string user Enable default user for this channel access Enable or disable access to this channel arp response Enable or disable BMC ARP responding arp generate Enable or disable BMC gratuitous ARP generation arp interval Set gratuitous ARP generation interval auth Set channel authentication types level = CALLBACK, USER, OPERATOR, ADMIN type = NONE, MD2, MD5, PASSWORD, OEM ipsrc Set IP Address source none = unspecified source static = address manually configured to be static dhcp = address obtained by BMC running DHCP bios = address loaded by BIOS or system software cipher_privs XXXXXXXXXXXXXXX Set RMCP+ cipher suite privilege levels X = Cipher Suite Unused c = CALLBACK u = USER o = OPERATOR a = ADMIN O = OEM # ipmitool -I open lan set 1 "ipsrc" "static" # ipmitool lan print 1 Set in Progress : Set In Progress Auth Type Support : NONE MD2 MD5 PASSWORD Auth Type Enable : Callback : MD2 MD5 : User : MD2 MD5 : Operator : MD2 MD5 : Admin : MD2 MD5 : OEM : MD2 MD5 IP Address Source : Static Address IP Address : 0.0.0.0 Subnet Mask : 0.0.0.0 MAC Address : 00:13:72:50:42:42 SNMP Community String : public IP Header : TTL=0x40 Flags=0x40 Precedence=0x00 TOS=0x10 => interface Ethernet spécifique % ipmitool -I lan -H 1.2.3.169 -U root shell bootdev [clear-cmos=yes|no] none : Do not change boot device order pxe : Force PXE boot disk : Force boot from default Hard-drive safe : Force boot from default Hard-drive, request Safe Mode diag : Force boot from Diagnostic Partition cdrom : Force boot from CD/DVD bios : Force boot into BIOS Setup power : cycle,reset = reboot off,soft = extinction on = demarrage ipmitool shell ipmitool> power status Chassis Power is on ipmitool> power cycle Chassis Power Control: Cycle ipmitool> user list ID Name Callin Link Auth IPMI Msg Channel Priv Limit 2 root true true true ADMINISTRATOR ipmitool> session info all session handle : 32 slot count : 5 active sessions : 1 user id : 2 privilege level : ADMINISTRATOR session type : IPMIv1.5 channel number : 0x01 console ip : 1.2.3.4 console mac : 00:16:17:52:fa:87 console port : 33594 ipmitool> sel list 7 | Pre-Init Time-stamp | Power Supply #0x65 | Power Supply AC lost | Asserted 8 | Pre-Init Time-stamp | Power Supply #0x74 | Redundancy Lost 9 | 08/17/2007 | 15:46:15 | Power Supply #0x65 | Failure detected | Deasserted a | 08/17/2007 | 15:46:16 | Power Supply #0x65 | Power Supply AC lost | Deasserted b | 08/17/2007 | 15:46:16 | Power Supply #0x74 | Fully Redundant c | 08/17/2007 | 15:46:35 | Memory #0x53 | Correctable ECC | Asserted d | 08/17/2007 | 15:46:42 | Temperature #0x30 | Upper Critical going high e | 08/17/2007 | 15:46:46 | Temperature #0x30 | Upper Critical going high f | 08/17/2007 | 15:46:49 | Voltage #0x60 | Lower Critical going low modprobe ipmi_watchdog IPMI Watchdog: driver initialized Copyright (C) 2004 MontaVista Software - IPMI Powerdown via sys_reboot. modprobe ipmi_poweroff IPMI poweroff: ATCA Detect mfg 0x2A2 prod 0x100 IPMI poweroff: Found a chassis style poweroff function IP : ---- ipmitool> lan set 1 ipaddr 1.2.3.33 Setting LAN IP Address to 1.2.3.33 ipmitool> lan set 1 netmask 255.255.255.0 Setting LAN Subnet Mask to 255.255.255.0 ipmitool> lan print 1 ipmitool> lan set 1 access on Users : ------- ipmitool> user set password 2 ipmitool> user test 2 16 Success ipmitool> user test 2 16 Set User Password command failed (user 2): Unknown (0x80) Failure: password incorrect En réseau : =========== % ipmitool -I lan -H 1.2.3.169 -U root shell OpenBSD : ========= # sysctl hw.sensors