#
# 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
xtremweb.role=server
# Configuring the database access
# XWdbVendor= mysql(default); hsqldb:hsql or hsqldb:mem
# XWdbHost= Name on the running the database software
# XWdbName= Name of the database
# XWdbUser= Name of the user granted to access the database
# XWdbPass= his Password
#
# mysql
# XWdbVendor= mysql
# hsqldb
# XWdbVendor= 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...
#
XWdbVendor= @DBVENDOR@
XWdbEngine= @DBENGINE@
XWdbHost= @DBHOST@
XWdbName= @DBNAME@
XWdbUser= @DBUSER@
XWdbPass= @DBPASSWORD@
#
# XWdbRequestLimit defines the max rows amount a single SQL request may return
# XWdbRequestLimit= 1000
#
#
# Next define admin login
# This is used to insert services at run time
# This is also used to create hdsldb:mem database, if applicable
admin.login=@DEFAULTUSER@
admin.password=@DEFAULTPASSWORD@
admin.uid=
#
# Next define worker login
# This is used to create hdsldb:mem DB database, if applicable
worker.login=@DEFAULTUSER@
worker.password=@DEFAULTPASSWORD@
worker.uid=
# 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
## port.tcp=4321
# next is ssl TCP port
# default value : 4322
## port.ssl.tcp=4322
# next is UDP port
# default value = 4323
## port.udp=4323
# next is the worker HTTP port
# the worker may listen (See server.http property) to display its status
# default value : 4324
## port.worker.http=4324
# next is the server HTTP port
# default value : 80
## port.http=80
# next is server HTTPS port
# default value : 443
## port.https=443
# next is XML RPC port
# default value : 4327
## port.xmlrpc=4327
# next is Sun RPC port
# default value : 4328
## port.sunrpc=4328
# next is the SmartSockets hub port
# default value : 4329
## smartsockets.hub.port=4329
# next is proxy port
# default value : -1 (means don't used)
# since 7.3.0
## port.proxy=-1
#
# Server : internode communications needs a running SmartSockets hub
# 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
## java.nio=true
#
# This starts or not the http server
# This HTTP server is intended to enable HTTP connections
# Default is true
#
#server.http=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
# path.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
#X509_CERT_DIR=/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
#
#keystore.uri=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)
#
#alive.period: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 ""
#
#xtremweb.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
# server.comm.acl=.*
#
# 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)
#
# server.stat.acl=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 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 is a very special case and should usually not be used
# This tells the server to hold connection until a valid answer is available
# (e.g. a work request connection is hold until a valid work is found)
# This is only for perforamnces test purposes
#
# Default is false
#
#holdConnection=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
#
# 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
#
#scheduler.class=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
#####