# server.conf 
#
# Main configuration file for simparex
#  see Doc directory in the simparex distribution for documentation

[General]
# 0: nothing - 5: everything
LogLevel=1

# Directory where to seach for the worker.conf, tasks and where to place the results.
#  This directory can be given to simparex as a cmdline parameter
WorkerDirectory=CheckMachines/

# the name of this machine / how to access the server
#  from the outside
Server=Fred
Port=8080

# client executeable name (simparclient.pl)
Client=simparclient.pl

# switch debug mode of the client on or off
#  Yes/No
ClientDebug=No

# This section contains the settings for copying and starting the 
#  client on the slave. 
#  DO NOT CHANGE SOMETHING UNLESS YOU KNOW WHAT YOU DO!
[Swarm]

# command line to start the client at the slave
# Variable: 
#	$host: host name or IP of the slave
#	$client: Client executeable (see above)
#	$server: URL of the server
# 	$port: http port
# 	$session: sessionID for that client
# 	$dir: SlaveBaseDir (see above)
#	$debugfile: contains the "simparclient_SESSIONID.log" if ClientDebug=Yes
#                   otherwise empty
StartClient="ssh $host \"cd $dir; ./$client $session $server $port $debugfile\""

# command line to check the ssh connection and authentication
# Variable: 
#	$host: host name or IP of the slave
TestSSH="ssh $host echo"

# command line to copy the client to the slave
# Variable: 
#	$host: host name or IP of the slave
#	$client: Client executeable (see above)
# 	$dir: SlaveBaseDir (see above)
CopyClient="scp -p $client $host:$dir"
