Hall D Console Servers

From GlueXWiki
Revision as of 17:56, 27 June 2012 by Hovanes (Talk | contribs)

Jump to: navigation, search

Introduction

In order to be able to access consoles of some of the equipment in the Hall during beam operations we need to have a number of console server. The devices that will need console management include the SBC running ROCs and IOCs, CAEN HV power supplies. Also some of the Linux servers in the counting house will need console management as well. At this point the estimated number of the 32-port units required for Hall D and the counting house is nine units. Hall B developed a framework for accessing these devices using the tsconnect command that allowed to configure and access the consoles of the devices in Hall B. Hall D needs a similar framework to manage all serial consoles in Hall D and the counting house.


Hardware

Hall B has been using EtherLite32 console servers from Digi during the 6 GeV era. According to Sergey B. these terminal servers were more reliable than more sophisticated Cyclade console servers from Avocent that provided much more functionality. His intentions were to continue purchasing these servers for CLAS12. But it turns out that Digi moved on to a new product line called ConnectPort which can come in a similar to EtherLite32 configuration called ConnectPort LTS 32. This product has the functionality of the old EtherLite32 with addition of more features. Purchasing ConnectPort LTS 32 makes more sense since it is already hard to find unused units of the old series, plus we get more features from it. The price difference between the new units of the two series is on the order of 15%.

We purchased one ConnectPort LTS 32 server for a test-drive. It looks nice and it worked right out of the box, although for some reason the serial ports and the LCD display with the buttons are located on the back of the unit. The unit comes with the mounting brackets and is easy to install into a 19"-rack. The height of the unit seems to be slightly larger than 1U.

The default network configuration was using DHCP, therefore once we got an IP address from the computer center we were able to ping this console server. The web-server was running so we were able to login to the device and configure it. Once needs to have the root-password to be able to configure ConnectPort LTS 32 through the HTTP server. The default password for the root-account is "dbps". We changed it to the default Hall D root-password. The details of the configuration of this device can be found in ConnectPort LTS User's Guide.


Software

The two main ways Hall D can use the ConnectPort are:

  1. Connecting to the serial device using telnet or ssh programs using TCP sockets.
  2. Mapping each serial port on ConnectPort to a TTY device file using RealPort driver from Digi.

The main advantage of the first method is that there is no need to install any driver on any of the computer accessing the serial device through the terminal server, one only needs to have telnet or ssh clients, while for the second method one would have to install and maintain the driver on every host which is expected to use the console server. Hall B uses the method number 2 since it also allows one to easily access the serial port from a user written program.