home *** CD-ROM | disk | FTP | other *** search
/ Usenet 1994 October / usenetsourcesnewsgroupsinfomagicoctober1994disk2.iso / unix / volume24 / lb / INSTALL < prev    next >
Text File  |  1991-06-05  |  2KB  |  52 lines

  1.  
  2.         LB - The Load Balancer (version 1.2)
  3.             by Dikran Kassabian
  4.  
  5.               University Of Rochester
  6.         Department of Electrical Engineering
  7.             March 3, 1991
  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
  17. it that all candidate machines support the selected server program.
  18. In an all SUN environment, rstatd is the better choice as it seems to
  19. be somewhat faster.  In other environments, it may be necessary to use
  20. the statsrv server, which is public domain.
  21.  
  22. 2. BUILDING THE PROGRAM
  23. =======================
  24. Once a server is selected, the Makefile must be edited to reflect the 
  25. choice.  If rstatd is to be used, edit the Makefile definition for SERVER
  26. to be 'SERVER=rstatd'.  If the statsrv server is to be used, make it
  27. 'SERVER=statsrv'.  Check the defines in config.h, and choose the location
  28. of the configuration file.  Remember that every machine that wants to
  29. use lb needs to be able to see that configuration file.  You may choose
  30. to use multiple copies, or a single copy that all machines can see.  Once
  31. the Makefile and config.h are setup to your satisfaction, type 'make'.
  32. The program 'lb' will be built.
  33.  
  34. 3. WRITING THE CONFIGURATION FILE
  35. =================================
  36. The configuration file contains information on every machine on which lb
  37. may start jobs. See the man page lb(5) for details on its setup.
  38.  
  39.  
  40. 4. INSTALLING THE FILES
  41. =======================
  42. Install the program lb in a location within the path of the users requiring
  43. it.  Good choices would include /usr/local/bin or /usr/new.  Then install
  44. the configuration file wherever the config.h file claimed it would be.  Again,
  45. remember that every machine needs to have read access to this file.  Finally,
  46. install the man pages lb(1) and lb(5) as appropriate.
  47.  
  48. That's all!
  49.  
  50.  
  51. Deke Kassabian, 3/8/91
  52.