LinuxQuestions.org
Welcome to the most active Linux Forum on the web.
Home Forums Tutorials Articles Register
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Hardware
User Name
Password
Linux - Hardware This forum is for Hardware issues.
Having trouble installing a piece of hardware? Want to know if that peripheral is compatible with Linux?

Notices


Reply
  Search this Thread
Old 05-22-2012, 08:20 PM   #1
Skaperen
Senior Member
 
Registered: May 2009
Location: center of singularity
Distribution: Xubuntu, Ubuntu, Slackware, Amazon Linux, OpenBSD, LFS (on Sparc_32 and i386)
Posts: 2,684
Blog Entries: 31

Rep: Reputation: 176Reputation: 176
What hardware console/BIOS remote access can be used by Linux software?


I'm still on the quest for a means to use Linux clients to remotely access server hardware (not access the OS ... I mean access the BIOS and bootloader). Apparently the VNC access often mentioned as associated with IPMI is only functional once the OS is running. Yeah, some people use VNC to access the Linux console. Those must be GUI freaks.

I need to be able to access servers to:
1. Power cycle or hard reset them to force them to boot when "stuck"
2. Choose an alternate boot device in BIOS (and other BIOS settings)
3. Choose the system to load in the bootloader

A net access power strip can accomplish #1 if the BIOS settings are right (e.g. the "always boot up when power loss" setting enabled). If there was a video chip that could also do keyboard and mouse, and talk VNC (or better yet, VNC over SSL or SSH), that should work.

Is there any alternative out there do to this with open source software on the client?
 
Old 05-22-2012, 09:34 PM   #2
em31amit
Member
 
Registered: Apr 2012
Location: /root
Distribution: Ubuntu, Redhat, Fedora, CentOS
Posts: 190

Rep: Reputation: 55
you need to use hardware devices known as light out management cards. like all the modern servers have these kind of facility.
DEll have DRAC, HP have ILO, IBM have RSA.

i don't think that you can access BIOS remotely with any softwares.
 
Old 05-22-2012, 09:40 PM   #3
michaelk
Moderator
 
Registered: Aug 2002
Posts: 25,703

Rep: Reputation: 5896Reputation: 5896Reputation: 5896Reputation: 5896Reputation: 5896Reputation: 5896Reputation: 5896Reputation: 5896Reputation: 5896Reputation: 5896Reputation: 5896
As stated VNC or SSH will only work after the operating system has loaded.

Servers have special hardware (out of band management) for remote console access. As an alternative there is also KVM over IP which as it sounds is a remote keyboard, video, mouse switch with an ethernet port. Those are the only two methods I am familiar with that will give you the capabilities to access the BIOS or boot loader remotely.

AFAIK there isn't any software server or client that will do what you want.
 
Old 05-22-2012, 10:12 PM   #4
Skaperen
Senior Member
 
Registered: May 2009
Location: center of singularity
Distribution: Xubuntu, Ubuntu, Slackware, Amazon Linux, OpenBSD, LFS (on Sparc_32 and i386)
Posts: 2,684

Original Poster
Blog Entries: 31

Rep: Reputation: 176Reputation: 176
Quote:
Originally Posted by michaelk View Post
As stated VNC or SSH will only work after the operating system has loaded.
Yes, despite many people saying that it is available. I think they, too, are victims of sales speak which tries to make people think everything will solve every problem.

Quote:
Originally Posted by michaelk View Post
Servers have special hardware (out of band management) for remote console access. As an alternative there is also KVM over IP which as it sounds is a remote keyboard, video, mouse switch with an ethernet port. Those are the only two methods I am familiar with that will give you the capabilities to access the BIOS or boot loader remotely.
So what protocol do they use for this out of band management? And out of what band? The VGA/PS2 connections? I would not call that "out", but different.

KVM over IP? Yeah, I've seen that, quality and reliability is horrible (at least on the Avocent system we tried). And it's not compatible with anything, so I have to use their box on both ends. Not useful at all for a "remote from home" solution.

