Dispatcher - dave-leblanc/razorback GitHub Wiki
Dispatcher Configuration
The dispatcher configuration is stored in $PREFIX/etc/razorback/dispatcher.conf.
DispatcherId="61f18be6-ad5a-42dd-807c-fe9681ba738d";
Threads: {
Cache=1;
Judgment=5;
Log=1;
Submission=1;
};
Database: {
Host="localhost";
Port=3306;
Username="razorback";
Password="razorback";
Schema="razorback";
};
GlobalCache: (
{
Host="localhost";
Port=11211;
}
);
Console: {
Telnet: {
Enable=1;
Bind: {
Address="127.0.0.1";
Port=10001;
};
};
SSH: {
Enable=0;
Bind: {
Address="127.0.0.1";
Port=10002;
};
};
User="razorback";
Password="razorback";
EnablePassword="razorback";
};
Storage: {
Locality=1;
Type=0;
Basepath="/tmp";
Hostname="127.0.0.1";
Port=80;
};
- DispatcherId - The UUID of the dispatcher.
- Threads - Startup worker configuration
- Cache - Number of cache request servicing threads.
- Judgment - Number of judgment processing threads.
- Log - Number of log message processing threads.
- Submission - Number of block submission processing threads.
- GlobalCache - Global cache configuration.
- Array of host blocks.
- Host - Hostname of the memcached server.
- Port - Port the memcached server is listening on.
- Array of host blocks.
- Console - Console service configuration.
- Telnet - Telnet server configuration.
- Enable - Enabled?
- Bind - Bind address configuration
- Address - IP Address to bind to.
- Port - Port to listen on.
- SSH - SSH server configuration.
- Enable - Enabled?
- Bind - Bind address configuration
- Address - IP Address to bind to.
- Port - Port to listen on.
- User - Username to access the service.
- Password - Password to access the service.
- EnablePassword - Password to access protected interface.
- Telnet - Telnet server configuration.
- Storage - Block Storage Configuration
- Locality - Dispatcher Locality
- Type - Block transfer type:
- 0 - HTTP
- Basepath - Path to store blocks in.
- Hostname - Hostname to send when using HTTP block transfers.
- Port - Port the HTTP server is listening on.