home *** CD-ROM | disk | FTP | other *** search
/ ftp.conserver.com / 2015.02.ftp.conserver.com.tar / ftp.conserver.com / conserver / FAQ < prev    next >
Text File  |  2014-04-20  |  9KB  |  191 lines

  1.  
  2.                 Conserver FAQ
  3.                 =============
  4.  
  5. This is the Conserver FAQ.  Any suggestions/corrections/etc should be
  6. directed to faq@conserver.com.  The FAQ answers the following questions:
  7.  
  8.     1) What is conserver?
  9.     2) Where can I find the software?
  10.     3) How do I deal with these serial ports?
  11.     4) How can I tell what compile-time defaults were used?
  12.     5) What does "conserver: getservbyname: conserver: No such file or
  13.        directory" mean (or something close to that)?
  14.     6) What does "console: gethostbyname: console: host lookup error"
  15.        mean (or something close to that)?
  16.     7) How do I set up a serial port for no parity?
  17.     8) Is "Conserver" a Trademark or Registered Trademark?
  18.     9) When I connect to a console, it says it is down.  Why?
  19.    10) Is there a technical reason why --with-maxmemb's default is 16?
  20.        I've changed mine to 96.
  21.    99) OK, things just don't seem to work.  Help?!?
  22.  
  23.  
  24.  1) What is conserver?
  25.  
  26.     From an email I quickly wrote to a potential user (I'll try and
  27.     clean it up and make it a little clearer sometime soon):
  28.  
  29.     Conserver is an application that allows multiple users to watch a
  30.     serial console at the same time.  It can log the data, allows users
  31.     to take write-access of a console (one at a time), and has a
  32.     variety of bells and whistles to accentuate that basic
  33.     functionality.  The idea is that conserver will log all your serial
  34.     traffic so you can go back and review why something crashed, look
  35.     at changes (if done on the console), or tie the console logs into a
  36.     monitoring system (just watch the logfiles it creates).  With
  37.     multi-user capabilities you can work on equipment with others,
  38.     mentor, train, etc.  It also does all that client-server stuff so
  39.     that, assuming you have a network connection, you can interact with
  40.     any of the equipment from home or wherever.
  41.  
  42.  2) Where can I find the software?
  43.  
  44.     The latest version can be found at http://www.conserver.com/
  45.  
  46.  3) How do I wire/hook up serial ports?
  47.  
  48.     David "Zonker" Harris has a wonderful set of pages that talk about
  49.     hooking up many types of terminal servers, equipment, etc.  It also
  50.     provides links to other serial port references.  You can find his
  51.     pages at http://www.conserver.com/consoles/.
  52.  
  53.     Celeste Stokely also has a wealth of references at
  54.     http://www.stokely.com/.  Just look around and be amazed at what
  55.     you'll find!
  56.  
  57.  4) How can I tell what compile-time defaults were used?
  58.  
  59.     The compile-time defaults can be found by running conserver and
  60.     console with the -V flag.  Simple as that.
  61.  
  62.  5) What does "conserver: getservbyname: conserver: No such file or
  63.     directory" mean (or something close to that)?
  64.  
  65.     When conserver was compiled, it was told to use the /etc/services
  66.     entry of "conserver" (what came after getservbyname:).  You'll need
  67.     to either recompile conserver and hard-code a port number (using
  68.     --with-port=<num>) or enter "conserver" in /etc/services.
  69.  
  70.  6) What does "console: gethostbyname: console: host lookup error"
  71.     mean (or something close to that)?
  72.  
  73.     When the console command was compiled, it was told to use the
  74.     hostname "console" (what came after gethostbyname:) as the master
  75.     conserver host.  You'll need to either reconfigure with the
  76.     appropriate name of your conserver host (--with-master=<name>) or
  77.     add an alias of "console".  In most cases, adding an alias is my
  78.     suggestion.
  79.  
  80.  7) How do I set up a local serial port for no parity?
  81.  
  82.     The manpage has the answer to this question.  For those that don't
  83.     want to read it, here are some guidelines.  For pre-7.2.2, you'd
  84.     want to use a 'p' after the baud rate ("9600p", for example).  For
  85.     7.2.2 thru 7.2.7, you can use an 'n'.  For 8.0.0 and beyond, you use
  86.     'parity none;'.
  87.  
  88.  8) Is "Conserver" a trademark or registered trademark?
  89.  
  90.     The best answer I can give is "not as far as I know".  A couple of
  91.     quick searches through the source code doesn't find any claim of a
  92.     trademark.  I've never done a registered trademark search, but if
  93.     it had been registered (by a previous author), I'm sure it would be
  94.     mentioned.  But I'm no lawyer and don't deal with these types of
  95.     things, so I'm not exactly sure what I'm taking about and my answer
  96.     becomes a very vague "not as far as I know".
  97.  
  98.  9) When I connect to a console, it says it is down.  Why?
  99.  
  100.     There are multiple reasons why this might happen.  First, see if it's
  101.     just a remnant of some other temporary problem.  Try and bring the
  102.     console up by doing a '^Eco' from the client.  If that doesn't work,
  103.     there's a more serious problem which, hopefully, the conserver logfile
  104.     will explain.  Check the log for any permission problems, connection
  105.     refused messages, etc.  You might get more useful information in
  106.     the log by using the -v option or even by enabling debugging with
  107.     -D (ideally that shouldn't be necessary).  Depending on the type of
  108.     console, your system might be out of pseudo-terminals, another process
  109.     might have a terminal server port occupied (another console server or
  110.     telnet session), or there was an unseen typo in a path or hostname.
  111.     The logfile should show hints of things like this and other issues.
  112.  
  113. 10) Is there a technical reason why --with-maxmemb's default is 16?
  114.     I've changed mine to 96.
  115.  
  116.     The following is an array of things you need to think about when
  117.     adjusting --with-maxmemb.  It's a bit long, but it's an important
  118.     question.
  119.  
  120.     The big reason (and the main reason for conserver spawning multiple
  121.     processes) is the maximum number of open files a process can have.
  122.     Each console can have a few file descriptors associated with it
  123.     (device, logfile, connected users, and listening socket).  So, each
  124.     process will have about ( 2 * consoles + users + 1 ) open files
  125.     (--with-maxmemb sets the maximum number of consoles per process
  126.     in the equation).  Although most current operating systems allow a
  127.     large number of open files per process, the general assumption is
  128.     it's still pretty low.
  129.  
  130.     You also have the speed of your conserver host vs the rates at which
  131.     data could be streaming to it.  Go back a decade and this was probably
  132.     more of an issue than today, but it's still something to think about.
  133.  
  134.     And then you have the problem of delays.  If any of the 96 console
  135.     connections "lock up", it'll delay all activity on the 96 consoles.
  136.     With 16, there's less of an impact.  This can be an issue once the
  137.     server is up or during startup.  Also, with 16 consoles per process,
  138.     you get a bit more parallelization during startup.
  139.  
  140.     So, is there any reason not to up the number to 96?  No.  Assuming you
  141.     know the risks and weigh things appropriately.  If I remember right,
  142.     I've upped the number to 48 at some sites.  But that was mainly to
  143.     reduce the memory footprint in older versions of the code which had
  144.     statically allocated buffers.  No need to worry about that with the
  145.     current code.  Personally, I wouldn't change from 16 unless there
  146.     was a really good reason (like wanting to only have one child process
  147.     for firewall rules or some such reason).
  148.  
  149. 99) OK, things just don't seem to work.  Help?!?
  150.  
  151.     Yes, this is a pretty vague question, but here are a few tips that
  152.     might help.
  153.  
  154.     - Is your low-level serial connection correct?  Incorrect cables,
  155.       adapters, wiring, etc. could be the issue.  Using a signal tracer
  156.       or attaching other equipment that's known to work (like a laptop)
  157.       might be enlightening.  Check out
  158.       http://www.conserver.com/consoles/msock.html for basic serial
  159.       information (or http://www.conserver.com/consoles/ for even more
  160.       info).
  161.  
  162.     - Can you talk to the serial port with different software?  Try
  163.       using tip or minicom or another application to make sure you can
  164.       interact with the port.  If you're not seeing the right info
  165.       here, there may be a baud rate issue, a lack of a getty (or
  166.       equivalent) running on the host or...*shrug*.  But, if you've
  167.       determined that you already have a valid low-level signal
  168.       connection, you shouldn't have to worry about that level of
  169.       problem.
  170.  
  171.     - So, you're getting the proper interaction from other
  172.       applications, but not conserver?  Are the port name and baud rate
  173.       correct in the conserver.cf file?  When you start conserver
  174.       (adding -v doesn't hurt), are there any warnings/errors?  Is the
  175.       port in the "up" state when you use "console -u"?  If not, what
  176.       happens when you connect and then do a "^eco" escape sequence to
  177.       bring it up?  What does the conserver process say when you do
  178.       this?  These are the types of things I look at first.  If that
  179.       doesn't help you determine the problem, others will want to see
  180.       this info (and possibly the same steps with both the client and
  181.       server using the -D option) to be able to help.  Posting your
  182.       questions to the users mailing list is probably your next step.
  183.  
  184.     - Have you tried a search on the conserver site (it searches
  185.       mailing list traffic as well) to see if someone else has gone
  186.       through the same problem?
  187.  
  188. #
  189. #  $Id: FAQ,v 1.9 2003/08/23 19:27:10 bryan Exp $
  190. #
  191.