Wednesday, November 15, 2006

Control your server closet on the cheap

As your server closet gets more crowded with more and more servers, switches, routers and firewalls, the ability to monitor them becomes an increasingly difficult task. I started using KVM switches (Keyboard/Video/Mouse) to control my servers, but as the number of servers increased, I found that the tangle of thick KVM cables became a real bother. The back of my servers is already a web of Ethernet and power cables. The KVM cables made things a lot worse and in some cases would knock loose a power cable and bring down a server.

An alternative method for controlling equipment is via serial connections. Most networking devices come with some sort of serial port. In some cases the port looks like an Ethernet port and is often labelled "console" and in other cases the serial port looks like the typical serial port on the back of your computer. What many people may not know is that most servers have the ability to be controlled via the serial port. There are limitations, such as no mouse control and no graphical interface, but these are not limitations for servers controlled via the command line. While Windows can be controlled via the command line, most people don't do so.

Even if your computer does not have the ability to redirect your video and keyboard output to the serial port, Linux and Unix have utilities that make this possible. So what are the advantages? Price is a big one. KVM switches, especially ones that can be remotely administered, can be expensive. The PortMaster box shown above is under $200. You will not find a KVM device that can monitor 30 units for anything close to this price. Another advantage is cable management. Instead of a three-part KVM cable, you're only running a serial cable. And, with special connectors, you can run an Ethernet between devices and plug it into a serial port adapter. This means that your equipment can be hundreds of feet away.

The one downside to the PortMaster box is that it does not come with an encrypted access port. This means that you need to use either a modem to connect directly to the unit or connect securely to one of your computers via SSH and then telnet over your internal network to the box. That's not a big constraint, but it's one you need to be aware of.

As I get more experience with this unit I post on my experiences.

T

2 comments:

Richard said...

Have you thought of looking at KVM switches that use Cat5 type cables to connect from server to switch. This over comes the problems that you describe with the traditional thick cables. See http://www.adder.com/main.asp?id=508_2077_34405 as an example. Yes this will be more expensive than the serial solution you mention but then it will provide so much more functionality.

Thane said...

Richard,

The KVM over IP was one of the other devices I was looking at. If I had Windows servers, which really require a graphical interface, I would use this system. But, I have systems that don't require anything more than text at a command prompt.

But thank you for the comment and for the link. Other people may indeed find that this is the best solution for them.
T