# # Copyrights : CNRS # Author : Oleg Lodygensky # Acknowledgment : XtremWeb-HEP is based on XtremWeb 1.8.0 by inria : http://www.xtremweb.net/ # Web : http://www.xtremweb-hep.org # # This file is part of XtremWeb-HEP. # # XtremWeb-HEP 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 3 of the License, or # (at your option) any later version. # # XtremWeb-HEP is distributed in the hope that it will be useful, # but WITHOUT ANY WARRANTY; without even the implied warranty of # MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the # GNU General Public License for more details. # # You should have received a copy of the GNU General Public License # along with XtremWeb-HEP. If not, see . # # # Configuration file for the server # Next defines the role as client role=server # Configuring the database access # DBVendor= mysql(default); hsqldb:hsql or hsqldb:mem # DBHost= Name on the running the database software # DBName= Name of the database # DBUser= Name of the user granted to access the database # DBPass= his Password # # mysql # DBVendor= mysql # hsqldb # DBVendor= hsqldb # # Using Engine=mem is a very special case: the DB is not written # to disk. Hence if the server crashes, it will not be able to # recover jobs, installed applications etc. # Engine=mem is not to be used in production... # DBVendor= @DBVENDOR@ DBEngine= @DBENGINE@ DBHost= @DBHOST@ DBName= @DBNAME@ DBUser= @DBUSER@ DBPass= @DBPASSWORD@ # # XWdbRequestLimit defines the max rows amount a single SQL request may return # DBRequestLimit= 1000 # # # This is a boolean telling if "on the fly" registration is allowed or not # If a user tries to connect using its openid identity, this identity must have # been registered on server side to connect and use the platform. # # If this variable is set to true, users are automatically registered on the fly # and can start using the platform even if their openid identity had never been registered # by this server administrator. # # Default : false # since 8.2.0 # #openidregistration=false # # This is an integer containing the amount of seconds a user can stay connected to the web interface # # Default : 3600 # since 8.2.2 # #logintimeout=3600 # # Next define admin login # This is used to insert services at run time # This is also used to create hdsldb:mem database, if applicable adminlogin=@DEFAULTUSER@ adminpassword=@DEFAULTPASSWORD@ adminuid= # # Next define worker login # This is used to create hdsldb:mem DB database, if applicable workerlogin=@DEFAULTUSER@ workerpassword=@DEFAULTPASSWORD@ workeruid= # Next line shows how to set several servers (names must be delimited by space or tabulation # This is needed for replication #XWServer=host1 host2 host 3 # next is TCP port # default value : 4321 ## tcpport=4321 # next is ssl TCP port # default value : 4322 ## tcpsport=4322 # next is UDP port # default value = 4323 ## udpport=4323 # next is the worker HTTP port # the worker may listen (See server.http property) to display its status # default value : 4324 ## httpworkerport=4324 # next is the server HTTP port # default value : 80 ## httpport=80 # next is server HTTPS port # default value : 443 ## httpsport=443 # next is XML RPC port # default value : 4327 ## xmlrpcport=4327 # next is Sun RPC port # default value : 4328 ## sunrpcport=4328 # next is the SmartSockets hub port # default value : 4329 ## SMARTSOCKETSPORT=4329 # next is proxy port # default value : -1 (means don't used) # since 7.3.0 ## proxyport=-1 # # Internode communications needs a running SmartSockets hub; this may also denote a hub network
# Property name : "smartsocketshubaddr"
# Property type : string
# Default value : null # @since 8.0.0 # #smartsocketshubaddr= # next defines whether to use NIO # default value : true # this is forced to false with HTTP layer ## javanio=true # # This starts or not the http server # This HTTP server is intended to enable HTTP connections # Default is true # #startserverhttp=false # Path to the directory containing datas # the server needs read and write accesses # if you change this, you must ensure access rights # Note : please use full path; don't use ~ or any variable (e.g. $HOME) # they are not correctly interpreted HomeDir= /var/xwhep/server #### Location of temporary directories # Where temporary files will go (log file) # Default is /tmp # Note : please use full path; don't use ~ or any variable (e.g. $HOME) # they are not correctly interpreted # tmpdir=/tmp #### # # This contains the max amount of entries in local cache # Default : 10000 #cachesize # SSL Configuration # Put here the name of file caontaining private key and Certificate # and the password needed to access that file # Note : please use full path; don't use ~ or any variable (e.g. $HOME) # they are not correctly interpreted SSLKeyStore= ../keystore/xwhepserver.keys #If you change the following remember to regenerate the keys SSLKeypassphrase= @KEYPASSPHRASE@ #If you change the following remember to regenerate the keys SSLKeypassword= @KEYSERVERPASSWORD@ # Server : the directory containing user public keys
# Property name : "USERCERTDIR"
# Property type : String
# Default : null # @since 7.4.0 # Note : please use full path; don't use ~ or any variable (e.g. $HOME) # they are not correctly interpreted # Deprecated : we don't allow self signed certificates # #USERCERTDIR=/opt/blabla # Next contains the directory where CA certificates (public keys) key are stored. # These CA certificates are used to create certificate paths # that will be used to validate certificates. # Default $X509_CERT_DIR # since 7.0.0 # You may want to check jLite by Oleg Sukhoroslov : http://code.google.com/p/jlite/ # Note : please use full path; don't use ~ or any variable (e.g. $HOME) # they are not correctly interpreted #CACERTDIR=/opt/jlite/etc/certs/ca # Next defines server keystore URI # When to use : before your server keys exprire # How to use : # -1- generate new keystore containing both actual and next server public keys # -2- store the keystore in XWHEP data reposiroty using xwsenddata # -3- keep the data URI # -4- set next variable with the data URI # # This does not break security since # -a- workers and clients must have the current server public key to connect to server # -b- new keystore is then distributed through encrypted communication channel # -c- workers and clients must have valid credentials to connect to server # -d- workers and clients safely keep keystores # -e- distributed keystore contains server public keys only # #keystoreuri=xw://blabla # This sets the alive period : the period between two 'alive' signal # from workers # # This value is sent to worker at connection time; workers conform to it # # This helps to determine whether the worker is still computing... # If the signal is not received after 3 times this period, workers are # considered lost and jobs running on this worker are reinserted in the # scheduler queue # # Don't use a two small value if you don't want to fullfill the server bandwidth # You should definitively keep the default value, or greater # # Default : 300 (5mn) # #aliveperiod:300 # # This defines services to launch at startup time # This is a space separated string # Available services are : # - xtremweb.services.nullservice.NullService # - xtremweb.services.rpc.rpc # # Default is "" # #services=xtremweb.services.nullservice.NullService xtremweb.services.rpc.rpc # Logging facility # You can set here the list of modules you wish to have a log. # Existing modules are DBI, Comm, Task. # ModulesLogged: DBI Comm Task # # Following are two ACL variables # They must contains regular expression (regexp) # # Regexp examples # - accept all incoming connection : .* # - accept incoming connection from '168.192.*.*' : 168\.192\..* # - accept incoming connection from '*.in2P3.fr' : .*\.in2p3\.fr # - reject incoming connection from '168.192.*.*' : -168\.192\..* # - reject incoming connection from '*.in2P3.fr' : -.*\.in2p3\.fr # # Communication Access Control List (ACL) # By default you can only access the server from localhost. # This may contains several comma separated regexp # Example # servercommacl=.* # # ACL to server status and administration # XWHEP parts accept incoming connection to display their status and allow # some configuration modification # By default you can only access the server from localhost. # Use this key to put several IP adresses separated by # This is a regular expression (regexp) # # serverstatacl=168.192.*.* # # This is the timeout is in milliseconds to pool database # # Default is 1000 # #timeout=1000 # # This is the max simultaneous incoming connections # Default is 200 # #maxconnections=200 # # This is the max simultaneous connections to DB # Default is 60 # #dbconnections=60 # # this tells if wallclocktime should be used # if false, jobs can be infinite # if true, job are killed when they reach the wallclocktime # since 8.2.0 # default : true #wallclocktime=true # # this is the maximum computing seconds per job # when a job reaches the wallclocktime, it is killed # since 8.2.0 # default : 21,600 s (6 hours) #wallclocktimevalue=21600 # # This is a very special case and should usually not be used # This tells the dispatcher to avoid writing on disk, if possible. # Hence if server crashes, it will not be able to recover all informations # This is only for performance test purposes # # Default is false # #optimizeDisk=false # # optimizeNetwork to try to optimize network traffic # # Default is true # #optimizeNetwork=false # # This contains class names to get time stamps for # Note : this uses substrings # (*) "SimpleScheduler" matches "SimpleScheduler" only # but "Scheduler" matches "SimpleScheduler", "MatchingScheduler" etc. # (*) "CommHandler" matches "CommHandler" only # but "Handler" matches "TCPHandler", "UDPHandler", "CommHandler" etc. # (*) "xtremweb" matches all classes # (*) etc. # # Default is "" (turned off) # #mileStones=xtremweb # # Next defines URL where launcher can find XtremWeb binary # At startup the server checks validity: its binary and the one pointed by this URL # must be the same # The server cowardly refuses to start if binaries differ # To force server start, comment or remove this variable # Default : n/a # Since : 8.2.0 launcherurl=@LAUNCHERURL@ # # This is the shceduler class name to use # Note that if you want to be able to choose the worker for a job # and to broadcast a job to all workers, you must use : # scheduler.class=xtremweb.dispatcher.MatchingScheduler # # Default is xtremweb.dispatcher.MatchingScheduler # #schedulerclass=xtremweb.dispatcher.MatchingScheduler ##### Logging # # 15 avril 2008 : we don't use log4j any more since we suspect memory leaks # we have developped our own little logger # Available logging levels : # FINEST # DEBUG # CONFIG # INFO # WARN # ERROR loggerlevel=@LOGGERLEVEL@ ##### ##### End of File #####