LinuxQuestions.org
Review your favorite Linux distribution.
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Distributions > Red Hat
User Name
Password
Red Hat This forum is for the discussion of Red Hat Linux.

Notices

Reply
 
Search this Thread
Old 11-12-2008, 10:41 AM   #1
eodchop
LQ Newbie
 
Registered: Nov 2008
Posts: 14

Rep: Reputation: 0
Setting up Ipmi with Ilo2 over a serial connection through Console Server


Greetings. I was just wondering if someone could point me in the right direction as to how to get started. We would like to be able to monitor Fan RPM and HD temp using IPMI and also as having this as a backdoor in incase of network failure and access a CLI. We'd use a dial in ssh or telnet to the console server. I have several HP dl360g5's that have to be connected to the console server. They are all running RHEL 5. I was told we could daisy chain each server together using serial to cat5 connections. Not sure if this is possible.

Last edited by eodchop; 11-12-2008 at 01:34 PM.
 
Old 11-12-2008, 01:14 PM   #2
marozsas
Senior Member
 
Registered: Dec 2005
Location: Campinas/SP - Brazil
Distribution: SuSE, RHEL, Fedora, Ubuntu
Posts: 1,393
Blog Entries: 1

Rep: Reputation: 63
The first thing you need to do is set a IP address to IPMI. This is generally done in the BIOS. You may have to set a user and password too to get authenticated access to the IPMI functions.
After the IP is set, test it with ipmiping from freeipmi-0.5.1-3.fc9.i386.rpm package on Fedora 9. Check the IPMI package for your distro.
Code:
[root@babylon5 ~]# ipmiping server-bmc
ipmiping bigslam-bmc (192.168.160.201)
response received from 192.168.160.201: rq_seq=1
response received from 192.168.160.201: rq_seq=2
response received from 192.168.160.201: rq_seq=3
^C--- ipmiping bigslam-bmc statistics ---
3 requests transmitted, 3 responses received in time, 0.0% packet loss
Now you have the basic connection to IPMI, you can test other functions. For example, get the sensors values as you mentioned in your post:
Code:
[root@babylon5 ~]# ipmi-sensors -u my_user -p my_secret_password -h servera-bmc -C
1: Temp (Temperature): 63.00 C (5.00/125.00): [At or Below (<=) Lower Critical Threshold]
2: Planar Temp (Temperature): 26.00 C (3.00/58.00): [OK]
3: CMOS Battery (Voltage): 3.08 V (2.64/NA): [OK]
4: ROMB Battery (Voltage): [State Deasserted]
5: VCORE (Voltage): [State Deasserted]
6: PROC VTT (Voltage): [State Deasserted]
7: 1.5V PG (Voltage): [State Deasserted]
8: 1.8V PG (Voltage): [State Deasserted]
9: Presence (Entity Presence): [Entity Present]
10: Back Fan (Fan): 1824.00 RPM (760.00/NA): [OK]
11: Front Fan (Fan): 988.00 RPM (760.00/NA): [OK]
12: Status (Processor): [Processor Presence detected]
13: VRM (Power Supply): [Presence detected]
14: OS Watchdog (Watchdog 2): [OK]
15: SEL (Event Logging Disabled): [Unknown]
16: Intrusion (Platform Chassis Intrusion): [OK]
17: Temp Interface (Temperature): [OK]
23: ECC Corr Err (Memory): [Unknown]
24: ECC Uncorr Err (Memory): [Unknown]
25: I/O Channel Chk (Critical Interrupt): [Unknown]
26: PCI Parity Err (Critical Interrupt): [Unknown]
27: PCI System Err (Critical Interrupt): [Unknown]
28: SBE Log Disable (Event Logging Disabled): [Unknown]
29: Logging Disable (Event Logging Disabled): [Unknown]
30: Unknown (System Event): [Unknown]
31: PROC Protocol (Processor): [Unknown]
32: PROC Bus PERR (Processor): [Unknown]
33: PROC Init Err (Processor): [Unknown]
34: PROC Machine Ch (Processor): [Unknown]
35: Memory Spared (Memory): [Unknown]
36: Memory Mirrored (Memory): [Unknown]
37: Memory RAID (Memory): [Unknown]
38: Memory Added (Memory): [Unknown]
39: Memory Removed (Memory): [Unknown]
40: PCIE Fatal Err (Critical Interrupt): [Unknown]
41: Chipset Err (Critical Interrupt): [Unknown]
42: Err Reg Pointer (OEM Reserved): [Unknown]
43: Drive (Slot Connector): [OK]
44: SAS Cable (Cable Interconnect): [Cable/Interconnect is connected]
[root@babylon5 ~]#
Other more interesting functions include functions to control the power unit (on/off/cycle) and to reset (soft/hard) the computer, and serial over LAN, to get remote access to the BIOS and boot messages on console through the LAN. This is made by IPMI firmware/software - there is nothing to do with use UDP cables connected to the rs232-c as you mentioned.
 
Old 11-19-2008, 11:26 AM   #3
eodchop
LQ Newbie
 
Registered: Nov 2008
Posts: 14