Quote:
Originally Posted by michaelk View Post
AFAIK there isn't any software server or client that will do what you want.
Then I have to go back to be original suggestion of a few years ago that others tried to shoot down with these fictious "solutions". My suggestion was to create a chip to be used on motherboards or an add-on card which functions for the video, keyboard, and mouse, and communicates over a dedicated ethernet port using VNC over SSL as its protocol. No need for expensive KVM infrastructure and its limited fan-out architecture. VNC clients exist for all desktop OSes (BSD, Linux, OSX, Unix, Windows). So whoever first implements this won't have to do any more for the client end than just gathering up some free software links.
 
Old 05-23-2012, 03:36 AM   #5
em31amit
Member
 
Registered: Apr 2012
Location: /root
Distribution: Ubuntu, Redhat, Fedora, CentOS
Posts: 190

Rep: Reputation: 55
well, out of band management or light out management card have serial console and ethernet port. on these cards have small flash memory and they're capable to show you server screen web based like vnc but they are not using vnc protocol , they either works on serial console, ethernet + ssh or telnet and web based on port 80.

check out wikipedia source about it. it will give you better idea.

http://en.wikipedia.org/wiki/Out-of-band_management
 
Old 05-23-2012, 12:11 PM   #6
DELL_JonathanS
LQ Newbie
 
Registered: May 2012
Posts: 7

Rep: Reputation: 11
I work for Dell and wanted to provide some info here I hope will be of general utility even on a non-Dell server. While Dell's DRAC/iDRAC does provide advanced features, basic IPMI support is available without it, and that should be the case on most server-class hardware regardless of vendor.

