
01-22-2005, 08:09 PM
|
|
Junior Guru Wannabe
|
|
Join Date: Jul 2004
Posts: 70
|
|
server management via serial console
My servers have a serial console port.
How can this be used to access them remotely in case the server is offline through the normal ethernet port?
What extra hardware do I need and how do I need to configure freebsd 4.10 to do this?
Is it true that I can use this port to access my server remotly as if I was actually in the data center?
|

01-22-2005, 08:19 PM
|
|
Junior Guru Wannabe
|
|
Join Date: Dec 2004
Posts: 86
|
|
You redirect your console to the serial port. Your machine probably supports BIOS redirect as well. Depending how the setup is done, you would ssh to a box on a port or via a ssl webpage, etc. If you are running a non-graphical OS such as *nix, it is the very same console that you see on the monitor, just redirected.
|

01-22-2005, 08:27 PM
|
|
Junior Guru Wannabe
|
|
Join Date: Jul 2004
Posts: 70
|
|
thanks, its an isp1100, yes it does support bios redirect.
my question is what is the hardware I have to plug into this serial port and how do I re-configure freebsd to go through it so I can ssh into my server in case its not reachable via the normal way like when its down (like right now.)
this would save me from having to go to the datacenter...
|

01-22-2005, 09:20 PM
|
|
Web Hosting Guru
|
|
Join Date: Jul 2003
Location: London UK
Posts: 327
|
|
Ordinarily you need a serial console server, but for a single machine you may be able to find a single port ethernet<->serial device of some description.
If the BIOS redirection is intelligent enough it may work all the way through to the FreeBSD login prompt although usually you'll find it only copes with the BIOS and that's it.
On FreeBSD, simply echo '-P' > /boot.config and then change /etc/ttys so that ttyd0 is 'on' and change std.9600 to 3wire.9600, that's pretty much all you need.
__________________
Paul Civati
Rack Sense Ltd UK Managed Services Provider
Views expressed are my own and not those of the company.
|

01-22-2005, 09:36 PM
|
|
Junior Guru Wannabe
|
|
Join Date: Jul 2004
Posts: 70
|
|
so you are saying that it only gets me the bios not the actual screen after bios is up? yes/no?
what about if I use this product?
http://www.lantronix.com/data-center...00-scs400.html
Lantroix SCS100/SCS200/SCS400
Console Management Solutions
|

01-22-2005, 09:42 PM
|
|
Web Hosting Guru
|
|
Join Date: Jul 2003
Location: London UK
Posts: 327
|
|
so you are saying that it only gets me the bios not the actual screen after bios is up? yes/no?
Using the BIOS redirection on its own.. no.
Using with the FreeBSD instructions above.. yes.
what about if I use this product?
Should do the job.
__________________
Paul Civati
Rack Sense Ltd UK Managed Services Provider
Views expressed are my own and not those of the company.
|

01-22-2005, 09:54 PM
|
|
Backup Guru
|
|
Join Date: Feb 2002
Location: New York, NY
Posts: 4,444
|
|
If your motherboard supports console redirection, it should give you access through the console up until the FreeBSD boot loader. At that point, your boot loader and your kernel will need to be configured to use the serial console.
If you have multiple servers, you may not need any special console server. We prefer to hook up pairs of servers (server1 COM1 to server2 COM2, server2 COM1 to server1 COM2), then SSH in and use the cu utility to access the console.
|

01-22-2005, 10:07 PM
|
|
Junior Guru Wannabe
|
|
Join Date: Jul 2004
Posts: 70
|
|
so your saying you use a second server as the console server since its not likely that both will go down at the same time?
|

01-22-2005, 10:31 PM
|
|
Backup Guru
|
|
Join Date: Feb 2002
Location: New York, NY
Posts: 4,444
|
|
Quote:
Originally posted by superman_1972
so your saying you use a second server as the console server since its not likely that both will go down at the same time?
|
Yes. Assuming your servers have 2 serial ports each, it's quite economical.
|

01-22-2005, 11:04 PM
|
|
Junior Guru Wannabe
|
|
Join Date: Jul 2004
Posts: 70
|
|
can you link me to the cu utility info?
|

01-22-2005, 11:53 PM
|
|
Junior Guru Wannabe
|
|
Join Date: Jul 2004
Posts: 70
|
|
|

01-26-2005, 01:17 AM
|
|
Web Hosting Master
|
|
Join Date: Apr 2004
Location: SF Bay Area
Posts: 875
|
|
Quote:
Originally posted by superman_1972
thanks, its an isp1100, yes it does support bios redirect.
my question is what is the hardware I have to plug into this serial port and how do I re-configure freebsd to go through it so I can ssh into my server in case its not reachable via the normal way like when its down (like right now.)
this would save me from having to go to the datacenter...
|
I would tend to disagree with the daisy-chain approach to serial console control unless you just have a few servers and don't plan on scaling much. If you don't, ignore my advice and use the second serial port (which isn't available on a lot of server cases) or purchase a multi-serial RJ45-based card like SIIG and other vendors make and put it in a PCI slot.
If you really want serial console support get a nicer multi-port terminal server that supports higher densities and reverse telnet like a Livingston PM25 (End-of-Life but <$200 for 24 ports), Cisco 2511 ($250 for 16 ports off eBay), or if you want support a Digi or Cyclades console server. The Lantronix look a bit retarded to me.
|

01-26-2005, 02:07 PM
|
|
Junior Guru Wannabe
|
|
Join Date: Jul 2004
Posts: 70
|
|
does is PM25 support SSH? or is reverse telnet pretty secure?
can you show me some info on these like white papers, docs?
|

01-28-2005, 01:23 AM
|
|
Junior Guru
|
|
Join Date: Oct 2004
Location: Portland, OR
Posts: 175
|
|
I got a sealed PM-25 off ebay for about $50. Picked up the cables from portmasters.com but I haven't gotten around to setting it up yet. It seems like it will work nicely. I plan to SSH into a local box and then telnet to the PM-25 to keep things secure.
__________________
Fork Networking - 1995-2010+
Colocation & Dedicated Hosting
West Coast, 99.999% uptime.
< www.forked.net>
|
| Thread Tools |
Search this Thread |
|
|
|
| Display Modes |
Linear Mode
|
| Postbit Selector |
|
|
Posting Rules
|
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts
HTML code is Off
|
|
|
|
|
|
| Login: |
|
|
| Advertisement: |
|
|
| Web Hosting News: |
|
|
|