3 .\" Generator: DocBook XSL Stylesheets v1.73.2 <http://docbook.sf.net/>
5 .\" Manual: Re-Mote Testbed Framework
6 .\" Source: remote-mci 2.0.git
8 .TH "REMOTE\-MCS" "1" "05/18/2008" "remote\-mci 2\.0\.git" "Re\-Mote Testbed Framework"
9 .\" disable hyphenation
11 .\" disable justification (adjust text to left margin only)
14 remote-mcs - Re-Mote mote control server
19 The mote control server manages connections from mote control hosts and user clients and operates mainly as a "switch" by forwarding message from clients to host with motes controlled by the colient\. On startup the server cleans up the database by removing stale session, mote, and site data and starts listening for incoming connections from mote hosts and clients\.
21 The mote control server may be run both in the foreground and as a daemon\.
24 The following options are only usable on the command line\.
28 Path to the configuration file\. Defaults to "/etc/remote\-mcs\.cfg"\.
33 Print usage help and exit\.
38 Print version info and exit\.
40 .SS "Configuration options"
41 In addition, to the above options the mote control server accepts the following configuration options that can be specified either on the command line or in the configuration file\. An option set in the configuration file overrides any option set on the command line\.
43 On the command line use: \fI\-\-\fR <name> \fI=\fR <value>, e\.g\. \fI\-\-devicePath=/here\fR\. In the config file use: <name> \fI=\fR <value>, e\.g\. \fIdevicePath=/here\fR\. For boolean options the \fI=\fR and value may be left out to set the value to true\. See the example sections for more information\.
47 Name of the infrastructure database\.
52 Host name of the infrastructure database server\.
57 User name for the infrastructure database\.
62 Password for the infrastructure database\.
67 Port number to use when listening for new sessions\. The default port is 10000\.
72 Port number to use when listening for new mote hosts\. Defaults to port 10001\.
77 Path to the file containing the PID of the mote host\. Defaults to "/var/run/remote\-mcs\.pid"\.
82 Path to the output log file when running as a daemon\. MCS will log to "/var/log/remote\-mcs\.log" by default\.
87 Path to the error log file when running as a daemon\. Errors will be logged to "/var/log/remote\-mcs\-error\.log" by default\.
92 Whether or not to run in the background as a daemon\. Defaults to false\.
95 The mote control server uses the following configurable files\.
99 Default configuration file read on startup\.
102 /var/run/remote\-mcs\.pid
104 Default PID file path\.
106 .SH "ENVIRONMENT VARIABLES"
107 The mote control server does not use any environment variables\.
111 Using configuration options on the command line
113 If you only need to override the default values for the database access and don\'t want to use a configuration file, specify all option on the command line\.
117 $ remote\-mcs \-\-dbName=REMOTE \-\-dbUser=remote_admin \-\-dbPassword=123
122 A simple configuration file
124 The following configuration file sets the same values as the above example and also tells the mote control server to run as a daemon\.
128 # Database credentials
132 # Run in the background
141 Copyright (c) 2005\-2006 Esben Zeuthen <zept@diku\.dk>
142 Copyright (c) 2006\-2008 Jonas Fonseca <fonseca@diku\.dk>
143 Copyright (c) 2007\-2008 Rosta Spinarr <rostislav\.spinar@cit\.ie>
146 This program is free software; you can redistribute it and/or modify it under the terms of the GNU General Public License as published by the Free Software Foundation; either version 2 of the License, or (at your option) any later version\.
151 This program is part of the Re\-Mote Testbed Framework <http://remote\-testbed\.googlecode\.com/>\.