Once you have established your server does support IPMI you would need to configure the baseboard management controller's network settings and a user/password. The BMC will have a different IP address from the host even though they may use the same physical Ethernet interface. On Dell you can set this up with Ctrl+E during POST; other vendors may be similar. Then you can use an IPMI client from your Linux machine such as ipmitool, freeipmi, or openipmi. I only have experience with ipmitool where you can do things like this:
$ ipmitool -H 10.1.2.3 -I lanplus chassis power reset
That would prompt you for a password (must be pre-configured in the remote machine's BMC) and uses the lanplus interface to encrypt the password in transport (requires IPMI 2.0), and does a hard reboot of the server.

If the server only does IPMI 1.5, you will not be able to use lanplus and the password will not be encrypted.

You can also select an alternate boot device at next boot.
$ ipmitool chassis bootdev pxe

There are a whole bunch of great things you can do with IPMI support that are vendor-agnostic and I recommend checking out the man page for ipmitool.

I don't think IPMI can deal directly with a boot loader, but it does support a serial-over-LAN console and you may be able to script telnet to interact with it to choose what you want.

If your server does not have IPMI support, or if you are trying to manage a desktop/workstation, unfortunately you probably do not have a ready-made way to do what you are trying to do.

Good luck!
 
Old 05-23-2012, 02:51 PM   #7
lithos
Senior Member
 
Registered: Jan 2010
Location: SI : 45.9531, 15.4894
Distribution: CentOS, OpenNA/Trustix, testing desktop openSuse 12.1 /Cinnamon/KDE4.8
Posts: 1,144

Rep: Reputation: 217Reputation: 217Reputation: 217
I think something like "KVM over IP" is the closest option for what you may want
- like this ?
- more
- aten kvm
- some more

There may have existed (or still do exist) add-on cards for servers without iLO (HP brand) but I don't seem to find it


good luck
 
Old 05-24-2012, 01:07 PM   #8
Skaperen
Senior Member
 
Registered: May 2009
Location: center of singularity
Distribution: Xubuntu, Ubuntu, Slackware, Amazon Linux, OpenBSD, LFS (on Sparc_32 and i386)
Posts: 2,684

Original Poster
Blog Entries: 31

Rep: Reputation: 176Reputation: 176
Notice that "BIOS" is in the original title.

Last edited by Skaperen; 05-24-2012 at 01:27 PM.
 
Old 05-24-2012, 01:13 PM   #9
Skaperen
Senior Member
 
Registered: May 2009
Location: center of singularity
Distribution: Xubuntu, Ubuntu, Slackware, Amazon Linux, OpenBSD, LFS (on Sparc_32 and i386)
Posts: 2,684

Original Poster
Blog Entries: 31

Rep: Reputation: 176Reputation: 176
Quote:
Originally Posted by DELL_JonathanS View Post
I work for Dell and wanted to provide some info here I hope will be of general utility even on a non-Dell server. While Dell's DRAC/iDRAC does provide advanced features, basic IPMI support is available without it, and that should be the case on most server-class hardware regardless of vendor.

Once you have established your server does support IPMI you would need to configure the baseboard management controller's network settings and a user/password. The BMC will have a different IP address from the host even though they may use the same physical Ethernet interface. On Dell you can set this up with Ctrl+E during POST; other vendors may be similar. Then you can use an IPMI client from your Linux machine such as ipmitool, freeipmi, or openipmi. I only have experience with ipmitool where you can do things like this:
$ ipmitool -H 10.1.2.3 -I lanplus chassis power reset
That would prompt you for a password (must be pre-configured in the remote machine's BMC) and uses the lanplus interface to encrypt the password in transport (requires IPMI 2.0), and does a hard reboot of the server.

If the server only does IPMI 1.5, you will not be able to use lanplus and the password will not be encrypted.

You can also select an alternate boot device at next boot.
$ ipmitool chassis bootdev pxe

There are a whole bunch of great things you can do with IPMI support that are vendor-agnostic and I recommend checking out the man page for ipmitool.

I don't think IPMI can deal directly with a boot loader, but it does support a serial-over-LAN console and you may be able to script telnet to interact with it to choose what you want.

If your server does not have IPMI support, or if you are trying to manage a desktop/workstation, unfortunately you probably do not have a ready-made way to do what you are trying to do.

Good luck!
My top goal is still to get the BIOS console access. VNC can do that. VNC is not hard to implement because it is a simple protocol. Freely usable code already exists as a basis for this.

It looks like IPMI was not designed with security in mind, and this has been added on later. That creates a lot of problems. Intel was very short sighted with this. IPMI still has no means to access the bootloader menus.
 
Old 05-24-2012, 01:24 PM   #10
Skaperen
Senior Member
 
Registered: May 2009
Location: center of singularity
Distribution: Xubuntu, Ubuntu, Slackware, Amazon Linux, OpenBSD, LFS (on Sparc_32 and i386)
Posts: 2,684

Original Poster
Blog Entries: 31

Rep: Reputation: 176Reputation: 176
Quote:
Originally Posted by lithos View Post
I think something like "KVM over IP" is the closest option for what you may want
- like this ?
- more
- aten kvm
- some more

There may have existed (or still do exist) add-on cards for servers without iLO (HP brand) but I don't seem to find it


good luck
The OpenGear approach does not scale. And it suffers from the re-sampling issues we encountered with KVM approaches like it. Also, I see no mention of VNC. I do remember contacting a company like this once before asking for VNC and they replied that there is no VNC support.

KVM approaches are what I am trying to avoid because of the high cost that goes up too rapidly with scaling. That and the equipment space needs. It SHOULD all be easily and cheaply doable via an extra ethernet connection into the server and all managed from one chip.

The ATEN models also do not mention what protocol is used for the video. They only mention IP so I have to assume they are gouging with some proprietary thing.

At least ADDER mentions VNC. But I see nothing of practical scalability there, or else these boxes ONLY work with their KVM infrastructure.

THE SOLUTION is to put the VNC access in the server itself, as part of the video chip with keyboard and mouse integrated. When I proposed that, people suggested IPMI. But it's obvious now that they didn't understand this.

And the above proposals are still trying to push towards the very thing I'm trying to get away from ... expensive and difficult KVM infrastructure.
 
Old 05-24-2012, 01:29 PM   #11
Skaperen
Senior Member
 
Registered: May 2009
Location: center of singularity
Distribution: Xubuntu, Ubuntu, Slackware, Amazon Linux, OpenBSD, LFS (on Sparc_32 and i386)
Posts: 2,684

Original Poster
Blog Entries: 31

Rep: Reputation: 176Reputation: 176
Quote:
Originally Posted by em31amit View Post
well, out of band management or light out management card have serial console and ethernet port. on these cards have small flash memory and they're capable to show you server screen web based like vnc but they are not using vnc protocol , they either works on serial console, ethernet + ssh or telnet and web based on port 80.

check out wikipedia source about it. it will give you better idea.

http://en.wikipedia.org/wiki/Out-of-band_management
They need to add VNC.
 
Old 05-24-2012, 01:39 PM   #12
Skaperen
Senior Member
 
Registered: May 2009
Location: center of singularity
Distribution: Xubuntu, Ubuntu, Slackware, Amazon Linux, OpenBSD, LFS (on Sparc_32 and i386)
Posts: 2,684

Original Poster
Blog Entries: 31

Rep: Reputation: 176Reputation: 176
Quote:
Originally Posted by lithos View Post
This costs too much in part because they are trying to re-sample the analog video back to digital. This is the wrong approach. It should be done directly in conjunction with the video chip itself, where the VNC server code has direct buffer access digitally. And the keyboard/mouse devices should be implemented in this same chip.

Then we have one chip that serves the function of the video chip, and keyboard/mouse chip(s). Put that on a PCI card for retrofitting older servers. Put that on the motherboard for new servers. Problem now solved at a low cost.

Additional costs exist because this box needs a power outlet and physical space TIMES the number of servers. Try fitting this in a cabinet with 40 1U servers and a couple ethernet switches ... or other cabinet combinations.

Try to visualize all the servers with just ethernet and power connections, and getting direct digital access to not just any server, but to all of them at the same time concurrently.
 
Old 05-24-2012, 01:55 PM   #13
Skaperen
Senior Member
 
Registered: May 2009
Location: center of singularity
Distribution: Xubuntu, Ubuntu, Slackware, Amazon Linux, OpenBSD, LFS (on Sparc_32 and i386)
Posts: 2,684

Original Poster
Blog Entries: 31

Rep: Reputation: 176Reputation: 176
My original suggestion is (approximately) this:

Manufacturers of server mainboards should replace the chip(s) that handle keyboard, video, and mouse using legacy connectors (HD-15, PS/2, USB) with a single chip that handles these same functions logically over ethernet and IP with open protocols for the same kinds of access.

VNC over TCP over IP can be used for this. It is simple and open. Add SSL and/or SSH for security wrapping.

Don't suggest IPMI as I now know not to be fooled by this (maybe whoever originally suggested IPMI was fooled by its marketing that tried to place IPMI as the ultimate solution). This might be used in conjunction with IPMI by implementing both on the same chip. IPMI could then be used to establish the initial authentication for security. The initial IP addressing should include at least the IPv6 scope-local address derived from the MAC address, or otherwise written on the device where it can be read.

One objective for this is to eliminate the expensive and difficult to use KVM infrastructures. The existing ethernet infrastructure can be used instead. Either a separate 8P8C ethernet connector can be used, or one can be share by integrating ethernet switch or device functions inside this chip.

This can also be done on a PCI card to retrofit older servers.
 
Old 05-24-2012, 02:16 PM   #14
lithos
Senior Member
 
Registered: Jan 2010
Location: SI : 45.9531, 15.4894
Distribution: CentOS, OpenNA/Trustix, testing desktop openSuse 12.1 /Cinnamon/KDE4.8
Posts: 1,144

Rep: Reputation: 217Reputation: 217Reputation: 217
^^^^ +1 to that.

I just don't see the way to make manufacturers implement it.

Last edited by lithos; 05-24-2012 at 02:18 PM.
 
Old 05-25-2012, 01:30 AM   #15
Skaperen
Senior Member
 
Registered: May 2009
Location: center of singularity
Distribution: Xubuntu, Ubuntu, Slackware, Amazon Linux, OpenBSD, LFS (on Sparc_32 and i386)
Posts: 2,684

Original Poster
Blog Entries: 31

Rep: Reputation: 176Reputation: 176
Quote:
Originally Posted by lithos View Post
^^^^ +1 to that.

I just don't see the way to make manufacturers implement it.
I suspect the reason they don't is the NIH syndrome. But possibly, if we get this idea clarified enough for more people to understand, and get them to communicate the idea to the manufacturers, there might be a chance. A chip manufacturer is going to need to design it.
 
  


Reply



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
LXer: Linux-ready remote access software rev'd LXer Syndicated Linux News 0 10-20-2009 01:31 PM
How can I access Bios from console ? landuchi Linux - Hardware 2 03-01-2006 11:21 PM

LinuxQuestions.org > Forums > Linux Forums > Linux - Hardware

All times are GMT -5. The time now is 03:03 PM.

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