Linux - ServerThis forum is for the discussion of Linux Software used in a server related context.
Notices
Welcome to LinuxQuestions.org, a friendly and active Linux Community.
You are currently viewing LQ as a guest. By joining our community you will have the ability to post topics, receive our newsletter, use the advanced search, subscribe to threads and access many other special features. Registration is quick, simple and absolutely free. Join our community today!
Note that registered members see fewer ads, and ContentLink is completely disabled once you log in.
If you have any problems with the registration process or your account login, please contact us. If you need to reset your password, click here.
Having a problem logging in? Please visit this page to clear all LQ-related cookies.
Get a virtual cloud desktop with the Linux distro that you want in less than five minutes with Shells! With over 10 pre-installed distros to choose from, the worry-free installation life is here! Whether you are a digital nomad or just looking for flexibility, Shells can put your Linux machine on the device that you want to use.
Exclusive for LQ members, get up to 45% off per month. Click here for more info.
I was struggeling with IPMI on my Debian Squeeze Supermicro 5014C-T server.
I solved this issue and kept the original opening post in small font. This is what I had to do to make this work on my supermicro 5014C-T to get the IPMI controller working:
Code:
# create the device
mknod -m 0600 /dev/ipmi0 c 254 0
#install necessary software.
apt-get update && apt-get install openipmi ipmitools
#load the modules into the kernel
modprobe ipmi_devintf
modprobe ipmi_msghandler
modprobe ipmi_watchdog
modprobe ipmi_poweroff
modprobe ipmi_si type="kcs" ports="0xca8" regspacings="4"
ipmitool -I open lan set 1 ipaddr 192.168.1.100 # choose the IP-address
ipmitool -I open lan set 1 defgw ipaddr 192.168.1.1 # default gateway
ipmitool -I open lan set 1 netmask 255.255.255.0 # netmask
ipmitool -I open lan set 1 access on # make accessible ?
ipmitool -I open lan set 1 snmp TypeCommunityStringHere
ipmitool -I open lan set 1 snmp TypeAPasswordHere # set the null user password to something
ipmitool -I open user set password 2 RememberThisPassword # set password for root user!!!
ipmitool -I open lan print 1 #finally check all settings.
export IPMI_PASSWORD="RemberThisPassword"
check for power status(from a remote host):
ipmitool -I lan -u ADMIN -H 192.168.1.100 -a chassis power status
In a turorial I was told to use the user name "root" but I got dropped out of the shell telling me it didn't recognize the username. So I tried root/Root/amdin/ADMIN and for me ADMIN did the job. To check the valid usernames do this:
Code:
ipmitool user list 1
Pleas feel free to comment on things that are possibly not right/complete/unsecure ... . As the topic title says I'm a total IPMI newbie :-)
Hi everyone,
My story on this thread?:
Recently I got an "old" 1U Supermicro server from the IT-manager of the company where I work (property of the IT-manager, not my company's ).
Well, old, it's just fine since it's running Linux (d'oh!! ) and it isn't supposed to run heavy databases, Just filesharing/webserver/ftpserver/sshserver. Things like that. I'm planning to put in 2 x 2TB-discs in RAID 0 so it isn't old anymore. But that's offtopic isn't it? .
The only "exotic" hardware to me is an IPMI-controller. The IT-guy was so kind to explain what it is and can do. I have no previous experience with physical servers so err .
Anyway, I'm trying to access the IPMI controller but have no clue how to get there.
So I figured out there should be some kind of deamon running to answer incoming requests or can't you access ipmi from the same host? Errrrr no, no deamon: a deamon can't be running if the box is completely off... .
Well some help to get me going would be appreciated
Thanks
Wannes
Last edited by bucovaina78; 08-16-2010 at 02:54 PM.
Reason: I solved this issue
You should be able to use "ipmitool" to query and set the IP address of the IPMI card (assuming it's supported by Linux -- most are). The IPMI card has its own processor (this is how you can access it and do stuff even if the box is shut down so long as the IPMI card has power). You should carefully read the man page for ipmitool as the options are a bit convoluted IMO and I don't remember the exact command to set the card's IP. Depending on what exact card you have, once you have assigned the card an IP address, you can ssh to it or access it via a Web interface to get to its functionality. The default user name and password on Supermicro IPMI cards are both "ADMIN" (all caps, no quotes). Hopefully you have a card that supports IPMI 2.0. We have a bunch of Supermicro servers at my work and we've noticed flakiness with the cards implementing the older 1.5 standard.
LinuxQuestions.org is looking for people interested in writing
Editorials, Articles, Reviews, and more. If you'd like to contribute
content, let us know.