home
***
CD-ROM
|
disk
|
FTP
|
other
***
search
/
Usenet 1994 October
/
usenetsourcesnewsgroupsinfomagicoctober1994disk2.iso
/
unix
/
volume24
/
lb
/
INSTALL
< prev
next >
Wrap
Text File
|
1991-06-05
|
2KB
|
52 lines
LB - The Load Balancer (version 1.2)
by Dikran Kassabian
University Of Rochester
Department of Electrical Engineering
March 3, 1991
INSTALLATION NOTES:
1. CHOOSING A SERVER
====================
The lb load balancer uses statistics gathered via connection with
servers on each of the candidate machines. Two servers are supported,
the SUN rstatd, and Dave Curry's statsrv. The installer must see to
it that all candidate machines support the selected server program.
In an all SUN environment, rstatd is the better choice as it seems to
be somewhat faster. In other environments, it may be necessary to use
the statsrv server, which is public domain.
2. BUILDING THE PROGRAM
=======================
Once a server is selected, the Makefile must be edited to reflect the
choice. If rstatd is to be used, edit the Makefile definition for SERVER
to be 'SERVER=rstatd'. If the statsrv server is to be used, make it
'SERVER=statsrv'. Check the defines in config.h, and choose the location
of the configuration file. Remember that every machine that wants to
use lb needs to be able to see that configuration file. You may choose
to use multiple copies, or a single copy that all machines can see. Once
the Makefile and config.h are setup to your satisfaction, type 'make'.
The program 'lb' will be built.
3. WRITING THE CONFIGURATION FILE
=================================
The configuration file contains information on every machine on which lb
may start jobs. See the man page lb(5) for details on its setup.
4. INSTALLING THE FILES
=======================
Install the program lb in a location within the path of the users requiring
it. Good choices would include /usr/local/bin or /usr/new. Then install
the configuration file wherever the config.h file claimed it would be. Again,
remember that every machine needs to have read access to this file. Finally,
install the man pages lb(1) and lb(5) as appropriate.
That's all!
Deke Kassabian, 3/8/91