#
# 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 .
#
#
#
# XtremWeb-HEP Client Configuration File
#
# All these variables may be overridden by environment variables
#
# Next defines the role as client
# This is used by the launcher
xtremweb.role=client
# Next defines URL where launcher can find XtremWeb binary
launcher.url=@LAUNCHERURL@
####### XtremWeb dispatcher
# There put the location of the root XtremWeb server
dispatcher.servers=@DISPATCHERS@
# Next line shows how to set several servers (names must be delimited by space or tabulation)
#dispatcher.servers=host1 host2 host 3
####### Data servers
# There put the location of the data sever
# Default is XtremWeb dispatchers
#data.servers=@DATASERVERS@
# Next line shows how to set several servers (names must be delimited by space or tabulation)
#data.servers=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 proxy port
# default value : -1 (means don't used)
## port.proxy=-1
#
# This is the proxy resolved name
# default : null
# Since 7.3.0
#proxyname=
#
# This contains the max amount of entries in local cache
# Default : 10000
#cachesize
# Login and password to connect to the server (required)
login=@DEFAULTUSER@
password=@DEFAULTPASSWORD@
# next defines whether to use NIO
# default value : true
# this is forced to false, if using HTTPClient
## java.nio=true
#
# This contains class names to get time stamps for
# Note : substrings are allowed
# (*) "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
#####
# tmp dir
# default is System tmp dir
# Note : please use full path; don't use ~ or any variable (e.g. $HOME)
# they are not correctly interpreted
# path.tmpdir=/tmp
#####
####
# This defines a loop delay to get job status
# Property name : "client.loop"
# Property type : integer
# Default value : 60000
# This is in milliseconds
# This can not be less than 60000
## client.loopdelay=60000
####
# This is the time to wait for a each job to complete
#
# -----------------------
# This is in milliseconds
# Default is 15000
#
#timeout=15000
####
# This is the socket timeout; this is only used by UDP communication layer
# This is in milliseconds
# Default is 60000
# Setting it to zero means wait for ever; it is at your own risk, keep in mind that Zero may block the client for ever
#
#sotimeout=0
#
# This defines how many times we keep trying on socket timeout
# Default is 50
# This is forced to default value, if < 1
#
#soretries=1
####
# commLayer is a String determining the communication layer to use
# Possible values :
# - xtremweb.communications.TCPClient (this is the default)
# - xtremweb.communications.HTTPClient
# - xtremweb.communications.UDPFTClient (UDP is a very special case and should only be used with care)
# - xtremweb.communications.XMLRPCClient (this does not work yet)
#
# Octobre 2005 :
# UDP **ONLY** support minimalistic transfers (size < 16KB)
# This is still a prototype :)
# (conterpoint : if you are sure transfers are < 16KB, everything works just fine)
# (transfers include app binary, job params etc.)
#
# Default is xtremweb.communications.TCPClient
#
#commLayer=xtremweb.communications.HTTPClient
####
# commHandlers is a String determining the communication handlers
# This contains a comma separated list of colon separated tuples
#
# Example :
# xw:xtremweb.communications.TCPClient,http:xtremweb.communications.HTTPClient
#
# Default is xw:,http:xtremweb.communications.HTTPClient
# See commLayer
#
#commHandlers=
#
# optimizeZip tells to optimze zipping process or not
# Zip optimization is quite brutal : we just don't zip if there is only
# one tiny file to zip since zipping has a huge CPU cost
# Otherwise, if there is more than one file, or if this one but huge file
# we do zip
#
# Default is true
#
#optimizeZip=true
#
# optimizeNetwork to try to optimize network traffic
#
# Default is true
#
#optimizeNetwork=true
#### Location of temporary directories
# XtremWeb needs to use some disk space, for storing results of
# a computation. By defaults it will use /tmp/XW.user.dispatcher.
# If you need to
# use an other directories uncomment this line and specify another
# directory.
# Note : please use full path; don't use ~ or any variable (e.g. $HOME)
# they are not correctly interpreted
# path.tmpdir=/tmp/XW.tmp
####
#### Keystore
# SSL requires a file to store the certificate provided by the XtremWeb Server
# by default it uses the certificate bundled with the software
# Note : please use full path; don't use ~ or any variable (e.g. $HOME)
# they are not correctly interpreted
SSLKeyStore=../keystore/xwhepclient.keys
####
#
# Client : user X509 certificate file path
# This file contains single public key
# Property name : "USERCERT"
# Property type : String
# Default : null
# Note : -1- USERCERT and USERKEY and USERKEYPASSWORD must be used together
# -2- please use full path; don't use ~ or any variable (e.g. $HOME)
# they are not correctly interpreted
# -3- X509_USER_PROXY cancels USERCERT, USERKEY and USERKEYPASSWORD
# @since 7.4.0
#
#USERCERT=/home/user/.globus/usercert.pem
#
# Client : user X509 private key file path
# This file contains single private key
# Property name : "USERKEY"
# Property type : String
# Default : null
# Note : -1- USERCERT and USERKEY and USERKEYPASSWORD must be used together
# -2- please use full path; don't use ~ or any variable (e.g. $HOME)
# they are not correctly interpreted
# -3- X509_USER_PROXY cancels USERCERT, USERKEY and USERKEYPASSWORD
# @since 7.4.0
#
#USERKEY:/home/user/.globus/userkey.pem
#
# Client : user X509 private key password
# This contains the private key password
# Property name : "USERKEYPASSWORD"
# Property type : String
# Default : null
# Note : -1- USERCERT and USERKEY and USERKEYPASSWORD must be used together
# -2- please use full path; don't use ~ or any variable (e.g. $HOME)
# they are not correctly interpreted
# -3- X509_USER_PROXY cancels USERCERT, USERKEY and USERKEYPASSWORD
# @since 7.4.0
#
#USERKEYPASSWORD=dummy
# Client : user X509 proxy file path
# The server validates it through its certificate paths.
# If this is an X509 proxy, its most trusted public key is used to authenticate
# the user (using server known certificate paths).
# An X509 proxy may be also used to forward jobs to EGEE
# (or any so called Service Grig -ARC, UNICORE etc.).
#
# Default : $X509_USER_PROXY
# You may want to check jLite by Oleg Sukhoroslov : http://code.google.com/p/jlite/
#
# Note : X509_USER_PROXY cancels USERCERT, USERKEY and USERKEYPASSWORD
#
# @since 7.0.0
#
#X509_USER_PROXY=/tmp/x509_u123
##### 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
#####