slchoosed - Distributed load chooser for Perl Schedule::Load
slchoosed [ --help ] [ --port=port ] [ --dhost=host ] [ --version ]
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.
Displays this message and program version and exits.
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.
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.
Specifies the port number that slchoosed uses. Defaults to SLCHOOSED_PORT environment variable or slchoosed service, or 1752.
Displays program version and exits.
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.
Wilson Snyder <email@example.com>