DragonFly On-Line Manual Pages
SLCHOOSED(1) User Contributed Perl Documentation SLCHOOSED(1)
NAME
slchoosed - Distributed load chooser for Perl Schedule::Load
SYNOPSIS
slchoosed [ --help ] [ --port=port ] [ --dhost=host ] [ --version ]
DESCRIPTION
slchoosed will start a daemon to choose machines for the Schedule::Load
package. Slchoosed creates two processes, so that if second process
exits, the first may restart it automatically.
slchoosed is run on one host in the network. This host is specified in
the SLCHOOSED_HOST environment variable, which may also specify
additional cold standby hosts in case the first host goes down.
Slchoosed collects connections from the slreportd reporters, and
maintains a internal database of the entire network. User clients also
connect to the chooser, which then gets updated information from the
reporters, and returns the information to the user client. As the
chooser has the entire network state, it can also choose the best host
across all CPUs in the network.
It will take 30-60 seconds for the reporting hosts to be rediscovered
when the chooser first starts.
ARGUMENTS
--help
Displays this message and program version and exits.
--dhost
Specifies the daemon host name that slchoosed uses. May be
specified multiple times to specify backup hosts. Defaults to
SLCHOOSED_HOST environment variable, which contains colon separated
host names. When slchoosed starts, any hosts listed AFTER the
current host are assumed to be backup hosts, and are sent a reset
so that this host may takeover the choosing task.
--nofork
For debugging, prevents the daemon from creating additional
processes and from going into the background. This allows messages
to appear on stdout, and ctrl-C to stop the daemon.
--port
Specifies the port number that slchoosed uses. Defaults to
SLCHOOSED_PORT environment variable or slchoosed service, or 1752.
--version
Displays program version and exits.
DISTRIBUTION
The latest version is available from CPAN and from
<http://www.veripool.org/>.
Copyright 1998-2011 by Wilson Snyder. This package is free software;
you can redistribute it and/or modify it under the terms of either the
GNU Lesser General Public License Version 3 or the Perl Artistic
License Version 2.0.
AUTHORS
Wilson Snyder <wsnyder@wsnyder.org>
SEE ALSO
slchoosed_watchd, slreportd, Schedule::Load, Schedule::Load::Chooser
perl v5.20.2 2011-01-02 SLCHOOSED(1)