Original Poster
Rep: Reputation: 0
What would i use to connect from console server to servers. We are setting up a pots line to access IPMI features. Would i hook the pots line into the console server and then run serial cables to all of my servers
 
Old 11-19-2008, 11:43 AM   #4
marozsas
Senior Member
 
Registered: Dec 2005
Location: Campinas/SP - Brazil
Distribution: SuSE, RHEL, Fedora, Ubuntu
Posts: 1,393
Blog Entries: 1

Rep: Reputation: 63
I'm sorry. I didn't understand. There are terms I don't know. What do you mean with "pots line" for instance ?

Anyway, IPMI functions are accessed by local LAN, over TCP/IP, just I did show you above: babylon5 is my linux desktop; servera-bmc and server-bmc are servers on the same lan.

There is nothing to do with serial cables. Just regular network using UDP cables connected between servers's NIC and your switch/hub.
 
Old 11-19-2008, 11:47 AM   #5
eodchop
LQ Newbie
 
Registered: Nov 2008
Posts: 14

Original Poster
Rep: Reputation: 0
Pots Line

My servers are at a hosting facility. We are setting up via serial access incase of either our pipe in crapping out or nic goes out. The systems architect wants to be able to have serial console access. The pots line is just a phone line. POTS=plain old telephone system.
 
Old 11-19-2008, 12:18 PM   #6
marozsas
Senior Member
 
Registered: Dec 2005
Location: Campinas/SP - Brazil
Distribution: SuSE, RHEL, Fedora, Ubuntu
Posts: 1,393
Blog Entries: 1

Rep: Reputation: 63
oh, I see

Well, plugging a dial-in modem in the serial line is not worth for this purpose, because you will have access only to tty (supposed you configure inittab to run getty on the serial port). In case of a severe crash in your system, it is useless.

Dell and other vendors have a board name DRAC which is used for this sole purpose: Authenticated, secure, maintenance access to the BIOS/POWER functions through a serial line, and may be through a modem hooked on POTS (some models have the modem on-board).

You can have both: DRAC for serial access and IPMI for networked access.
 
Old 11-19-2008, 12:56 PM   #7
eodchop
LQ Newbie
 
Registered: Nov 2008
Posts: 14

Original Poster
Rep: Reputation: 0
What is your suggestion then? We have 17 HPDL360G5's all running RHEL 5. The two requirments are.

A. Ipmi setup and running.
B. Console Access incase of NIC failure.

The servers have ilo2 ports on them. Should we run a pots line to console server then connect to the ilo2 ports?
 
Old 11-19-2008, 02:06 PM   #8
marozsas
Senior Member
 
Registered: Dec 2005
Location: Campinas/SP - Brazil
Distribution: SuSE, RHEL, Fedora, Ubuntu
Posts: 1,393
Blog Entries: 1

Rep: Reputation: 63
I'm sorry, I know nothing about ilo2. I will try to read something about it and see if it helps. I hope it provides serial access like Dell's DRAC cards do.

Regarding to IPMI, I think it is just a matter of configure the NIC/BIOS and install ipmi tools on the remote management desktop/console. Did you try to play with the BIOS to enable IPMI ? Do you have ipmi tools installed in some linux desktop ?

Tomorrow is a holly day here where I live. See you Friday, ok ?

cheers,
 
Old 11-19-2008, 02:37 PM   #9
eodchop
LQ Newbie
 
Registered: Nov 2008
Posts: 14

Original Poster
Rep: Reputation: 0
I appreciate it. I am too green really to know what to do. I have been researching ilo some, but HP man pages are terrible. Nothing to speak of really.
 
Old 11-21-2008, 04:28 AM   #10
stuart_cherrington
Member
 
Registered: Aug 2008
Location: Get back in your Cube Unix Boy!
Distribution: rh5, oel5, debian etch, solaris
Posts: 228

Rep: Reputation: 36
HP can provide an HP-IPMI package, but this may not help in the issues you've been describing. As Marozsas said, you can use IPMI to interrogate the hardware via the OS and pull information from this, but IPMI probably won't help you if you lose network connectivity. (except you could write a wrapper script around the IPMI calls to advise you when it cannot contact a host).

As ilo/ilo2 is for HP (as DRAC is for Dell), the Hosting company should configure the hosts with 2 different switches, one switch provides LAN access to the Host, the other provides access to the Hosts ILO2.

Using a Serial POTS line won't get you much, and will be REALLY slow.

Stuart.
 
  


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
Completely usb based serial console server, possible??? ashtank Linux - General 8 07-31-2008 05:38 PM
LXer: Setting up a serial console LXer Syndicated Linux News 0 02-19-2007 02:31 PM
DL140 Serial Port iLO IPMI SaxiDawg Linux - Hardware 0 06-04-2006 03:39 AM
setting up com port for serial connection to monitor network switch help murf562 Linux - Hardware 1 10-30-2004 09:46 AM
Console/serial connection installation coolpenguin Linux - Software 1 02-26-2002 01:40 AM


All times are GMT -5. The time now is 02:18 AM.

Main Menu
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
identi.ca: @linuxquestions
Facebook: linuxquestions Google+: linuxquestions
Open Source Consulting | Domain Registration