home *** CD-ROM | disk | FTP | other *** search
/ Usenet 1994 October / usenetsourcesnewsgroupsinfomagicoctober1994disk2.iso / unix / volume28 / lb / part01 / INSTALL < prev    next >
Text File  |  1994-05-16  |  2KB  |  55 lines

  1.  
  2.         LB - The Load Balancer (version 2.01)
  3.                 by Dikran Kassabian and Tolga Soyata 
  4.  
  5.               University Of Rochester
  6.         Department of Electrical Engineering
  7.               April 8, 1994
  8.  
  9. INSTALLATION NOTES:
  10.  
  11.  
  12. 1. CHOOSING A SERVER
  13. ====================
  14. The lb load balancer uses statistics gathered via connection with
  15. servers on each of the candidate machines.  Two servers are "supported,"
  16. the SUN rstatd, and Dave Curry's statsrv.  The installer must see to it 
  17. that all candidate machines support the selected server program.  In an 
  18. all SUN environment, rstatd is the better choice as it is faster and very 
  19. efficient.  In other environments, it may be necessary to use the statsrv 
  20. server, which is public domain.  We have made *very little effort* to 
  21. continue to support statsrv.  At this point it is little more than a 
  22. demonstration of the use of an alternative server to accomplish the basic 
  23. task.
  24.  
  25. 2. BUILDING THE PROGRAM
  26. =======================
  27. Once a server is selected, the Makefile must be edited to reflect the 
  28. choice.  If rstatd is to be used, edit the Makefile definition for SERVER
  29. to be 'SERVER=rstatd'.  If the statsrv server is to be used, make it
  30. 'SERVER=statsrv'.  Check the defines in config.h, and choose the location
  31. of the configuration file.  Remember that every machine that wants to
  32. use lb needs to be able to see that configuration file.  You may choose
  33. to use multiple copies, or a single copy that all machines can see.  Once
  34. the Makefile and config.h are setup to your satisfaction, type 'make'.
  35. The program 'lb' will be built.
  36.  
  37. 3. WRITING THE CONFIGURATION FILE
  38. =================================
  39. The configuration file contains information on every machine on which lb
  40. may start jobs. See the man page lb(5) for details on its setup.
  41.  
  42.  
  43. 4. INSTALLING THE FILES
  44. =======================
  45. Install the program lb in a location within the path of the users requiring
  46. it.  Good choices would include /usr/local/bin or /usr/new.  Then install
  47. the configuration file wherever the config.h file claimed it would be.  Again,
  48. remember that every machine needs to have read access to this file.  Finally,
  49. install the man pages lb(1) and lb(5) as appropriate.
  50.  
  51. That's all!
  52.  
  53.  
  54. Deke Kassabian, 3/8/91 and 8/10/93
  55.