Do manual do balance

http://www.inlab.de/balance.html

Balance allows the definition of further channel groups. The connection
scheme works as follows:
balance tries first to establish a connection to a channel in the first
group (0), performing the stan-
dard round-robin load balancing scheme. If no channel in this group is
available, balance pro-
ceeds with the next higher channel group. Groups are simply separated
with a "!" at the command
line at startup and can be controlled interactively with the "group"
command.
A "%" instead of a "!" as a group separator declares the previous group
to be of type "hash". This
means that instead of a round-robin algorithm, a hash distribution based
on the client ip address
is used to determine the destination channel. This allows connecting one
client always to the
same server (e.g. balancing http sessions to a single server).
Hosts may be specified either by hostname or by IP address. Por ts may be
specified either by
name (as listed in /etc/services) or numerically. If no por t is
specified in a destination, the desti-
nation port defaults to the source port that balance controls.

-- 
Marcello Costa
BSD System Engineer
unixmafia at yahoo dot com dot br
FUG-BR #156 
http://www.fug.com.br


                
_______________________________________________________ 
Novidade no Yahoo! Mail: receba alertas de novas mensagens no seu celular. 
Registre seu aparelho agora! 
http://br.mobile.yahoo.com/mailalertas/ 
 

-------------------------
Histórico: http://www.fug.com.br/historico/html/freebsd/
Sair da lista: https://www.fug.com.br/mailman/listinfo/freebsd

Responder a