Maintaining the server

This section gives step-by step instructions on adding and removing consoles and some things to watch out for.

Adding consoles.

  1. Configure your server to use a serial console.

    • Linux: add #include <linux_serialconsole.h> to the lcfg entry for the host.

    • Solaris: add install.console vt100 to lcfg entry.

  2. Plumb your serial cable in, the console servers are patched into patch panel X on rack 7.

  3. Now fire up rfe and edit the lcfg entry of the console server you're plugged into, there should be a series of entries like
    conserver.serial_ttyS0 minibw1:9600p:&:1h
    conserver.serial_ttyS1 minibw2:9600p:&:1h
    conserver.serial_cub0  heather:9600p:&:1h
    conserver.serial_cub31 deadhost:9600p:&:30m
    conserver.serial_cub30 anotherdead:9600p:&:1d
    you need to put an entry for (or edit the entry for) conserver.serial_<portname> the entry should consist of <hostname>:<portspeed>:<logfilename>:<mark interval>.

    portspeed should be set to 9600p, logfilename should be set to "&" which will default to the name of the host and finally the mark interval.

  4. Check to see if anyone is attached to a console (sshconsole -w) if there is you have 2 options, wait until they are finished or kill their session if you decide on the latter broadcasting a warning first might be the best approach.

  5. Finally run om <conserverserver>.conserver run which should re-build the configuration files and restart the daemon.

You should now be able to sshconsole onto the console.

Removing consoles from the server

  1. Edit the lcfg entry for the server the console is attached to.

  2. Check to see if anyone is attached to a console (sshconsole -w) if there is you have 2 options, wait until they are finished or kill their session if you decide on the latter broadcasting a warning first might be the best approach.

  3. run om <conserverserver>.conserver run to update the configuration and restart the daemon.