I've used ipmitool any number of times, but never for more than getting info, or setting the server name on a Dell LCD screen. However, I had a server screaming about intruder alert, intruder alert, er, "Chassis intrusion detected", and I thought there might be a way to shut it up (this after pulling the server and reseating the lid). A quick google found, on the first page, an 8 page document by Dell called "Managing Dell PowerEdge Servers Using IPMItool". It's clear, comprehensible, has links to the ipmitool project, and to the IPMI standard, which has documentation on calls and parameters. It also has some examples... including "How to turn off intrusion detected events".... Other than the device ID being different on my Penguin than on a Dell PE, it was completely accurate... and it worked. A bit scary - I didn't want to turn off everything, or brick the server, but it worked as advertised. So, push that onto your stack for the time when you need it, folks. mark
________________________________ >From: "m.roth at 5-cent.us" <m.roth at 5-cent.us>>To: CentOS mailing list <centos at centos.org> >Sent: Tuesday, July 30, 2013 11:47 AM >Subject: [CentOS] Interesting admin info: ipmitool >> >I've used ipmitool any number of times, but never for more than getting >info, or setting the server name on a Dell LCD screen. However, I had a >server screaming about intruder alert, intruder alert, er, "Chassis >intrusion detected", and I thought there might be a way to shut it up >(this after pulling the server and reseating the lid). A quick google >found, on the first page, an 8 page document by Dell called "Managing Dell >PowerEdge Servers Using IPMItool". It's clear, comprehensible, has links >to the ipmitool project, and to the IPMI standard, which has documentation >on calls and parameters. It also has some examples... including "How to >turn off intrusion detected events".... Other than the device ID being >different on my Penguin than on a Dell PE, it was completely accurate... >and it worked. >The intruder must not escape!!! Right.?? :) Is this what Dell OpenManage wraps around?? It sounds similar.. ______________________________________________________________________ If life gives you lemons, keep them-- because hey.. free lemons. "? Sticker" fixer:? http://microflush.org/stuff/stickers/heartFix.html
On Tue, 30 Jul 2013, m.roth at 5-cent.us wrote:> I've used ipmitool any number of times, but never for more than > getting info, or setting the server name on a Dell LCD screen. > [....]Getting IPMI up and running is standard in our shop, which tends to be dominated by SuperMicro gear: 1. Boot machine to get IMPI MAC address 2. Add said MAC to DHCP/DNS 3. In BIOS, tell machine to use DHCP for IPMI net config 4. In BIOS, make sure IPMI serial-over-LAN is active 5. Reboot machine; use browser to connect to IMPI 6. Immediately reset ADMIN password. Then add other user accounts as necessary. At that point, the new machine can be manipulated via a web browser or by ipmitool running on another machine. To date, we only set local IPMI user accounts, though some implementations advertise the ability to use remote LDAP accounts as well. If the machine's OS can use a serial console, then a remote ipmitool can serve as a new-fangled serial concentrator: ipmitool -I lanplus -U $user -H $hostname sol activate (You might consider adding "-C3" to that invocation, which specifies the standard cipher suites to protect wire-level communications.) I've found that IPMI versions don't necessarily attach to the same COM port, so it might take some tweaking to figure out if your getty should be on ttyS1, ttyS2, or whatever. You can build this right into a kickstart file, e.g., bootloader [...] --append="console=tty0 console=ttyS1,115200n8" Finally, I'll note that I'm not terribly fond of IPMI implementations that share an RJ-45 port with eth0 or eth1, though I've had to use them on a couple occasions. I prefer a dedicated interface. -- Paul Heinlein heinlein at madboa.com 45?38' N, 122?6' W