LinuxQuestions.org
Share your knowledge at the LQ Wiki.
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Server
User Name
Password
Linux - Server This forum is for the discussion of Linux Software used in a server related context.

Notices


Reply
  Search this Thread
Old 08-13-2010, 03:40 PM   #1
bucovaina78
Member
 
Registered: Oct 2004
Location: Belgium / Antwerp
Distribution: Debian
Posts: 287

Rep: Reputation: 33
IPMI newbie don't know how to connect


Hi Everyone,

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.

The best I could come up with is:

Code:
root@Ganeymedes:/home/wannes# ipmiconsole -h localhost
[error received]: connection timeout
root@Ganeymedes:/home/wannes# apt-cache search ipmi
...
...[other packages]
...
freeipmi-tools - GNU implementation of the IPMI protocol - Tools
...
...[other packages]
...
root@Ganeymedes:/home/wannes# apt-get install freeipmi-tools 2>&1 /dev/null
root@Ganeymedes:/home/wannes# ipmiconsole -h localhost
[error received]: connection timeout
root@Ganeymedes:/home/wannes#
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
 
Old 08-14-2010, 04:22 PM   #2
btmiller
Senior Member
 
Registered: May 2004
Location: In the DC 'burbs
Distribution: Arch, Scientific Linux, Debian, Ubuntu
Posts: 4,290

Rep: Reputation: 378Reputation: 378Reputation: 378Reputation: 378
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.
 
Old 08-16-2010, 02:28 AM   #3
bucovaina78
Member
 
Registered: Oct 2004
Location: Belgium / Antwerp
Distribution: Debian
Posts: 287

Original Poster
Rep: Reputation: 33
I tried it out on my PC, apparently I have an AOC-IPMI20-E IPMI 2.0 controller (http://www.supermicro.com/products/a...C-IPMI20-E.cfm)

It is not recognized by my Debian Squeeze. I can't find any device "/dev/ipmi", nor in lspci can I find it.
 
Old 08-16-2010, 06:00 AM   #4
bucovaina78
Member
 
Registered: Oct 2004
Location: Belgium / Antwerp
Distribution: Debian
Posts: 287

Original Poster
Rep: Reputation: 33
i tried
Code:
dmidecode
and it gave me:

Code:
wrong DMI structures length: 1415 bytes announced, structures occupy ...
I'm thinking the IPMI is not set up properly in the BIOS. When I return home I'll check.

UPDATE
IPMI is enabled (it said something like enable terminal forward in bios, I enabled it.

...

Don't know what I'm doing wrong?

Last edited by bucovaina78; 08-16-2010 at 01:23 PM.
 
Old 08-16-2010, 02:56 PM   #5
bucovaina78
Member
 
Registered: Oct 2004
Location: Belgium / Antwerp
Distribution: Debian
Posts: 287

Original Poster
Rep: Reputation: 33
Yep, got it up and running, check the first post for what I had to do to get ipmi up and running;


No it's time to see how the command works and how I can access it from my Nokia N900
 
  


Reply


Thread Tools Search this Thread
Search this Thread:

Advanced Search

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is Off
HTML code is Off



Similar Threads
Thread Thread Starter Forum Replies Last Post
Help getting IPMI patches into kernel cygnus-x1 Linux - General 0 02-17-2008 09:07 PM
Serious IPMI issue with RHEL4, HELP!!! beeth2006 Linux - Networking 1 08-31-2007 03:12 PM
Difference between DRAC and IPMI xxx_anuj_xxx Linux - Networking 0 07-17-2007 08:54 AM
ipmi bridge? Thinking Linux - Software 0 08-18-2005 05:57 AM
Linux Support for IPMI Kamesh69 Linux - General 0 08-07-2003 09:14 AM

LinuxQuestions.org > Forums > Linux Forums > Linux - Server

All times are GMT -5. The time now is 01:56 AM.

Main Menu
Advertisement
My LQ
Write for LQ
LinuxQuestions.org is looking for people interested in writing Editorials, Articles, Reviews, and more. If you'd like to contribute content, let us know.
Main Menu
Syndicate
RSS1  Latest Threads
RSS1  LQ News
Twitter: @linuxquestions
Open Source Consulting | Domain Registration